/* ==========================================================================
   Devashish — Portfolio
   Tokens
   ========================================================================== */
:root {
  --ink: #121212;
  --ink-2: #181818;
  --ink-3: #1f1f1f;
  --line-d: rgba(237, 235, 230, 0.1);
  --paper: #ece9e2;
  --paper-2: #e3dfd6;
  --line-l: rgba(18, 18, 18, 0.12);
  --fg: #edebe6;
  --fg-2: #aaa8a2;
  --fg-3: #8a8882;
  --fg-4: #58554f;
  --dark-fg: #141414;
  --dark-fg-2: #58554f;
  --accent: #ff5a1f;
  --accent-2: #ff8656;
  --amber: #f4c04e;
  --green: #45d79c;
  --violet: #b9a6ff;

  --f-display: "Archivo", "Geist", ui-sans-serif, system-ui, sans-serif;
  --f-sans: "Geist", "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-hand: "Indie Flower", "Geist", cursive;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--accent); color: #160904; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; }
.upper { text-transform: uppercase; letter-spacing: 0.08em; }
.muted { color: var(--fg-3); }
.accent { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  transition: background 0.3s var(--ease), backdrop-filter 0.3s;
}
.nav.scrolled { background: rgba(18, 18, 18, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.nav__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 0 rgba(237,235,230,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,31,.6); background: var(--accent);} 70% { box-shadow: 0 0 0 8px rgba(255,90,31,0);} 100% { box-shadow: 0 0 0 0 rgba(255,90,31,0);} }
.nav__links { display: flex; gap: 26px; font-size: 13px; color: var(--fg-2); }
.nav__links a { position: relative; transition: color .2s; }
.nav__links a:hover { color: var(--fg); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__clock { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); letter-spacing: .08em; }
@media (max-width: 760px) { .nav__clock { font-size: 10px; } }
@media (max-width: 700px) { .case__title .num { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 120px var(--gutter) 80px; text-align: center; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(255,90,31,.10), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px);
}
.hero__line {
  font-family: var(--f-display); font-weight: 900; font-stretch: 75%;
  font-size: clamp(44px, 9.5vw, 148px); line-height: .88; letter-spacing: -0.01em;
  text-transform: uppercase; margin: 0; position: relative; z-index: 1;
}
.hero__reel {
  position: relative; z-index: 1;
  width: min(760px, 100%); margin: 22px auto; aspect-ratio: 16 / 5.4;
  border-radius: 10px; overflow: hidden; background: #0b0c0e; border: 1px solid var(--line-d);
  display: grid; place-items: center;
}
.hero__reel-bg {
  position: absolute; inset: -20% -10%; display: flex; flex-direction: column; justify-content: center; gap: 4px;
  font-family: var(--f-display); font-weight: 900; font-stretch: 75%; font-size: clamp(40px, 7vw, 90px);
  text-transform: uppercase; line-height: .9; color: rgba(237,235,230,.06); white-space: nowrap;
}
.hero__reel-bg span { display: block; animation: slide 40s linear infinite; }
.hero__reel-bg span:nth-child(2) { animation-direction: reverse; animation-duration: 55s; }
.hero__reel-bg span:nth-child(3) { animation-duration: 48s; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero__word {
  position: relative; font-family: var(--f-display); font-weight: 900; font-stretch: 80%;
  font-size: clamp(30px, 6vw, 72px); text-transform: uppercase; line-height: 1; color: var(--accent);
  transition: opacity .35s var(--ease), transform .35s var(--ease), filter .35s;
}
.hero__word.out { opacity: 0; transform: translateY(14px); filter: blur(6px); }
.hero__reel-meta {
  position: absolute; left: 14px; right: 14px; bottom: 10px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 11px; color: var(--fg-3);
}
.hero__reel-meta b { color: var(--fg); font-weight: 500; }
.hero__reel-meta button { border: 1px solid var(--line-d); border-radius: 999px; padding: 3px 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: var(--fg-2); }
.hero__reel-meta button:hover { color: var(--fg); border-color: var(--fg-3); }
.hero__note {
  position: absolute; left: calc(50% - min(540px, 46vw)); top: 22%; z-index: 2;
  font-family: var(--f-hand); font-size: 17px; color: var(--fg-2); transform: rotate(-6deg); text-align: left; line-height: 1.1;
}
.hero__note svg { width: 70px; margin: 4px 0 0 70px; }
@media (max-width: 900px) { .hero__note { display: none; } }
.hero__intro { position: relative; z-index: 1; max-width: 640px; margin: 36px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--fg-2); }
.hero__intro strong { color: var(--fg); font-weight: 500; }
.hero__cta { position: relative; z-index: 1; display: flex; gap: 18px; align-items: center; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.hero__roles { position: relative; z-index: 1; margin-top: 46px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 12px 22px;
  font-weight: 500; font-size: 15px; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: #160904; }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { border: 1px solid var(--line-d); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg-3); }
.btn--dark { background: var(--ink); color: var(--fg); }
.link-u { border-bottom: 1px solid var(--fg-4); padding-bottom: 2px; color: var(--fg-2); transition: color .2s, border-color .2s; }
.link-u:hover { color: var(--fg); border-color: var(--fg); }

/* Manifesto band */
.manifesto { padding: 140px var(--gutter) 120px; text-align: center; }
.manifesto p {
  margin: 0 auto; max-width: 1100px; font-family: var(--f-display); font-weight: 900; font-stretch: 75%;
  font-size: clamp(40px, 7.4vw, 112px); line-height: .9; text-transform: uppercase;
}
.manifesto .w { color: var(--fg-4); transition: color .4s var(--ease); }
.manifesto .w.lit { color: var(--fg); }
.manifesto .w.lit.hot { color: var(--accent); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 120px 0; position: relative; }
.section--paper { background: var(--paper); color: var(--dark-fg); }
.section--paper .muted { color: var(--dark-fg-2); }
.eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 28px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.section--paper .eyebrow { color: var(--dark-fg-2); }
.h2 { font-family: var(--f-sans); font-weight: 500; font-size: clamp(38px, 5.6vw, 76px); line-height: 1; letter-spacing: -0.035em; margin: 0 0 22px; }
.lede { max-width: 620px; font-size: 18px; color: var(--fg-2); margin: 0; }
.section--paper .lede { color: var(--dark-fg-2); }

/* About */
.about__statement { font-size: clamp(28px, 3.7vw, 50px); line-height: 1.14; letter-spacing: -0.03em; margin: 0 0 80px; max-width: 1100px; font-weight: 400; }
.about__statement .w { color: var(--fg-4); transition: color .5s var(--ease); }
.about__statement .w.lit { color: var(--fg); }
.about__statement .w.lit.hot { color: var(--accent); }
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--line-d); padding-top: 28px; }
.about__col h3 { font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 18px; }
.about__item { margin-bottom: 18px; }
.about__item b { display: block; font-weight: 500; font-size: 15px; }
.about__item span { font-size: 13px; color: var(--fg-3); }
.about__item a b { display: inline-flex; gap: 6px; align-items: center; }
.about__item a:hover b { color: var(--accent); }
@media (max-width: 760px) { .about__grid { grid-template-columns: 1fr; gap: 10px; } }

.proof { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.proof__cell { padding: 26px 22px 28px; border-right: 1px solid var(--line-d); }
.proof__cell:last-child { border-right: 0; }
.proof__k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); display: flex; justify-content: space-between; }
.proof__k i { font-style: normal; color: var(--accent); }
.proof__v { font-family: var(--f-display); font-weight: 900; font-stretch: 75%; font-size: clamp(48px, 5vw, 76px); line-height: 1; margin: 22px 0 10px; font-variant-numeric: tabular-nums; }
.proof__v small { font-size: .42em; color: var(--fg-3); font-stretch: 100%; font-weight: 700; }
.proof__d { font-size: 13px; color: var(--fg-2); }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr 1fr; } .proof__cell:nth-child(2) { border-right: 0; } .proof__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line-d); } }
@media (max-width: 480px) { .proof { grid-template-columns: 1fr; } .proof__cell { border-right: 0; border-bottom: 1px solid var(--line-d); } }

