/* ============================================================
   Belkadi Studio — Hybrid: Studio Billboard + Engineered
   Clash Display · JetBrains Mono · Instrument Serif · Hanken Grotesk
   ============================================================ */

:root {
  --ink:        #0c0c0e;
  --ink-2:      #131316;
  --ink-3:      #1b1b20;
  --paper:      #f3efe6;
  --paper-2:    #e8e2d4;
  --ember:      #ff5a1f;
  --ember-soft: #ff7d4d;
  --cream-line: rgba(243, 239, 230, 0.12);
  --ink-line:   rgba(12, 12, 14, 0.12);
  --muted:      rgba(243, 239, 230, 0.60);
  --muted-dark: rgba(12, 12, 14, 0.62);

  --font-display: "Clash Display", sans-serif;
  --font-body:    "Hanken Grotesk", sans-serif;
  --font-serif:   "Instrument Serif", serif;
  --font-mono:    "JetBrains Mono", monospace;

  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ember); color: var(--ink); }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); font-feature-settings: "ss02"; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- grain overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9995; pointer-events: none; opacity: 0; }
.cursor.is-active { opacity: 1; }
.cursor__dot {
  position: fixed; top: 0; left: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ember); transform: translate(-50%, -50%);
}
.cursor__ring {
  position: fixed; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(255, 90, 31, 0.45); transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.cursor.is-hover .cursor__ring {
  width: 58px; height: 58px; border-color: rgba(255, 90, 31, 0.9);
  background: rgba(255, 90, 31, 0.08);
}
.cursor.is-inverted .cursor__dot { background: var(--ink); }
.cursor.is-inverted .cursor__ring { border-color: rgba(12, 12, 14, 0.55); }
.cursor.is-inverted.is-hover .cursor__ring { border-color: rgba(12, 12, 14, 0.9); background: rgba(12, 12, 14, 0.08); }
body.cursor-on, body.cursor-on a, body.cursor-on button,
body.cursor-on input, body.cursor-on textarea, body.cursor-on label { cursor: none; }

/* ---------- skip link ---------- */
.skip { position: fixed; top: 10px; left: 50%; transform: translate(-50%, -150%); z-index: 10000;
  background: var(--ember); color: var(--ink); font-family: var(--font-mono); font-size: 0.8rem;
  font-weight: 600; padding: 0.7em 1.2em; border-radius: 100px; transition: transform 0.25s var(--ease); }
.skip:focus { transform: translate(-50%, 0); outline: none; }

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 9996; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--ember);
  box-shadow: 0 0 12px rgba(255, 90, 31, 0.7); transform-origin: left; transition: width 0.08s linear; }

/* ---------- focus-visible ---------- */
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

/* ---------- shared section + headings ---------- */
.section { padding: clamp(72px, 11vw, 150px) 0; position: relative; }

.eyebrow {
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.12em;
  color: var(--ember); display: inline-flex; align-items: center; gap: 0.7em;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }
.eyebrow .sep { opacity: 0.5; }
.eyebrow--dark { color: var(--ember); }

.sec-head { margin-bottom: clamp(40px, 6vw, 72px); }
.sec-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 7.5vw, 5.4rem); line-height: 0.96; letter-spacing: -0.03em;
  margin-top: 0.34em;
}
.sec-title--dark { color: var(--ink); }

.serif-accent {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  color: var(--ember); letter-spacing: 0;
}

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 1.5em; }
.chip {
  font-size: 0.74rem; letter-spacing: 0.02em; color: var(--muted);
  border: 1px solid var(--cream-line); border-radius: 100px; padding: 0.45em 0.9em;
}
.chip b { color: var(--ember); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  background: var(--ember); color: var(--ink);
  padding: 0.78em 1.5em; border-radius: 100px; border: none; cursor: pointer;
  transition: background 0.25s, box-shadow 0.35s var(--ease);
  white-space: nowrap; will-change: transform;
}
.btn:hover { background: var(--ember-soft); box-shadow: 0 12px 34px -12px rgba(255, 90, 31, 0.6); }
.btn--lg { padding: 1em 1.9em; font-size: 1.02rem; }
.btn--small { padding: 0.62em 1.2em; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--cream-line); }
.btn--ghost:hover { background: rgba(243, 239, 230, 0.06); box-shadow: inset 0 0 0 1.5px var(--paper); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em; font-weight: 600; color: var(--ember);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: gap 0.3s var(--ease), border-color 0.3s; will-change: transform;
}
.link-arrow:hover { gap: 0.85em; border-color: var(--ember); }

