/* ==========================================================================
   Northline Websites — main stylesheet
   Edit brand colours and fonts in :root below.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License) — faster and privacy-friendly */
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-var.woff2") format("woff2-variations"), url("/assets/fonts/geist-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* Brand palette */
  --ink: #0c0c0d;
  --ink-2: #131315;
  --ink-3: #1b1b1e;
  --ink-4: #26262a;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --paper-3: #e0d9ca;
  --gold: #c9a45c;
  --gold-soft: #e2c68f;
  --gold-deep: #85652b; /* gold for text on light backgrounds (AA contrast) */

  --on-dark: #ece8e0;
  --on-dark-muted: #a19c92;
  --on-light: #141414;
  --on-light-muted: #5b5750;
  --line-dark: rgba(236, 232, 224, 0.1);
  --line-light: rgba(20, 20, 20, 0.12);
  --danger: #e0685a;

  /* Type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;

  --fs-display: clamp(2.5rem, 1.3rem + 4.4vw, 5.1rem);
  --fs-h1: clamp(2.4rem, 1.3rem + 4.2vw, 4.75rem);
  --fs-h2: clamp(2rem, 1.25rem + 2.8vw, 3.6rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 0.6vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 6vw + 40px, 150px);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 76px;

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--on-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; overflow: clip; }
.section--tight { padding-block: calc(var(--section-y) * 0.65); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark-2 { background: var(--ink-2); color: var(--on-dark); }
.section--light { background: var(--paper); color: var(--on-light); }
.section--light-2 { background: var(--paper-2); color: var(--on-light); }
.section--light .muted, .section--light-2 .muted { color: var(--on-light-muted); }
.muted { color: var(--on-dark-muted); }

.grid-lines { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.grid-lines::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, var(--line-dark) 1px, transparent 1px), linear-gradient(to bottom, var(--line-dark) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.55;
}

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 { font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
.display { font-size: var(--fs-display); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); line-height: 1.05; }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.2; }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.gold { color: var(--gold); }
.section--light .gold, .section--light-2 .gold { color: var(--gold-deep); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--on-dark-muted); max-width: 40ch; text-wrap: pretty; }
.section--light .lead, .section--light-2 .lead { color: var(--on-light-muted); }
.prose-narrow { max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--light .eyebrow, .section--light-2 .eyebrow { color: var(--gold-deep); }

.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 5vw, 72px); max-width: 780px; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 60px; } }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 0.97rem; font-weight: 500; letter-spacing: -0.005em; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn__icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--gold-soft); box-shadow: 0 10px 30px -10px rgba(201, 164, 92, 0.55); }
.btn--ghost { border-color: rgba(236, 232, 224, 0.28); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--on-dark); background: rgba(236, 232, 224, 0.06); }
.section--light .btn--ghost, .section--light-2 .btn--ghost, .on-light .btn--ghost { border-color: rgba(20, 20, 20, 0.25); color: var(--on-light); }
.section--light .btn--ghost:hover, .section--light-2 .btn--ghost:hover, .on-light .btn--ghost:hover { border-color: var(--on-light); background: rgba(20,20,20,.04); }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: var(--ink-4); }
.btn--sm { --bh: 42px; padding: 0 18px; font-size: 0.9rem; }
.btn--lg { --bh: 58px; padding: 0 32px; font-size: 1.02rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--gold); }
.section--light .link-arrow, .section--light-2 .link-arrow { color: var(--gold-deep); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); }
.logo__mark { width: 30px; height: 30px; color: var(--gold); flex: none; }
.logo__word { display: flex; align-items: baseline; gap: 7px; line-height: 1; }
.logo__name { font-weight: 600; font-size: 1.22rem; letter-spacing: -0.035em; }
.logo__sub { font-family: var(--font-serif); font-style: italic; font-size: 1.22rem; color: var(--on-dark-muted); letter-spacing: -0.01em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .menu-open .site-header {
  background: rgba(12, 12, 13, 0.78);
  backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--line-dark);
}
/* backdrop-filter would trap the fixed mobile menu inside the header, so drop it while open */
body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__brand { position: relative; z-index: 2; }
.site-nav__list { display: flex; gap: 6px; }
.site-nav__link, .site-header__contact {
  display: inline-block; padding: 10px 14px; border-radius: 999px;
  font-size: 0.94rem; color: var(--on-dark-muted); transition: color .3s, background-color .3s;
}
.site-nav__link:hover, .site-header__contact:hover { color: var(--on-dark); }
.site-nav__link.is-active, .site-header__contact.is-active { color: var(--on-dark); }
.site-nav__link.is-active::after { content: ""; display: block; height: 1px; background: var(--gold); margin-top: 3px; }
.site-header__actions { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.site-nav__mobile-only { display: none; }
.menu-toggle { display: none; }

@media (max-width: 920px) {
  .site-header__contact { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; cursor: pointer;
  }
  .menu-toggle__bars { display: grid; gap: 6px; width: 18px; }
  .menu-toggle__bars span { height: 1.5px; background: var(--on-dark); transition: transform .4s var(--ease); }
  .menu-open .menu-toggle__bars span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-open .menu-toggle__bars span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 0; z-index: 1; background: var(--ink);
    padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
    overflow-y: auto;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list > li { border-bottom: 1px solid var(--line-dark); }
  .site-nav__link { display: block; padding: 18px 0; font-size: 1.9rem; letter-spacing: -0.03em; color: var(--on-dark); border-radius: 0; }
  .site-nav__link.is-active { color: var(--gold); }
  .site-nav__link.is-active::after { display: none; }
  .site-nav__mobile-only { display: block; }
  .site-nav__mobile-meta { border-bottom: 0 !important; padding-top: 28px; display: grid; gap: 10px; color: var(--on-dark-muted); }
}
@media (max-width: 480px) { .site-header__cta { display: none; } .logo__sub { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: clip; padding-top: calc(var(--header-h) + clamp(60px, 8vw, 120px)); padding-bottom: clamp(60px, 7vw, 110px); background: var(--ink); overflow: hidden; }
.page-hero__inner { position: relative; display: grid; gap: 26px; max-width: 900px; }
.page-hero .lead { max-width: 56ch; }
.glow { position: absolute; width: 60vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,92,.16), transparent 62%); pointer-events: none; filter: blur(10px); }