/* ==========================================================================
   Work list
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 50px 0 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-l); border-radius: 999px; padding: 7px 14px; font-size: 13px;
  transition: background .2s, color .2s, border-color .2s;
}
.chip sup { font-family: var(--f-mono); font-size: 10px; color: var(--dark-fg-2); top: 0; }
.chip:hover { border-color: var(--dark-fg); }
.chip[aria-pressed="true"] { background: var(--dark-fg); color: var(--paper); border-color: var(--dark-fg); }
.chip[aria-pressed="true"] sup { color: var(--paper-2); }
.filters__count { margin-left: auto; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--dark-fg-2); text-transform: uppercase; }

.work { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-l); }
.work__row { border-bottom: 1px solid var(--line-l); }
.work__row[hidden] { display: none; }
.work__link { display: grid; grid-template-columns: 44px 1fr 30px; gap: 12px; padding: 26px 0; align-items: start; position: relative; }
.work__n { font-family: var(--f-mono); font-size: 11px; color: var(--dark-fg-2); padding-top: 14px; }
.work__t { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.03em; line-height: 1.05; font-weight: 500; margin: 0 0 8px; transition: transform .35s var(--ease), color .2s; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.work__star { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; background: var(--accent); color: #160904; border-radius: 999px; padding: 4px 9px; font-weight: 500; }
.work__d { max-width: 680px; margin: 0 0 14px; font-size: 15px; color: var(--dark-fg-2); }
.work__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; }
.work__meta b { font-weight: 500; }
.tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-l); border-radius: 999px; padding: 3px 9px; color: var(--dark-fg-2); }
.work__metric { font-family: var(--f-mono); font-size: 12px; }
.work__arrow { font-size: 18px; padding-top: 12px; transition: transform .3s var(--ease); }
.work__link:hover .work__t { transform: translateX(8px); color: #000; }
.work__link:hover .work__arrow { transform: translate(3px, 3px); color: var(--accent); }
.work__row--hero .work__t { font-size: clamp(32px, 4.4vw, 56px); }

/* ==========================================================================
   Case studies
   ========================================================================== */