/* ---------- brand wordmark ---------- */
.brand { display: inline-flex; align-items: center; gap: 0.6em; will-change: transform; }
.brand__mark {
  width: 22px; height: 22px; border-radius: 6px; background: var(--ember);
  box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 4px var(--ember);
  transform: rotate(45deg); transition: transform 0.5s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(135deg); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand__sub { color: var(--ember); }
.brand__name--lg { font-size: 1.9rem; }

/* ============================================================ NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s, padding 0.4s; }
.nav.is-stuck { background: rgba(12, 12, 14, 0.72); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--cream-line); padding: 11px 0; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; margin-right: 28px; }
.nav__links a { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  position: relative; transition: color 0.25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 1.5px; width: 0;
  background: var(--ember); transition: width 0.3s var(--ease); }
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-active { color: var(--paper); }
.nav__links a.is-active::after { width: 100%; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--paper); transition: transform 0.3s, opacity 0.3s; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 14px 28px 24px;
  background: rgba(12, 12, 14, 0.97); backdrop-filter: blur(14px); border-top: 1px solid var(--cream-line); }
.nav__mobile a { padding: 12px 0; font-size: 1.1rem; font-weight: 500; }
.nav__mobile .btn { margin-top: 8px; }

/* ============================================================ HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 130px 0 90px; overflow: hidden; }
.hero__glow { position: absolute; top: -12%; right: -6%; width: 70vw; height: 70vw; max-width: 880px; max-height: 880px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.30) 0%, rgba(255, 90, 31, 0) 62%);
  filter: blur(16px); pointer-events: none; animation: drift 16s var(--ease) infinite alternate; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-5%, 4%) scale(1.12); } }
.hero__grid { position: absolute; inset: -10% 0; pointer-events: none;
  background-image: linear-gradient(var(--cream-line) 1px, transparent 1px), linear-gradient(90deg, var(--cream-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 55% 38%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 55% 38%, #000 30%, transparent 75%); opacity: 0.6; }
.hero__inner { position: relative; z-index: 2; max-width: 1000px; }

.coord { position: absolute; top: 96px; right: 28px; z-index: 2; display: flex; flex-direction: column;
  gap: 2px; text-align: right; font-size: 0.7rem; color: var(--muted); line-height: 1.6; }
.coord b { color: var(--ember); }

.hero__title { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.1rem, 12.5vw, 9.6rem); line-height: 0.9; letter-spacing: -0.04em; margin: 0.3em 0 0; }
/* clip (not hidden) + a margin so deep serif descenders (the italic "g") bleed through,
   while words waiting at translateY(115%) stay masked. overflow:hidden is the old-browser fallback. */
.hero__title .line { display: block; overflow: hidden; overflow: clip; overflow-clip-margin: 0.35em; padding-bottom: 0.04em; }
.hero__title .w { display: inline-block; transform: translateY(115%); transition: transform 0.95s var(--ease); }
.hero__title .serif-accent { font-weight: 400; letter-spacing: -0.01em; }
body.loaded .hero__title .w { transform: translateY(0); }
.hero__title .w[data-d="1"] { transition-delay: 0.15s; }
.hero__title .w[data-d="2"] { transition-delay: 0.27s; }
.hero__title .w[data-d="3"] { transition-delay: 0.39s; }
.hero__title .w[data-d="4"] { transition-delay: 0.51s; }

.hero__lede { font-size: clamp(1.05rem, 2.1vw, 1.38rem); color: var(--muted); max-width: 40ch; line-height: 1.55; margin-top: 1.5em; }
.hero__lede strong { color: var(--paper); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.1em; }
.hero__avail { margin-top: 2.4em; font-size: 0.74rem; letter-spacing: 0.06em; color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.7em; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); position: relative; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ember); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(3.2); opacity: 0; } }

/* ============================================================ MARQUEE */
.marquee { background: var(--ember); color: var(--ink); padding: 16px 0; overflow: hidden;
  border-top: 1px solid rgba(12,12,14,.15); border-bottom: 1px solid rgba(12,12,14,.15); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: scroll 38s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; white-space: nowrap; }
