/* ==========================================================================
   SOLCE — design tokens
   ========================================================================== */

:root {
  /* colour */
  --ink: #0e0d0b;
  --ink-soft: #17150f;
  --ink-line: #2c2820;
  --paper: #f3ecda;
  --paper-dim: #e9dfc4;
  --paper-line: #d9cba3;
  --gold: #c9992f;
  --gold-light: #e3b75b;
  --white: #f7f3e9;
  --muted: #a89c82;
  --muted-on-paper: #6b5f45;
  --ink-text: #201b12;

  /* type */
  --font-display: "Bricolage Grotesque", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* layout */
  --maxw: 1180px;
  --pad: 1.25rem;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --snap: cubic-bezier(0.2, 1.35, 0.3, 1);
}

@media (min-width: 640px) {
  :root { --pad: 2rem; }
}
@media (min-width: 1000px) {
  :root { --pad: 3rem; }
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* subtle grain texture over everything, dark sections only read it well */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Section rhythm
   ========================================================================== */

section { padding: 5.5rem var(--pad); }
@media (min-width: 1000px) { section { padding: 8rem var(--pad); } }

.section__head { max-width: 640px; margin-bottom: 3rem; }
@media (min-width: 1000px) { .section__head { margin-bottom: 4.5rem; } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section__head h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  margin-bottom: 1.1rem;
}

.section__lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
}

.pricing .section__lede,
.pricing .eyebrow,
.pricing h2 { color: var(--ink-text); }
.pricing .section__lede { color: var(--muted-on-paper); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease), background 0.25s ease, box-shadow 0.25s ease,
              border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--ink);
}
.btn--primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--ink-line);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }

.btn--nav {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--ink-line);
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}
.btn--nav:hover { border-color: var(--gold); color: var(--gold-light); }

.btn--full { width: 100%; }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 13, 11, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-line);
}

.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
}

.nav__mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 60%, #8a6a1f 100%);
  box-shadow: 0 0 0 1px var(--ink-line);
  flex-shrink: 0;
}

.nav__links {
  display: none;
  gap: 2rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.nav__links a { transition: color 0.2s ease; }
.nav__links a:hover { color: var(--white); }

.btn--nav { display: none; }

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
  border-top: 1px solid var(--ink-line);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 var(--pad);
}
.nav__mobile.is-open { max-height: 320px; padding: 1rem var(--pad) 1.5rem; }
.nav__mobile a {
  padding: 0.75rem 0.25rem;
  color: var(--muted);
  border-bottom: 1px solid var(--ink-line);
}
.nav__mobile .btn { margin-top: 0.75rem; }

@media (min-width: 860px) {
  .nav__links { display: flex; }
  .btn--nav { display: inline-flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none; }
}

/* ==========================================================================
   Hero — "Blueprint to Brand"
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem var(--pad) 6rem;
  border-bottom: 1px solid var(--ink-line);
  min-height: 92vh;
  display: flex;
  align-items: center;
}
@media (min-width: 1000px) { .hero { padding: 4rem var(--pad) 5rem; } }

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 72% 42%, rgba(201, 153, 47, 0.13), transparent 65%),
    radial-gradient(ellipse 45% 35% at 15% 85%, rgba(201, 153, 47, 0.05), transparent 60%),
    var(--ink);
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 153, 47, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 153, 47, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 70% at 60% 45%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 45%, black 30%, transparent 75%);
}

.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr 1.08fr; gap: 3rem; }
}

/* --- copy: masked line reveal -------------------------------------------- */

.hero__mask { display: block; overflow: hidden; }
.hero__cta .hero__mask { display: inline-block; }

.hero__line,
.hero__fade {
  display: block;
  transform: translateY(112%);
  animation: hero-line-up 0.95s var(--ease) forwards;
}
.hero__fade { opacity: 0; transform: translateY(46%); }

.hero__title .hero__mask:nth-child(1) .hero__line { animation-delay: 0.20s; }
.hero__title .hero__mask:nth-child(2) .hero__line { animation-delay: 0.34s; }
.hero__title .hero__mask:nth-child(3) .hero__line { animation-delay: 0.48s; }
.hero__eyebrow .hero__fade { animation-delay: 0.08s; }
.hero__lede .hero__fade { animation-delay: 0.66s; }
.hero__cta .hero__fade { animation-delay: 0.80s; }

@keyframes hero-line-up {
  to { transform: translateY(0); opacity: 1; }
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: normal;
  color: var(--gold-light);
}

.hero__lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 44ch;
  margin-bottom: 2rem;
}

.hero__cta { margin-bottom: 2.2rem; }
.hero__cta .btn + .btn { margin-left: 0.6rem; }