.case { border-top: 1px solid var(--line-d); padding: 90px 0 40px; }
.case__head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 36px; }
.case__badge { color: var(--green); display: inline-flex; gap: 8px; align-items: center; }
.case__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.case__title { position: relative; margin: 0 0 18px; }
.case__title h3 { margin: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: clamp(56px, 11vw, 168px); line-height: .85; letter-spacing: -0.01em; }
.case__title .num { position: absolute; right: 0; top: 0; font-family: var(--f-display); font-weight: 900; font-stretch: 75%; font-size: clamp(56px, 11vw, 168px); line-height: .85; color: transparent; -webkit-text-stroke: 1px var(--fg-4); }
.case__lede { font-size: clamp(20px, 2.1vw, 28px); line-height: 1.3; letter-spacing: -0.02em; max-width: 900px; margin: 0 0 60px; color: var(--fg); }
.case__body { display: grid; grid-template-columns: 1.55fr 1fr; gap: 64px; }
.pbr { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line-d); }
.pbr dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--fg-3); text-transform: uppercase; padding-top: 4px; }
.pbr dd { margin: 0; font-size: 17px; color: var(--fg-2); }
.pbr dd p { margin: 0 0 14px; }
.pbr dd p:last-child { margin-bottom: 0; }
.pbr dd em { color: var(--accent); font-style: normal; font-weight: 500; }
.side__block { border-top: 1px solid var(--line-d); padding: 22px 0; }
.side__block h4 { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; color: var(--fg-3); text-transform: uppercase; margin: 0 0 10px; }
.side__block p { margin: 0; font-size: 15px; color: var(--fg-2); }
.kv { list-style: none; margin: 0; padding: 0; }
.kv li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-d); font-size: 14px; }
.kv li span:first-child { color: var(--fg-2); }
.kv li span:last-child { font-family: var(--f-mono); font-size: 13px; text-align: right; }
.case__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 900px) { .case__body { grid-template-columns: 1fr; gap: 20px; } .pbr { grid-template-columns: 1fr; gap: 8px; } }

/* Featured case: subtle glow card */
.case--featured { position: relative; }
.case--featured::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 100vw; transform: translateX(-50%); height: 100%; z-index: -1;
  background: radial-gradient(50% 40% at 80% 8%, rgba(255,90,31,.08), transparent 70%);
  pointer-events: none;
}

/* Panels shared */
.panel { margin-top: 70px; }
.panel__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.panel__head h4 { margin: 6px 0 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.03em; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--fg-2); }
.legend span { display: inline-flex; gap: 8px; align-items: center; }
.pill { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--fg-4); border-radius: 4px; padding: 3px 7px; color: var(--fg-2); }
.pill--bot { border-color: var(--fg-4); }
.pill--gate { border-color: var(--amber); color: var(--amber); }
.pill--human { border-color: var(--accent); color: var(--accent); }
.pill--ok { border-color: var(--green); color: var(--green); }