.marquee__track .star { font-size: 0.8rem; opacity: 0.7; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================ MANIFESTO */
.manifesto { background: var(--paper); color: var(--ink); }
.manifesto .eyebrow--dark { color: var(--ember); }
.manifesto__head { font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 5.6vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; margin: 0.5em 0 1.3em; max-width: 16ch; }
.manifesto__head em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--ember); }
.manifesto__head .ul { position: relative; white-space: nowrap; }
.manifesto__head .ul::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.12em; background: var(--ember); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.col { border-top: 2px solid var(--ink); padding-top: 22px; }
.col__no { color: var(--ember); font-size: 0.85rem; }
.col h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin: 0.3em 0 0.5em; letter-spacing: -0.02em; }
.col p { color: var(--muted-dark); font-size: 1.02rem; }

/* ============================================================ WORK / CASE STUDY */
.work { background: var(--ink); }

/* before / after slider */
.ba { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--cream-line); box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9);
  --pos: 50%; margin-bottom: clamp(36px, 5vw, 64px); user-select: none; }
.ba__base { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ba__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__top img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.ba__tag { position: absolute; bottom: 16px; z-index: 4; font-size: 0.7rem; letter-spacing: 0.04em;
  padding: 0.4em 0.8em; border-radius: 100px; background: rgba(12,12,14,0.7); backdrop-filter: blur(6px); color: var(--paper); }
.ba__tag--before { left: 16px; }
.ba__tag--after { right: 16px; color: var(--ember); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--ember);
  transform: translateX(-50%); z-index: 5; pointer-events: none; box-shadow: 0 0 18px rgba(255,90,31,0.6); }
.ba__grip { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%);
  background: var(--ember); border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 6px 20px -6px rgba(0,0,0,0.7); }
.ba__grip::before { content: "⟺"; color: var(--ink); font-size: 1.2rem; font-weight: 700; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 6; }
.ba__range:focus-visible + .ba__cap { outline: none; }
.ba:focus-within .ba__grip { box-shadow: 0 0 0 4px rgba(255,90,31,0.35), 0 6px 20px -6px rgba(0,0,0,0.7); }
.ba__cap { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 4;
  font-size: 0.68rem; letter-spacing: 0.06em; color: var(--paper); background: rgba(12,12,14,0.6);
  padding: 0.35em 0.85em; border-radius: 100px; backdrop-filter: blur(6px); }

.case { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.case__tag { font-size: 0.74rem; letter-spacing: 0.08em; color: var(--ember); }
.case__title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700;
  letter-spacing: -0.03em; margin: 0.4em 0 0.6em; line-height: 1; }
.case__copy > p { color: var(--muted); font-size: 1.05rem; }
.case__list { list-style: none; margin: 1.4em 0; display: flex; flex-direction: column; gap: 0.7em; }
.case__list li { position: relative; padding-left: 1.7em; color: var(--paper); font-size: 0.98rem; }
.case__list li::before { content: "→"; position: absolute; left: 0; color: var(--ember); font-weight: 700; }

.scores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 18px;
  background: var(--ink-2); border: 1px solid var(--cream-line); border-radius: 16px; padding: clamp(26px, 3vw, 38px); }
.score { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.score__ring { --val: 0; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(var(--ember) calc(var(--val) * 1%), rgba(243,239,230,.10) 0); }
.score__ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--ink-2); }
.score__num { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--paper); }
.score p { font-size: 0.66rem; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.scores__cap { grid-column: 1 / -1; text-align: center; font-size: 0.66rem; letter-spacing: 0.06em; color: var(--muted); }

/* ============================================================ SERVICES */
.services { background: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--cream-line);
  border: 1px solid var(--cream-line); border-radius: 18px; overflow: hidden; }
.card { background: var(--ink-2); padding: clamp(28px, 3.4vw, 44px); transition: background 0.35s var(--ease); }
.card:hover { background: var(--ink-3); }
.card__ix { color: var(--ember); font-size: 0.8rem; display: block; letter-spacing: 0.05em; }
.card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; margin: 0.8em 0 0.45em; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ============================================================ SAMPLE WORK */
.samples { background: var(--ink); }
.samples__intro { max-width: 560px; color: var(--muted); margin-top: 1.2em; font-size: 1.05rem; }
.samples__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 38px); }
.sample { display: block; }
.sample__shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--cream-line);
  aspect-ratio: 16 / 10; background: var(--ink-2); transition: border-color 0.35s, box-shadow 0.35s var(--ease); }