.hero__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  opacity: 0;
  animation: hero-hint-in 0.7s ease 1.05s forwards;
}
@keyframes hero-hint-in { to { opacity: 1; } }

.hero__hint-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: hero-hint-pulse 1.6s ease-in-out infinite;
}
@keyframes hero-hint-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 153, 47, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(201, 153, 47, 0); }
}

.hero__hint-text--scroll,
.hero__hint-text--done { display: none; }
.hero__hint.is-done .hero__hint-text--cursor,
.hero__hint.is-done .hero__hint-text--scroll { display: none; }
.hero__hint.is-done .hero__hint-text--done { display: inline; color: var(--gold-light); }
.hero__hint.is-done .hero__hint-dot { animation: none; }

@media (hover: none), (pointer: coarse) {
  .hero__hint-text--cursor { display: none; }
  .hero__hint-text--scroll { display: inline; }
}

/* --- stage / browser window ---------------------------------------------- */

.hero__stage { position: relative; }

.hero__tilt {
  position: relative;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
}

.browser {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--ink-line);
  background: var(--ink-soft);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(247, 243, 233, 0.05) inset,
    0 30px 60px -25px rgba(0, 0, 0, 0.75),
    0 80px 120px -60px rgba(0, 0, 0, 0.55);
  transition: border-color 0.5s ease, box-shadow 0.7s ease;
}
.hero.is-live .browser {
  border-color: rgba(201, 153, 47, 0.55);
  box-shadow:
    0 1px 0 rgba(247, 243, 233, 0.05) inset,
    0 30px 60px -25px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(201, 153, 47, 0.18),
    0 0 70px -18px rgba(201, 153, 47, 0.35);
  animation: hero-float 7s ease-in-out 1s infinite;
}
@keyframes hero-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

.browser__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 0.8rem;
  background: var(--ink-line);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.browser__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.browser__url {
  margin-left: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--ink);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.browser__build {
  margin-left: auto;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.browser__stage-label { color: var(--gold); }
.hero.is-live .browser__stage-label { color: var(--gold-light); }
.browser__count { color: var(--muted); }
.hero.is-live .browser__count { color: var(--gold-light); }

/* --- the mockup canvas ---------------------------------------------------- */

.browser__canvas {
  position: relative;
  aspect-ratio: 16 / 10.4;
  container-type: inline-size;
  overflow: hidden;
  background:
    linear-gradient(rgba(201, 153, 47, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 153, 47, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(201, 153, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 153, 47, 0.035) 1px, transparent 1px),
    #12100c;
  background-size: 14.2857% 15.3846%, 14.2857% 15.3846%, 2.857% 3.077%, 2.857% 3.077%;
}

/* cream "paper" of the finished site floods in with progress */
.browser__paper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 78% 30%, rgba(201, 153, 47, 0.12), transparent 60%),
    var(--paper);
  opacity: clamp(0, calc((var(--p) - 0.28) * 2.2), 1);
}

/* scan line that sweeps down while building */
.browser__scan {
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--p) * 100%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light) 18%, var(--gold-light) 82%, transparent);
  box-shadow: 0 0 14px 2px rgba(227, 183, 91, 0.55);
  opacity: clamp(0, calc(var(--p) * 40), 1);
  z-index: 5;
}
.hero.is-live .browser__scan { opacity: 0; transition: opacity 0.4s ease; }

/* --- blocks: wireframe layer + finished layer ----------------------------- */

.bk { position: absolute; z-index: 2; }

.bk--nav   { top: 4.5%; left: 5%; right: 5%; height: 10.5%; }
.bk--copy  { top: 21%; left: 5%; width: 44%; height: 33%; }
.bk--cta   { top: 57.5%; left: 5%; width: 30%; height: 8.5%; }
.bk--illo  { top: 19%; left: 53%; width: 42%; height: 45%; }
.bk--card  { top: 69.5%; width: 28.4%; height: 23%; }
.bk--card1 { left: 5%; }
.bk--card2 { left: 35.8%; }
.bk--card3 { left: 66.6%; }
.bk--foot  { top: 94.5%; left: 5%; right: 5%; height: 4%; }

.bk__wire,
.bk__ink {
  position: absolute;
  inset: 0;
}

.bk__wire {
  opacity: 0;
  transform: translateY(12px) scale(0.965);
  border: 1px dashed rgba(201, 153, 47, 0.5);
  border-radius: 6px;
  background: rgba(201, 153, 47, 0.035);
}
.bk__wire::after {
  content: attr(data-label);
  position: absolute;
  top: -0.55em;
  left: 8px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: #12100c;
  padding: 0 5px;
  opacity: 0.9;
}

.bk__ink {
  opacity: 0;
  transform: translateY(7px) scale(0.985);
}