/* Ticket timeline */
.timeline { position: relative; }
.timeline__track { position: relative; height: 26px; margin: 0 0 18px; }
.timeline__track::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 1px; background: var(--line-d); }
.timeline__fill { position: absolute; left: 0; top: 12px; height: 1px; background: var(--accent); width: 0; transition: width .5s var(--ease); }
.timeline__tag { position: absolute; top: 0; transform: translateX(-50%); background: var(--accent); color: #160904; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; border-radius: 999px; padding: 5px 10px; white-space: nowrap; transition: left .5s var(--ease); }
.timeline__cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--fg-4) transparent; }
.tcard { scroll-snap-align: start; border: 1px solid var(--line-d); background: var(--ink-2); border-radius: var(--radius); padding: 20px; min-height: 290px; display: flex; flex-direction: column; opacity: .45; transition: opacity .4s, border-color .4s, background .4s; cursor: pointer; }
.tcard.on { opacity: 1; border-color: rgba(255,90,31,.6); background: var(--ink-3); }
.tcard__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); }
.tcard h5 { font-size: 22px; font-weight: 500; margin: 20px 0 10px; letter-spacing: -0.02em; }
.tcard p { margin: 0; font-size: 14px; color: var(--fg-2); }
.tcard__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-d); font-family: var(--f-mono); font-size: 11px; color: var(--accent); }
.timeline__done { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; margin-top: 18px; padding: 22px; border: 1px solid var(--line-d); border-radius: var(--radius); }
.timeline__done .big { font-family: var(--f-display); font-weight: 900; font-stretch: 75%; font-size: 54px; line-height: 1; color: var(--accent); }
@media (max-width: 700px) { .timeline__done { grid-template-columns: 1fr; gap: 8px; } }

/* Gates grid */
.gates { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.gate { border: 1px solid var(--line-d); border-radius: 10px; padding: 12px; background: var(--ink-2); min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.gate__n { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); display: flex; justify-content: space-between; }
.gate__n i { font-style: normal; color: var(--fg-4); transition: color .3s; }
.gate__t { font-size: 13px; line-height: 1.25; color: var(--fg-2); }
.gate.pass { border-color: rgba(69,215,156,.4); }
.gate.pass .gate__n i { color: var(--green); }
.gate.sign { border-color: rgba(255,90,31,.55); background: rgba(255,90,31,.06); }
.gate.sign .gate__n i { color: var(--accent); }
.gates__foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.gates__foot b { color: var(--fg); font-weight: 500; }
@media (max-width: 1000px) { .gates { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .gates { grid-template-columns: repeat(2, 1fr); } }

/* Cost ledger */
.ledger { width: 100%; border-collapse: collapse; font-size: 14px; }
.ledger th { text-align: left; font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .1em; color: var(--fg-3); text-transform: uppercase; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-d); }
.ledger td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line-d); color: var(--fg-2); }
.ledger tr.hl td { color: var(--fg); }
.ledger tr.hl td:last-child { color: var(--accent); font-family: var(--f-mono); }
.ledger-wrap { overflow-x: auto; }

/* Navelin: invoice console */
.console { display: grid; grid-template-columns: 1fr 1.15fr; border: 1px solid var(--line-d); border-radius: var(--radius); overflow: hidden; background: #0f1115; }
.console__list { border-right: 1px solid var(--line-d); max-height: 420px; overflow: auto; }
.console__bar { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line-d); font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); position: sticky; top: 0; background: #0f1115; }
.inv { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line-d); cursor: pointer; transition: background .2s; width: 100%; text-align: left; }
.inv:hover, .inv.on { background: rgba(255,255,255,.04); }
.inv__av { width: 32px; height: 32px; border-radius: 8px; background: #1c2030; display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; color: #b9c2ff; }
.inv__n b { display: block; font-weight: 500; font-size: 14px; }
.inv__n span { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); }
.status { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.status--ok { background: rgba(69,215,156,.12); color: var(--green); }
.status--run { background: rgba(185,166,255,.12); color: var(--violet); }
.status--chk { background: rgba(244,192,78,.12); color: var(--amber); }
.status--fix { background: rgba(255,90,31,.14); color: var(--accent-2); }
.console__detail { padding: 20px; }
.console__detail h5 { margin: 0 0 4px; font-size: 16px; font-weight: 500; }
.console__detail .sub { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); margin-bottom: 16px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line-d); font-size: 13.5px; color: var(--fg-2); }
.checks li::before { content: "✓"; color: var(--green); font-family: var(--f-mono); }
.checks li.warn::before { content: "!"; color: var(--accent); font-weight: 700; }
.checks li.wait::before { content: "…"; color: var(--violet); }
.copilot { margin-top: 14px; border: 1px solid rgba(185,166,255,.25); background: rgba(185,166,255,.05); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: var(--fg-2); }
.copilot b { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: var(--violet); text-transform: uppercase; font-weight: 400; margin-bottom: 6px; }
@media (max-width: 860px) { .console { grid-template-columns: 1fr; } .console__list { border-right: 0; border-bottom: 1px solid var(--line-d); max-height: 280px; } }

