/* ============================================================
   DS Creative Studio, site design layer (V2, 2026-10-27)
   Loaded after site.css (and after home.css / content-hub.css / checklist.css / legal/style.css where a page uses them)
   on every redesigned page. Not loaded by /builder/ and /haredi, which keep their current design.
   Deep navy canvas, warm gold as the single accent, cream paper. Display: Frank Ruhl Libre. Body: Heebo.
   RTL first, logical properties, round dots only (no short decorative lines).
   ============================================================ */
:root {
  --navy-950: #0b1426;
  --navy-900: #0f1b33;
  --navy-800: #16264a;
  --navy-700: #22355f;
  --gold-300: #e2c27f;
  --gold-400: #d6ad62;   /* accent on navy: 8.2:1 on navy-900 */
  --gold-700: #86601f;   /* accent text on cream: 5.3:1 */
  --cream-50: #fbf7ef;
  --cream-100: #f4ecdc;
  --cream-200: #e9dec7;
  --ink: #13203a;                          /* text on cream: 15:1 */
  --ink-74: rgba(19, 32, 58, 0.74);        /* muted text on cream: 6.4:1 */
  --ink-line: rgba(19, 32, 58, 0.14);
  --on-navy: #f3ecdf;
  --on-navy-72: rgba(243, 236, 223, 0.72); /* muted text on navy: 7:1 */
  --on-navy-line: rgba(243, 236, 223, 0.14);

  --font-display: "Frank Ruhl Libre", "David Libre", Georgia, serif;
  --font-body: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --nav-h: 76px;
  --gutter: clamp(20px, 4vw, 48px);
  --maxw: 1240px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

  --z-nav: 100;
  --z-menu: 200;
  --z-skip: 300;

  /* legacy tokens (site.css, home.css, content-hub.css, checklist.css, legal/style.css), remapped so the existing
     pricing page, articles and legal pages follow the new palette without rewriting them */
  --plum-900: var(--navy-950);
  --plum-800: var(--navy-900);
  --plum-700: var(--navy-800);
  --plum-600: var(--navy-700);
  --stone-50: var(--cream-50);
  --stone-100: var(--cream-100);
  --stone-200: var(--cream-200);
  --stone-300: #d9ccb2;
  --terracotta: var(--gold-700);        /* accent text and fills on cream: 5.3:1, white on it 5.9:1 */
  --terracotta-deep: #6f4f17;
  --terracotta-soft: #a87b2c;
  --copper: var(--gold-400);
  --copper-light: var(--gold-300);
  --ink-70: var(--ink-74);
  --ink-55: rgba(19, 32, 58, 0.64);
  --line: var(--ink-line);
  --line-strong: rgba(19, 32, 58, 0.24);
  --on-dark: var(--on-navy);
  --on-dark-70: rgba(243, 236, 223, 0.76);
  --on-dark-line: var(--on-navy-line);
  --on-dark-line-strong: rgba(243, 236, 223, 0.28);
  --shadow-soft: 0 18px 40px -22px rgba(11, 20, 38, 0.45);
  --shadow-lift: 0 26px 50px -28px rgba(11, 20, 38, 0.55);
  --container: var(--maxw);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream-50); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.15; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }
.on-cream :focus-visible { outline-color: var(--gold-700); }



/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold-400); color: var(--navy-950); border: 0; }
.btn-gold:hover { background: var(--gold-300); }
.btn-line { border: 1.5px solid var(--on-navy-line); color: var(--on-navy); background: transparent; }
.btn-line:hover { border-color: var(--gold-400); color: var(--gold-300); }
.on-cream .btn-line { border-color: var(--ink-line); color: var(--ink); }
.on-cream .btn-line:hover { border-color: var(--gold-700); color: var(--gold-700); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  color: var(--gold-700); padding-block: 10px;
}
.on-navy .link-arrow { color: var(--gold-300); }
.link-arrow svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.link-arrow:hover svg { transform: translateX(-4px); }

/* ============================================================
   Header and navigation
   ============================================================ */
.site-head {
  position: fixed; inset-inline: 0; top: 0; z-index: var(--z-nav);
  height: var(--nav-h); color: var(--on-navy);
  transition: background-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.site-head.is-solid, .site-head.always-solid { background: rgba(11, 20, 38, 0.97); box-shadow: 0 1px 0 var(--on-navy-line); }
.site-head .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; white-space: nowrap; direction: ltr; }
.brand b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; letter-spacing: 0.01em; color: var(--gold-400); }
.brand span { font-size: 0.95rem; font-weight: 500; color: var(--on-navy); letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-links a {
  position: relative; padding: 12px 14px; border-radius: var(--radius-sm);
  color: var(--on-navy-72); text-decoration: none; font-weight: 500; font-size: 0.98rem;
  transition: color 180ms var(--ease-out);
}
.nav-links a:hover { color: var(--on-navy); }
.nav-links a[aria-current="page"] { color: var(--on-navy); }
.nav-links a[aria-current="page"]::after {   /* a round dot, never a short line */
  content: ""; position: absolute; inset-inline: 0; margin-inline: auto; bottom: 4px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold-400);
}
.nav-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--on-navy); background: transparent; border: 1.5px solid var(--on-navy-line); cursor: pointer;
  transition: border-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.icon-btn:hover { border-color: var(--gold-400); color: var(--gold-300); }
.icon-btn svg { width: 20px; height: 20px; }
.nav-cta { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }
.menu-btn { display: none; }

@media (max-width: 1000px) {
  .nav-links, .nav-cta { display: none; }
  .nav-tools { margin-inline-start: auto; }
  .menu-btn { display: inline-grid; }
}