.bk.is-in .bk__wire {
  opacity: 1;
  transform: none;
  transition: opacity 0.16s ease-out, transform 0.34s var(--snap);
}
.bk.is-inked .bk__wire {
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.22s ease, transform 0.28s ease;
}
.bk.is-inked .bk__ink {
  opacity: 1;
  transform: none;
  transition: opacity 0.28s ease 0.06s, transform 0.42s var(--ease) 0.06s;
}

/* wireframe placeholder strokes */
.wl {
  position: absolute;
  height: 3px;
  border-radius: 2px;
  background: rgba(201, 153, 47, 0.4);
}
.wl--big { height: 6px; background: rgba(201, 153, 47, 0.5); }
.wl--dot { width: 8px; height: 8px; border-radius: 50%; background: none; border: 1.5px solid rgba(201, 153, 47, 0.55); }
.wl--pill { height: 48%; border-radius: 999px; background: none; border: 1.5px solid rgba(201, 153, 47, 0.55); }
.wl--box { background: none; border: 1.5px solid rgba(201, 153, 47, 0.55); border-radius: 4px; }

.bk--illo .bk__wire,
.bk--illo .bk__ink { border: none; background: none; }
.bk--illo .bk__wire { border: 1px dashed rgba(201, 153, 47, 0.5); background: rgba(201, 153, 47, 0.035); }
.bk--illo .bk__wire svg, .bk--illo .bk__ink svg { width: 100%; height: 100%; }
.bk--copy .bk__wire, .bk--cta .bk__wire, .bk--foot .bk__wire { overflow: visible; }

/* --- finished mockup: the "your next site" design -------------------------- */

.mk-nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 4%;
  padding: 0 4%;
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
  border-radius: 6px 6px 0 0;
}
.mk-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.4cqi;
  color: var(--ink-text);
  letter-spacing: -0.02em;
}
.mk-nav__dot {
  width: 0.55em; height: 0.55em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 60%, #8a6a1f);
}
.mk-nav__links {
  margin-left: auto;
  display: flex;
  gap: 1.1em;
  font-size: 2.1cqi;
  color: var(--muted-on-paper);
}
.mk-nav__links i { font-style: normal; }
.mk-nav__btn {
  font-size: 2cqi;
  font-weight: 600;
  color: var(--paper);
  background: var(--ink-text);
  border-radius: 999px;
  padding: 0.5em 1.1em;
}

.mk-hero { display: block; }
.mk-hero__eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.7cqi;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a6a1f;
  margin-bottom: 0.9em;
}
.mk-hero__h1 {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 5.1cqi;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink-text);
  margin-bottom: 0.55em;
}
.mk-hero__h1 em { font-style: normal; color: #a37c22; }
.mk-hero__p {
  display: block;
  font-size: 2.15cqi;
  line-height: 1.5;
  color: var(--muted-on-paper);
  max-width: 34ch;
}

.mk-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  height: 100%;
  padding: 0 1.4em;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 70%);
  color: var(--ink);
  font-weight: 600;
  font-size: 2.4cqi;
  box-shadow: 0 6px 16px -6px rgba(138, 106, 31, 0.55);
}
.mk-cta svg { width: 1em; height: 1em; }

.mk-illo {
  filter: drop-shadow(0 14px 24px rgba(32, 27, 18, 0.22));
}

.mk-card {
  height: 100%;
  background: #efe5cb;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
  padding: 8% 9% 6%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 18px -12px rgba(32, 27, 18, 0.35);
}
.mk-card__icon {
  width: 3.8cqi;
  height: 3.8cqi;
  flex: none;
  color: #a37c22;
  margin-bottom: auto;
}
.mk-card__t {
  flex: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.7cqi;
  color: var(--ink-text);
  margin-top: 0.5em;
}
.mk-card__p {
  flex: none;
  font-size: 1.85cqi;
  line-height: 1.4;
  color: var(--muted-on-paper);
}

.mk-foot {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--paper-line);
  font-family: var(--font-mono);
  font-size: 1.7cqi;
  letter-spacing: 0.05em;
  color: var(--muted-on-paper);
}
.mk-foot b { color: #a37c22; font-weight: 500; }

/* --- replay ---------------------------------------------------------------- */

.hero__replay {
  position: absolute;
  right: 0;
  bottom: -2.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease), color 0.2s ease, border-color 0.2s ease;
}
.hero__replay svg { width: 12px; height: 12px; }
.hero.is-live .hero__replay { opacity: 1; pointer-events: auto; transform: none; }
.hero__replay:hover { color: var(--gold-light); border-color: var(--gold); }

