/* ============================================================
   Bright Page Web Design — Core Stylesheet
   Elegant light, refined. Ink navy + warm gold.
   Fraunces (display serif) + Geist (UI/body).
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Ink / navy scale */
  --ink-900: #0d1626;
  --ink-800: #14233a;
  --ink-700: #1e3350;
  --ink-600: #2c4straw; /* placeholder overwritten below */

  /* Paper / surfaces */
  --paper:   #faf7f1;
  --paper-2: #f2ece0;
  --card:    #ffffff;

  /* Accent — warm gold */
  --gold:      #a9803f;
  --gold-bright:#c19a53;
  --gold-soft: #e6d3a8;

  /* Text */
  --text:      #12203a;
  --text-soft: #4a556b;
  --text-mute: #6b7688;
  --on-ink:    #f4efe6;
  --on-ink-soft: #b9c1d0;

  /* Lines / shadows */
  --line:  rgba(13, 22, 38, 0.10);
  --line-2:rgba(13, 22, 38, 0.16);
  --shadow-sm: 0 1px 2px rgba(13,22,38,.06), 0 2px 8px rgba(13,22,38,.05);
  --shadow-md: 0 8px 24px rgba(13,22,38,.08), 0 2px 6px rgba(13,22,38,.05);
  --shadow-lg: 0 24px 60px rgba(13,22,38,.14), 0 8px 20px rgba(13,22,38,.08);
  --shadow-gold: 0 14px 40px rgba(169,128,63,.28);

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Spacing scale (4/8) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Type */
  --font-serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;
  --nav-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 180ms;
  --dur-2: 320ms;
  --dur-3: 520ms;
}
:root { --ink-600: #2c405f; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;   /* clip (not hidden) so position:sticky in the hero isn't broken */
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  font-optical-sizing: auto;
}
.h-display {
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
h2.section-title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: -0.02em;
}
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { color: var(--text-soft); }
strong { color: var(--text); font-weight: 600; }
em { font-style: italic; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  opacity: .6;
}
.eyebrow.center::before { display: none; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 60ch;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.container.wide { max-width: var(--container-wide); }
.section { padding-block: clamp(64px, 10vw, 128px); }
.section.tight { padding-block: clamp(48px, 7vw, 88px); }
.section-head { max-width: 62ch; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: var(--s-4); }
.section-head p { margin-top: var(--s-4); }

.grid { display: grid; gap: var(--s-6); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink-900);
  --btn-fg: var(--on-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 15px 28px;
  min-height: 52px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--gold), var(--gold-bright));
  transform: translateY(101%);
  transition: transform var(--dur-2) var(--ease-out);
}
.btn:hover { box-shadow: var(--shadow-md); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn .arrow { transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-gold {
  --btn-bg: linear-gradient(120deg, var(--gold), var(--gold-bright));
  --btn-fg: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold::before { background: var(--ink-900); }
.btn-gold:hover { color: var(--on-ink); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost::before { background: var(--ink-900); }
.btn-ghost:hover { color: var(--on-ink); box-shadow: inset 0 0 0 1px transparent, var(--shadow-md); }

.btn-lg { padding: 18px 34px; min-height: 60px; font-size: 1.05rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  color: var(--ink-900);
  position: relative;
}
.text-link::after {
  content: ""; position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.text-link:hover::after { transform: scaleX(1); }
.text-link .arrow { transition: transform var(--dur-2) var(--ease-out); }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--ink-900); color: var(--on-ink);
  font-weight: 600; font-size: .92rem;
  transform: translateY(-160%);
  transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              height var(--dur-2) var(--ease-out);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(250, 247, 241, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { height: 64px; }
.site-header.scrolled::before { opacity: 1; border-bottom-color: var(--line); }
.nav {
  position: relative;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .mark-dot { fill: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.4vw, 10px);
}
.nav-links a {
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out);
}
.nav-links a:hover { color: var(--ink-900); background: rgba(13,22,38,.05); }
.nav-links a.active { color: var(--ink-900); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: var(--s-3); }
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  position: relative;
  width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px;
  transition: background var(--dur-1) var(--ease-out);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--ink-900); border-radius: 2px;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Mobile nav ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  padding: calc(var(--nav-h) + 24px) clamp(20px, 6vw, 48px) 40px;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--dur-3) var(--ease-out),
              opacity var(--dur-3) var(--ease-out),
              visibility var(--dur-3);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink-900);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(16px);
}
.mobile-menu.open a {
  animation: menuIn var(--dur-3) var(--ease-out) forwards;
}
.mobile-menu.open a:nth-child(1) { animation-delay: .06s; }
.mobile-menu.open a:nth-child(2) { animation-delay: .12s; }
.mobile-menu.open a:nth-child(3) { animation-delay: .18s; }
.mobile-menu.open a:nth-child(4) { animation-delay: .24s; }
.mobile-menu.open a:nth-child(5) { animation-delay: .30s; }
.mobile-menu.open a:nth-child(6) { animation-delay: .36s; }
.mobile-menu .m-cta { margin-top: var(--s-6); }
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }
body.menu-open { overflow: hidden; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(40px, 8vw, 90px));
  padding-bottom: clamp(60px, 9vw, 120px);
  overflow: hidden;
}
.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  will-change: transform;
}
.orb.o1 { width: 460px; height: 460px; top: -120px; right: -80px;
  background: radial-gradient(circle at 30% 30%, var(--gold-soft), transparent 70%); }