/* Navelin: corner models */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.model { border: 1px solid var(--line-d); border-radius: var(--radius); padding: 22px; background: var(--ink-2); }
.model h5 { margin: 0 0 6px; font-size: 18px; font-weight: 500; }
.model p { margin: 0 0 22px; font-size: 14px; color: var(--fg-2); }
.flow { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
.node { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 64px; }
.node i { font-style: normal; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-family: var(--f-mono); font-size: 12px; border: 1px solid var(--fg-4); color: var(--fg-2); }
.node span { font-size: 11px; color: var(--fg-3); text-align: center; max-width: 76px; line-height: 1.2; }
.node.me i { border-color: var(--accent); color: var(--accent); background: rgba(255,90,31,.08); }
.node.tax i { border-color: var(--amber); color: var(--amber); }
.edge { flex: 1 1 18px; min-width: 14px; height: 1px; background: var(--fg-4); position: relative; margin-bottom: 26px; overflow: hidden; }
.edge::after { content: ""; position: absolute; top: -1px; width: 10px; height: 3px; border-radius: 2px; background: var(--accent); animation: packet 2.2s linear infinite; }
@keyframes packet { from { left: -10px; } to { left: 100%; } }
.fork { font-family: var(--f-mono); font-size: 11px; color: var(--amber); margin-top: 14px; }
@media (max-width: 860px) { .models { grid-template-columns: 1fr; } }

.countries { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-d); }
.country { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line-d); }
.country b { display: block; font-weight: 500; font-size: 16px; }
.country span { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); }
.country span.live { color: var(--green); }
@media (max-width: 700px) { .countries { grid-template-columns: 1fr 1fr; } }

.formats { display: flex; flex-wrap: wrap; gap: 8px; }
.formats span { font-family: var(--f-mono); font-size: 12px; border: 1px solid var(--line-d); border-radius: 999px; padding: 6px 12px; color: var(--fg-2); }

/* Compact cases */
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.mini { border: 1px solid var(--line-d); border-radius: var(--radius); padding: 28px; background: var(--ink-2); display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.mini:hover { border-color: var(--fg-4); transform: translateY(-3px); }
.mini__head { display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: var(--fg-3); text-transform: uppercase; margin-bottom: 18px; flex-wrap: wrap; }
.mini h4 { font-family: var(--f-display); font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: clamp(38px, 4vw, 56px); line-height: .9; margin: 0 0 14px; }
.mini > p { margin: 0 0 16px; font-size: 15px; color: var(--fg-2); }
.mini details { border-top: 1px solid var(--line-d); padding-top: 12px; margin-top: 4px; }
.mini summary { cursor: pointer; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); list-style: none; display: flex; justify-content: space-between; }
.mini summary::-webkit-details-marker { display: none; }
.mini summary::after { content: "+"; color: var(--accent); }
.mini details[open] summary::after { content: "–"; }
.mini details p { font-size: 14px; color: var(--fg-2); margin: 12px 0 0; }
.mini details p b { color: var(--fg); font-weight: 500; }
.mini__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); border-radius: 10px; overflow: hidden; margin-top: auto; }
.mini__stats div { background: var(--ink-2); padding: 12px 14px; }
.mini__stats span { display: block; font-size: 11px; color: var(--fg-3); }
.mini__stats b { font-family: var(--f-mono); font-weight: 500; font-size: 14px; }
.mini__stack { margin: 16px 0; font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); }
@media (max-width: 860px) { .minis { grid-template-columns: 1fr; } }

/* Section: Films */
.films { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 50px; }
.film { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: #0b0c0e; border: 1px solid var(--line-l); display: flex; flex-direction: column; justify-content: space-between; padding: 18px; color: var(--fg); transition: transform .3s var(--ease); }
.film { text-align: left; width: 100%; font: inherit; }
.film:hover { transform: translateY(-4px); }
.film__thumb { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .3s; pointer-events: none; }
.film:hover .film__thumb { opacity: .75; }
.film::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,12,14,.55), transparent 35%, rgba(11,12,14,.85)), radial-gradient(80% 70% at 20% 0%, var(--tint, rgba(255,90,31,.25)), transparent 60%); }
.film > *:not(.film__thumb) { z-index: 2; }