/* mobile menu: a native <dialog>, so focus stays inside and Esc closes it */
.menu {
  inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--navy-950); color: var(--on-navy);
}
.menu::backdrop { background: rgba(11, 20, 38, 0.6); }
.menu[open] { animation: menu-in 260ms var(--ease-out); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.menu-inner {
  min-height: 100%; display: flex; flex-direction: column;
  padding: 18px var(--gutter) 32px;
  background:
    radial-gradient(420px 300px at 85% 10%, rgba(214, 173, 98, 0.16), transparent 70%),
    radial-gradient(380px 300px at 10% 95%, rgba(34, 53, 95, 0.9), transparent 75%);
}
.menu-top { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.menu nav { margin-top: 36px; }
.menu nav a {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 0;
  font-family: var(--font-display); font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 700;
  color: var(--on-navy); text-decoration: none;
}
.menu nav a small { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--on-navy-72); }
.menu nav a[aria-current="page"] { color: var(--gold-300); }
.menu-contact { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
.menu-contact a { display: flex; align-items: center; gap: 12px; min-height: 48px; color: var(--on-navy); text-decoration: none; font-weight: 500; }
.menu-contact svg { width: 20px; height: 20px; color: var(--gold-400); }
@media (min-width: 1001px) { .menu { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: var(--on-navy);
  padding: calc(var(--nav-h) + clamp(36px, 7vw, 88px)) 0 clamp(56px, 8vw, 104px);
  background:
    radial-gradient(760px 520px at 12% 30%, rgba(214, 173, 98, 0.14), transparent 70%),
    radial-gradient(900px 600px at 95% 110%, rgba(34, 53, 95, 0.85), transparent 70%),
    var(--navy-950);
}
.hero::before {   /* a quiet dot field, fading toward the text */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(243, 236, 223, 0.10) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(to left, transparent 0%, #000 55%, transparent 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-300); font-weight: 600; font-size: 0.98rem; }
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); }
.hero h1 { margin-top: 18px; font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.08; }
.hero h1 em { font-style: normal; color: var(--gold-300); }
.hero-lead { margin-top: 22px; max-width: 34ch; font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--on-navy-72); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-what { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; list-style: none; color: var(--on-navy-72); font-size: 0.95rem; }
.hero-what li { display: inline-flex; align-items: center; gap: 10px; }
.hero-what li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-400); }

/* the work collage: real screenshots in quiet frames */
.collage { position: relative; aspect-ratio: 1 / 0.92; }
.frame {
  position: absolute; overflow: hidden; border-radius: var(--radius-md);
  background: var(--navy-800); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.75);
}
.frame-bar { display: flex; align-items: center; gap: 5px; height: 22px; padding-inline: 10px; background: var(--navy-800); }
.frame-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(243, 236, 223, 0.28); }
.frame img { width: 100%; height: auto; }
.frame-a { inset-inline-end: 0; top: 4%; width: 84%; }
.frame-b { inset-inline-start: 0; top: 0; width: 46%; opacity: 0.92; }
.frame-c { inset-inline-start: 6%; bottom: 0; width: 30%; border-radius: 22px; border: 5px solid var(--navy-800); }
.frame-c img { aspect-ratio: 780 / 1300; object-fit: cover; object-position: top; }
.frame-tag {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; white-space: nowrap;
  background: var(--navy-950); color: var(--on-navy); box-shadow: 0 6px 8px -4px rgba(0, 0, 0, 0.5);
}
.frame-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); }
.frame-tag.concept::before { background: transparent; border: 1.5px solid var(--on-navy-72); }
.tag-a { inset-inline-end: 6%; bottom: 30%; }
.tag-c { inset-inline-start: 2%; bottom: -4%; }

@media (prefers-reduced-motion: no-preference) {
  .js .collage .frame, .js .collage .frame-tag { animation: rise 900ms var(--ease-out) both; }
  .js .collage .frame-b { animation-delay: 120ms; }
  .js .collage .frame-c { animation-delay: 240ms; }
  .js .collage .frame-tag { animation-delay: 420ms; }
  .collage .frame-a { animation: rise 900ms var(--ease-out) both, drift 11s ease-in-out 1s infinite alternate; }
  .collage .frame-c { animation: rise 900ms var(--ease-out) 240ms both, drift 9s ease-in-out 1.4s infinite alternate-reverse; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-lead { max-width: 40ch; }
  .collage { max-width: 560px; width: 100%; margin-inline: auto; margin-top: 8px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 2.8rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .tag-a { bottom: 34%; }
}

/* ============================================================
   Sections
   ============================================================ */
.section { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 128px) 0; }
.on-cream { color: var(--ink); }
.on-navy { color: var(--on-navy); }
.paper {   /* cream, never flat: a warm light from the top corner and a cooler edge */
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(214, 173, 98, 0.16), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgba(34, 53, 95, 0.06), transparent 70%),
    var(--cream-50);
}
.paper-deep {
  background:
    radial-gradient(800px 480px at 0% 0%, rgba(214, 173, 98, 0.18), transparent 65%),
    radial-gradient(600px 420px at 100% 100%, rgba(134, 96, 31, 0.08), transparent 70%),
    var(--cream-100);
}
.ink-sky {
  background:
    radial-gradient(700px 460px at 100% 20%, rgba(214, 173, 98, 0.13), transparent 70%),
    radial-gradient(800px 560px at 0% 100%, rgba(34, 53, 95, 0.9), transparent 70%),
    var(--navy-900);
}
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 32px; }
.sec-head h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); letter-spacing: -0.005em; }
.sec-head p { grid-column: 1; max-width: 56ch; margin-top: 4px; font-size: 1.08rem; color: var(--ink-74); }
.on-navy .sec-head p { color: var(--on-navy-72); }
.sec-head .link-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
@media (max-width: 720px) {
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .link-arrow { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* reveal on scroll, only when scripts run, so content is always there without them */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}

/* ---------- tags ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; line-height: 1.2;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.tag-real { background: var(--navy-900); color: var(--on-navy); }
.tag-real::before { background: var(--gold-400); }
.tag-concept { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-line); }
.tag-concept::before { border: 1.5px solid var(--ink-74); }
.tag-type { color: var(--ink-74); padding-inline: 0; }
.tag-type::before { display: none; }

/* ============================================================
   Selected work
   ============================================================ */
.work-real { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); }
.work-item { display: flex; flex-direction: column; gap: 14px; }
.work-shot {
  position: relative; overflow: hidden; border-radius: var(--radius-md); background: var(--navy-900);
  transition: transform 500ms var(--ease-out);
}
.work-shot img { width: 100%; transition: transform 700ms var(--ease-out); }
.work-item a.work-media:hover .work-shot img, .work-item a.work-media:focus-visible .work-shot img { transform: scale(1.025); }
.work-media { display: block; text-decoration: none; border-radius: var(--radius-md); }
.shot-split { aspect-ratio: 16 / 10.5; }
.shot-split .desk { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot-split .phone {
  position: absolute; inset-inline-start: 5%; bottom: -6%; width: 24%; border-radius: 16px;
  border: 4px solid var(--navy-950); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.7);
}
.shot-tall { aspect-ratio: 16 / 17; display: grid; place-items: end center; padding-top: 28px;
  background:
    radial-gradient(360px 260px at 70% 20%, rgba(214, 173, 98, 0.22), transparent 70%),
    var(--navy-900);
}
.shot-tall img { width: 56%; border-radius: 18px 18px 0 0; border: 4px solid var(--navy-800); border-bottom: 0; }
.work-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.work-item h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.work-item h3 bdi { direction: ltr; }
.work-item .work-desc { color: var(--ink-74); max-width: 52ch; }
.work-item .link-arrow { align-self: flex-start; padding-block: 6px; }