.orb.o2 { width: 380px; height: 380px; bottom: -140px; left: -100px;
  background: radial-gradient(circle at 40% 40%, #cdd9ec, transparent 70%); opacity: .5; }
.orb.o3 { width: 300px; height: 300px; top: 40%; left: 55%;
  background: radial-gradient(circle at 50% 50%, #f0e0c0, transparent 70%); opacity: .4; }
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 62rem; }
.hero h1 { margin-top: var(--s-5); }
.hero .lead { margin-top: var(--s-5); font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.hero-actions { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.hero-meta {
  margin-top: var(--s-8);
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.hero-stat .n { font-family: var(--font-serif); font-size: clamp(2rem,4vw,2.8rem); color: var(--ink-900); line-height: 1; }
.hero-stat .n .plus { color: var(--gold); }
.hero-stat .l { margin-top: 6px; font-size: .9rem; color: var(--text-mute); }

/* Word reveal animation */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-out);
}
.hero.is-in .reveal-line > span { transform: translateY(0); }
.hero.is-in .reveal-line:nth-child(2) > span { transition-delay: .08s; }
.hero.is-in .reveal-line:nth-child(3) > span { transition-delay: .16s; }
.accent-serif { font-style: italic; color: var(--gold); }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              border-color var(--dur-2) var(--ease-out);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }

.icon-badge {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--paper-2);
  color: var(--ink-900);
  margin-bottom: var(--s-5);
  transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.icon-badge svg { width: 26px; height: 26px; }
.card:hover .icon-badge { background: var(--ink-900); color: var(--gold-soft); }
.card h3 { margin-bottom: var(--s-3); }
.card p { font-size: 0.98rem; }
.card-list { margin-top: var(--s-4); display: grid; gap: 8px; }
.card-list li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--text-soft); }
.card-list li svg { color: var(--gold); flex: none; margin-top: 3px; }

/* Numbered process card */
.step { position: relative; padding-top: var(--s-5); }
.step .num {
  font-family: var(--font-serif);
  font-size: 3.4rem; line-height: 1;
  color: var(--paper-2);
  -webkit-text-stroke: 1px var(--line-2);
  position: absolute; top: -14px; right: 0;
}
.step .num.filled { color: var(--gold-soft); -webkit-text-stroke: 0; }
.step h3 { margin-bottom: var(--s-3); }

/* ---------- Work / portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); }
.work-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-thumb {
  aspect-ratio: 16 / 11;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.work-thumb .mock { width: 78%; transition: transform var(--dur-3) var(--ease-out); }
.work-card:hover .work-thumb .mock { transform: translateY(-8px) scale(1.02); }
.work-body { padding: clamp(20px, 2.4vw, 30px); display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); }
.work-body h3 { font-size: 1.35rem; margin-bottom: 6px; }
.work-body .cat { font-size: .82rem; color: var(--text-mute); letter-spacing: .04em; text-transform: uppercase; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); }
.tag {
  font-size: .78rem; font-weight: 500; color: var(--text-soft);
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--paper-2);
}
.work-round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink-900); color: var(--gold-soft); flex: none;
  transition: transform var(--dur-2) var(--ease-out); }
.work-card:hover .work-round { transform: rotate(-45deg); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: clamp(40px, 6vw, 80px); width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--font-serif); font-size: clamp(1.2rem, 2.4vw, 1.9rem); color: var(--text-mute); white-space: nowrap; display: flex; align-items: center; gap: 14px; }
.marquee-item::before { content: "✦"; color: var(--gold); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink-800), var(--ink-900));
  aspect-ratio: 4 / 3.4;
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
  padding: clamp(24px, 4vw, 48px);
}
.feature-list { margin-top: var(--s-6); display: grid; gap: var(--s-4); }
.feature-item { display: flex; gap: var(--s-4); align-items: flex-start; }
.feature-item .fi-ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--paper-2); color: var(--ink-900); }
.feature-item h4 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; color: var(--ink-900); margin-bottom: 2px; }
.feature-item p { font-size: 0.95rem; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--ink-900); color: var(--on-ink); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); }
.stats-band .grid { text-align: center; }
.stat-big .n { font-family: var(--font-serif); font-size: clamp(2.6rem, 6vw, 4rem); color: #fff; line-height: 1; }
.stat-big .n .plus, .stat-big .n .sym { color: var(--gold-bright); }
.stat-big .l { margin-top: 10px; color: var(--on-ink-soft); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: var(--s-5); height: 100%;
}
.quote-card .stars { color: var(--gold); display: flex; gap: 3px; }
.quote-card blockquote { font-family: var(--font-serif); font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.4; color: var(--ink-800); }
.quote-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote-avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 600; color: #fff; }
.quote-author .qa-name { font-weight: 600; color: var(--ink-900); font-size: .98rem; }
.quote-author .qa-role { font-size: .85rem; color: var(--text-mute); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 28px); align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price-card.featured { background: var(--ink-900); color: var(--on-ink); border-color: transparent; box-shadow: var(--shadow-lg); position: relative; }
.price-card.featured h3, .price-card.featured .price .amt { color: #fff; }
.price-card.featured p { color: var(--on-ink-soft); }
.price-card.featured .pc-feat li { color: var(--on-ink-soft); }
.price-badge { position: absolute; top: 20px; right: 20px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-900); background: var(--gold-bright); padding: 6px 12px; border-radius: var(--r-pill); }
.price-card h3 { font-size: 1.5rem; margin-bottom: var(--s-2); }
.price-card > p.pc-sub { font-size: .95rem; margin-bottom: var(--s-5); }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: var(--s-3); }
.price .from { font-size: .85rem; color: var(--text-mute); }
.price .amt { font-family: var(--font-serif); font-size: 2.8rem; color: var(--ink-900); line-height: 1; }
.price .per { font-size: .9rem; color: var(--text-mute); }
.pc-feat { margin: var(--s-5) 0 var(--s-6); display: grid; gap: 12px; }
.pc-feat li { display: flex; gap: 10px; font-size: .95rem; color: var(--text-soft); }
.pc-feat li svg { flex: none; margin-top: 3px; color: var(--gold); }
.price-card.featured .pc-feat li svg { color: var(--gold-bright); }
.price-card .btn { margin-top: auto; width: 100%; }

/* ---------- FAQ / Accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  padding: var(--s-5) 0; font-family: var(--font-serif); font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--ink-900); }
.faq-icon { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line-2); position: relative; transition: background var(--dur-2), color var(--dur-2); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq-icon::before { width: 13px; height: 2px; }
.faq-icon::after { width: 2px; height: 13px; transition: transform var(--dur-2) var(--ease-out); }
.faq-item.open .faq-icon { background: var(--ink-900); color: var(--gold-soft); border-color: var(--ink-900); }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height var(--dur-3) var(--ease-out); }
.faq-a-inner { padding-bottom: var(--s-6); max-width: 68ch; }
.faq-a-inner p { font-size: 1rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--ink-800), var(--ink-900) 60%);
  border-radius: var(--r-xl);
  padding: clamp(48px, 8vw, 100px) clamp(28px, 6vw, 80px);
  text-align: center; color: var(--on-ink);
}
.cta-band .orb { opacity: .35; }
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { color: var(--on-ink-soft); margin: var(--s-5) auto 0; max-width: 52ch; }
.cta-band .hero-actions { justify-content: center; margin-top: var(--s-7); }
.cta-band .btn-ghost { --btn-fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.cta-band .btn-ghost::before { background: #fff; }
.cta-band .btn-ghost:hover { --btn-fg: var(--ink-900); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-info .ci-item { display: flex; gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.contact-info .ci-item:last-child { border-bottom: none; }
.ci-ic { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-900); }
.ci-item h4 { font-family: var(--font-sans); font-size: .85rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 4px; }
.ci-item a, .ci-item p { font-size: 1.05rem; color: var(--ink-900); font-weight: 500; }
.ci-item a:hover { color: var(--gold); }

.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-md); }
.field { margin-bottom: var(--s-5); }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink-800); margin-bottom: 8px; }
.field label .req { color: var(--gold); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; min-height: 52px;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-size: 1rem; color: var(--ink-900);
  transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out), background var(--dur-1);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); background: var(--card);
  box-shadow: 0 0 0 4px rgba(169,128,63,.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); opacity: .8; }
.field .helper { font-size: .82rem; color: var(--text-mute); margin-top: 6px; }
.field .error-msg { font-size: .82rem; color: #c0392b; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.field.invalid .error-msg { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form-status { margin-top: var(--s-4); padding: 14px 16px; border-radius: var(--r-sm); font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #eef7ef; color: #1e6b34; border: 1px solid #cbe6d0; }
.form-status.error { background: #fceeec; color: #a4302a; border: 1px solid #f2d0cc; }
.form-submit { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-2); }
.form-note { font-size: .85rem; color: var(--text-mute); }
.btn.loading { pointer-events: none; }
.btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.loading .spinner { display: block; }
.btn.loading .btn-label, .btn.loading .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 72px)); padding-bottom: clamp(40px, 6vw, 64px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-top: var(--s-4); font-size: clamp(2.4rem, 6vw, 4.2rem); }
.page-hero .lead { margin-top: var(--s-5); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .88rem; color: var(--text-mute); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: .5; }

/* ---------- About / values ---------- */
.value-item { padding: var(--s-6) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: var(--s-6); align-items: start; }
.value-item .vi-num { font-family: var(--font-serif); font-size: 1.1rem; color: var(--gold); padding-top: 4px; }
.value-item h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: var(--s-3); }
.value-item p { max-width: 60ch; }