.sample__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
  transition: transform 0.7s var(--ease); }
.sample:hover .sample__shot { border-color: rgba(255, 90, 31, 0.55); box-shadow: 0 30px 70px -40px rgba(255, 90, 31, 0.5); }
.sample:hover .sample__shot img { transform: scale(1.035); }
.sample__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; margin-top: 1.15em; }
.sample__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; }
.sample__tag { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--ember); margin-top: 0.35em; }
.sample__go { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.78rem; letter-spacing: 0.04em;
  color: var(--muted); white-space: nowrap; transition: color 0.25s, gap 0.25s var(--ease); }
.sample:hover .sample__go { color: var(--ember); gap: 0.7em; }
.samples__note { text-align: center; margin-top: clamp(28px, 4vw, 46px); font-size: 0.72rem;
  letter-spacing: 0.06em; color: var(--muted); }

/* ============================================================ PROCESS */
.process { background: var(--paper); color: var(--ink); }
.process .eyebrow--dark { color: var(--ember); }
.steps { list-style: none; }
.step { display: grid; grid-template-columns: minmax(120px, 0.35fr) 1fr; gap: 24px;
  padding: clamp(26px, 3.5vw, 42px) 0; border-top: 1px solid var(--ink-line); align-items: baseline; }
.step:last-child { border-bottom: 1px solid var(--ink-line); }
.step__no { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--ember); letter-spacing: -0.04em; line-height: 1; }
.step h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.35em; }
.step p { color: var(--muted-dark); font-size: 1.05rem; max-width: 52ch; }

/* ============================================================ PROMISE / GUARANTEE */
.promise { background: var(--ink-2); position: relative; overflow: hidden;
  border-top: 1px solid var(--cream-line); }
.promise__glow { position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: 90vw; max-width: 1000px; height: 60%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255, 90, 31, 0.16) 0%, rgba(255, 90, 31, 0) 70%);
  filter: blur(34px); }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--cream-line); border: 1px solid var(--cream-line); border-radius: 18px; overflow: hidden;
  position: relative; }
.promise-item { background: var(--ink-2); padding: clamp(26px, 2.6vw, 38px); position: relative;
  transition: background 0.35s var(--ease); }
.promise-item:hover { background: var(--ink-3); }
.promise-item__ix { color: var(--ember); font-size: 0.72rem; letter-spacing: 0.08em; display: block; }
.promise-item h3 { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700;
  letter-spacing: -0.02em; margin: 1.4em 0 0.45em; }
.promise-item p { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

/* ============================================================ PRICING */
.pricing { background: var(--ink); }
.pricing__intro { max-width: 620px; color: var(--muted); margin-top: 1.4em; font-size: 1.05rem; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier {
  background: linear-gradient(160deg, var(--ink-2), var(--ink-3)); border: 1px solid var(--cream-line);
  border-radius: 20px; padding: clamp(26px, 2.6vw, 38px);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.tier--featured { border-color: rgba(255, 90, 31, 0.5); box-shadow: 0 24px 60px -30px rgba(255, 90, 31, 0.55); }
.tier--featured::before { content: ""; position: absolute; top: -45%; right: -30%; width: 85%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(255, 90, 31, 0.20) 0%, rgba(255, 90, 31, 0) 68%);
  filter: blur(30px); pointer-events: none; }
.tier__badge { position: absolute; top: 18px; right: 18px; font-size: 0.62rem; letter-spacing: 0.1em;
  color: var(--ink); background: var(--ember); padding: 0.42em 0.75em; border-radius: 100px; }
.tier__name { font-size: 0.78rem; letter-spacing: 0.14em; color: var(--ember); position: relative; }
.tier__price { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 4.4vw, 3.4rem);
  line-height: 0.92; letter-spacing: -0.03em; margin: 0.3em 0 0.18em; position: relative; }
.tier__price .cur { color: var(--ember); font-size: 0.5em; vertical-align: top; margin-right: 0.04em; }
.tier__from { display: block; font-size: 0.64rem; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 0.45em; }
.tier__price--talk { font-size: clamp(2.2rem, 3.8vw, 2.9rem); }
.tier__tag { color: var(--muted); font-size: 0.95rem; line-height: 1.45; margin-bottom: 1.3em; position: relative; }
.tier__base { font-size: 0.68rem; letter-spacing: 0.1em; color: var(--ember); opacity: 0.85; margin-bottom: 0.95em; position: relative; }
.tier__list { list-style: none; display: grid; gap: 0.72em; margin: 0 0 clamp(24px, 3vw, 32px);
  position: relative; flex: 1 1 auto; }
.tier__list li { position: relative; padding-left: 1.7em; color: var(--paper); font-size: 0.95rem; line-height: 1.4; }
.tier__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ember); font-weight: 700; }
.tier .btn { margin-top: auto; }