.work-concepts-head { margin-top: clamp(56px, 7vw, 88px); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.work-concepts-head h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }
.work-concepts-head p { color: var(--ink-74); max-width: 60ch; }
.work-concepts { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.work-concepts .work-item:nth-child(2) { margin-top: 40px; }   /* an offset rhythm instead of a flat row */
.work-concepts .work-shot { aspect-ratio: 16 / 11; }
.work-concepts .work-shot img { height: 100%; object-fit: cover; object-position: top; }
.work-concepts h4 { font-family: var(--font-display); font-size: 1.35rem; }
.work-note { margin-top: 36px; font-size: 0.95rem; color: var(--ink-74); max-width: 80ch; }
@media (max-width: 900px) {
  .work-real { grid-template-columns: 1fr; }
  .shot-tall { aspect-ratio: 16 / 12; }
  .shot-tall img { width: 42%; }
  .work-concepts { grid-template-columns: 1fr 1fr; }
  .work-concepts .work-item:nth-child(2) { margin-top: 0; }
}
@media (max-width: 560px) {
  .work-concepts { grid-template-columns: 1fr; }
  .shot-tall img { width: 56%; }
}

/* ============================================================
   Approach (studio teaser)
   ============================================================ */
.approach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.approach-statement { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 500; line-height: 1.25; }
.approach-statement em { font-style: normal; color: var(--gold-300); }
.approach-lead { margin-top: 22px; color: var(--on-navy-72); max-width: 46ch; font-size: 1.08rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: step; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 18px;
  padding: 22px 22px; border-radius: var(--radius-md); background: rgba(243, 236, 223, 0.04);
}
.steps li::before {
  content: counter(step); grid-row: 1 / span 2; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(214, 173, 98, 0.55);
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--gold-300);
}
.steps h3 { font-size: 1.4rem; align-self: end; }
.steps p { color: var(--on-navy-72); }
@media (max-width: 900px) { .approach-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Magazine
   ============================================================ */
.mag-cats { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.mag-cats li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px var(--ink-line); }
.mag-cats li.soon { color: var(--ink-74); background: transparent; }
.mag-cats li.soon span { font-weight: 500; font-size: 0.8rem; padding: 2px 8px; border-radius: 999px; background: var(--cream-200); color: var(--ink); }
.mag-grid { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.mag-feature { display: block; text-decoration: none; color: inherit; }
.mag-feature figure { margin: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--navy-900); aspect-ratio: 16 / 9; }
.mag-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.mag-feature:hover img { transform: scale(1.025); }
.mag-feature .mag-kicker { margin-top: 18px; }
.mag-feature h3 { margin-top: 8px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.mag-feature p { margin-top: 10px; color: var(--ink-74); max-width: 58ch; }
.mag-kicker { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.88rem; font-weight: 600; color: var(--gold-700); }
.mag-kicker time, .mag-kicker .read { color: var(--ink-74); font-weight: 500; }
.mag-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mag-list a {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 14px; border-radius: var(--radius-md); text-decoration: none; color: inherit;
  transition: background-color 200ms var(--ease-out);
}
.mag-list a:hover, .mag-list a:focus-visible { background: rgba(255, 255, 255, 0.6); }
.mag-list img { width: 96px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); background: var(--navy-900); }
.mag-list h3 { font-size: 1.15rem; line-height: 1.3; }
.mag-list .mag-kicker { font-size: 0.82rem; margin-bottom: 4px; }
@media (max-width: 900px) { .mag-grid { grid-template-columns: 1fr; } }

/* ============================================================
   What we build (services teaser, no prices on the homepage)
   ============================================================ */
.build-list { margin-top: clamp(32px, 5vw, 52px); display: grid; gap: 10px; list-style: none; padding: 0; }
.build-list li { border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.5); }
.build-list li:nth-child(2) { background: rgba(214, 173, 98, 0.12); }
.build-list a {
  display: grid; grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.4fr) auto; gap: 8px 32px; align-items: center;
  padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 32px); text-decoration: none; color: inherit; border-radius: var(--radius-md);
}
.build-list h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.build-list p { color: var(--ink-74); }
.build-list .go { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-700); font-weight: 600; white-space: nowrap; }
.build-list .go svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.build-list a:hover .go svg { transform: translateX(-4px); }
@media (max-width: 760px) { .build-list a { grid-template-columns: 1fr; } }