/* ---------- Home hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(48px, 6vw, 96px)); padding-bottom: clamp(70px, 8vw, 130px); overflow: hidden; background: var(--ink); }
.hero__grid { position: relative; display: grid; gap: clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 1040px) { .hero__grid { grid-template-columns: 1.02fr 1fr; } }
.hero__copy { display: grid; gap: 28px; }
.hero__copy .lead { max-width: 50ch; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 8px; color: var(--on-dark-muted); font-size: .9rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--gold); }

/* Device showcase */
.showcase { position: relative; aspect-ratio: 1.18; width: 100%; max-width: 680px; margin-inline: auto; }
.showcase__laptop { position: absolute; left: 0; right: 7%; top: 4%; }
.showcase__screen { position: relative; border-radius: 12px 12px 4px 4px; background: #050505; padding: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px -30px rgba(0,0,0,.9); }
.showcase__base { height: 12px; margin: 0 -5%; border-radius: 0 0 14px 14px; background: linear-gradient(#2c2c30, #151517); box-shadow: 0 20px 40px -18px rgba(0,0,0,.9); }
.showcase__stack { position: relative; aspect-ratio: 16 / 10.4; border-radius: 6px; overflow: hidden; }
.showcase__stack .mock { position: absolute; inset: 0; border-radius: 0; opacity: 0; transition: opacity 1.1s var(--ease); box-shadow: none; }
.showcase__stack .mock.is-active { opacity: 1; }
.showcase__phone { position: absolute; right: 0; bottom: 0; width: 27%; aspect-ratio: 9 / 19; padding: 6px; border-radius: 26px; background: #050505; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 60px -20px rgba(0,0,0,.95); animation: float 7s ease-in-out infinite; }
.showcase__phone .mock { height: 100%; border-radius: 21px; }
.showcase__chip {
  position: absolute; left: -2%; bottom: 10%; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 14px; background: rgba(27,27,30,.85); border: 1px solid var(--line-dark);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: .82rem; line-height: 1.3; animation: float 8s ease-in-out -2s infinite;
}
.showcase__chip b { display: block; font-weight: 500; color: var(--on-dark); }
.showcase__chip span { color: var(--on-dark-muted); }
.showcase__chip i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(201,164,92,.15); color: var(--gold); }
.showcase__chip i svg { width: 18px; height: 18px; }
.showcase__dots { position: absolute; left: 0; right: 7%; bottom: -34px; display: flex; justify-content: center; gap: 8px; }
.showcase__dots button { width: 22px; height: 3px; border: 0; padding: 0; border-radius: 3px; background: var(--ink-4); cursor: pointer; transition: background-color .4s, width .4s var(--ease); }
.showcase__dots button.is-active { background: var(--gold); width: 36px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 560px) { .showcase__chip { display: none; } }

/* ---------- Website mockup (CSS-drawn) ---------- */
.mock {
  --m-bg: #111; --m-surface: #1b1b1b; --m-text: #eee; --m-accent: var(--gold);
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 12px; background: var(--m-bg); color: var(--m-text);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 30px 60px -30px rgba(0,0,0,.6);
}
.mock__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: color-mix(in srgb, var(--m-bg) 88%, #888); flex: none; }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--m-text) 25%, transparent); }
.mock__url { margin-left: 10px; flex: 1; max-width: 55%; height: 18px; border-radius: 6px; background: color-mix(in srgb, var(--m-text) 8%, transparent); font-size: 10px; line-height: 18px; padding: 0 10px; color: color-mix(in srgb, var(--m-text) 55%, transparent); overflow: hidden; white-space: nowrap; font-family: var(--font-sans); }
.mock__screen { position: relative; flex: 1; container-type: inline-size; overflow: hidden; }
.mock__img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mock__site { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: var(--font-sans); padding: 3cqw 4.5cqw; gap: 4.5cqw; }
.ms-nav { display: flex; align-items: center; gap: 3cqw; font-size: 2.1cqw; }
.ms-nav b { font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ms-links, .ms-pill { flex: none; }
.ms-links { display: flex; gap: 2cqw; margin-left: auto; }
.ms-links i { width: 5cqw; height: .7cqw; border-radius: 2px; background: color-mix(in srgb, var(--m-text) 35%, transparent); }
.ms-pill { padding: .9cqw 2cqw; border-radius: 99px; background: var(--m-accent); color: var(--m-bg); font-size: 1.6cqw; font-weight: 500; white-space: nowrap; }
.ms-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4cqw; align-items: center; flex: 1; min-height: 0; }
.ms-copy { display: flex; flex-direction: column; gap: 1.8cqw; }
.ms-eyebrow { font-size: 1.45cqw; letter-spacing: .14em; text-transform: uppercase; color: var(--m-accent); }
.ms-h { font-size: 5.1cqw; line-height: 1.02; letter-spacing: -0.04em; font-weight: 500; text-wrap: balance; }
.ms-sub { font-size: 1.7cqw; opacity: .65; }
.ms-btns { display: flex; gap: 1.4cqw; margin-top: .6cqw; }
.ms-btn { padding: 1.3cqw 2.4cqw; border-radius: 99px; background: var(--m-accent); color: var(--m-bg); font-size: 1.55cqw; font-weight: 500; white-space: nowrap; }
.ms-btn--ghost { background: transparent; color: var(--m-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m-text) 30%, transparent); }
.ms-art { position: relative; height: 100%; min-height: 20cqw; border-radius: 1.6cqw; overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--m-accent) 75%, transparent) 0, transparent 55%),
    radial-gradient(circle at 20% 85%, color-mix(in srgb, var(--m-accent) 35%, transparent) 0, transparent 50%),
    linear-gradient(160deg, var(--m-surface), color-mix(in srgb, var(--m-bg) 70%, #000));
}
.ms-art span { position: absolute; border-radius: 999px 999px 0 0; background: color-mix(in srgb, var(--m-bg) 55%, transparent); bottom: 0; }
.ms-art span:nth-child(1) { left: 10%; width: 26%; height: 58%; }
.ms-art span:nth-child(2) { left: 40%; width: 22%; height: 76%; background: color-mix(in srgb, var(--m-text) 12%, transparent); }
.ms-art span:nth-child(3) { left: 66%; width: 24%; height: 44%; }
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.ms-cards span { display: grid; gap: 1cqw; padding: 2cqw; border-radius: 1.2cqw; background: var(--m-surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m-text) 7%, transparent); }
.ms-cards i { width: 3.2cqw; height: 3.2cqw; border-radius: .8cqw; background: color-mix(in srgb, var(--m-accent) 30%, transparent); }
.ms-cards em { height: .8cqw; border-radius: 2px; background: color-mix(in srgb, var(--m-text) 18%, transparent); }
.ms-cards em:last-child { width: 65%; }

/* Style variants */
.mock--editorial .ms-hero { grid-template-columns: 1fr; text-align: center; grid-template-rows: auto 1fr; gap: 3cqw; }
.mock--editorial .ms-copy { align-items: center; }
.mock--editorial .ms-h { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 6.4cqw; letter-spacing: -0.02em; }
.mock--editorial .ms-art { min-height: 14cqw; }
.mock--editorial .ms-cards { display: none; }
.mock--bold .ms-h { font-size: 6cqw; font-weight: 600; }
.mock--bold .ms-art { border-radius: 3cqw; }

/* Phone variant (used inside phone frames) */
.mock--phone .mock__site { padding: 7cqw 7cqw; gap: 8cqw; }
.mock--phone .ms-nav { font-size: 5.4cqw; }
.mock--phone .ms-links { display: none; }
.mock--phone .ms-pill { display: none; }
.mock--phone .ms-nav b { overflow: hidden; text-overflow: ellipsis; }
.mock--phone .ms-nav::after { content: ""; margin-left: auto; flex: none; width: 5cqw; height: 3cqw; border-block: 1.5px solid currentColor; opacity: .7; }
.mock--phone .ms-hero { grid-template-columns: 1fr; grid-template-rows: auto 1fr; text-align: left; gap: 7cqw; }
.mock--phone.mock--editorial .ms-hero { text-align: center; }
.mock--phone .ms-copy { gap: 4cqw; }
.mock--phone .ms-eyebrow { font-size: 3.4cqw; }
.mock--phone .ms-h, .mock--phone.mock--bold .ms-h { font-size: 11.5cqw; }
.mock--phone.mock--editorial .ms-h { font-size: 13cqw; }
.mock--phone .ms-sub { font-size: 4cqw; }
.mock--phone .ms-btns { flex-direction: column; gap: 3cqw; }
.mock--phone .ms-btn { font-size: 4cqw; padding: 3.4cqw 5cqw; text-align: center; }
.mock--phone .ms-btn--ghost { display: none; }
.mock--phone .ms-art { min-height: 50cqw; border-radius: 5cqw; }
.mock--phone .ms-cards { display: none; }

/* Inner-page phone screens */
.ms-page { display: flex; flex-direction: column; gap: 4.5cqw; }
.mock--phone .ms-page .ms-h { font-size: 10cqw; margin-bottom: 2cqw; }
.ms-row { display: flex; align-items: center; gap: 4cqw; padding: 4.5cqw; border-radius: 3cqw; background: var(--m-surface); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m-text) 8%, transparent); font-size: 4.2cqw; }
.ms-row i { width: 7cqw; height: 7cqw; border-radius: 2cqw; background: color-mix(in srgb, var(--m-accent) 35%, transparent); flex: none; }
.ms-row em { margin-left: auto; font-style: normal; color: var(--m-accent); }
.ms-field { padding: 4cqw 4.5cqw; border-radius: 2.5cqw; font-size: 3.8cqw; color: color-mix(in srgb, var(--m-text) 55%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m-text) 20%, transparent); background: var(--m-surface); }
.ms-field--tall { padding-bottom: 18cqw; }
.ms-page .ms-btn { font-size: 4cqw; padding: 4cqw; text-align: center; margin-top: 2cqw; }

