/* ==========================================================================
   KARADENİZ KARDEŞLER LOKANTASI — web & mobile app studio
   Static build · no framework · no build step
   ========================================================================== */

:root {
  --paper: #ECEBE5;
  --paper-2: #E2E1D9;
  --ink: #0D0D10;
  --ink-2: #17171C;
  --mute: #6B6A64;
  --line: rgba(13, 13, 16, .14);
  --line-2: rgba(13, 13, 16, .28);
  --cobalt: #2E3BFF;
  --lime: #D4FF3A;

  /* product themes */
  --h-bg: #EEE7D4; --h-ink: #15321D; --h-acc: #2F7A3E; --h-gold: #B8913B;
  --b-bg: #0E0E10; --b-ink: #F1F1EE; --b-acc: #FFD43B;
  --m-bg: #161618; --m-ink: #FFFFFF; --m-acc: #F6EDDC;

  --f-d: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-m: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gut: clamp(16px, 3vw, 48px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.83, 0, .17, 1);
  --hdr: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-d); font-size: 16px; line-height: 1.5;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
::selection { background: var(--cobalt); color: #fff; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; font-weight: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.mono { font-family: var(--f-m); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.wrap { padding-inline: var(--gut); max-width: 1680px; margin-inline: auto; position: relative; width: 100%; }
.label { display: flex; gap: 14px; align-items: center; color: var(--mute); margin-bottom: clamp(28px, 4vw, 56px); }
.label span:first-child { color: var(--cobalt); }

.h2 { font-size: clamp(44px, 7vw, 120px); line-height: .9; font-weight: 700; letter-spacing: -.02em; font-variation-settings: "opsz" 96, "wdth" 90; }
.p { font-size: clamp(16px, 1.25vw, 20px); line-height: 1.55; color: #3c3b37; max-width: 50ch; }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > i { display: inline-block; font-style: normal; transform: translateY(110%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i) * 50ms); }
.in .w > i { transform: none; }
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* buttons — square, mechanical */
.btn {
  --bh: 54px; position: relative; display: inline-flex; align-items: center; gap: 14px; height: var(--bh); padding: 0 24px;
  background: var(--ink); color: var(--paper); font: 500 12px/1 var(--f-m); letter-spacing: .06em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; white-space: nowrap; transition: color .4s;
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--cobalt); z-index: -1; clip-path: inset(0 100% 0 0); transition: clip-path .55s var(--ease-io); }
.btn:hover::after { clip-path: inset(0 0 0 0); }
.btn:hover { color: #fff; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--xl { --bh: 70px; padding: 0 36px; font-size: 13px; }

/* grain */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(3) infinite; }
@keyframes grain { 0% { transform: translate(0,0) } 33% { transform: translate(-2%,3%) } 66% { transform: translate(3%,-2%) } }

/* cursor — square crosshair */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 100; mix-blend-mode: difference; }
.cursor__dot, .cursor__box { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor__dot { width: 4px; height: 4px; margin: -2px 0 0 -2px; background: #fff; }
.cursor__box { width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 1px solid #fff; display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s; }
.cursor__label { font: 500 10px/1 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: #000; opacity: 0; white-space: nowrap; }
.cursor.is-label .cursor__box { width: 84px; height: 30px; margin: -15px 0 0 -42px; background: #fff; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-hover .cursor__box { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor label, body.has-cursor canvas { cursor: none; } }

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.pre { position: fixed; inset: 0; z-index: 200; color: var(--paper); }
.pre__tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--cols, 12), 1fr); grid-template-rows: repeat(var(--rows, 8), 1fr); }
.pre__tiles i { background: var(--ink); transform-origin: 50% 0; transition: transform .7s var(--ease-io); transition-delay: var(--d); margin: -.5px; }
.pre.out .pre__tiles i { transform: scaleY(0); }
.pre__ui { position: absolute; inset: 0; padding: var(--gut); display: flex; flex-direction: column; justify-content: space-between; transition: opacity .35s; }
.pre.out .pre__ui { opacity: 0; }
.pre__top { display: flex; justify-content: space-between; color: #8b8a85; }
.pre__top b { color: var(--lime); font-weight: 500; }
.pre__word { font-size: clamp(48px, 12vw, 200px); line-height: .85; font-weight: 800; letter-spacing: -.02em; font-variation-settings: "opsz" 96, "wdth" 75; text-align: center; }
.pre__word .x { color: var(--cobalt); }
.pre__bottom { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.pre__log { height: 132px; overflow: hidden; color: #8b8a85; display: flex; flex-direction: column; justify-content: flex-end; text-transform: none; letter-spacing: 0; font-size: 11.5px; }
.pre__log li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pre__log li b { color: var(--lime); font-weight: 500; }
.pre__bar { display: flex; gap: 16px; align-items: baseline; font-size: 13px; color: #8b8a85; }
.pre__bar b { color: var(--paper); font-size: clamp(36px, 5vw, 64px); font-family: var(--f-d); font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; min-width: 3.2ch; text-align: right; }

/* ==========================================================================
   HEADER — difference blend, works on paper and ink
   ========================================================================== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: var(--hdr); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--gut); color: #fff; mix-blend-mode: difference; transition: transform .6s var(--ease); }
.header.hide { transform: translateY(-110%); }
.wordmark { display: flex; white-space: nowrap; align-items: center; gap: 9px; font-weight: 700; font-size: 21px; letter-spacing: -.04em; font-variation-settings: "opsz" 48, "wdth" 90; }
.wordmark i { width: 11px; height: 11px; background: currentColor; transition: transform .6s var(--ease); }
.wordmark:hover i { transform: rotate(45deg); }
.header__nav { display: flex; gap: 4px; }
.header__nav a { font: 500 11px/1 var(--f-m); text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; position: relative; }
.header__nav a::before { content: "["; opacity: 0; margin-right: 4px; transition: opacity .3s; }
.header__nav a::after { content: "]"; opacity: 0; margin-left: 4px; transition: opacity .3s; }
.header__nav a:hover::before, .header__nav a:hover::after, .header__nav a.on::before, .header__nav a.on::after { opacity: 1; }
.header__tools { display: flex; align-items: center; gap: 16px; }
.hclock b { font-weight: 500; font-variant-numeric: tabular-nums; }
.lang { display: flex; border: 1px solid currentColor; }
.lang span { padding: 5px 7px; opacity: .45; }
.lang span.on { opacity: 1; background: #fff; color: #000; }
.hbtn { border: 1px solid currentColor; padding: 9px 12px; transition: background .3s, color .3s; }
.hbtn:hover { background: #fff; color: #000; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger i { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.burger i:first-child { top: 16px; } .burger i:last-child { top: 23px; }
body.menu-open .burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mmenu { position: fixed; inset: 0; z-index: 70; background: var(--ink); color: var(--paper); display: flex; align-items: flex-end; padding: var(--gut); clip-path: circle(0% at calc(100% - 40px) 34px); transition: clip-path .9s var(--ease-io); }
body.menu-open .mmenu { clip-path: circle(150% at calc(100% - 40px) 34px); }
.mmenu nav { display: flex; flex-direction: column; padding-bottom: 6vh; }
.mmenu a { font-size: clamp(44px, 12vw, 84px); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; height: 100svh; min-height: 660px; overflow: hidden; background: var(--paper); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hud { position: absolute; pointer-events: none; z-index: 1; left: 0; top: 0; width: 300px; height: 400px; will-change: transform; opacity: 0; transition: opacity 1s .4s; }
body.ready .hud { opacity: 1; }
.hud__c { position: absolute; width: 16px; height: 16px; border: 1px solid var(--ink); }
.hud__c--tl { left: 0; top: 0; border-width: 1px 0 0 1px; } .hud__c--tr { right: 0; top: 0; border-width: 1px 1px 0 0; }
.hud__c--bl { left: 0; bottom: 0; border-width: 0 0 1px 1px; } .hud__c--br { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.hud__t, .hud__b { position: absolute; left: 0; right: 0; display: flex; white-space: nowrap; justify-content: space-between; gap: 12px; color: var(--mute); font-size: 10px; font-variant-numeric: tabular-nums; }
.hud__t { top: -22px; } .hud__b { bottom: -22px; }
.hud__t span:first-child { color: var(--cobalt); }
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; padding: calc(var(--hdr) + 8px) var(--gut) 26px; pointer-events: none; }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__meta { display: flex; justify-content: space-between; gap: 16px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 12px; }
.hero__build { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.hero__build i { width: 7px; height: 7px; background: var(--cobalt); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hero__title { margin-top: auto; display: flex; flex-direction: column; font-weight: 800; letter-spacing: -.045em; line-height: .86; width: 56%; }
.hl { display: block; white-space: nowrap; font-size: 9vw; font-variation-settings: "opsz" 96, "wdth" 100, "wght" 780; }
.hl .c { display: inline-block; will-change: contents; }
.hl .c.g { color: var(--cobalt); }
.hl .c.dim { opacity: 0; }
.hero__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 32px; align-items: end; margin-top: 30px; }
.hero__lead { font-size: clamp(15px, 1.15vw, 18px); color: #3c3b37; max-width: 48ch; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__hint { display: flex; gap: 10px; align-items: center; color: var(--mute); }
.kbd { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-2); font-size: 14px; animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }

/* ==========================================================================
   TAPE
   ========================================================================== */
.tape { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; position: relative; z-index: 3; }
.tape__row { display: flex; width: max-content; will-change: transform; }
.tape__g { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.tape span { font-size: clamp(40px, 6.4vw, 110px); line-height: 1; font-weight: 700; letter-spacing: -.05em; white-space: nowrap; font-variation-settings: "opsz" 96, "wdth" var(--wd, 100); transition: color .3s; }
.tape span:hover { color: var(--lime); }
.tape b { color: var(--cobalt); font-size: clamp(36px, 5vw, 80px); display: inline-block; animation: spin 6s linear infinite; }

/* ==========================================================================
   ABOUT — scramble decode on scroll
   ========================================================================== */
.about { padding: clamp(110px, 15vw, 220px) 0 clamp(80px, 10vw, 140px); }
.about__text { font-size: clamp(30px, 4.3vw, 74px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; font-variation-settings: "opsz" 72, "wdth" 92; max-width: 24ch; }
.about__text .sc { transition: color .3s; }
.about__text .sc.raw { color: rgba(13,13,16,.18); font-family: var(--f-m); font-weight: 400; letter-spacing: 0; font-size: .82em; }
.about__text .sc.hot { color: var(--cobalt); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(70px, 9vw, 140px); border-top: 1px solid var(--ink); }
.fact { padding: 24px 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact b { font-size: clamp(60px, 7.5vw, 128px); line-height: .85; font-weight: 800; letter-spacing: -.035em; font-variation-settings: "opsz" 96, "wdth" 75; }
.fact span { color: var(--mute); max-width: 28ch; line-height: 1.6; }

/* ==========================================================================
   WORK — two categories (mobile / web)
   ========================================================================== */
.work { background: var(--paper); }
.work__head { padding-top: clamp(110px, 13vw, 200px); padding-bottom: clamp(40px, 5vw, 72px); }
.work__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.wtabs { display: flex; border-top: 1px solid var(--ink); }
.wtab { display: flex; align-items: baseline; gap: 12px; padding: 16px 22px 4px 0; font-size: clamp(22px, 2.2vw, 36px); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--mute); transition: color .3s; }
.wtab + .wtab { padding-left: 22px; border-left: 1px solid var(--line); }
.wtab__n { color: inherit; }
.wtab:hover { color: var(--ink); }
.wtab.on { color: var(--ink); }
.wtab.on .wtab__n { color: var(--cobalt); }
.wtab:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; }
.work__panel[hidden] { display: none; }
.wempty { min-height: 70vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; border-top: 1px solid var(--ink); padding-block: 80px; }
.wempty__k { color: var(--cobalt); }
.wempty__t { font-size: clamp(28px, 3.6vw, 60px); line-height: 1.05; font-weight: 600; letter-spacing: -.03em; max-width: 20ch; }

/* ==========================================================================
   PRODUCTS — pinned, two themed scenes
   ========================================================================== */
.products { position: relative; height: 480vh; }
.products__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.pscene { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; }
.pscene--memora { background: var(--m-bg); color: var(--m-ink); }
.pscene--hocam { background: var(--h-bg); color: var(--h-ink); clip-path: circle(0% at 70% 50%); will-change: clip-path; }
.pscene--bilet { background: var(--b-bg); color: var(--b-ink); clip-path: circle(0% at 70% 50%); will-change: clip-path; }
.pscene__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pscene__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4vw; align-items: center; padding-top: var(--hdr); padding-bottom: 60px; }
.pscene .label { margin-bottom: 22px; color: inherit; opacity: .6; }
.pscene--memora .label span:first-child { color: var(--m-acc); }
.pscene--hocam .label span:first-child { color: var(--h-acc); }
.pscene--bilet .label span:first-child { color: var(--b-acc); }
.pname { font-size: clamp(64px, 9.5vw, 170px); line-height: .82; font-weight: 800; letter-spacing: -.025em; font-variation-settings: "opsz" 96, "wdth" 85; }
.ptags { display: flex; gap: 6px; margin: 22px 0 18px; flex-wrap: wrap; }
.ptags span { border: 1px solid currentColor; padding: 5px 9px; opacity: .8; }
.ptags .pstatus { display: inline-flex; align-items: center; gap: 7px; opacity: 1; }
.ptags .pstatus::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pscene--memora .pstatus { background: var(--m-acc); border-color: var(--m-acc); color: var(--m-bg); }
.pscene--hocam .pstatus { background: var(--h-acc); border-color: var(--h-acc); color: var(--h-bg); }
.pscene--bilet .pstatus { background: var(--b-acc); border-color: var(--b-acc); color: var(--b-bg); }
.pdesc { font-size: clamp(16px, 1.3vw, 21px); line-height: 1.5; max-width: 42ch; opacity: .85; }
.pfeat { margin-top: 26px; counter-reset: f; columns: 2; column-gap: 24px; max-width: 640px; text-transform: none; letter-spacing: 0; font-size: 12px; }
.pfeat li { counter-increment: f; padding: 8px 0; border-top: 1px solid currentColor; break-inside: avoid; display: flex; gap: 10px; opacity: .85; }
.pfeat li::before { content: counter(f, decimal-leading-zero); opacity: .5; }
.pscene--memora .pfeat li { border-color: rgba(255,255,255,.14); }
.pscene--hocam .pfeat li { border-color: rgba(21,50,29,.18); }
.pscene--bilet .pfeat li { border-color: rgba(241,241,238,.16); }
.plink { display: inline-block; margin-top: 26px; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.pactions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: 22px; }
.pactions .plink { margin-top: 0; }
.pstore { display: block; transition: transform .25s; }
.pstore img { display: block; height: 62px; width: auto; }
.pstore:hover { transform: translateY(-2px); }
.pscene--memora .plink { color: var(--m-acc); } .pscene--hocam .plink { color: var(--h-acc); } .pscene--bilet .plink { color: var(--b-acc); }
.pscene__device { position: relative; height: min(76vh, 760px); display: grid; place-items: center; perspective: 1200px; }
.tilt { height: 100%; will-change: transform; transform-style: preserve-3d; }
.tilt img { height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 40px 60px rgba(0,0,0,.28)); }
.phone { height: min(66vh, 640px); aspect-ratio: 720 / 1566; padding: 10px; border-radius: 46px; background: #0b0b0c; box-shadow: inset 0 0 0 1.5px #3a3a3e, 0 40px 80px rgba(246,237,220,.08); }
.phone img { width: 100%; height: 100%; border-radius: 36px; object-fit: cover; filter: none; }
.pscene--memora .tilt { height: auto; }
.pscene--bilet .tilt img { height: 82%; margin-top: 9%; filter: drop-shadow(0 40px 80px rgba(255,212,59,.12)); }
.callout { position: absolute; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; min-width: 170px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); will-change: transform; }
.callout b { font: 700 26px/1 var(--f-d); letter-spacing: -.03em; font-variant-numeric: tabular-nums; font-variation-settings: "opsz" 48, "wdth" 85; text-transform: none; }
.pscene--memora .callout { background: rgba(31,31,33,.82); border: 1px solid rgba(246,237,220,.3); }
.pscene--memora .callout span { color: var(--m-acc); opacity: .75; }
.pscene--hocam .callout { background: rgba(255,252,242,.78); border: 1px solid rgba(21,50,29,.2); }
.pscene--hocam .callout span { color: var(--h-acc); }
.pscene--bilet .callout { background: rgba(20,20,22,.8); border: 1px solid rgba(255,212,59,.35); }
.pscene--bilet .callout span { color: var(--b-acc); }
.callout--a { left: 0; top: 16%; } .callout--b { right: 0; top: 44%; } .callout--c { left: 6%; bottom: 10%; }
.pnav { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; align-items: center; gap: 14px; z-index: 5; color: #fff; mix-blend-mode: difference; }
.pnav__i { opacity: .45; transition: opacity .3s; } .pnav__i.on { opacity: 1; }
.pnav__bar { flex: 0 0 140px; height: 1px; background: rgba(255,255,255,.3); position: relative; }
.pnav__bar i { position: absolute; inset: 0; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }

/* ==========================================================================
   SERVICES — accordion strips
   ========================================================================== */
.services { padding: clamp(110px, 13vw, 200px) 0; background: var(--paper); }
.services__head { margin-bottom: clamp(40px, 5vw, 80px); }
.strips { display: flex; height: 560px; border: 1px solid var(--ink); }
.strip { position: relative; flex: 1; min-width: 0; border-right: 1px solid var(--ink); padding: 20px; display: flex; flex-direction: column; overflow: hidden; transition: flex-grow .8s var(--ease), background .5s, color .5s; }
.strip:last-child { border-right: 0; }
.strip.on { flex-grow: 5; background: var(--ink); color: var(--paper); }
.strip__n { color: var(--cobalt); }
.strip.on .strip__n { color: var(--lime); }
.strip__t { font-size: clamp(22px, 2vw, 34px); font-weight: 700; letter-spacing: -.035em; line-height: 1; white-space: nowrap; font-variation-settings: "opsz" 48, "wdth" 85;
  writing-mode: vertical-rl; transform: rotate(180deg); margin-top: auto; align-self: flex-start; transition: font-size .6s var(--ease); }
.strip.on .strip__t { writing-mode: horizontal-tb; transform: none; margin-top: 18px; font-size: clamp(34px, 3.6vw, 60px); white-space: normal; }
.strip__body { display: none; flex: 1; flex-direction: column; gap: 18px; margin-top: 18px; opacity: 0; }
.strip.on .strip__body { display: flex; animation: fadeUp .8s .15s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.strip__body p { color: #b9b8b2; max-width: 46ch; font-size: 16px; }
.strip__body canvas { flex: 1 1 0; height: 0; min-height: 0; width: 100%; border: 1px solid rgba(236,235,229,.14); }
.strip__k { color: #8b8a85; }

/* ==========================================================================
   PROCESS — git graph
   ========================================================================== */
.process { position: relative; height: 420vh; background: var(--ink); color: var(--paper); }
.process__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding: calc(var(--hdr) + 10px) 0 28px; }
.process .label { color: #8b8a85; margin-bottom: 0; }
.process .label span:first-child { color: var(--lime); }
.process__head { display: flex; justify-content: space-between; align-items: center; }
.process__count { color: #8b8a85; font-variant-numeric: tabular-nums; } .process__count b { color: var(--paper); font-weight: 500; }
.process__graph { flex: 1; min-height: 0; width: 100%; }
.process__info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4vw; align-items: end; }
.process__title { font-size: clamp(56px, 8.5vw, 150px); line-height: .85; font-weight: 800; letter-spacing: -.025em; font-variation-settings: "opsz" 96, "wdth" 85; }
.process__desc { color: #b9b8b2; max-width: 44ch; margin-top: 18px; font-size: clamp(15px, 1.15vw, 18px); min-height: 3em; }
.process__log { margin: 0; height: 150px; overflow: hidden; color: #8b8a85; text-transform: none; letter-spacing: 0; font-size: 12px; line-height: 1.75; border-left: 1px solid rgba(236,235,229,.16); padding-left: 18px; white-space: pre; }
.process__log b { color: var(--lime); font-weight: 400; }
.process__log em { color: var(--paper); font-style: normal; }

/* ==========================================================================
   STACK
   ========================================================================== */
.stack { padding: clamp(110px, 13vw, 200px) 0; background: var(--paper-2); }
.stack__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4vw; align-items: center; }
.stack__list { margin-top: 44px; border-top: 1px solid var(--ink); }
.stack__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease), color .3s; }
.stack__list li b { font-size: clamp(30px, 3.2vw, 54px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.stack__list li span { color: var(--mute); }
.stack__list li:hover, .stack__list li.on { padding-left: 14px; color: var(--cobalt); }
.stack__note { margin-top: 22px; color: var(--mute); text-transform: none; letter-spacing: 0; font-size: 12px; }
.stack__orbit { aspect-ratio: 1; width: 100%; max-height: 80vh; }
.stack__orbit canvas { width: 100%; height: 100%; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding: clamp(110px, 13vw, 200px) 0 clamp(80px, 9vw, 140px); background: var(--paper); }
.contact__title { font-size: clamp(56px, 10vw, 180px); line-height: .88; font-weight: 800; letter-spacing: -.02em; font-variation-settings: "opsz" 96, "wdth" 88; max-width: 12ch; }
.contact__title .wd { display: inline-block; white-space: nowrap; }
.contact__title .c { display: inline-block; }
.contact__title .c.g { color: var(--cobalt); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6vw; margin-top: clamp(56px, 7vw, 110px); }
.contact__links { display: flex; flex-direction: column; gap: 10px; margin-top: 44px; color: var(--mute); }
.contact__links span + .biglink + span { margin-top: 18px; }
.biglink { font: 600 clamp(22px, 2.2vw, 36px)/1.2 var(--f-d); max-width: 100%; overflow-wrap: anywhere; letter-spacing: -.03em; text-transform: none; color: var(--ink); width: fit-content; background: linear-gradient(var(--cobalt), var(--cobalt)) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease); }
.biglink:hover { background-size: 100% 2px; }
.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--line-2); padding-bottom: 8px; transition: border-color .3s; }
.field:focus-within { border-color: var(--cobalt); }
.field span { color: var(--mute); }
.field:focus-within span { color: var(--cobalt); }
.field input, .field textarea { background: none; border: 0; outline: none; color: var(--ink); font: 400 22px/1.3 var(--f-d); letter-spacing: -.02em; padding: 4px 0; resize: vertical; border-radius: 0; }
.field.err { border-color: #E5372B; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips legend { color: var(--mute); margin-bottom: 10px; padding: 0; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border: 1px solid var(--line-2); font-size: 15px; transition: background .3s, color .3s, border-color .3s; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.form .btn { align-self: flex-start; margin-top: 6px; }
.form__note { min-height: 1.2em; color: var(--cobalt); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink); color: var(--paper); padding-top: clamp(40px, 6vw, 90px); overflow: hidden; }
.footer__mark { font-size: 13vw; line-height: .85; font-weight: 800; letter-spacing: -.035em; text-align: center; user-select: none; margin-left: -.03em; }
.footer__mark span { display: inline-block; transition: color .3s; }
.footer__mark span.hot { color: var(--lime); }
.footer__row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 0; margin-top: 26px; border-top: 1px solid rgba(236,235,229,.16); color: #8b8a85; }
.footer__row a:hover { color: var(--lime); }
.footer__legal { display: grid; grid-template-columns: 1.4fr 1.8fr 1fr 1fr 1.2fr; gap: 20px 28px; margin: 0; padding: 24px 0 32px; border-top: 1px solid rgba(236,235,229,.08); }
.footer__legal-item dt { color: #6f6e69; margin-bottom: 8px; }
.footer__legal-item dd { margin: 0; color: #b9b8b2; font-size: 13px; line-height: 1.55; }

/* ==========================================================================
   SUB PAGES (support, privacy)
   ========================================================================== */
.page { padding: calc(var(--hdr) + 60px) 0 120px; }
.page__head { border-bottom: 1px solid var(--ink); padding-bottom: 40px; margin-bottom: 56px; }
.page__title { font-size: clamp(48px, 8vw, 132px); line-height: .9; font-weight: 800; letter-spacing: -.025em; font-variation-settings: "opsz" 96, "wdth" 88; max-width: 14ch; }
.page__sub { margin-top: 22px; color: #3c3b37; max-width: 60ch; font-size: 18px; }
.prose { max-width: 760px; font-size: 17px; line-height: 1.7; color: #26262a; }
.prose h2 { font-size: 30px; font-weight: 700; letter-spacing: -.03em; margin: 52px 0 14px; line-height: 1.1; }
.prose h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 32px 0 10px; }
.prose p { margin: 0 0 14px; }
.prose ul { list-style: none; padding: 0; margin: 0 0 16px; }
.prose li { padding: 10px 0 10px 22px; border-top: 1px solid var(--line); position: relative; }
.prose li::before { content: "→"; position: absolute; left: 0; color: var(--cobalt); }
.prose a { color: var(--cobalt); border-bottom: 1px solid currentColor; }
.page__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 6vw; align-items: start; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 18px; padding: 22px 0; font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.025em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-m); color: var(--cobalt); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: #3c3b37; max-width: 62ch; }
.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--ink); }
.info div { padding: 20px 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.info div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.info span { color: var(--mute); }
.info b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.select { appearance: none; background: none; border: 0; outline: none; font: 400 22px/1.3 var(--f-d); color: var(--ink); padding: 4px 0; border-radius: 0; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .header__nav { display: none; }
  .burger { display: block; }
  .hero__title { width: 100%; }
  .hero__bottom { grid-template-columns: 1fr; gap: 20px; }
  .hero__hint { display: none; }
  .pscene__grid { grid-template-columns: 1fr 1fr; }
  .pfeat { columns: 1; }
  .stack__grid, .contact__grid, .page__grid { grid-template-columns: 1fr; }
  .strips { height: 620px; }
}
@media (max-width: 900px) {
  .hide-s, .hclock, .hbtn { display: none; }
  .hud { display: none; }
  .hero { min-height: 700px; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .products { height: auto; }
  .products__sticky { position: relative; height: auto; }
  .pscene { position: relative; inset: auto; clip-path: none !important; padding: 80px 0 60px; display: block; }
  .pscene__grid { grid-template-columns: 1fr; padding-top: 0; }
  .pscene__device { height: 66vh; margin-top: 40px; }
  .phone { height: 60vh; padding: 8px; border-radius: 38px; }
  .phone img { border-radius: 30px; }
  .callout { min-width: 0; padding: 8px 10px; } .callout b { font-size: 18px; }
  .pnav { display: none; }
  .wtabs { width: 100%; }
  .wtab { flex: 1; padding-right: 12px; }
  .wtab + .wtab { padding-left: 12px; }
  .strips { flex-direction: column; height: auto; }
  .strip { border-right: 0; border-bottom: 1px solid var(--ink); background: var(--ink); color: var(--paper); }
  .strip:last-child { border-bottom: 0; }
  .strip .strip__t, .strip.on .strip__t { writing-mode: horizontal-tb; transform: none; margin-top: 12px; font-size: 34px; white-space: normal; }
  .strip .strip__body { display: flex; opacity: 1; animation: none; }
  .strip .strip__n { color: var(--lime); }
  .strip__body canvas { height: 200px; flex: none; }
  .process { height: 360vh; }
  .process__info { grid-template-columns: 1fr; gap: 16px; }
  .process__log { height: 96px; }
  .info { grid-template-columns: 1fr; }
  .info div + div { padding-left: 0; border-left: 0; }
  .footer__legal { grid-template-columns: repeat(3, 1fr); }
  .footer__legal-item--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .pre__bottom { grid-template-columns: 1fr; }
  .pre__log { height: 96px; }
  .footer__row { flex-direction: column; }
  .footer__legal { grid-template-columns: 1fr 1fr; }
  .footer__legal-item:first-child, .footer__legal-item--wide { grid-column: 1 / -1; }
  .wordmark { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
}

.c.sp { display: inline !important; }
.wd { display: inline-block; white-space: nowrap; }