/* ============================================================
   Contact band
   ============================================================ */
.contact-band { text-align: center; }
.contact-band h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.contact-band h2 em { font-style: normal; color: var(--gold-300); }
.contact-band p { margin: 18px auto 0; max-width: 52ch; color: var(--on-navy-72); font-size: 1.1rem; }
.contact-actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-ways { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; color: var(--on-navy-72); }
.contact-ways a { color: var(--on-navy); text-decoration: none; font-weight: 500; display: inline-flex; min-height: 44px; align-items: center; }
.contact-ways a:hover { color: var(--gold-300); }

/* ============================================================
   Footer
   ============================================================ */
.site-foot { background: var(--navy-950); color: var(--on-navy-72); padding: 64px 0 32px; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h2 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; color: var(--on-navy); margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-grid a { color: var(--on-navy-72); text-decoration: none; display: inline-block; padding-block: 6px; }
.foot-grid a:hover { color: var(--gold-300); }
.foot-about p { margin-top: 12px; max-width: 36ch; }
.foot-bottom { margin-top: 48px; padding-top: 22px; box-shadow: 0 -1px 0 var(--on-navy-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.88rem; }
.foot-bottom a { color: var(--on-navy-72); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
/* the closing space keeps the accessibility button clear of the last footer links */
.site-foot { padding-bottom: 96px; }

/* ============================================================
   Work page
   ============================================================ */
.page-head { padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(36px, 5vw, 56px); }
.page-head h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: -0.01em; }
.page-head p { margin-top: 16px; max-width: 58ch; font-size: 1.15rem; color: var(--ink-74); }
.filters { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; margin-top: 30px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-group span { font-size: 0.9rem; font-weight: 600; color: var(--ink-74); margin-inline-end: 4px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font: 600 0.95rem/1 var(--font-body); color: var(--ink); background: transparent;
  border: 1.5px solid var(--ink-line);
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.chip:hover { border-color: var(--gold-700); }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-navy); }
.gallery { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); }
.gallery .work-item[hidden] { display: none; }
.gallery .work-shot { aspect-ratio: 16 / 10.5; }
.gallery .work-shot > img { height: 100%; object-fit: cover; object-position: top; }
.gallery .work-built { margin: 4px 0 0; padding-inline-start: 18px; color: var(--ink-74); font-size: 0.98rem; }
.gallery .work-built li + li { margin-top: 4px; }
.gallery-count { margin-top: 18px; font-size: 0.95rem; color: var(--ink-74); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* gallery variants of the two composed shots */
.gallery .shot-split .desk { height: 100%; }
.gallery .shot-tall { aspect-ratio: 16 / 10.5; padding-top: 24px; }
.gallery .shot-tall img { width: 34%; height: auto; }
.gallery-legend { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.92rem; color: var(--ink-74); }
.gallery-legend .tag { font-size: 0.8rem; }
.work-item h2.work-title { font-size: clamp(1.5rem, 2.4vw, 2rem); }

/* ---------- second pass ---------- */
@media (min-width: 901px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.hero h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); }
.foot-grid .brand { display: inline-flex; }
.section > .wrap { position: relative; z-index: 1; }

/* quiet floating rings: round shapes only, never short lines */
.ring { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; }
.on-cream .ring { border: 1px solid rgba(134, 96, 31, 0.22); }
.on-navy .ring { border: 1px solid rgba(214, 173, 98, 0.22); }
.ring-a { width: 320px; height: 320px; inset-inline-start: -120px; top: 80px; }
.ring-b { width: 140px; height: 140px; inset-inline-end: 6%; bottom: 60px; }
.ring-c { width: 420px; height: 420px; inset-inline-end: -160px; top: -120px; }
.ring-d { width: 90px; height: 90px; inset-inline-start: 10%; bottom: 48px; background: rgba(214, 173, 98, 0.08); border: 0 !important; }
.ring-e { width: 220px; height: 220px; inset-inline-start: 4%; top: -60px; }
.ring-b::after, .ring-e::after {   /* a small gold point riding on the ring */
  content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; top: 12%; inset-inline-start: 12%;
  background: var(--gold-400); opacity: 0.7;
}
@media (prefers-reduced-motion: no-preference) {
  .ring { animation: float 14s ease-in-out infinite alternate; }
  .ring-b, .ring-d { animation-duration: 10s; animation-direction: alternate-reverse; }
}
@keyframes float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -14px, 0); } }

.mag-list a { grid-template-columns: 112px minmax(0, 1fr); }
.mag-list img { width: 112px; height: 70px; }

@media (max-width: 560px) {
  .ring-a, .ring-c { width: 220px; height: 220px; }
}
.page-head { position: relative; overflow: hidden; }
.page-head > .wrap { position: relative; z-index: 1; }

/* ============================================================
   Refinement round (homepage as a gateway)
   ============================================================ */
.hero-actions { align-items: center; }
.text-link {
  display: inline-flex; align-items: center; min-height: 50px; padding-inline: 8px;
  color: var(--on-navy); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(214, 173, 98, 0.6);
  text-underline-offset: 6px; text-decoration-thickness: 1.5px;
}
.text-link:hover { color: var(--gold-300); text-decoration-color: var(--gold-300); }

/* one clear way into the full gallery */
.gallery-link {
  margin-top: clamp(28px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(20px, 3vw, 28px) clamp(22px, 3vw, 32px); border-radius: var(--radius-md);
  background: var(--navy-900); color: var(--on-navy); text-decoration: none;
  transition: background-color 220ms var(--ease-out);
}
.gallery-link:hover { background: var(--navy-800); }
.gallery-link span { display: grid; gap: 4px; color: var(--on-navy-72); }
.gallery-link strong { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--on-navy); }
.gallery-link svg { width: 28px; height: 28px; color: var(--gold-300); flex: 0 0 auto; transition: transform 220ms var(--ease-out); }
.gallery-link:hover svg { transform: translateX(-6px); }