.pricing__foot { max-width: 880px; margin: clamp(34px, 5vw, 54px) auto 0; display: grid; gap: 0.9em; }
.pricing__foot p { color: var(--muted); font-size: 0.98rem; position: relative; padding-left: 1.7em; }
.pricing__foot strong { color: var(--paper); }
.pricing__foot p::before { position: absolute; left: 0; top: 0; color: var(--ember); }
.pricing__foot .care::before { content: "↻"; font-weight: 700; }
.pricing__foot .own::before { content: "◆"; font-size: 0.78em; top: 0.18em; }

/* ============================================================ ABOUT */
.about { background: var(--ink-2); }
.about__inner { display: grid; grid-template-columns: 1.4fr 0.85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__head { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4.6vw, 3.2rem);
  line-height: 1.05; letter-spacing: -0.03em; margin: 0.5em 0 0.8em; }
.about__copy > p { color: var(--muted); font-size: 1.1rem; margin-bottom: 1em; max-width: 60ch; }
.about__stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
.about__stats span { font-size: 0.72rem; letter-spacing: 0.04em; color: var(--paper); padding: 0.55em 1.1em;
  border-radius: 100px; box-shadow: inset 0 0 0 1px var(--cream-line); }

.about__card { background: linear-gradient(160deg, var(--ink-3), var(--ink)); border: 1px solid var(--cream-line);
  border-radius: 20px; padding: clamp(26px, 2.6vw, 36px); position: relative; overflow: hidden; }
.about__card::before { content: ""; position: absolute; top: -50%; right: -35%; width: 90%; height: 130%;
  background: radial-gradient(ellipse at center, rgba(255, 90, 31, 0.16) 0%, rgba(255, 90, 31, 0) 68%);
  filter: blur(32px); pointer-events: none; }
.about__avatar { width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center;
  background: var(--ember); color: var(--ink); position: relative; overflow: hidden;
  box-shadow: 0 14px 34px -16px rgba(255, 90, 31, 0.7); }
.about__avatar span { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.02em; }
.about__avatar img { width: 100%; height: 100%; object-fit: cover; }
.about__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; margin: 0.9em 0 0.15em; position: relative; }
.about__role { font-size: 0.68rem; letter-spacing: 0.12em; color: var(--ember); position: relative; }
.about__facts { list-style: none; margin: 1.5em 0; display: grid; gap: 0.85em; position: relative; }
.about__facts li { display: flex; justify-content: space-between; align-items: baseline; gap: 1em;
  font-size: 0.72rem; letter-spacing: 0.03em; padding-bottom: 0.85em; border-bottom: 1px solid var(--cream-line); }
.about__facts li:last-child { border-bottom: none; padding-bottom: 0; }
.about__facts span { color: var(--muted); text-transform: uppercase; }
.about__facts b { color: var(--paper); font-weight: 500; text-align: right; }
.about__card .btn { position: relative; }