.team-card { text-align: center; }
.team-avatar { width: 100%; aspect-ratio: 1; border-radius: var(--r-lg); display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 3rem; color: #fff; margin-bottom: var(--s-4); }
.team-card h3 { font-size: 1.25rem; margin-bottom: 2px; }
.team-card .role { font-size: .9rem; color: var(--gold); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--on-ink-soft); padding-top: clamp(56px, 8vw, 96px); margin-top: clamp(48px, 8vw, 96px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 48px); padding-bottom: var(--s-8); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; margin-bottom: var(--s-4); }
.footer-brand p { color: var(--on-ink-soft); max-width: 36ch; font-size: .95rem; }
.footer-col h4 { font-family: var(--font-sans); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: var(--s-4); }
.footer-col a { display: block; padding: 7px 0; color: var(--on-ink-soft); font-size: .95rem; transition: color var(--dur-1), padding var(--dur-1); }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; padding: var(--s-6) 0; font-size: .88rem; }
.footer-bottom p { color: var(--on-ink-soft); }
.footer-bottom .fb-links { display: flex; gap: var(--s-5); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.96); }
[data-reveal].in { transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.max-60 { max-width: 60ch; }
.mx-auto { margin-inline: auto; }
.section-foot { margin-top: var(--s-7); }
.divider { height: 1px; background: var(--line); border: 0; }
.grad-text { background: linear-gradient(120deg, var(--gold), var(--gold-bright)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Mini browser mockup used in media panels */
.mock-window { width: 100%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #f3f0ea; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.mock-bar i:nth-child(1){ background:#ec6a5e; } .mock-bar i:nth-child(2){ background:#f4bf50; } .mock-bar i:nth-child(3){ background:#61c554; }
.mock-bar .mock-url { margin-left: 10px; height: 20px; flex: 1; background: #fff; border-radius: 6px; border: 1px solid var(--line); }
.mock-content { padding: 18px; display: grid; gap: 12px; }
.mock-line { height: 12px; border-radius: 6px; background: var(--paper-2); }
.mock-line.g { background: linear-gradient(90deg, var(--gold-soft), var(--gold-bright)); }
.mock-line.w60 { width: 60%; } .mock-line.w40 { width: 40%; } .mock-line.w80 { width: 80%; }
.mock-blocks { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 4px; }
.mock-block { aspect-ratio: 1; border-radius: 10px; background: var(--paper-2); }
.mock-block:nth-child(2){ background: var(--gold-soft); }

/* Floating badge on media */
.float-badge { position: absolute; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.float-badge .fb-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--gold); color: #fff; flex: none; }
.float-badge .fb-t { font-weight: 700; color: var(--ink-900); font-size: 1.05rem; line-height: 1; }
.float-badge .fb-s { font-size: .78rem; color: var(--text-mute); }
.float-badge.b1 { bottom: 18px; left: -22px; animation: floaty 5s ease-in-out infinite; }
.float-badge.b2 { top: 26px; right: -18px; animation: floaty 6s ease-in-out infinite .6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card.featured { order: -1; }
  /* Tablet portrait (768–834px): 3- and 4-up grids would be cramped,
     so drop them to a comfortable 2-up. Phones go 1-up below (≤760). */
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-band .cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .value-item { grid-template-columns: 1fr; gap: var(--s-3); }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-badge { display: none; }
  .hero-meta { gap: 28px; }
}
@media (max-width: 480px) {
  .stats-band .cols-4 { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .reveal-line > span { transform: none !important; }
  .orb, .marquee-track, .float-badge { animation: none !important; }
}

/* ============================================================
   SCROLL-REVEAL HERO (home) — "frame opens" clip-path + zoom-out
   Recreated in vanilla from the smooth-scroll-hero idea.
   Uses clip-path + transform/opacity only; rAF-throttled scroll.
   NOTE: keep the 1000px below in sync with SCROLL_H in main.js.
   ============================================================ */
.scroll-hero{
  position:relative;
  width:100%;
  height:100vh; height:100svh;        /* single screen; video plays, no scroll track */
  background:var(--ink-900);          /* dark surround framing the video */
}
.scroll-hero-sticky{
  position:sticky; top:0;
  height:100vh; height:100svh;
  width:100%;
  overflow:hidden; isolation:isolate;
  color:#fff;
}
/* Full-bleed background — the video simply plays, unaffected by scroll */
.scroll-hero-bg{
  position:absolute; inset:0; z-index:0;
  background:#000;
}
.scroll-hero-video{
  width:100%; height:100%; object-fit:cover;
  opacity:0; transition:opacity 1.2s var(--ease-out);    /* entrance fade */
}
.scroll-hero.is-loaded .scroll-hero-video{opacity:1;}
.scroll-hero-bg::after{                                   /* readability scrim inside frame */
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(13,22,38,.5) 0%, rgba(13,22,38,.24) 40%, rgba(13,22,38,.62) 100%);
}
/* Content overlay — NOT clipped, always readable */
.scroll-hero-content{
  position:absolute; inset:0; z-index:2;
  display:flex; flex-direction:column; justify-content:center;
  pointer-events:none;
}
.scroll-hero-inner{
  width:100%; max-width:var(--container);
  margin-inline:auto; padding:0 clamp(20px,5vw,40px);
}
.scroll-hero-inner > *{pointer-events:auto;}

.sh-reveal{opacity:0;transform:translateY(30px);transition:opacity 1.2s var(--ease-out),transform 1.2s var(--ease-out);will-change:opacity,transform;}
.scroll-hero.is-loaded .sh-reveal{opacity:1;transform:translateY(0);}
.scroll-hero.is-loaded .sh-r0{transition-delay:.25s;}
.scroll-hero.is-loaded .sh-r1{transition-delay:.5s;}    /* headline */
.scroll-hero.is-loaded .sh-r2{transition-delay:.75s;}   /* subtext (+0.25s) */
.scroll-hero.is-loaded .sh-r3{transition-delay:1s;}     /* CTAs (+0.25s) */

.sh-eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:.78rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--gold-bright);margin-bottom:22px;
}
.sh-eyebrow::before{content:"";width:28px;height:1px;background:var(--gold-bright);opacity:.7;}
.scroll-hero h1{
  font-family:var(--font-serif);font-weight:500;
  font-size:clamp(2.7rem,6.4vw,5rem);
  line-height:1.03;letter-spacing:-.025em;color:#fff;text-wrap:balance;
  max-width:20ch;
}
.scroll-hero h1 em{font-style:italic;color:var(--gold-bright);}
.sh-sub{
  margin-top:24px;
  font-size:clamp(1.05rem,1.7vw,1.32rem);line-height:1.6;
  color:rgba(255,255,255,.85);max-width:44ch;
}
.sh-actions{margin-top:38px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;}
.scroll-hero .btn-ghost{--btn-fg:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);}
.scroll-hero .btn-ghost::before{background:#fff;}
.scroll-hero .btn-ghost:hover{color:var(--ink-900);box-shadow:inset 0 0 0 1px transparent, var(--shadow-md);}

/* Scroll indicator — bobbing mouse, fades once scrolling begins (JS opacity) */
.scroll-hero-indicator{
  position:absolute;left:50%;bottom:26px;transform:translateX(-50%);
  z-index:3;display:flex;color:rgba(255,255,255,.85);
  opacity:0;transition:opacity .6s var(--ease-out);
}
.scroll-hero.is-loaded .scroll-hero-indicator{opacity:1;transition-delay:1s;}
.sh-bob{display:flex;flex-direction:column;align-items:center;gap:9px;animation:shBob 2.4s ease-in-out infinite;}
.sh-mouse{width:26px;height:42px;border-radius:14px;border:2px solid rgba(255,255,255,.7);display:flex;justify-content:center;padding-top:7px;}
.sh-wheel{width:4px;height:8px;border-radius:2px;background:#fff;animation:shWheel 1.6s var(--ease-out) infinite;}
.sh-scroll-label{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;font-weight:500;}
@keyframes shWheel{0%{opacity:0;transform:translateY(-3px);}30%{opacity:1;}60%{opacity:1;transform:translateY(6px);}100%{opacity:0;transform:translateY(10px);}}
@keyframes shBob{0%,100%{transform:translateY(0);}50%{transform:translateY(7px);}}

/* Header sitting over the dark hero (only at the very top, menu closed) */
body.hero-dark .site-header:not(.scrolled) .brand{color:#fff;}
body.hero-dark .site-header:not(.scrolled) .nav-links a{color:rgba(255,255,255,.82);}
body.hero-dark .site-header:not(.scrolled) .nav-links a:hover{color:#fff;background:rgba(255,255,255,.14);}
body.hero-dark .site-header:not(.scrolled) .nav-links a.active{color:#fff;}
body.hero-dark .site-header:not(.scrolled) .nav-cta > .btn{background:transparent;box-shadow:inset 0 0 0 1px rgba(255,255,255,.4);}
body.hero-dark:not(.menu-open) .site-header:not(.scrolled) .nav-toggle span,
body.hero-dark:not(.menu-open) .site-header:not(.scrolled) .nav-toggle span::before,
body.hero-dark:not(.menu-open) .site-header:not(.scrolled) .nav-toggle span::after{background:#fff;}

/* Reduced motion: no reveal animation — show a normal full-screen video hero */
@media (prefers-reduced-motion:reduce){
  .scroll-hero{height:100vh;}
  .scroll-hero-bg{clip-path:polygon(0 0,100% 0,100% 100%,0 100%) !important;}
  .scroll-hero-video{opacity:1 !important;transform:none !important;transition:none !important;}
  .sh-reveal{opacity:1 !important;transform:none !important;transition:none !important;}
  .sh-wheel,.sh-bob{animation:none !important;}
}

/* ============================================================
   AMBIENT BACKGROUND — soft colour-wash, drifting orbs, grain.
   Subtle + performant (transform/opacity only). Lifts the flat
   cream sections without looking flashy. Respects reduced motion.
   ============================================================ */

/* Soft brand-tinted blooms behind all content (transparent sections
   reveal it; solid paper-2 sections keep their crisp breaks). */
body::before{
  content:"";
  position:fixed; inset:-25%;
  z-index:-1; pointer-events:none;
  background:
    radial-gradient(600px 520px at 16% 22%, rgba(201,154,83,.10), transparent 60%),
    radial-gradient(720px 620px at 84% 30%, rgba(44,64,95,.08), transparent 60%),
    radial-gradient(640px 560px at 50% 92%, rgba(230,211,168,.13), transparent 62%);
  will-change: transform;
  animation: bgDrift 26s ease-in-out infinite alternate;
}
@keyframes bgDrift{
  from{ transform: translate3d(0,0,0) scale(1); }
  to{   transform: translate3d(1.5%,-3%,0) scale(1.06); }
}

/* Fine film grain over everything for a richer, less-flat surface. */
body::after{
  content:"";
  position:fixed; inset:0;
  z-index:3; pointer-events:none;
  opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:160px 160px;
}

/* Gently drifting orbs (hero + CTA blobs come alive). The .hero-orbs
   container still gets a cursor nudge from JS, composing with this. */
@media (prefers-reduced-motion: no-preference){
  .orb{ animation: orbFloat 17s ease-in-out infinite; }
  .orb.o2{ animation-duration: 21s; animation-delay: -5s; }
  .orb.o3{ animation-duration: 19s; animation-delay: -9s; }
}
@keyframes orbFloat{
  0%,100%{ transform: translate3d(0,0,0) scale(1); }
  33%{ transform: translate3d(26px,-20px,0) scale(1.07); }
  66%{ transform: translate3d(-20px,16px,0) scale(.96); }
}

/* A touch more presence for inner-page heroes. */
.page-hero{ background: radial-gradient(1100px 480px at 78% -12%, rgba(201,154,83,.07), transparent 60%); }

@media (prefers-reduced-motion: reduce){
  body::before{ animation: none !important; }
  .orb{ animation: none !important; }
}

/* ============================================================
   "$10K" REFINEMENT LAYER — depth, editorial type, premium detail.
   Loaded last so it refines the base without touching structure.
   ============================================================ */

/* Premium text selection + smoother rendering */
::selection{ background: rgba(169,128,63,.22); color: var(--ink-900); }

/* Editorial display typography — bigger, tighter, with ligatures */
h1, h2, h3, .grad-text{ font-feature-settings:"liga" 1,"dlig" 1,"kern" 1; }
.h-display, .scroll-hero h1{ letter-spacing:-.035em; }
.page-hero h1{ font-size: clamp(2.9rem, 7.4vw, 5.4rem); letter-spacing:-.035em; line-height:1.0; }
.section-title{ letter-spacing:-.025em; }
.lead{ color: var(--text-soft); }

/* Tabular figures so numbers never jitter */
.stat-big .n, .price .amt, .hero-stat .n, .price .per, .step .num, .vi-num, .value-item .vi-num{ font-variant-numeric: tabular-nums; }

/* Animated gold shimmer on accent text (subtle) */
.grad-text{
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-bright) 35%, #e7cf9c 50%, var(--gold-bright) 65%, var(--gold) 100%);
  background-size: 220% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation: goldShimmer 7s linear infinite;
}
@keyframes goldShimmer{ to{ background-position: -220% 0; } }

/* Refined eyebrow rule */
.eyebrow{ color: var(--gold); }

/* ---------- Cards: subtle depth + gold-tinted hover ---------- */
.card{
  background: linear-gradient(180deg, #ffffff, #fdfbf7);
  border: 1px solid rgba(13,22,38,.07);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 2px 10px rgba(13,22,38,.05);
}
.card:hover{
  transform: translateY(-6px);
  border-color: rgba(169,128,63,.38);
  box-shadow: 0 30px 60px rgba(13,22,38,.12), 0 12px 26px rgba(13,22,38,.07), 0 0 0 1px rgba(169,128,63,.10);
}
.icon-badge{ box-shadow: inset 0 0 0 1px rgba(13,22,38,.05); }

/* ---------- Mock browser → reads like a real premium landing page ---------- */
.mock-window{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 34px 70px rgba(13,22,38,.30), 0 10px 24px rgba(13,22,38,.16);
}
.mock-bar{ padding: 11px 14px; background: linear-gradient(#fbf9f5,#f2eee6); border-bottom:1px solid rgba(13,22,38,.06); }
.mock-bar i{ width:9px; height:9px; }
.mock-bar .mock-url{ height:22px; border-radius:7px; background:#fff; border:1px solid rgba(13,22,38,.07); position:relative; }
.mock-bar .mock-url::before{ content:""; position:absolute; left:9px; top:50%; transform:translateY(-50%); width:7px; height:7px; border-radius:50%; background: var(--gold); }
.mock-content{ padding: 22px 20px 24px; gap: 11px; background:#fff; }
.mock-line{ height: 11px; border-radius: 6px; background:#ece5d7; }
.mock-line.g{ height: 8px; width: 62px !important; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); }
.mock-content .mock-line.w80{ height:16px; background:#d7d0c1; }
.mock-content .mock-line.w60{ height:16px; background:#e0dacc; }
.mock-blocks{ gap:11px; margin:5px 0; }
.mock-block{ border-radius:12px; box-shadow: inset 0 0 0 1px rgba(13,22,38,.04); }
.mock-block:nth-child(1){ background: linear-gradient(150deg,#f3ecdf,#e6d3a8); }
.mock-block:nth-child(2){ background: linear-gradient(150deg,#e0e7f3,#c9d6ea); }
.mock-block:nth-child(3){ background: linear-gradient(150deg,#efeaf7,#ddd1ee); }
/* final bar becomes a gold CTA pill */
.mock-content > .mock-line:last-child{
  height:22px; width:98px !important; border-radius:999px;
  background: linear-gradient(120deg, var(--gold), var(--gold-bright));
  box-shadow: 0 6px 14px rgba(169,128,63,.32);
}

/* ---------- Founder portrait ring (About) ---------- */
.team-avatar{ box-shadow: 0 0 0 6px rgba(255,255,255,.06), 0 0 0 7px rgba(201,154,83,.5), 0 24px 50px rgba(0,0,0,.35); }

/* ---------- Motion variety: clip-wipe reveal for headings ---------- */
[data-reveal="mask"]{ opacity:1; transform:none; clip-path: inset(0 106% 0 -6%); transition: clip-path 1s var(--ease-out); }
[data-reveal="mask"].in{ clip-path: inset(0 -6% 0 -6%); }

/* ---------- Refined dark bands ---------- */
.stats-band, .cta-band{ box-shadow: 0 40px 90px rgba(13,22,38,.30); }
.stats-band{ position:relative; overflow:hidden; }
.stats-band::before{ content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 15% 0%, rgba(201,154,83,.14), transparent 60%); pointer-events:none; }

/* ---------- Mobile conversion bar (injected by JS) ---------- */
.mobile-cta{
  position: fixed; left:0; right:0; bottom:0; z-index:80;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(250,247,241,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform var(--dur-2) var(--ease-out);
  display:none;
}
.mobile-cta.show{ transform: translateY(0); }
.mobile-cta .btn{ width:100%; }
@media (max-width: 760px){
  .mobile-cta{ display:block; }
  body.has-mobile-cta{ padding-bottom: 78px; }
}
body.menu-open .mobile-cta{ transform: translateY(120%); }

/* ---------- Mobile: designed, not shrunk ---------- */
@media (max-width: 760px){
  .page-hero h1{ font-size: clamp(2.4rem, 12vw, 3.2rem); }
  .scroll-hero h1{ font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .stats-band{ padding: 40px 26px; }
  .stats-band .grid{ gap: 28px 16px; }
  .stat-big .n{ font-size: clamp(2.2rem, 12vw, 3rem); }
  .split-media{ aspect-ratio: 16 / 12; }
  .cta-band .hero-actions .btn{ width:100%; }
}

/* Reduced motion for the additions */
@media (prefers-reduced-motion: reduce){
  .grad-text{ animation:none !important; }
  [data-reveal="mask"]{ clip-path:none !important; }
  .mobile-cta{ transition:none !important; }
}

/* ============================================================
   BRAND LOGO MARK — the real "B" logo (navy on light, cream on dark)
   ============================================================ */
.brand .mark{
  flex: none;
  height: 36px; width: 30px;
  background: url("../img/logo-mark.png") center / contain no-repeat;
}
.brand{ gap: 12px; }
/* Cream variant on dark surfaces */
.site-footer .brand .mark{ background-image: url("../img/logo-mark-light.png"); }
body.hero-dark .site-header:not(.scrolled) .brand .mark{ background-image: url("../img/logo-mark-light.png"); }
@media (max-width: 760px){ .brand .mark{ height: 32px; width: 27px; } }

/* ============================================================
   ENHANCEMENTS — depth (parallax), typographic polish, and
   page-level transitions. All opt-in and motion-safe.
   ============================================================ */

/* --- Parallax: JS writes --py; compositor-only transform --- */
[data-parallax]{ transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* --- Typographic polish --- */
/* Stop single-word orphans on the last line of body copy */
p, .lead, .sh-sub, .card-list li, .feature-item p{ text-wrap: pretty; }
h1, h2, h3, .section-title{ text-wrap: balance; }

/* Lining, evenly-spaced figures so prices and stats align optically */
.price .amt, .stat-big .n, .hero-stat .n, .fb-t, .marquee-item{
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1, "kern" 1;
}
/* Let quote marks hang into the margin so the text edge stays flush */
.quote-card blockquote{ hanging-punctuation: first last; }
/* Slightly tighter tracking as the serif scales up — large type needs less */
.scroll-hero h1{ letter-spacing: -.028em; }
.section-title{ letter-spacing: -.022em; }

/* --- Page transitions --- */
@media (prefers-reduced-motion: no-preference){
  /* `backwards`, not `both`: a filled animation would keep asserting
     opacity:1 after it ends and beat the .is-leaving fade below. */
  body{ animation: page-in .55s var(--ease-out) backwards; }
  body.is-leaving{ opacity: 0; transition: opacity .3s var(--ease-out); }
}
@keyframes page-in{ from{ opacity: 0; } to{ opacity: 1; } }

@media (prefers-reduced-motion: reduce){
  [data-parallax]{ transform: none !important; }
  body{ animation: none !important; }
  body.is-leaving{ opacity: 1 !important; }
}
/* The floating badges already animate `transform`, and animations outrank
   normal declarations — so the parallax offset has to be composed inside
   the keyframes rather than applied alongside them. */
@keyframes floaty {
  0%, 100% { transform: translate3d(0, var(--py, 0px), 0); }
  50%      { transform: translate3d(0, calc(var(--py, 0px) - 10px), 0); }
}
/* Long email addresses were being clipped at the right edge on 360px-wide
   phones (and `overflow-x: clip` on body meant they couldn't even be
   scrolled to). Let them break rather than run off the screen. */
.ci-item a,
.footer-col a[href^="mailto:"]{
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 400px){
  .ci-item a[href^="mailto:"]{ font-size: .95rem; }
}

/* ============================================================
   Cookie consent banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: clamp(16px, 4vw, 28px);
  right: clamp(16px, 4vw, 28px);
  bottom: clamp(16px, 4vw, 28px);
  z-index: 200;
  max-width: 640px;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: 0 18px 50px -12px rgba(13, 22, 38, 0.28);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s ease, transform .4s ease;
}
.cookie-banner.is-in { opacity: 1; transform: translateY(0); }
.cookie-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  padding: clamp(18px, 3vw, 24px);
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1 1 260px;
  margin: 0;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink-700);
}
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.cookie-actions .btn { padding: 12px 22px; font-size: .9rem; }
@media (max-width: 480px){
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; text-align: center; justify-content: center; }
}

/* ============================================================
   Legal / long-form prose pages (privacy, terms, cookies)
   ============================================================ */
.legal-hero {
  padding-block: clamp(120px, 16vw, 180px) clamp(32px, 6vw, 56px);
  background: var(--paper-2);
}
.legal-hero .eyebrow { margin-bottom: var(--s-4); }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal-hero .updated {
  margin-top: 14px;
  font-size: .9rem;
  color: var(--ink-600);
}
.prose {
  max-width: 70ch;
  margin-inline: auto;
  padding-block: clamp(40px, 7vw, 72px);
}
.prose h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  margin-top: 2.4em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 1.1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-top: 1.8em;
}
.prose p,
.prose li {
  color: var(--ink-700);
  line-height: 1.7;
  font-size: 1.02rem;
}
.prose p { margin-top: 1em; }
.prose ul { margin-top: 1em; padding-left: 1.2em; }
.prose li { margin-top: .5em; }
.prose a:not(.btn) { color: var(--gold); text-decoration: underline; }
.prose strong { color: var(--ink-900); }
.prose .btn { margin-top: 1.4em; }