.mag-picks-title { font-weight: 700; margin-bottom: 8px; color: var(--ink-74); font-size: 0.95rem; }
.mag-list h3 { font-size: 1.2rem; }

.build-list a { grid-template-columns: minmax(160px, 0.5fr) minmax(0, 1.5fr) 24px; }
.build-list a > svg { width: 22px; height: 22px; color: var(--gold-700); transition: transform 200ms var(--ease-out); }
.build-list a:hover > svg { transform: translateX(-4px); }
@media (max-width: 760px) {
  .build-list a { grid-template-columns: minmax(0, 1fr) 24px; }
  .build-list a p { grid-column: 1; }
  .build-list a > svg { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
}

.contact-builder { margin-top: 18px !important; font-size: 0.98rem; }
.contact-builder a { color: var(--gold-300); text-underline-offset: 4px; }

/* gallery: one segmented choice instead of two filter rows, and two clearly titled groups */
.segmented {
  margin-top: 28px; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px;
  border-radius: 999px; background: rgba(19, 32, 58, 0.07);
}
.segmented button {
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer; background: transparent;
  font: 600 0.98rem/1 var(--font-body); color: var(--ink);
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.segmented button:hover { background: rgba(255, 255, 255, 0.7); }
.segmented button[aria-pressed="true"] { background: var(--navy-900); color: var(--on-navy); }
@media (max-width: 560px) { .segmented { display: grid; width: 100%; } .segmented button { padding: 0 10px; } }
.gallery-wrap { padding-top: clamp(40px, 5vw, 64px); }
.work-group[hidden] { display: none; }
.work-group + .work-group { margin-top: clamp(56px, 7vw, 88px); }
.group-head h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.group-head h2 .tag { font-family: var(--font-body); font-size: 0.8rem; }
.group-head p { margin-top: 8px; color: var(--ink-74); max-width: 62ch; }
.work-group .gallery { margin-top: 24px; }
.work-item h3.work-title { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
/* on phones the large rings would cross text and controls; the small ones and the glows stay */
@media (max-width: 560px) { .ring-a, .ring-e { display: none; } }


/* ============================================================
   Legacy components on redesigned pages (pricing, articles, legal, checklist)
   ============================================================ */
body { background: var(--cream-50); color: var(--ink); }
.grain { display: none; }
[id] { scroll-margin-top: 0; }   /* html scroll-padding above keeps anchors clear of the header; no double offset */
.pricing-page [id] { scroll-margin-top: 64px; }   /* the sticky in-page navigation of /pricing */
.display, .h2, .h3 { font-family: var(--font-display); letter-spacing: -0.005em; }
.display, .h2 { font-weight: 700; }
.kicker::before, .home .kicker::before, .pricing-page .kicker::before { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-700); }
.on-dark .kicker::before, .surface-dark .kicker::before, .home .on-dark .kicker::before { background: var(--gold-400); }
.article-body h2::before { width: 8px; height: 8px; border-radius: 50%; top: 2px; }
.btn-primary { background: var(--navy-900); color: var(--on-navy); box-shadow: none; }
.btn-primary:hover { background: var(--navy-800); transform: none; }
.on-dark .btn-primary, .surface-dark .btn-primary, .on-navy .btn-primary { background: var(--gold-400); color: var(--navy-950); }
.on-dark .btn-primary:hover, .surface-dark .btn-primary:hover, .on-navy .btn-primary:hover { background: var(--gold-300); }
.surface-dark {
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(214, 173, 98, 0.14), transparent 65%),
    radial-gradient(800px 560px at 0% 100%, rgba(34, 53, 95, 0.9), transparent 70%),
    var(--navy-900);
}
.surface-stone {
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(214, 173, 98, 0.14), transparent 65%),
    radial-gradient(700px 500px at 0% 100%, rgba(34, 53, 95, 0.05), transparent 70%),
    var(--cream-50);
}
.surface-sand {
  background:
    radial-gradient(800px 480px at 0% 0%, rgba(214, 173, 98, 0.18), transparent 65%),
    var(--cream-100);
}

/* ============================================================
   Full site (V2): shared bits
   ============================================================ */
.btn-navy { background: var(--navy-900); color: var(--on-navy); border: 0; }
.btn-navy:hover { background: var(--navy-800); }
.btn-navy svg { color: var(--gold-300); }
.work-title a, .work-item h3 a { color: inherit; text-decoration: none; }
.work-title a:hover, .work-item h3 a:hover { color: var(--gold-700); }
.crumbs-v2 ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 0.92rem; color: var(--ink-74); }
.crumbs-v2 li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs-v2 li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-700); }
.crumbs-v2 a { color: var(--ink); text-decoration: none; }
.crumbs-v2 a:hover { color: var(--gold-700); }
.page-head .lead { margin-top: 16px; max-width: 62ch; font-size: 1.15rem; color: var(--ink-74); }