/* ============================================================ FAQ */
.faq { background: var(--paper); color: var(--ink); }
.faq .eyebrow--dark { color: var(--ember); }
.faq__list { max-width: 860px; }
.faq__item { border-top: 1px solid var(--ink-line); }
.faq__item:last-child { border-bottom: 1px solid var(--ink-line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5em; padding: clamp(20px, 2.6vw, 30px) 0; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: -0.02em; line-height: 1.2; transition: color 0.25s; }
.faq__item summary:hover .faq__q { color: var(--ember); }
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--ember); transform: translate(-50%, -50%); transition: transform 0.3s var(--ease); }
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) scaleY(0); }
/* always-rendered grid row so the open AND close both animate (author display beats the UA display:none) */
.faq__a { display: grid; grid-template-rows: 0fr; overflow: clip; transition: grid-template-rows 0.42s var(--ease); }
.faq__a p { color: var(--muted-dark); font-size: 1.02rem; line-height: 1.6; max-width: 64ch;
  padding-bottom: clamp(20px, 2.6vw, 30px); overflow: hidden; min-height: 0; text-wrap: pretty; }
.faq__item[open] .faq__a { grid-template-rows: 1fr; }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ============================================================ CONTACT */
.contact { background: var(--ember); color: var(--ink); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact .eyebrow--dark { color: var(--ink); opacity: 0.7; }
.contact__head { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5.4vw, 3.8rem);
  line-height: 0.98; letter-spacing: -0.035em; margin: 0.4em 0 0.5em; }
.contact__lede { font-size: 1.1rem; color: rgba(12,12,14,.78); max-width: 42ch; }
.contact__email { margin-top: 1.6em; font-size: 0.92rem; }
.contact__email a { border-bottom: 2px solid var(--ink); }
.contact__email a:hover { background: var(--ink); color: var(--ember); }
.contact__reach { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.1em; }
.contact__reach-btn { display: inline-flex; align-items: center; gap: 0.55em; font-size: 0.82rem;
  letter-spacing: 0.02em; color: var(--ink); padding: 0.6em 1.05em; border-radius: 100px;
  box-shadow: inset 0 0 0 1.5px rgba(12, 12, 14, 0.3); transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.contact__reach-btn:hover { background: var(--ink); color: var(--ember); box-shadow: inset 0 0 0 1.5px var(--ink); }
.contact__reach-ic { font-size: 1em; }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.field input, .field textarea { font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: rgba(243,239,230,.55); border: 1.5px solid rgba(12,12,14,.25); border-radius: 12px;
  padding: 0.8em 1em; resize: vertical; transition: border-color 0.2s, background 0.2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.form .btn { background: var(--ink); color: var(--ember); margin-top: 6px; position: relative; }
.form .btn:hover { background: #000; box-shadow: 0 12px 30px -12px rgba(0,0,0,.6); }
.field__opt { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: 0.55; font-size: 0.85em; }
.field__err { font-size: 0.7rem; letter-spacing: 0.02em; color: #7a1500; font-weight: 600; margin-top: 2px; }
.field.has-error input, .field.has-error textarea { border-color: #7a1500; background: rgba(255, 90, 31, 0.08); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* submit button loading + success */
.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 90, 31, 0.3); border-top-color: var(--ember); animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form.is-sending .btn__label { opacity: 0; }
.form.is-sending .btn__spinner { display: block; position: absolute; inset: 0; margin: auto; }
.form.is-sending .btn { pointer-events: none; }

.form__status { margin-top: 4px; font-size: 0.78rem; letter-spacing: 0.02em; padding: 0.7em 1em;
  border-radius: 10px; line-height: 1.4; }
.form__status.is-error { background: rgba(122, 21, 0, 0.12); color: #7a1500; box-shadow: inset 0 0 0 1px rgba(122,21,0,.3); }

/* success panel (replaces form on success) */
.form-success { text-align: center; padding: clamp(30px, 5vw, 56px) clamp(20px, 3vw, 36px);
  background: rgba(12, 12, 14, 0.06); border: 1.5px solid rgba(12, 12, 14, 0.2); border-radius: 16px;
  animation: faqOpen 0.5s var(--ease); }
.form-success__mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--ember);
  display: grid; place-items: center; margin: 0 auto 1em; font-size: 1.6rem; font-weight: 700; }
.form-success h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.4em; }
.form-success p { color: rgba(12, 12, 14, 0.78); font-size: 1rem; max-width: 36ch; margin: 0 auto; }

/* ============================================================ FOOTER */
.footer { background: var(--ink); padding: clamp(60px, 8vw, 96px) 0 36px; border-top: 1px solid var(--cream-line); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; }
.footer__brand p { color: var(--muted); margin-top: 0.9em; max-width: 34ch; font-size: 0.98rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.footer__nav a { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; }
.footer__nav a:hover { color: var(--ember); }
.footer__base { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  margin-top: clamp(40px, 6vw, 72px); padding-top: 26px; border-top: 1px solid var(--cream-line);
  color: var(--muted); font-size: 0.72rem; letter-spacing: 0.04em; }

/* ============================================================ REVEAL */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="6"] { transition-delay: 0.48s; }
.reveal[data-d="7"] { transition-delay: 0.56s; }
.reveal[data-d="8"] { transition-delay: 0.64s; }

/* ============================================================ CRAFT REFINEMENTS */
/* 1 · line-mask heading rise — extends the hero's signature reveal to every section title.
   JS wraps each <br>-delimited line in .ln > .ln__i; the mask clips the line as it slides up. */
.ln { display: block; overflow: hidden; overflow: clip; overflow-clip-margin: 0.3em; padding-bottom: 0.08em; }
.ln__i { display: block; transform: translateY(110%); transition: transform 0.9s var(--ease); text-wrap: balance; }
.reveal.in [data-rise] .ln__i,
.reveal.in[data-rise] .ln__i { transform: none; }

/* 2 · CTA tactility — light sheen sweep across solid buttons + a directional arrow nudge */
.btn:not(.btn--ghost) { position: relative; overflow: hidden; }
.btn:not(.btn--ghost) > * { position: relative; z-index: 1; }
.btn:not(.btn--ghost)::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.28) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform 0.75s var(--ease); }
.btn:not(.btn--ghost):hover::after { transform: translateX(130%); }
/* :not(.btn__spinner) so the arrow rule doesn't also match the aria-hidden spinner span */
.btn span[aria-hidden]:not(.btn__spinner) { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:not(.btn--ghost):hover span[aria-hidden]:not(.btn__spinner) { transform: translateX(3px); }
.btn--ghost:hover span[aria-hidden]:not(.btn__spinner) { transform: translateY(3px); }
.btn:focus-visible { box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.25); }