/* Film player */
.player { width: min(1100px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line-d); border-radius: var(--radius); background: #0b0c0e; color: var(--fg); overflow: hidden; }
.player::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(6px); }
.player__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; color: var(--fg-2); }
.player__close { font-family: var(--f-mono); font-size: 12px; color: var(--fg-2); border: 1px solid var(--line-d); border-radius: 999px; padding: 5px 12px; }
.player__close:hover { color: var(--fg); border-color: var(--accent); }
.player video { display: block; width: 100%; aspect-ratio: 16/9; background: #000; }
.film > * { position: relative; }
.film__top { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--fg-2); }
.film__play { width: 44px; height: 44px; border-radius: 50%; background: var(--fg); color: var(--ink); display: grid; place-items: center; font-size: 13px; transition: background .2s; }
.film:hover .film__play { background: var(--accent); }
.film h5 { margin: 0 0 4px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.film p { margin: 0; font-size: 13px; color: var(--fg-2); }
@media (max-width: 900px) { .films { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .films { grid-template-columns: 1fr; } }

/* Earlier */
.timeline-e { list-style: none; margin: 50px 0 0; padding: 0; border-top: 1px solid var(--line-d); }
.timeline-e li { display: grid; grid-template-columns: 180px 1fr 1.2fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line-d); }
.timeline-e .when { font-family: var(--f-mono); font-size: 12px; color: var(--fg-3); padding-top: 6px; }
.timeline-e h4 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
.timeline-e .role { display: block; margin-top: 8px; font-size: 14px; color: var(--accent); }
.timeline-e p { margin: 0; color: var(--fg-2); font-size: 15px; }
@media (max-width: 860px) { .timeline-e li { grid-template-columns: 1fr; gap: 10px; } }

/* Contact */
.contact { padding: 140px 0 60px; }
.contact h2 { font-family: var(--f-display); font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: clamp(54px, 10vw, 150px); line-height: .86; margin: 0 0 30px; max-width: 1200px; }
.contact h2 .accent { display: inline; }
.contact__p { max-width: 620px; font-size: 18px; color: var(--fg-2); margin: 0 0 40px; }
.contact__row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.copy { display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--line-d); border-radius: 999px; padding: 6px 6px 6px 20px; font-size: 16px; transition: border-color .2s; }
.copy:hover { border-color: var(--fg-3); }
.copy__btn { background: var(--fg); color: var(--ink); border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 500; }
.copy.done .copy__btn { background: var(--green); }
.footer { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line-d); margin-top: 120px; padding-top: 22px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--fg-3); text-transform: uppercase; }
.footer a:hover { color: var(--fg); }

/* Reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

/* ==========================================================================
   Tabs
   ========================================================================== */
.tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line-d); border-radius: 999px; background: rgba(18,18,18,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tab { font-size: 13px; color: var(--fg-2); padding: 7px 14px; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.tab:hover { color: var(--fg); }
.tab[aria-selected="true"] { background: var(--fg); color: var(--ink); }
.tab--contact { color: var(--accent); }
.tab--contact:hover { color: var(--accent-2); }
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; row-gap: 10px; padding-top: 12px; padding-bottom: 10px; background: rgba(18,18,18,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .tabs { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 1 0 auto; text-align: center; padding: 7px 12px; }
}
.panel-tab[hidden] { display: none; }
.tab-first { padding-top: 150px; }
.tab-first .case:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 860px) { .tab-first { padding-top: 160px; } }
.panel-tab { animation: tabIn .5s var(--ease); }
@keyframes tabIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Company cards (overview) */
.cos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 50px; }
.co { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: var(--radius); background: var(--ink); color: var(--fg); min-height: 380px; transition: transform .35s var(--ease); }
.co::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 100% 0%, var(--glow), transparent 70%); opacity: .9; transition: opacity .3s; }
.co--toorunt { --glow: rgba(255,90,31,.28); }
.co--navelin { --glow: rgba(185,166,255,.25); }
.co > * { position: relative; }
.co:hover { transform: translateY(-4px); }
.co__top { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.co h3 { margin: 10px 0 0; font-family: var(--f-display); font-weight: 900; font-stretch: 75%; text-transform: uppercase; font-size: clamp(54px, 7vw, 104px); line-height: .85; }
.co p { margin: 0; color: var(--fg-2); font-size: 16px; max-width: 480px; }
.co__stats { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--f-mono); font-size: 12px; color: var(--fg-3); margin-top: auto; }
.co__stats b { color: var(--fg); font-weight: 500; }
.co__go { font-size: 14px; font-weight: 500; color: var(--accent); }
.co-more { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 14px; padding: 22px 26px; border: 1px solid var(--line-l); border-radius: var(--radius); font-size: 15px; transition: border-color .2s; }
.co-more:hover { border-color: var(--dark-fg); }
.co-more .co__go { color: var(--dark-fg); }
@media (max-width: 860px) { .cos { grid-template-columns: 1fr; } .co { min-height: 0; } }

/* Anchors land below the fixed nav */
section[id], article[id], .case[id] { scroll-margin-top: 110px; }
@media (max-width: 860px) { section[id], article[id], .case[id] { scroll-margin-top: 130px; } }