/* ---------- project pages ---------- */
.project-head h1 { margin-top: 14px; }
.project-sub { margin-top: 10px !important; font-size: 1.1rem; color: var(--gold-700) !important; font-weight: 600; }
.project-lead { margin-top: 14px !important; max-width: 60ch; font-size: 1.15rem; color: var(--ink) !important; }
.project-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.project-shots { padding: clamp(48px, 7vw, 88px) 0; }
.shots-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 40px); align-items: end; }
.only-phone .shots-grid { grid-template-columns: 1fr; justify-items: center; }
.shot-desk { margin: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--navy-800); box-shadow: 0 30px 50px -36px rgba(0, 0, 0, 0.8); }
.shot-desk img { width: 100%; }
.shot-phone { margin: 0; width: clamp(180px, 22vw, 260px); border-radius: 26px; overflow: hidden; border: 6px solid var(--navy-800); box-shadow: 0 30px 50px -36px rgba(0, 0, 0, 0.8); }
.shot-phone img { aspect-ratio: 780 / 1500; object-fit: cover; object-position: top; }
@media (max-width: 760px) {
  .shots-grid { grid-template-columns: 1fr; justify-items: center; }
  .shot-phone { width: 62%; }
}
.facts-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.facts-grid h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.facts-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.facts-list li { position: relative; padding-inline-start: 22px; line-height: 1.65; }
.facts-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-700); }
.facts-side { display: grid; gap: 14px; }
.fact { padding: 22px 24px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.6); }
.fact h3 { font-size: 1.2rem; }
.fact p { margin-top: 8px; color: var(--ink-74); line-height: 1.65; }
.project-disclaimer { padding: 16px 20px; border-radius: var(--radius-md); background: var(--cream-200); font-weight: 600; line-height: 1.6; }
@media (max-width: 900px) { .facts-grid { grid-template-columns: 1fr; } }
.project-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding-block: 32px; }
.project-pager a { color: var(--ink); text-decoration: none; font-weight: 600; display: grid; gap: 2px; padding: 10px 0; }
.project-pager a:hover { color: var(--gold-700); }
.project-pager a small { font-weight: 500; font-size: 0.85rem; color: var(--ink-74); }
.project-pager a:nth-child(2) { padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink-line); }
.project-pager a:last-child { text-align: end; }
@media (max-width: 560px) { .project-pager { grid-template-columns: 1fr 1fr; } .project-pager a:nth-child(2) { grid-column: 1 / -1; grid-row: 2; justify-self: center; } }