/* 3 · living cards — an ember hairline wipes across the top edge on hover */
.card, .promise-item { position: relative; }
.card::before, .promise-item::before { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 0;
  background: var(--ember); transition: width 0.45s var(--ease); }
.card:hover::before, .promise-item:hover::before { width: 100%; }
.card:hover .card__ix { color: var(--ember-soft); }

/* 4a · contextual cursor label over the sample cards */
.cursor__label { position: absolute; top: 50%; left: 50%; white-space: nowrap;
  transform: translate(-50%, -50%) scale(0.6); font-family: var(--font-mono); font-size: 0.6rem;
  font-weight: 600; letter-spacing: 0.08em; color: var(--ember); opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.25s var(--ease); }
.cursor.is-view .cursor__ring { width: 86px; height: 86px; border-color: rgba(255, 90, 31, 0.9);
  background: rgba(255, 90, 31, 0.10); }
.cursor.is-view .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cursor.is-view .cursor__dot { opacity: 0; }

/* 4b · typeset polish — even figures on prices, no orphan last lines in body copy */
.tier__price { font-variant-numeric: lining-nums tabular-nums; }
.hero__lede, .pricing__intro, .samples__intro, .about__copy > p,
.contact__lede, .col p, .card p, .step p, .promise-item p, .tier__tag { text-wrap: pretty; }

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .case { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .promises { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 44px; }
  .about__card { max-width: 460px; }
}
@media (max-width: 880px) {
  .nav__links, .nav .btn--small { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile:not([hidden]) { display: flex; }
  .coord { display: none; }
  .cols { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .samples__grid { grid-template-columns: 1fr; gap: 28px; }
  .contact__inner { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 4px; }
  .step__no { font-size: 2.4rem; }
}
@media (max-width: 600px) {
  .promises { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .ba { aspect-ratio: 4 / 3; }
  .scores { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
  .score__ring { width: 80px; height: 80px; }
  .hero__title { font-size: clamp(2.6rem, 11.5vw, 4rem); }
}

/* ============================================================ MOTION-SAFE */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .w { transform: none; }
  [data-rise] .ln__i { transform: none; }
  .cursor { display: none; }
}
@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
  body.cursor-on, body.cursor-on * { cursor: auto; }
}