/* Reverse layout: art left, copy right */
.mock--reverse .ms-art { order: -1; }

/* ---------- Marquee / trust strip ---------- */
.strip { border-block: 1px solid var(--line-dark); background: var(--ink); overflow: hidden; }
.strip__track { display: flex; gap: 56px; padding-block: 26px; width: max-content; animation: marquee 40s linear infinite; }
.strip__item { display: inline-flex; align-items: center; gap: 56px; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); color: var(--on-dark-muted); white-space: nowrap; }
.strip__item::after { content: "✦"; font-style: normal; font-size: .8rem; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Feature cards ---------- */
.features { display: grid; gap: 18px; }
@media (min-width: 860px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  position: relative; display: grid; gap: 18px; align-content: start;
  padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line-light);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -35px rgba(20,20,20,.35); }
.feature__num { position: absolute; top: 28px; right: 30px; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--on-light-muted); }
.icon-badge { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: var(--gold); }
.icon-badge svg { width: 24px; height: 24px; }
.feature p { color: var(--on-light-muted); }
.feature__visual { margin-top: 10px; height: 120px; border-radius: 12px; background: var(--paper-2); position: relative; overflow: hidden; }

/* Mini visuals inside feature cards */
.fv-type { display: flex; align-items: flex-end; gap: 14px; padding: 18px 20px; height: 100%; }
.fv-type b { font-size: 3.4rem; line-height: .8; font-weight: 500; letter-spacing: -.05em; }
.fv-type i { font-family: var(--font-serif); font-size: 3.4rem; line-height: .8; color: var(--gold-deep); }
.fv-type span { margin-left: auto; display: grid; gap: 6px; }
.fv-type span em { display: block; width: 26px; height: 26px; border-radius: 7px; }
.fv-phone { display: flex; justify-content: center; align-items: flex-end; gap: 12px; height: 100%; padding-top: 18px; }
.fv-phone span { width: 58px; height: 100%; border-radius: 12px 12px 0 0; border: 2px solid var(--ink); border-bottom: 0; padding: 8px 6px; display: grid; gap: 5px; align-content: start; background: #fff; }
.fv-phone span:nth-child(2) { width: 70px; transform: translateY(-8px); height: calc(100% + 8px); }
.fv-phone em { height: 5px; border-radius: 2px; background: var(--paper-3); }
.fv-phone em:first-child { height: 20px; background: var(--gold); opacity: .6; }
.fv-growth { height: 100%; padding: 16px 20px; display: flex; align-items: flex-end; gap: 8px; }
.fv-growth span { flex: 1; border-radius: 5px 5px 0 0; background: var(--paper-3); }
.fv-growth span:last-child { background: var(--gold); }

/* ---------- Services ---------- */
.svc-list { border-top: 1px solid var(--line-dark); }
.svc-row {
  display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line-dark); position: relative;
  transition: padding .5s var(--ease);
}
@media (min-width: 820px) { .svc-row { grid-template-columns: 70px 1.1fr 1.4fr 48px; gap: 30px; } }
.svc-row__num { font-family: var(--font-serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.svc-row__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.03em; font-weight: 500; line-height: 1.15; }
.svc-row__text { color: var(--on-dark-muted); }
.svc-row__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark); transition: all .45s var(--ease); justify-self: start; }
.svc-row__arrow svg { width: 18px; height: 18px; }
.svc-row:hover .svc-row__arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(-45deg); }
.svc-row:hover .svc-row__title { color: var(--gold-soft); }
.svc-row::before { content: ""; position: absolute; inset: 0; }