/* Nav always readable, also over cream sections */
.nav { background: rgba(18,18,18,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* Featured film: full row, cinematic */
.film--feature { grid-column: 1 / -1; aspect-ratio: 21 / 9; padding: 26px; }
.film--feature h5 { font-size: clamp(24px, 3vw, 38px); }
.film--feature p { max-width: 640px; font-size: 15px; }
.film--feature .film__play { width: 60px; height: 60px; font-size: 18px; }
@media (max-width: 700px) { .film--feature { aspect-ratio: 4 / 5; } }

/* Hero fits one screen: size by width AND height */
.hero { padding: 92px var(--gutter) 28px; }
.hero__line { font-size: clamp(30px, min(9vw, 8.4svh), 140px); }
.hero__reel { aspect-ratio: auto; height: clamp(76px, 16svh, 210px); margin: clamp(8px, 1.8svh, 22px) auto; }
.hero__reel-bg { font-size: clamp(28px, 6.2svh, 90px); }
.hero__word { font-size: clamp(22px, min(5.6vw, 6.4svh), 72px); }
.hero__note { top: 18%; }
.hero__intro { margin-top: clamp(12px, 2.6svh, 36px); font-size: clamp(15px, min(1.6vw, 2.3svh), 20px); }
.hero__cta { margin-top: clamp(10px, 2.2svh, 28px); }
.hero__cta .btn { padding: clamp(9px, 1.4svh, 12px) 22px; }
.hero__roles { margin-top: clamp(12px, 3svh, 46px); }
@media (max-width: 860px) { .hero { padding-top: 120px; } }
.hero__reel { padding-bottom: 26px; }
@media (max-width: 600px) { .hero__reel { height: clamp(130px, 19svh, 170px); padding-bottom: 40px; } .hero__reel-meta { align-items: flex-end; } }
@media (min-width: 601px) { .hero__reel { height: clamp(100px, 18svh, 220px); padding-bottom: 30px; } }

/* ==========================================================================
   Media: screenshots, clips, phone tour
   ========================================================================== */
.gallery { display: grid; gap: 14px; }
.gallery--toorunt { grid-template-columns: 1fr 1fr 300px; align-items: start; }
.gallery--two { grid-template-columns: 1fr 1fr; }
.gallery--ca { grid-template-columns: 1.4fr 1fr; }
.gallery--ca .clip { grid-row: span 2; }
@media (max-width: 1000px) { .gallery--toorunt { grid-template-columns: 1fr 1fr; } .gallery--toorunt .phone-clip { grid-column: 1 / -1; justify-self: center; width: min(300px, 80%); } }
@media (max-width: 760px) { .gallery--toorunt, .gallery--two, .gallery--ca { grid-template-columns: 1fr; } .gallery--ca .clip { grid-row: auto; } }

.shot, .clip, .phone-clip { margin: 0; }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #17181b; border: 1px solid var(--line-d); border-bottom: 0; border-radius: 12px 12px 0 0; }
.shot__bar i { width: 8px; height: 8px; border-radius: 50%; background: #2c2d31; }
.shot__bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 10px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot__frame { position: relative; overflow: hidden; border: 1px solid var(--line-d); background: #0b0c0e; }
.shot .shot__frame { border-radius: 0 0 12px 12px; }
.clip .shot__frame { border-radius: 12px; }
.shot__frame img, .shot__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot figcaption, .clip figcaption, .phone-clip figcaption { margin-top: 10px; font-size: 13px; color: var(--fg-3); line-height: 1.45; }
.phone-clip__frame { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; border: 6px solid #1d1e22; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); background: #000; }
.phone-clip__frame video { width: 100%; height: 100%; object-fit: cover; }
.clip-btn { position: absolute; right: 10px; bottom: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg); background: rgba(11,12,14,.7); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 5px 10px; backdrop-filter: blur(6px); z-index: 2; }
.clip-btn:hover { border-color: var(--accent); }

/* Company cards: product image */
.co__media { position: relative; overflow: hidden; border-radius: 10px; border: 1px solid var(--line-d); aspect-ratio: 16 / 7; margin-top: auto; }
.co__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: .8; transition: opacity .3s; }
.co:hover .co__media img { opacity: 1; }
.co__stats { margin-top: 0; }

/* NaviGoIn tour */
.tour { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 70px; margin-top: 60px; }
.tour__phone { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone { position: relative; width: 100%; aspect-ratio: 560 / 1140; border-radius: 36px; overflow: hidden; border: 8px solid #1d1e22; background: #000; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px var(--line-d); }
.phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.phone img.on { opacity: 1; transform: none; }
.tour__steps { list-style: none; margin: 0; padding: 18vh 0 30vh; }
.tour__steps li { min-height: 46vh; padding: 20px 0; border-top: 1px solid var(--line-d); opacity: .3; transition: opacity .4s; }
.tour__steps li.on { opacity: 1; }
.tour__steps li .mono { color: var(--accent); }
.tour__steps h5 { margin: 10px 0 8px; font-size: clamp(26px, 3vw, 40px); font-weight: 500; letter-spacing: -0.03em; }
.tour__steps p { margin: 0; max-width: 420px; color: var(--fg-2); font-size: 17px; }
.tour__m { display: none; }
@media (max-width: 860px) {
  .tour { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
  .tour__phone { display: none; }
  .tour__steps { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 12px; }
  .tour__steps li { min-height: 0; opacity: 1; scroll-snap-align: start; border-top: 0; padding: 0; }
  .tour__steps h5 { font-size: 22px; }
  .tour__steps p { font-size: 14px; }
  .tour__m { display: block; width: 100%; border-radius: 22px; border: 5px solid #1d1e22; margin-top: 14px; }
}

/* Work list: floating preview that follows the mouse */
.preview { position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none; width: 340px; margin: -120px 0 0 30px; opacity: 0; transition: opacity .25s; }
.preview.on { opacity: 1; }
.preview__in { transform: rotate(var(--rot, 0deg)); transition: transform .1s; }
.pv { display: none; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); background: var(--ink); }
.pv.on { display: block; }
.pv img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pv.tall { width: 190px; }
.pv.tall img { aspect-ratio: 560 / 1140; }
.pv__txt { padding: 18px; color: var(--fg); }
.pv__txt span { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.pv__txt b { font-weight: 500; font-size: 14px; }

/* ==========================================================================
   Effects
   ========================================================================== */
.progress { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 60; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.nav { transition: transform .45s var(--ease), background .3s; }
.nav.hide { transform: translateY(-110%); }

.cursor { position: fixed; inset: 0; z-index: 70; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__ring { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(237,235,230,.5); display: grid; place-items: center; opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, border-color .3s, opacity .3s; mix-blend-mode: normal; }
.cursor.on .cursor__ring { opacity: 1; }
.cursor.is-link .cursor__ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: var(--accent); background: rgba(255,90,31,.08); }
.cursor.is-label .cursor__ring { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--accent); border-color: var(--accent); }
.cursor__ring em { font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #160904; opacity: 0; transition: opacity .2s; }
.cursor.is-label em { opacity: 1; }

/* Split headlines */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.sc { display: inline-block; will-change: transform; }

/* Handwritten note types itself */
.hero__note .ch { opacity: 0; }
.hero__note .ch.on { opacity: 1; }
.no-motion .hero__note .ch { opacity: 1; }
[data-parallax] { will-change: transform; }

/* Lenis: it animates scrolling itself, so the browser must not */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.lenis { scroll-behavior: auto !important; }

/* Toorunt gallery: wide stacked screens, teaser phone alongside */
.gallery--toorunt { grid-template-columns: 1fr minmax(220px, 280px); }
.gallery--toorunt .phone-clip { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 120px; }
@media (max-width: 1000px) { .gallery--toorunt { grid-template-columns: 1fr; } .gallery--toorunt .phone-clip { grid-column: auto; grid-row: auto; position: static; justify-self: center; width: min(280px, 80%); } }

/* Navelin: delivered callout */
.delivered { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; align-items: start; margin: -30px 0 60px; padding: 22px 24px; border: 1px solid rgba(69,215,156,.35); border-radius: var(--radius); background: linear-gradient(90deg, rgba(69,215,156,.08), rgba(69,215,156,.02)); max-width: 980px; }
.delivered__k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #160904; background: var(--green); border-radius: 999px; padding: 5px 11px; margin-top: 2px; }
.delivered p { margin: 0; font-size: 16px; color: var(--fg-2); }
.delivered p b { color: var(--fg); font-weight: 500; font-size: 18px; }
.delivered__flags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.delivered__flags span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--fg-2); border: 1px solid var(--line-d); border-radius: 999px; padding: 5px 12px 5px 5px; }
.delivered__flags i { font-style: normal; font-size: 10px; color: var(--green); border: 1px solid rgba(69,215,156,.5); border-radius: 999px; padding: 2px 6px; }
.country--done b em { font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #160904; background: var(--green); border-radius: 999px; padding: 2px 7px; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 600px) { .delivered { grid-template-columns: 1fr; margin-top: -20px; } .delivered__flags { grid-column: auto; } }