/* ---------- studio page ---------- */
.split-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.split-head p { margin-top: 12px; color: var(--ink-74); max-width: 40ch; font-size: 1.08rem; }
@media (min-width: 901px) { .split-head { position: sticky; top: calc(var(--nav-h) + 32px); } }
.know-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.know-list li { padding: 24px 26px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.6); }
.know-list li:nth-child(2) { background: rgba(214, 173, 98, 0.13); }
.know-list h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; }
.know-list h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-700); flex: 0 0 auto; }
.know-list p { margin-top: 8px; color: var(--ink-74); line-height: 1.7; }
@media (max-width: 900px) { .split-grid { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: clamp(32px, 4vw, 44px) 0 0; padding: 0; counter-reset: t; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.timeline li { counter-increment: t; padding: 24px 22px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.62); }
.timeline li::before {
  content: counter(t); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--gold-700); box-shadow: inset 0 0 0 1.5px rgba(134, 96, 31, 0.45);
}
.timeline h3 { margin-top: 14px; font-size: 1.25rem; }
.timeline p { margin-top: 8px; color: var(--ink-74); line-height: 1.65; }
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-card { border-radius: var(--radius-md); background: #fff; padding: clamp(22px, 3.4vw, 40px); box-shadow: 0 24px 44px -34px rgba(11, 20, 38, 0.55); }
.contact-card .form { margin: 0; padding: 0; background: transparent; box-shadow: none; border: 0; color: var(--ink); }
.contact-card .form h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.contact-card .form .btn-primary { width: 100%; margin-top: 22px; }
.contact-direct h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.direct-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.direct-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 12px 20px;
  border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.6); color: var(--ink); text-decoration: none; font-weight: 600;
  transition: background-color 200ms var(--ease-out);
}
.direct-list a:hover { background: #fff; }
.direct-list .k { color: var(--ink-74); font-weight: 500; }
.direct-alt { margin-top: 28px; padding: 24px; border-radius: var(--radius-md); background: var(--navy-900); color: var(--on-navy); }
.direct-alt h3 { font-size: 1.35rem; }
.direct-alt p { margin-top: 8px; color: var(--on-navy-72); line-height: 1.65; }
.direct-alt .link-arrow { color: var(--gold-300); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- magazine ---------- */
.mag-search { margin-top: 26px; }
.mag-search svg { width: 18px; height: 18px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chips button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font: 600 0.95rem/1 var(--font-body); color: var(--ink); background: rgba(255, 255, 255, 0.6); border: 0; box-shadow: inset 0 0 0 1.5px var(--ink-line);
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.topic-chips button span { font-size: 0.8rem; font-weight: 500; color: var(--ink-74); }
.topic-chips button[aria-pressed="true"] { background: var(--navy-900); color: var(--on-navy); box-shadow: none; }
.topic-chips button[aria-pressed="true"] span { color: var(--on-navy-72); }
@media (max-width: 560px) {
  .topic-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: none; }
  .topic-chips::-webkit-scrollbar { display: none; }
  .topic-chips button { flex: 0 0 auto; }
}
.mag-cards { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 30px); }
.mag-card[hidden] { display: none; }
.mag-card-link { display: block; height: 100%; color: inherit; text-decoration: none; border-radius: var(--radius-md); }
.mag-card figure { margin: 0; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 1200 / 630; background: var(--navy-900); }
.mag-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.mag-card-link:hover figure img { transform: scale(1.03); }
.mag-card .mag-kicker { margin-top: 14px; }
.mag-card h2 { margin-top: 6px; font-size: 1.3rem; line-height: 1.3; }
.mag-card-link:hover h2 { color: var(--gold-700); }
.mag-card p:not(.mag-kicker) { margin-top: 8px; color: var(--ink-74); line-height: 1.6; font-size: 0.98rem; }
.mag-card-feature { grid-column: 1 / -1; }
.mag-card-feature .mag-card-link { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.mag-card-feature h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.mag-card-feature .link-arrow { margin-top: 10px; }
@media (max-width: 900px) { .mag-cards { grid-template-columns: 1fr 1fr; } .mag-card-feature .mag-card-link { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .mag-cards { grid-template-columns: 1fr; } }

/* the old accent survives only as hard-coded rgba() in the classic stylesheets: bring those surfaces to gold and navy */
.package::before, .package.featured::before { background: radial-gradient(circle, rgba(214, 173, 98, 0.26), transparent 65%); }
.shape-bloom { background: radial-gradient(circle at 50% 50%, rgba(214, 173, 98, 0.24), rgba(214, 173, 98, 0) 62%); }
.shape-ring, .shape-arc, .deco-ring { border-color: rgba(134, 96, 31, 0.3); }
.surface-warm {
  background:
    radial-gradient(800px 460px at 100% 100%, rgba(214, 173, 98, 0.18), transparent 60%),
    linear-gradient(135deg, var(--cream-200) 0%, var(--cream-100) 100%);
}
.summary-doc .stamp { box-shadow: 0 8px 16px -8px rgba(11, 20, 38, 0.6); }
.step .pill, .pp-step .pill { background: rgba(214, 173, 98, 0.18); }
.hm-services { background: radial-gradient(760px 520px at 0% 0%, rgba(214, 173, 98, 0.18), transparent 64%), var(--cream-50); }
.cl-item:has(.cl-check:checked) { border-color: rgba(134, 96, 31, 0.55); }

/* ---------- print: the new chrome never prints, and the printable checklist follows the new palette ---------- */
@media print {
  .site-head, .site-foot, .menu, .ring, .skip-link { display: none !important; }
  body { color: #13203a; }
  .cl-print-head { background: #0f1b33 !important; color: #e2c27f !important; }
  .cl-print-brand { color: #f3ecdf !important; }
  .cl-print-brand span { color: #e2c27f !important; }
  .cl-compare i { border-color: #86601f !important; color: #6f4f17 !important; }
  .article-body .pull { border-inline-start-color: #86601f !important; }
  .cl-sheet th, .cl-sheet td, .cl-item, .cl-how { border-color: #d9ccb2 !important; }
  .cl-sheet thead th { background: #f4ecdc !important; color: #13203a !important; }
}

/* the classic stylesheet draws its own arrow after .link-arrow and hides the brand name on phones */
.link-arrow:has(svg)::after { content: none; }
.site-head .brand span, .menu .brand span, .site-foot .brand span { display: inline; }
@media (max-width: 340px) { .site-head .brand span { display: none; } }

/* ============================================================
   Homepage entrance (second round, 2026-10-27): a short opening with two actions, then four ways in.
   No screenshots, no articles, no prices. The four ways in are doorways (the owner's choice, 2026-10-27).
   ============================================================ */
.lobby {   /* one dark room from the opening down to the footer, lit from a few corners */
  background:
    radial-gradient(680px 520px at 16% 22%, rgba(214, 173, 98, 0.13), transparent 70%),
    radial-gradient(900px 620px at 100% 64%, rgba(34, 53, 95, 0.8), transparent 70%),
    radial-gradient(640px 420px at 0% 86%, rgba(214, 173, 98, 0.07), transparent 70%),
    var(--navy-950);
}
.entry {
  position: relative; overflow: hidden; isolation: isolate; color: var(--on-navy);
  padding: calc(var(--nav-h) + clamp(32px, 5.5vw, 76px)) 0 clamp(28px, 3.5vw, 44px);
}
.entry::before {   /* a dot field; with a mouse, a soft light follows the pointer across it */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(243, 236, 223, 0.22) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(380px circle at var(--mx, 20%) var(--my, 44%), #000 0%, rgba(0, 0, 0, 0.16) 78%);
          mask-image: radial-gradient(380px circle at var(--mx, 20%) var(--my, 44%), #000 0%, rgba(0, 0, 0, 0.16) 78%);
}
.entry-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.entry h1 { margin-top: 18px; font-size: clamp(2.25rem, 4.1vw, 3.7rem); font-weight: 700; line-height: 1.13; letter-spacing: -0.01em; }
.entry h1 em { display: block; margin-top: 0.14em; font-style: normal; color: var(--gold-300); }
.entry-lead { margin-top: 22px; max-width: 48ch; font-size: clamp(1.06rem, 1.35vw, 1.2rem); line-height: 1.7; color: var(--on-navy-72); }
.entry-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.entry-actions .btn { min-height: 54px; padding-inline: 28px; font-size: 1.05rem; }
.entry-actions .btn-line { border-color: rgba(214, 173, 98, 0.55); }
.entry-note { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--on-navy-72); }
.entry-note::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); }

/* the emblem: three slow orbits around the monogram, round shapes only */
.emblem {
  position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto;
  transform: translate3d(calc(var(--px, 0) * -16px), calc(var(--py, 0) * -16px), 0); transition: transform 700ms var(--ease-out);
}
.emblem::before { content: ""; position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle, rgba(214, 173, 98, 0.24), transparent 70%); }
.orb { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(214, 173, 98, 0.32); }
.orb-2 { width: 72%; height: 72%; border-color: rgba(214, 173, 98, 0.22); }
.orb-3 { width: 46%; height: 46%; border-color: rgba(243, 236, 223, 0.16); }
.orb i { position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 6px rgba(214, 173, 98, 0.12); }
.orb-2 i { left: auto; right: -4px; width: 8px; height: 8px; margin-top: -4px; }
.orb-3 i { top: -3px; left: 50%; width: 6px; height: 6px; margin: 0 0 0 -3px; background: var(--on-navy-72); box-shadow: none; }
.emblem b {
  position: absolute; inset: 0; display: grid; place-items: center; direction: ltr;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 5.6vw, 5rem); letter-spacing: 0.02em; color: var(--gold-400);
}
@media (prefers-reduced-motion: no-preference) {
  .orb-1 { animation: orbit 48s linear infinite; }
  .orb-2 { animation: orbit 34s linear infinite reverse; }
  .orb-3 { animation: orbit 62s linear infinite; }
  .entry-copy > * { animation: rise 800ms var(--ease-out) both; }
  .entry-copy > :nth-child(2) { animation-delay: 70ms; }
  .entry-copy > :nth-child(3) { animation-delay: 140ms; }
  .entry-copy > :nth-child(4) { animation-delay: 210ms; }
  .entry-copy > :nth-child(5) { animation-delay: 260ms; }
  .emblem { animation: emblem-in 1400ms var(--ease-out) 150ms both; }
  .paths-list > li { animation: rise 700ms var(--ease-out) both; }
  .paths-list > li:nth-child(1) { animation-delay: 320ms; }
  .paths-list > li:nth-child(2) { animation-delay: 390ms; }
  .paths-list > li:nth-child(3) { animation-delay: 460ms; }
  .paths-list > li:nth-child(4) { animation-delay: 530ms; }
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes emblem-in { from { opacity: 0; scale: 0.94; } to { opacity: 1; scale: 1; } }

@media (max-width: 900px) {
  .entry-grid { grid-template-columns: 1fr; }
  .emblem { position: absolute; z-index: -1; top: calc(var(--nav-h) - 24px); inset-inline-end: -120px; width: 300px; opacity: 0.5; transform: none; animation: none; }
  .emblem b { display: none; }
}
@media (max-width: 480px) {
  .entry h1 { font-size: clamp(2rem, 8.6vw, 2.45rem); }
  .entry-actions .btn { flex: 1 1 100%; }
  .entry-note { align-items: flex-start; }
  .entry-note::before { margin-top: 0.55em; }
}

/* ---------- four ways in: a doorway each, and the whole door is the link ---------- */
.paths { position: relative; overflow: hidden; isolation: isolate; color: var(--on-navy); padding: clamp(20px, 2.5vw, 32px) 0 clamp(64px, 7.5vw, 96px); }
.paths-title { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(18px, 2.4vw, 28px); font: 600 0.98rem/1.4 var(--font-body); color: var(--gold-300); }
.paths-title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); }
.paths-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 24px); }
.path {
  position: relative; isolation: isolate; height: 100%; min-height: clamp(280px, 23vw, 336px);
  padding: 0 clamp(16px, 2vw, 26px) clamp(22px, 2.4vw, 30px);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; text-align: center;
  color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent;
  border-radius: 999px 999px 14px 14px; overflow: hidden;
  background: linear-gradient(to top, rgba(243, 236, 223, 0.05), rgba(243, 236, 223, 0.012));
  box-shadow: inset 0 0 0 1px rgba(214, 173, 98, 0.34);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
.path::after { content: ""; position: absolute; inset: 9px; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(214, 173, 98, 0.14); }
.path::before {   /* light coming through the open door */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transform: translateY(16%);
  background: radial-gradient(120% 70% at 50% 100%, rgba(214, 173, 98, 0.34), transparent 70%);
  transition: opacity 440ms var(--ease-out), transform 560ms var(--ease-out);
}
.path-icon { order: -1; width: 40px; height: 40px; margin: clamp(52px, 5.4vw, 70px) 0 auto; color: var(--gold-400); transition: transform 420ms var(--ease-out); }
.path-num { font: 600 0.85rem/1 var(--font-body); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; color: var(--gold-300); }
.path-name { display: block; margin-top: 4px; font-family: var(--font-display); font-size: clamp(1.55rem, 2.2vw, 2.1rem); font-weight: 700; line-height: 1.1; }
.path-sub { display: block; max-width: 22ch; color: var(--on-navy-72); font-size: 0.95rem; text-wrap: balance; }
.path-go {
  display: inline-grid; place-items: center; margin-top: 12px; width: 42px; height: 42px; border-radius: 50%;
  color: var(--gold-300); box-shadow: inset 0 0 0 1.5px var(--on-navy-line);
  transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.path-go svg { width: 18px; height: 18px; transition: transform 240ms var(--ease-out); }
/* the door opens under a real pointer only, so a tap on a phone never leaves it stuck open; the keyboard gets the same light */
@media (hover: hover) {
  .path:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(214, 173, 98, 0.7); }
  .path:hover::before { opacity: 1; transform: none; }
  .path:hover .path-icon { transform: translateY(-6px); }
  .path:hover .path-go { background: var(--gold-400); color: var(--navy-950); box-shadow: none; }
  .path:hover .path-go svg { transform: translateX(-3px); }
}
.path:focus-visible { border-radius: 999px 999px 14px 14px; transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(214, 173, 98, 0.7); }
.path:focus-visible::before { opacity: 1; transform: none; }
.path:focus-visible .path-icon { transform: translateY(-6px); }
.path:focus-visible .path-go { background: var(--gold-400); color: var(--navy-950); box-shadow: none; }
/* on touch the door lights while the finger is on it */
.path:active { box-shadow: inset 0 0 0 1px rgba(214, 173, 98, 0.7); }
.path:active::before { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {   /* the light still changes, nothing moves */
  .path::before, .path:hover, .path:focus-visible, .path:hover .path-icon, .path:focus-visible .path-icon, .path:hover .path-go svg { transform: none; }
}
@media (max-width: 900px) { .paths-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .path { min-height: 232px; padding: 0 12px 18px; }
  .path-icon { width: 30px; height: 30px; margin-top: 46px; }
  .path-name { font-size: 1.35rem; }
  .path-sub { font-size: 0.84rem; line-height: 1.45; }
  .path-go { display: none; }
}

/* ---------- the homepage's short footer: contact and secondary links ---------- */
.site-foot-short { padding-top: 0; }
.site-foot-short > .wrap { padding-top: 36px; box-shadow: inset 0 1px 0 var(--on-navy-line); }
.foot-short { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.foot-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--on-navy); text-decoration: none; font-weight: 500; }
.foot-contact a:hover { color: var(--gold-300); }
.foot-contact svg { width: 18px; height: 18px; color: var(--gold-400); }
.site-foot-short .foot-bottom { margin-top: 24px; }