/* Services page detail blocks */
.svc-detail { display: grid; gap: 34px; padding-block: clamp(50px, 6vw, 90px); border-top: 1px solid var(--line-light); }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .svc-detail { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
.svc-detail__head { display: grid; gap: 18px; align-content: start; }
@media (min-width: 900px) { .svc-detail__head { position: sticky; top: calc(var(--header-h) + 30px); } }
.svc-detail__num { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--gold-deep); }
.svc-detail__body { display: grid; gap: 28px; }
.svc-detail__body > p { font-size: var(--fs-lead); line-height: 1.55; color: var(--on-light); text-wrap: pretty; }
.checklist { display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--ink); color: var(--gold); margin-top: 2px; }
.section--dark .checklist svg, .section--dark-2 .checklist svg, .price-card .checklist svg { background: rgba(201,164,92,.14); color: var(--gold); }
.ideal { display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--radius); background: var(--paper-2); border-left: 2px solid var(--gold); }
.ideal b { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--gold-deep); }
.svc-detail__cta { justify-self: start; white-space: normal; text-align: left; line-height: 1.3; padding-block: 14px; }

/* Services quick-nav */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark-muted); font-size: .9rem; transition: all .3s var(--ease); cursor: pointer; background: transparent; }
.chip:hover { color: var(--on-dark); border-color: rgba(236,232,224,.35); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip svg { width: 16px; height: 16px; }

/* ---------- Before / After ---------- */
.ba { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; user-select: none; box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px var(--line-dark); --pos: 50%; background: #fff; }
.ba__layer { position: absolute; inset: 0; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__after .mock { position: absolute; inset: 0; border-radius: 0; box-shadow: none; }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--gold); pointer-events: none; }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__range:focus-visible + .ba__handle::after { outline: 2px solid #fff; outline-offset: 3px; }
.ba__label { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; pointer-events: none; z-index: 2; }
.ba__label--before { left: 16px; background: rgba(0,0,0,.65); color: #fff; }
.ba__label--after { right: 16px; background: var(--gold); color: var(--ink); }
@media (max-width: 700px) { .ba { aspect-ratio: 4 / 3.4; } .svc-row__arrow { display: none; } }
.ba-points { display: grid; gap: 14px; margin-top: 34px; }
@media (min-width: 760px) { .ba-points { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.ba-points li { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.ba-points b { font-weight: 500; }
.ba-points span { color: var(--on-dark-muted); font-size: .95rem; }

/* The deliberately dated "before" website */
.old-site { position: absolute; inset: 0; container-type: inline-size; background: #e9e9e9 repeating-linear-gradient(45deg, #e2e2e2 0 6px, #ececec 6px 12px); font-family: "Times New Roman", Times, serif; color: #222; overflow: hidden; }
.old-site__head { background: linear-gradient(#2b5fb4, #173f86); color: #ffef5e; padding: 2.4cqw 3cqw; font-size: 3.8cqw; font-weight: bold; text-shadow: 2px 2px #000; display: flex; justify-content: space-between; align-items: center; }
.old-site__head small { font-size: 1.6cqw; color: #fff; text-shadow: none; font-weight: normal; }
.old-site__nav { display: flex; gap: 1.2cqw; background: #d2d2d2; padding: 1cqw 3cqw; border-bottom: 2px solid #999; font-size: 1.7cqw; }
.old-site__nav span { color: #00e; text-decoration: underline; }
.old-site__body { display: grid; grid-template-columns: 22% 1fr 22%; gap: 1.6cqw; padding: 2cqw 3cqw; }
.old-site__col { background: #fff; border: 1px solid #aaa; padding: 1.4cqw; font-size: 1.5cqw; line-height: 1.35; }
.old-site__col b { display: block; color: #c00; font-size: 1.9cqw; margin-bottom: .8cqw; }
.old-site__col u { color: #00e; display: block; }
.old-site__main { background: #fff; border: 1px solid #aaa; padding: 2cqw; font-size: 1.6cqw; line-height: 1.35; }
.old-site__main h4 { font-size: 3.2cqw; color: #c00; text-align: center; margin: 0 0 1cqw; font-family: "Comic Sans MS", "Comic Sans", cursive; }
.old-site__main p { margin-bottom: 1cqw; }
.old-site__img { height: 11cqw; background: linear-gradient(135deg, #7aa9d8, #3f7f3a); border: 3px ridge #999; margin: 1cqw 0; display: grid; place-items: center; color: #fff; font-size: 1.5cqw; }
.old-site__counter { display: inline-block; background: #000; color: #0f0; font-family: monospace; padding: .3cqw 1cqw; font-size: 1.5cqw; }
.old-site__blink { color: #f00; font-weight: bold; }

/* ---------- Portfolio ---------- */
.work-grid { display: grid; gap: clamp(28px, 3vw, 40px); }
@media (min-width: 720px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .work-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.work-card { display: grid; gap: 20px; align-content: start; }
.work-card[hidden] { display: none; }
.work-card__media { position: relative; display: block; border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 34px); background: var(--ink-3); overflow: hidden; }
.section--light .work-card__media, .section--light-2 .work-card__media { background: var(--paper-3); }
.work-card__media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--accent, var(--gold)) 30%, transparent), transparent 60%); opacity: .7; transition: opacity .6s var(--ease); }
.work-card__media .mock { aspect-ratio: 16 / 11; transition: transform .8s var(--ease); }
.work-card:hover .work-card__media .mock { transform: translateY(-6px) scale(1.015); }
.work-card:hover .work-card__media::before { opacity: 1; }
.work-card__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .82rem; color: var(--on-dark-muted); letter-spacing: .02em; }
.section--light .work-card__meta, .section--light-2 .work-card__meta { color: var(--on-light-muted); }
.work-card__meta span + span:not(.badge)::before { content: "·"; margin-right: 14px; opacity: .6; }
.work-card__title { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.work-card__title a:hover { color: var(--gold); }
.section--light .work-card__title a:hover { color: var(--gold-deep); }
.work-card__brief { color: var(--on-dark-muted); }
.section--light .work-card__brief, .section--light-2 .work-card__brief { color: var(--on-light-muted); }
.work-card__outcome { display: grid; gap: 4px; padding: 16px 18px; border-radius: 12px; background: rgba(201,164,92,.08); border: 1px solid rgba(201,164,92,.18); font-size: .95rem; }
.section--light .work-card__outcome { background: #fff; border-color: var(--line-light); }
.work-card__outcome b { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.section--light .work-card__outcome b { color: var(--gold-deep); }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(201,164,92,.4); color: var(--gold); }
.section--light .badge, .section--light-2 .badge { color: var(--gold-deep); border-color: rgba(133,101,43,.35); }
.work-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.work-empty { padding: 40px; text-align: center; color: var(--on-dark-muted); }

/* Project detail page */
.project-hero-media { margin-top: clamp(40px, 5vw, 70px); padding: clamp(20px, 4vw, 60px); border-radius: var(--radius-lg); background: var(--ink-3); position: relative; overflow: hidden; }
.project-hero-media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%); }
.project-hero-media .mock { aspect-ratio: 16 / 9.5; }
.project-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 30px 0; border-block: 1px solid var(--line-light); }
@media (min-width: 800px) { .project-facts { grid-template-columns: repeat(4, 1fr); } }
.project-facts dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-light-muted); margin-bottom: 6px; }
.project-facts dd { margin: 0; font-weight: 500; }
.project-body { display: grid; gap: 50px; margin-top: 60px; }
@media (min-width: 900px) { .project-body { grid-template-columns: 1fr 1fr 1fr; } }
.project-body h3 { margin-bottom: 12px; }
.project-body p { color: var(--on-light-muted); }
.project-phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 3vw, 40px); max-width: 900px; margin-inline: auto; }
.project-phones .phone-frame { aspect-ratio: 9 / 19; padding: 6px; border-radius: 28px; background: #050505; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.project-phones .phone-frame .mock { height: 100%; border-radius: 23px; }
.project-phones .phone-frame:nth-child(2) { transform: translateY(-30px); }
.concept-note { font-size: .9rem; color: var(--on-light-muted); padding: 16px 20px; border-radius: 12px; background: var(--paper-2); margin-top: 40px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 980px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.price-card { position: relative; display: flex; flex-direction: column; gap: 26px; padding: clamp(30px, 3vw, 42px); border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line-dark); color: var(--on-dark); }
.price-card--featured { background: linear-gradient(180deg, #1d1a14, var(--ink-2) 60%); border-color: rgba(201,164,92,.45); box-shadow: 0 40px 80px -40px rgba(201,164,92,.28); }
.price-card__badge { position: absolute; top: -13px; left: clamp(30px, 3vw, 42px); padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.price-card__name { font-size: 1.6rem; font-weight: 500; letter-spacing: -.03em; }
.price-card__tag { color: var(--on-dark-muted); margin-top: 8px; min-height: 3.2em; }
.price-card__price { display: grid; gap: 4px; padding-block: 22px; border-block: 1px solid var(--line-dark); }
.price-card__prefix { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.price-card__amount { font-size: clamp(2.6rem, 2rem + 1.8vw, 3.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.price-card__amount small { font-size: .95rem; letter-spacing: 0; color: var(--on-dark-muted); font-weight: 400; margin-left: 6px; }
.price-card__time { font-size: .88rem; color: var(--on-dark-muted); display: inline-flex; gap: 8px; align-items: center; }
.price-card__time svg { width: 16px; height: 16px; color: var(--gold); }
.price-card .checklist { font-size: .97rem; flex: 1; align-content: start; }
.price-card .btn { width: 100%; }
.price-teaser { display: grid; gap: 14px; }
@media (min-width: 900px) { .price-teaser { grid-template-columns: repeat(3, 1fr); } }
.price-teaser a { display: grid; gap: 10px; padding: 28px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line-light); background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.price-teaser a:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -35px rgba(20,20,20,.35); border-color: rgba(133,101,43,.4); }
.price-teaser .pt-name { display: flex; justify-content: space-between; align-items: center; font-weight: 500; font-size: 1.2rem; }
.price-teaser .pt-name svg { width: 18px; height: 18px; color: var(--gold-deep); }
.price-teaser .pt-price { font-size: 2.3rem; letter-spacing: -.045em; font-weight: 500; line-height: 1; }
.price-teaser .pt-price small { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-light-muted); display: block; margin-bottom: 8px; font-weight: 400; }
.price-teaser p { color: var(--on-light-muted); font-size: .95rem; }
.price-teaser a.is-featured { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.price-teaser a.is-featured p, .price-teaser a.is-featured small { color: var(--on-dark-muted); }
.price-teaser a.is-featured .pt-name svg { color: var(--gold); }

.split-card { display: grid; gap: 30px; padding: clamp(30px, 4vw, 56px); border-radius: var(--radius-lg); border: 1px solid var(--line-light); background: #fff; align-items: center; }
@media (min-width: 900px) { .split-card { grid-template-columns: 1.3fr auto; gap: 60px; } }
.split-card p { color: var(--on-light-muted); margin-top: 12px; max-width: 58ch; }
.care { display: grid; gap: 34px; padding: clamp(30px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); }
@media (min-width: 900px) { .care { grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; } }
.care .checklist { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.principles { display: grid; gap: 30px; }
@media (min-width: 860px) { .principles { grid-template-columns: repeat(3, 1fr); gap: 50px; } }
.principles h3 { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.9rem; letter-spacing: -.01em; margin-bottom: 10px; color: var(--gold); }
.principles p { color: var(--on-dark-muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line-light); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 26px 0; cursor: pointer; font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--gold-deep); transition: transform .4s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding-bottom: 26px; color: var(--on-light-muted); max-width: 70ch; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 20px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { display: flex; flex-direction: column; gap: 28px; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line-dark); }
.quote__mark { font-family: var(--font-serif); font-size: 4rem; line-height: .5; color: var(--gold); height: 24px; }
.quote blockquote { font-size: 1.12rem; line-height: 1.55; flex: 1; text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), #7a5c26); color: var(--ink); font-weight: 600; flex: none; }
.quote__who { display: grid; font-size: .92rem; line-height: 1.35; }
.quote__who span { color: var(--on-dark-muted); }
.quote__sample { margin-left: auto; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); border: 1px dashed var(--line-dark); padding: 3px 8px; border-radius: 999px; }

/* ---------- Process ---------- */
.process { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { background: var(--ink); padding: 34px 30px; display: grid; gap: 12px; align-content: start; }
.process__step { font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; color: var(--gold); }
.process h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }
.process p { color: var(--on-dark-muted); font-size: .97rem; }
.section--light .process { background: var(--line-light); border-color: var(--line-light); }
.section--light .process li { background: var(--paper); }
.section--light .process p { color: var(--on-light-muted); }
.section--light .process__step { color: var(--gold-deep); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 50px; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1.1fr; gap: 90px; } }
.about-grid p { color: var(--on-light-muted); font-size: 1.08rem; }
.about-grid p + p { margin-top: 18px; }
.about-grid .big { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.3; letter-spacing: -.025em; color: var(--on-light); }
.values { display: grid; gap: 20px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); background: var(--ink-2); display: grid; gap: 12px; }
.value p { color: var(--on-dark-muted); }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
@media (min-width: 800px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat b { display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.stat span { color: var(--on-light-muted); font-size: .95rem; }
.monogram { aspect-ratio: 4/5; border-radius: var(--radius-lg); background: var(--ink); position: relative; overflow: hidden; display: grid; place-items: center; }
.monogram svg { width: 42%; color: var(--gold); position: relative; }
.monogram::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, var(--line-dark) 1px, transparent 1px), linear-gradient(to bottom, var(--line-dark) 1px, transparent 1px); background-size: 48px 48px; }
.monogram::after { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201,164,92,.22), transparent 65%); }
.monogram__cap { position: absolute; left: 24px; bottom: 22px; right: 24px; display: flex; justify-content: space-between; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); z-index: 1; }

/* ---------- CTA + Form ---------- */
.cta-block { display: grid; gap: 50px; }
@media (min-width: 1000px) { .cta-block { grid-template-columns: 0.85fr 1.15fr; gap: 80px; } }
.cta-block__copy { display: grid; gap: 26px; align-content: start; }
@media (min-width: 1000px) { .cta-block__copy { position: sticky; top: calc(var(--header-h) + 40px); } }
.contact-list { display: grid; gap: 16px; margin-top: 10px; }
.contact-list a, .contact-list span { display: inline-flex; gap: 14px; align-items: center; color: var(--on-dark); }
.contact-list a:hover { color: var(--gold); }
.contact-list svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.form-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line-dark); }

.enquiry { display: grid; gap: 28px; }
.enquiry__grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .enquiry__grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 500; color: var(--on-dark); }
.field .req { color: var(--gold); }
.field .opt { color: var(--on-dark-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 12px;
  background: var(--ink); border: 1px solid var(--line-dark); color: var(--on-dark);
  font-size: 1rem; transition: border-color .3s, box-shadow .3s, background-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6d6962; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(236,232,224,.22); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,164,92,.15); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid var(--on-dark-muted); border-bottom: 1.5px solid var(--on-dark-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.select select option { background: var(--ink-2); color: var(--on-dark); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field__error { font-size: .84rem; color: var(--danger); min-height: 0; }
.field__error:empty { display: none; }
.enquiry__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.enquiry__note { font-size: .86rem; color: var(--on-dark-muted); max-width: 42ch; }
.enquiry__note a { text-decoration: underline; text-underline-offset: 3px; }
.enquiry__status { padding: 14px 16px; border-radius: 12px; background: rgba(224,104,90,.12); border: 1px solid rgba(224,104,90,.35); color: #f2b1a8; font-size: .94rem; }
.enquiry__status a { text-decoration: underline; }
.enquiry.is-sent > :not(.enquiry__success) { display: none; }
.enquiry__success { display: grid; gap: 14px; justify-items: start; padding: 20px 0; outline: none; }
.enquiry__success[hidden] { display: none; }
.enquiry__success h3 { font-size: 1.8rem; font-weight: 500; letter-spacing: -.03em; }
.enquiry__success p { color: var(--on-dark-muted); max-width: 46ch; }
.enquiry__success a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.enquiry__success-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); animation: pop .6s var(--ease); }
.enquiry__success-icon svg { width: 26px; height: 26px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(12,12,13,.25); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Final CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band__inner { position: relative; display: grid; gap: 28px; justify-items: center; max-width: 860px; margin-inline: auto; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; margin: 48px 0 14px; }
.legal h3 { font-size: 1.1rem; font-weight: 600; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--on-light-muted); }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 12px 0; }
.legal a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal__note { padding: 18px 20px; border-radius: 12px; background: var(--paper-2); border-left: 2px solid var(--gold); font-size: .95rem; color: var(--on-light-muted); margin-bottom: 30px; }
.legal__updated { font-size: .9rem; color: var(--on-light-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-dark); padding-top: clamp(60px, 7vw, 100px); color: var(--on-dark); }
.site-footer__top { display: grid; gap: 50px; padding-bottom: 60px; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1.5fr; gap: 80px; } }
.site-footer__brand { display: grid; gap: 20px; align-content: start; }
.site-footer__brand p { color: var(--on-dark-muted); max-width: 34ch; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
@media (min-width: 640px) { .site-footer__cols { grid-template-columns: 0.8fr 1fr 1.3fr; } }
.site-footer__h { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 500; margin-bottom: 18px; }
.site-footer__cols ul, .site-footer__bottom ul, .socials { list-style: none; padding: 0; margin: 0; }
.site-footer__cols ul { display: grid; gap: 12px; }
.site-footer__cols a, .site-footer__cols span { color: var(--on-dark); font-size: .95rem; overflow-wrap: anywhere; }
.site-footer__cols a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark-muted); transition: all .35s var(--ease); }
.socials a:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.site-footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding-block: 44px; border-top: 1px solid var(--line-dark); }
.site-footer__big { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.8rem); letter-spacing: -.035em; font-weight: 500; line-height: 1.1; max-width: 22ch; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding-block: 28px 34px; border-top: 1px solid var(--line-dark); font-size: .86rem; color: var(--on-dark-muted); }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer__bottom a:hover { color: var(--on-dark); }

/* ---------- 404 ---------- */
.nf { min-height: 80vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.nf__code { font-family: var(--font-serif); font-style: italic; font-size: clamp(6rem, 20vw, 14rem); line-height: .9; color: var(--gold); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .strip__track { animation: none; }
}

/* ---------- Single-price layout ---------- */
@media (min-width: 980px) { .pricing--single { grid-template-columns: 1.1fr 1fr; max-width: 1040px; } }
.price-band { display: grid; gap: 22px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--ink); color: var(--on-dark); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.price-band:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -35px rgba(20,20,20,.5); }
@media (min-width: 900px) { .price-band { grid-template-columns: auto 1fr auto; gap: 50px; } }
.price-band__price { font-size: clamp(2.8rem, 2rem + 2.4vw, 4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.price-band__price small { display: block; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 400; margin-bottom: 10px; }
.price-band__price em { font-style: normal; font-size: 1rem; letter-spacing: 0; color: var(--on-dark-muted); font-weight: 400; margin-left: 10px; }
.price-band__text { color: var(--on-dark-muted); max-width: 46ch; }
.price-band__cta { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 500; white-space: nowrap; }
.price-band__cta svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.price-band:hover .price-band__cta svg { transform: translateX(4px); }

/* ---------- Real screenshots (v2) ---------- */
.frame { display: block; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 30px 60px -30px rgba(0,0,0,.55); }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; background: #ecebe8; }
.frame__bar i { width: 8px; height: 8px; border-radius: 50%; background: #cfccc6; }
.frame__bar span { margin-left: 10px; height: 16px; line-height: 16px; padding: 0 10px; border-radius: 5px; background: #fff; color: #8b877f; font-size: 10px; letter-spacing: .01em; }
.frame img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.frame--lg .frame__bar { height: 36px; }
.frame--lg .frame__bar span { font-size: 12px; height: 20px; line-height: 20px; }
.work-card__media { padding: clamp(14px, 2.4vw, 26px); }
.work-card__media .frame { transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.work-card:hover .work-card__media .frame { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 40px 70px -30px rgba(0,0,0,.6); }

/* Hero showcase with real screenshots */
.showcase__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 1.1s var(--ease); }
.showcase__shot.is-active { opacity: 1; }
.showcase__phone-img { position: absolute; right: 0; bottom: 0; width: 26%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); animation: float 7s ease-in-out infinite; }

/* "From ONLY $299" pill */
.price-pill { display: inline-flex; align-items: center; gap: 12px; justify-self: start; padding: 10px 18px 10px 14px; border-radius: 999px; background: linear-gradient(135deg, rgba(201,164,92,.22), rgba(201,164,92,.08)); border: 1px solid rgba(201,164,92,.55); color: var(--on-dark); font-size: 1rem; letter-spacing: -.005em; box-shadow: 0 0 40px -10px rgba(201,164,92,.55); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.price-pill:hover { transform: translateY(-2px); box-shadow: 0 0 50px -6px rgba(201,164,92,.7); }
.price-pill b { color: var(--gold-soft); font-weight: 700; font-size: 1.45em; letter-spacing: -.02em; line-height: 1; }
.price-pill__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.price-pill__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* Big price section */
.price-hero__inner { display: grid; gap: 50px; align-items: center; }
@media (min-width: 960px) { .price-hero__inner { grid-template-columns: 1.1fr 1fr; gap: 90px; } }
.price-hero__copy { display: grid; gap: 18px; justify-items: start; }
.price-hero__only { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); letter-spacing: -.02em; font-weight: 500; margin-top: 10px; }
.price-hero__only span { display: inline-block; margin-left: 6px; padding: 4px 14px; border-radius: 999px; background: var(--ink); color: var(--gold-soft); font-size: .8em; font-weight: 600; letter-spacing: .12em; transform: rotate(-3deg); }
.price-hero__amount { font-size: clamp(7.5rem, 3.5rem + 16vw, 16rem); line-height: .82; font-weight: 600; letter-spacing: -.07em; background: linear-gradient(120deg, #6e521f 0%, #c9a45c 35%, #e8cf98 55%, #a8843f 80%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.price-hero__sub { color: var(--on-light-muted); font-size: var(--fs-lead); max-width: 40ch; line-height: 1.5; }
.price-hero__copy .btn-row { margin-top: 12px; }
ul.price-hero__list { display: grid; gap: 14px; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line-light); box-shadow: 0 40px 80px -50px rgba(20,20,20,.35); }
.price-hero__list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 1.04rem; }
.price-hero__list svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--ink); color: var(--gold); }

/* Project detail */
.project-split { display: grid; gap: 50px; align-items: center; }
@media (min-width: 900px) { .project-split { grid-template-columns: 1.2fr .8fr; gap: 80px; } }
.project-split__copy { display: grid; gap: 22px; }
.project-split__phone img { width: min(320px, 70%); margin-inline: auto; height: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.35)); }
.fullpage { max-width: 1000px; margin-inline: auto; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 50px 90px -50px rgba(0,0,0,.5); }
.fullpage .frame__bar { height: 34px; }
.fullpage__scroll { max-height: min(80vh, 820px); overflow-y: auto; overscroll-behavior: contain; }
.fullpage__scroll img { width: 100%; height: auto; display: block; }