@media (max-width: 999px) {
  .hero__stage { margin-bottom: 2.5rem; }
}
@media (hover: none), (pointer: coarse) {
  .hero__replay { display: none; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  border-bottom: 1px solid var(--ink-line);
  background: var(--ink-soft);
  overflow: hidden;
  padding: 0.9rem 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  animation: marquee 38s linear infinite;
}
.marquee__track span:nth-child(odd) { color: var(--gold); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Work / portfolio
   ========================================================================== */

.work { max-width: var(--maxw); margin: 0 auto; }

.work__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 760px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .work__grid { grid-template-columns: repeat(3, 1fr); }
}

.work__card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.work__frame {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ink-line);
  background: var(--ink-soft);
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s ease;
  will-change: transform;
}
.work__frame:hover,
.work__frame:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 153, 47, 0.25);
}

.work__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 0.8rem;
  background: var(--ink-line);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.work__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}
.work__url {
  margin-left: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--ink);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.work__frame img { aspect-ratio: 16 / 9.05; object-fit: cover; object-position: top; }

.work__copy h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.work__copy p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.work__link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.25s ease, color 0.2s ease;
}
.work__link:hover { gap: 0.55rem; color: var(--gold-light); }

/* ==========================================================================
   Process / timeline
   ========================================================================== */

.process { max-width: var(--maxw); margin: 0 auto; background: var(--ink); }

.timeline {
  position: relative;
  display: grid;
  gap: 3rem;
  padding-left: 2.25rem;
}

.timeline__line {
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--ink-line);
}
.timeline__fill {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(var(--gold), var(--gold-light));
  transition: height 0.15s linear;
}

.timeline__stop { position: relative; }

.timeline__dot {
  position: absolute;
  left: -2.25rem;
  top: 0.2rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--ink-line);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.timeline__stop.is-active .timeline__dot {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 153, 47, 0.18);
}

.timeline__time {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.timeline__stop h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.timeline__stop p { color: var(--muted); max-width: 52ch; }

@media (min-width: 760px) {
  .timeline { grid-template-columns: repeat(4, 1fr); padding-left: 0; padding-top: 2.25rem; gap: 2rem; }
  .timeline__line { left: 6px; right: 6px; top: 6px; bottom: auto; width: auto; height: 2px; }
  .timeline__fill { height: 100%; width: 0%; transition: width 0.15s linear; }
  .timeline__dot { left: 0; top: -2.25rem; }
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing {
  background: var(--paper);
  color: var(--ink-text);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}

.pricing__sheet {
  max-width: var(--maxw);
  margin: 0 auto;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-dim);
}

.price__row {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: 2.25rem 1.75rem;
  border-bottom: 1px dashed var(--paper-line);
}
.price__row:last-child { border-bottom: none; }

.price__row--featured { background: rgba(201, 153, 47, 0.08); }

.price__badge {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--gold);
  color: var(--ink);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}

.price__main h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.price__main p { color: var(--muted-on-paper); max-width: 52ch; margin-bottom: 1rem; }

.price__list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--ink-text);
  margin-bottom: 0.4rem;
}
.price__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.price__tag {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-mono);
}
.price__amount { font-size: 2.1rem; font-weight: 500; }
.price__unit { color: var(--muted-on-paper); font-size: 0.85rem; }

@media (min-width: 720px) {
  .price__row { grid-template-columns: 1fr auto; align-items: center; }
}

.pricing__note {
  max-width: var(--maxw);
  margin: 1.5rem auto 0;
  font-size: 0.88rem;
  color: var(--muted-on-paper);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) {
  .contact__inner { grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; }
}

.contact__copy h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.1rem; }
.contact__copy p { color: var(--muted); max-width: 46ch; margin-bottom: 1rem; }
.contact__promise {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold);
}

.contact__form {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1.25rem;
}

.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.85rem;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  background: var(--ink);
  border: 1px solid var(--ink-line);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  color: var(--white);
  transition: border-color 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
}
.field textarea { resize: vertical; min-height: 100px; }

.form__status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  min-height: 1.2em;
}
.form__status[data-state="success"] { color: var(--gold-light); }
.form__status[data-state="error"] { color: #d98d6b; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--ink-line);
  padding: 3rem var(--pad);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  text-align: center;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}
.footer__tagline { color: var(--muted); font-size: 0.9rem; }
.footer__links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--muted);
}
.footer__legal {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Reduced motion — hero lands on the finished frame, everything static
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .work__frame { transition: none; }
  .timeline__fill { transition: none; }
  * { scroll-behavior: auto !important; }

  .hero__line, .hero__fade { animation: none; transform: none; opacity: 1; }
  .hero__hint { animation: none; opacity: 1; }
  .hero__hint, .hero__replay { display: none; }
  .hero__tilt { transform: none !important; }
  .browser { animation: none !important; }
  .bk__wire, .bk__ink { transition: none !important; }
}
