/* =============================================================
   Orizq Studio — design system
   Bootstrap grid for layout + vanilla CSS for everything else.
   Premium / editorial direction (patterns adapted from a reference
   build), expressed in the Orizq brand: Ink + Provision Gold + Ivory,
   Space Grotesk.
   No Tailwind. No inline styles. Single Latin family (Space Grotesk).
   ============================================================= */

/* ============================ TOKENS ============================ */
:root {
  --ink:        #17130E;   /* warm near-black */
  --ink-900:    #100d09;
  --ink-800:    #221b12;   /* warm slate panel */
  --ink-700:    #2c2417;
  --gold:       #C7A24A;   /* Provision Gold */
  --gold-2:     #d8b75f;
  --gold-deep:  #ab8531;
  --champagne:  #E6D2A2;
  --ivory:      #F6F1E7;
  --ivory-200:  #ece6d8;
  --stone:      #7C7568;

  --c-text:  var(--ink);
  --c-muted: var(--stone);

  --ff: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container-max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-py: clamp(56px, 8vw, 120px);

  --radius: 6px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --header-h: 88px;

  --tracking-eyebrow: 0.22em;
  --tracking-label:   0.18em;
  --tracking-button:  0.12em;

  --hair-dk: rgba(246,241,231,0.12);   /* hairline on Ink */
  --hair-lt: rgba(23,19,14,0.12);       /* hairline on Ivory */
  --grad-gold: linear-gradient(120deg, #d8b75f 0%, #C7A24A 48%, #a87f2e 100%);
}

/* ============================ RESET / BASE ============================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--ff);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; background: none; border: none; color: inherit; padding: 0; }

::selection { background: var(--gold); color: var(--ink); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Ambient grain (decorative texture) */
.grain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--ivory); padding: 12px 16px; z-index: 1000; }
.skip-link:focus { left: 16px; top: 16px; }

.container-x { max-width: var(--container-max); padding-left: var(--gutter); padding-right: var(--gutter); margin: 0 auto; width: 100%; }

/* Small spacing/alignment utilities (bootstrap-grid omits these) */
.u-center { text-align: center; }
.u-mt-1 { margin-top: 16px; }
.u-mt-2 { margin-top: 28px; }
.u-mt-3 { margin-top: 40px; }
.work-list-more { margin-top: 36px; }

/* ============================ TYPOGRAPHY ============================ */
.eyebrow {
  font-size: 11px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  font-weight: 600; color: var(--gold); display: inline-block; line-height: 1.4;
}
.eyebrow em { font-style: normal; color: var(--ink); }
.eyebrow--invert em { color: var(--ivory); }
.eyebrow--right { color: var(--stone); }

.section-title {
  font-size: clamp(34px, 6vw, 88px); line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 600; margin: 16px 0 0; color: var(--ink); text-wrap: balance;
}
.section-title em { font-style: italic; font-weight: 400; }
.section-title--invert, .section-title--invert em { color: var(--ivory); }
.gold { color: var(--gold); }
.grad-gold {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============================ BUTTONS ============================ */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font-size: 13px; letter-spacing: var(--tracking-button);
  text-transform: uppercase; font-weight: 600; border-radius: var(--radius-pill);
  border: 1px solid transparent; white-space: nowrap; line-height: 1.2;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn svg { transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translate(3px, -3px); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--ink); color: var(--ivory); }

.btn-ghost { background: transparent; color: var(--ivory); border-color: rgba(246,241,231,0.3); }
.btn-ghost:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: var(--gold); color: var(--ink); }

.btn-lg { padding: 18px 30px; font-size: 14px; }

.pronounce {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px;
  letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(199,162,74,0.45); border-radius: var(--radius-pill); padding: 6px 14px;
}

/* ============================ HEADER (floating pill) ============================ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0; pointer-events: none; transition: padding .4s var(--ease); }
.site-header.is-scrolled { padding: 12px 0; }
.site-header > * { pointer-events: auto; }

.scroll-progress { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: rgba(246,241,231,0.06); z-index: 2; pointer-events: none; }
.scroll-progress__bar { display: block; height: 100%; width: 0; background: var(--gold); transform-origin: left center; transition: width .15s linear; }

.site-header__inner { display: flex; align-items: center; gap: 16px; }

.nav-pill, .cta-pill {
  display: inline-flex; align-items: center; border-radius: var(--radius-pill);
  border: 1px solid rgba(246,241,231,0.12); background: rgba(23,19,14,0.55);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 12px 40px -20px rgba(0,0,0,0.6);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.site-header.is-scrolled .nav-pill, .site-header.is-scrolled .cta-pill { background: rgba(16,13,9,0.82); border-color: rgba(246,241,231,0.16); }

.nav-pill { padding: 9px 22px 9px 16px; gap: 18px; flex: 1 1 auto; min-width: 0; }
.nav-pill__divider { width: 1px; height: 26px; background: rgba(246,241,231,0.14); flex: 0 0 auto; }

.site-header__brand { display: inline-flex; align-items: center; line-height: 0; flex: 0 0 auto; }
.brand-logo { height: 30px; width: auto; aspect-ratio: 1409 / 304; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 26px; }

.site-header__nav ul { display: flex; gap: 26px; list-style: none; padding: 0; margin: 0; }
.site-header__nav a { position: relative; color: rgba(246,241,231,0.82); font-size: 13px; letter-spacing: .05em; padding: 8px 2px; font-weight: 500; transition: color .3s var(--ease); }
.site-header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.site-header__nav a:hover { color: var(--ivory); }
.site-header__nav a:hover::after { transform: scaleX(1); }
.site-header__nav a.active { color: var(--gold); }
.site-header__nav a.active::after { transform: scaleX(1); }

.cta-pill { padding: 7px 7px 7px 20px; gap: 16px; flex: 0 0 auto; }
.cta-pill__status { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--ivory); font-weight: 500; line-height: 1; }
.cta-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); position: relative; }
.cta-pill__dot::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--gold); opacity: .5; animation: pulseDot 2.4s ease-out infinite; }
@keyframes pulseDot { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.cta-pill .btn { padding: 12px 20px; }

/* Mobile menu — native <details> disclosure (keyboard-accessible, works without JS) */
.mobile-nav { display: none; flex: 0 0 auto; }
.mobile-nav > summary {
  list-style: none; width: 50px; height: 50px; border-radius: var(--radius-pill);
  background: rgba(23,19,14,0.6); border: 1px solid rgba(246,241,231,0.12);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  position: relative; cursor: pointer; display: block;
}
.mobile-nav > summary::-webkit-details-marker { display: none; }
.mobile-nav > summary::marker { content: ""; }
.site-header__toggle span { display: block; position: absolute; left: 15px; right: 15px; height: 1.4px; background: var(--ivory); transition: transform .35s var(--ease), top .35s var(--ease); }
.site-header__toggle span:nth-child(1) { top: 20px; }
.site-header__toggle span:nth-child(2) { top: 28px; }
.mobile-nav[open] .site-header__toggle span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.mobile-nav[open] .site-header__toggle span:nth-child(2) { top: 24px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; height: 100dvh; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px;
  padding: 100px 24px 60px; z-index: 90; transform: translateY(-100%); visibility: hidden;
  transition: transform .55s var(--ease-out), visibility 0s linear .55s;
}
.mobile-nav[open] .mobile-menu { transform: translateY(0); visibility: visible; transition: transform .55s var(--ease-out); }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 22px; align-items: center; }
.mobile-menu a { color: var(--ivory); font-size: 30px; font-weight: 600; letter-spacing: -0.01em; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold); }

/* ============================ HERO ============================ */
.hero {
  position: relative; background: var(--ink); color: var(--ivory);
  min-height: 100svh; padding-top: calc(var(--header-h) + 24px); padding-bottom: 56px;
  overflow: hidden; display: flex; align-items: stretch;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; top: -10%; right: -6%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle, rgba(199,162,74,0.18), rgba(199,162,74,0) 62%); }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(246,241,231,0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(246,241,231,0.04) 1px, transparent 1px);
  background-size: 8.333% 100px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, black 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 60%, black 0%, transparent 75%);
}
.hero__orb { position: absolute; right: -8%; top: 50%; transform: translateY(-50%); width: clamp(540px, 70vw, 1080px); height: clamp(540px, 70vw, 1080px); filter: drop-shadow(0 0 80px rgba(199,162,74,0.16)); }
.hero__ring { transform-origin: 400px 400px; animation: spin 60s linear infinite; }
.hero__ring--2 { animation-duration: 90s; animation-direction: reverse; }
.hero__ring--3 { animation-duration: 130s; }
.hero__ring--4 { animation-duration: 200s; animation-direction: reverse; }
.hero__dot-group { transform-origin: 400px 400px; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; width: 100%; }
.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--hair-dk); padding-top: 16px; flex-wrap: wrap; }

.hero-title { margin: clamp(24px, 5vw, 52px) 0 0; font-size: clamp(34px, 5.4vw, 82px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; color: var(--ivory); }
.hero-title .line { display: block; padding-bottom: 0.04em; }
.hero-title em { font-style: italic; font-weight: 300; color: rgba(246,241,231,0.6); }
.hero-title .dot { color: var(--gold); }

.hero__bottom { margin-top: auto; padding-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.hero__sub { max-width: 520px; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; color: rgba(246,241,231,0.78); margin: 0; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

.hero__scroll { position: absolute; bottom: 18px; left: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(246,241,231,0.55); }
.hero__scroll-line { width: 1px; height: 52px; background: linear-gradient(to bottom, rgba(246,241,231,0.5), rgba(246,241,231,0)); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold); animation: scrollDrip 2.6s var(--ease-out) infinite; }
@keyframes scrollDrip { 0% { top: -50%; } 100% { top: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .hero__ring, .hero__dot-group, .hero__scroll-line::after, .cta-pill__dot::before { animation: none; }
}

/* Interior page header (compact hero) */
.page-header {
  position: relative; overflow: hidden; background: var(--ink); color: var(--ivory);
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 80px)); padding-bottom: clamp(40px, 7vw, 72px);
}
.page-header .hero__glow { top: -30%; }
.page-header__inner { position: relative; z-index: 2; }
.page-header h1 { font-size: clamp(38px, 6.5vw, 92px); line-height: 1.03; letter-spacing: -0.03em; font-weight: 600; color: var(--ivory); margin: 14px 0 0; text-wrap: balance; }
.page-header h1 em { font-style: italic; font-weight: 300; color: rgba(246,241,231,0.62); }
.page-header h1 .gold { color: var(--gold); }
.page-header__lede { max-width: 600px; margin: 22px 0 0; font-size: clamp(15px,1.2vw,18px); line-height: 1.6; color: rgba(246,241,231,0.78); }

/* ============================ TICKER ============================ */
.ticker { background: var(--ink-900); color: var(--ivory); border-top: 1px solid var(--hair-dk); border-bottom: 1px solid var(--hair-dk); overflow: hidden; padding: 22px 0; }
.ticker__track { display: flex; gap: 48px; align-items: center; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; }
.ticker__track span { font-size: clamp(16px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.01em; }
.ticker__track .ticker__dot { color: var(--gold); font-size: 10px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ============================ SECTIONS ============================ */
.section { padding: var(--section-py) 0; position: relative; }
.surface-ink { background: var(--ink); color: var(--ivory); }
.surface-ivory { background: var(--ivory); color: var(--ink); }
.surface-soft { background: var(--ivory-200); color: var(--ink); }
.surface-slate { background: var(--ink-800); color: var(--ivory); }

.section__header { margin-bottom: clamp(32px, 4vw, 60px); }
.section__header--split { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.section__lede { max-width: 400px; color: var(--stone); font-size: 16px; line-height: 1.55; margin: 0; }
.surface-ink .section__lede, .surface-slate .section__lede { color: rgba(246,241,231,0.6); }
.section__body { margin-top: clamp(20px, 2.8vw, 32px); }
.section__body p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: #3a342b; margin: 0 0 14px; max-width: 60ch; }
.surface-ink .section__body p, .surface-slate .section__body p { color: rgba(246,241,231,0.78); }

/* ============================ SERVICES (slide-up grid) ============================ */
.services { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--hair-lt); border-left: 1px solid var(--hair-lt); }
.service { position: relative; padding: 36px 32px 40px; border-right: 1px solid var(--hair-lt); border-bottom: 1px solid var(--hair-lt); background: var(--ivory); overflow: hidden; min-height: 220px; display: flex; flex-direction: column; transition: color .5s var(--ease); }
.service::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .6s var(--ease-out); z-index: 0; }
.service:hover::before { transform: translateY(0); }
.service:hover { color: var(--ivory); }
.service > * { position: relative; z-index: 1; }
.service__num { font-size: 12px; letter-spacing: var(--tracking-label); color: var(--gold); font-weight: 600; }
.service__title { margin: 20px 0 12px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.service__copy { font-size: 15px; line-height: 1.6; color: var(--stone); margin: 0; max-width: 36ch; transition: color .5s var(--ease); }
.service:hover .service__copy { color: rgba(246,241,231,0.78); }
.service__arrow { position: absolute; right: 28px; top: 32px; color: var(--ink); opacity: 0; transform: translate(-8px, 8px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .5s var(--ease); z-index: 2; }
.service:hover .service__arrow { opacity: 1; transform: translate(0,0); color: var(--gold); }

/* ============================ WORK (numbered, hover-reveal) ============================ */
.work-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hair-dk); }
.surface-ivory .work-list { border-top-color: var(--hair-lt); }
.work-item { border-bottom: 1px solid var(--hair-dk); position: relative; }
.surface-ivory .work-item { border-bottom-color: var(--hair-lt); }
.work-item__link { display: block; padding: 26px 0; position: relative; overflow: hidden; }
.work-item__row { display: grid; grid-template-columns: 56px 1.4fr 1fr auto; gap: 28px; align-items: center; }
.work-item__num { font-size: 12px; letter-spacing: var(--tracking-label); color: var(--gold); font-weight: 600; }
.work-item__title { margin: 0; font-size: clamp(26px, 4vw, 54px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; transition: transform .5s var(--ease-out), color .4s var(--ease); text-wrap: balance; }
.work-item__tag { font-size: 12px; letter-spacing: var(--tracking-label); text-transform: uppercase; color: rgba(246,241,231,0.55); font-weight: 500; line-height: 1.4; }
.surface-ivory .work-item__tag { color: var(--stone); }
.work-item__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: var(--tracking-button); text-transform: uppercase; color: inherit; border: 1px solid currentColor; padding: 10px 16px; border-radius: var(--radius-pill); white-space: nowrap; line-height: 1; opacity: 0.6; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), opacity .4s var(--ease); }
.work-item:hover .work-item__cta { background: var(--gold); color: var(--ink); border-color: var(--gold); opacity: 1; }
.work-item__desc { margin: 14px 0 0; padding-left: 84px; max-width: 70ch; font-size: 15px; line-height: 1.55; color: rgba(246,241,231,0.62); }
.surface-ivory .work-item__desc { color: var(--stone); }
.work-item:hover .work-item__title { color: var(--gold); transform: translateX(8px); }
.work-item__media { position: absolute; right: 12%; top: 50%; transform: translate(40px, -50%) scale(0.85); width: 320px; height: 200px; border-radius: 8px; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease), transform .6s var(--ease-out); z-index: 3; overflow: hidden; border: 1px solid var(--hair-dk); background: var(--ink-800); box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6); }
.work-item__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.work-item:hover .work-item__media { opacity: 1; transform: translate(0, -50%) scale(1); }
@media (max-width: 991.98px) { .work-item__media { display: none; } }

/* ============================ PROCESS ============================ */
.process { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair-lt); }
.surface-ink .process { border-top-color: var(--hair-dk); }
.process__step { padding: 28px 24px 36px; border-right: 1px solid var(--hair-lt); position: relative; }
.surface-ink .process__step { border-right-color: var(--hair-dk); }
.process__step:first-child { padding-left: 0; }
.process__step:last-child { border-right: none; padding-right: 0; }
.process__step::before { content: ""; position: absolute; top: -1px; left: 24px; width: 28px; height: 2px; background: var(--gold); }
.process__step:first-child::before { left: 0; }
.process__num { display: inline-block; font-size: 12px; letter-spacing: var(--tracking-eyebrow); color: var(--gold); font-weight: 600; }
.process__title { margin: 40px 0 12px; font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.process__copy { margin: 0; font-size: 15px; line-height: 1.6; color: var(--stone); max-width: 32ch; }
.surface-ink .process__title { color: var(--ivory); }
.surface-ink .process__copy { color: rgba(246,241,231,0.62); }

/* ============================ DIFFERENTIATOR ============================ */
.section--differ { position: relative; overflow: hidden; }
.section--differ::before, .section--differ::after { content: ""; position: absolute; right: -180px; top: 50%; border-radius: 50%; border: 1px solid rgba(199,162,74,0.15); transform: translateY(-50%); pointer-events: none; }
.section--differ::before { width: 520px; height: 520px; }
.section--differ::after { right: -120px; width: 320px; height: 320px; border-color: rgba(199,162,74,0.22); }
.section--differ > * { position: relative; z-index: 1; }
.differ__body { padding-top: 20px; }
.differ__body p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: rgba(246,241,231,0.78); margin: 0 0 20px; max-width: 56ch; }
.differ__list { list-style: none; padding: 0; margin: 20px 0; border-top: 1px solid var(--hair-dk); }
.differ__list li { padding: 14px 0; border-bottom: 1px solid var(--hair-dk); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--ivory); }
.differ__list li::first-letter { color: var(--gold); }
.differ__close { color: var(--champagne); font-style: italic; }

/* ============================ TESTIMONIALS ============================ */
.section--testimonials { position: relative; overflow: hidden; }
.section--testimonials::before, .section--testimonials::after { content: ""; position: absolute; left: -120px; top: 18%; border-radius: 50%; border: 1px solid rgba(199,162,74,0.12); pointer-events: none; }
.section--testimonials::before { width: 360px; height: 360px; }
.section--testimonials::after { left: -60px; width: 240px; height: 240px; border-color: rgba(199,162,74,0.18); }
.section--testimonials > * { position: relative; z-index: 1; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair-dk); }
.testimonial { margin: 0; padding: 40px 32px 36px 0; border-right: 1px solid var(--hair-dk); position: relative; display: flex; flex-direction: column; gap: 22px; }
.testimonial:last-child { border-right: none; padding-right: 0; }
.testimonial:not(:first-child) { padding-left: 36px; }
.testimonial::before { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 2px; background: var(--gold); }
.testimonial:not(:first-child)::before { left: 36px; }
.testimonial__mark { color: var(--gold); opacity: .9; }
.testimonial__quote { margin: 0; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.5; color: var(--ivory); max-width: 36ch; flex: 1; }
.testimonial__person { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; border-top: 1px solid var(--hair-dk); }
.testimonial__name { font-size: 14px; font-weight: 600; color: var(--ivory); line-height: 1.4; }
.testimonial__role { font-size: 11px; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--gold); font-weight: 500; }

/* ============================ STAT STRIP ============================ */
.stat-strip { border-top: 1px solid var(--hair-lt); border-bottom: 1px solid var(--hair-lt); }
.surface-ink .stat-strip { border-color: var(--hair-dk); }
.stat { padding: 8px 0; }
.stat__num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat__label { color: var(--stone); font-size: 14px; margin-top: 8px; }
.surface-ink .stat__label { color: rgba(246,241,231,0.6); }

/* ============================ STORY / NAME ============================ */
.story-grid { align-items: center; }
.story-icon { width: clamp(150px, 26vw, 240px); height: auto; margin: 0 auto; border-radius: 22px; }
.story-photo { width: 100%; height: auto; border-radius: 18px; }
.definition-list { list-style: none; padding: 0; margin: 0; }
.definition-list li { padding: 16px 0; border-top: 1px solid var(--hair-lt); display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.surface-ink .definition-list li, .surface-slate .definition-list li { border-top-color: var(--hair-dk); }
.definition-list li:last-child { border-bottom: 1px solid var(--hair-lt); }
.surface-ink .definition-list li:last-child, .surface-slate .definition-list li:last-child { border-bottom-color: var(--hair-dk); }
.definition-list .term { font-weight: 600; color: var(--gold); }

.facts-table { width: 100%; border-collapse: collapse; }
.facts-table th, .facts-table td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; border-top: 1px solid var(--hair-lt); }
.facts-table th { width: 240px; color: var(--gold); font-weight: 600; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 1px solid var(--hair-lt); }

/* ============================ FAQ (native details) ============================ */
.faq { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--hair-lt); }
.faq__item { border-bottom: 1px solid var(--hair-lt); }
.faq__item > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__toggle { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; background: var(--gold); transition: transform .35s var(--ease); }
.faq__toggle::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__toggle::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item[open] .faq__toggle::after { transform: scaleY(0); }
.faq__answer { padding: 0 0 24px; max-width: 70ch; color: #3a342b; font-size: 16px; line-height: 1.6; }
.faq__answer p { margin: 0; }

/* ============================ CONTACT ============================ */
.section--contact { position: relative; overflow: hidden; }
.section--contact::before, .section--contact::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(199,162,74,0.16); transform: translate(-50%, -50%); pointer-events: none; }
.section--contact::before { width: clamp(500px, 60vw, 900px); height: clamp(500px, 60vw, 900px); }
.section--contact::after { width: clamp(280px, 36vw, 540px); height: clamp(280px, 36vw, 540px); border-color: rgba(199,162,74,0.26); }
.contact-lead { position: relative; z-index: 1; max-width: 760px; }
.contact__email { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.012em; padding: 10px 0; border-bottom: 1px solid rgba(23,19,14,0.2); transition: color .35s var(--ease), border-color .35s var(--ease); }
.contact__email:hover { color: var(--gold); border-color: var(--gold); }
.contact-aside dt { color: var(--gold); font-weight: 600; margin-top: 18px; letter-spacing: 0.03em; font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-label); }
.contact-aside dd { margin: 6px 0 0; font-size: 16px; }

/* ============================ FORMS ============================ */
.form-card { position: relative; z-index: 1; background: #fff; border: 1px solid var(--hair-lt); border-radius: 10px; padding: clamp(1.7rem, 4vw, 2.6rem); box-shadow: 0 30px 80px -30px rgba(23,19,14,0.25); }
.form-label { display: block; font-size: 12px; letter-spacing: var(--tracking-label); text-transform: uppercase; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.form-label .req { color: var(--gold); }
.form-control, .form-select { width: 100%; border: 0; border-bottom: 1px solid rgba(23,19,14,0.2); background: transparent; padding: 10px 0; font-family: var(--ff); font-size: 16px; color: var(--ink); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.form-control::placeholder { color: rgba(124,117,104,0.7); }
.form-control:focus, .form-select:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.form-field { margin-bottom: 26px; }
.form-note { font-size: 13px; color: var(--stone); }
.invalid-feedback { display: none; color: #9c2b1f; font-size: 13px; margin-top: 8px; }
.is-invalid ~ .invalid-feedback, .was-validated :invalid ~ .invalid-feedback { display: block; }
.was-validated .form-control:invalid, .form-control.is-invalid, .was-validated .form-select:invalid { border-bottom-color: #9c2b1f; }
.form-success { display: none; background: rgba(199,162,74,0.14); border: 1px solid var(--gold); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); margin-bottom: 24px; }
.form-success.show { display: block; }
.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input { margin-top: 4px; accent-color: var(--gold); }

/* ============================ FINAL CTA ============================ */
.cta-final { position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); padding: clamp(4rem, 9vw, 7rem) 0; }
.cta-final__inner { position: relative; z-index: 1; }
.cta-final__link { display: inline-flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; font-size: clamp(2.2rem, 7vw, 5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--ivory); margin: 14px 0 0; }
.cta-final__link em { font-style: italic; font-weight: 300; color: rgba(246,241,231,0.62); }
.cta-final__link .dot { color: var(--gold); }
.cta-final__link .u { background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0% 3px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .5s var(--ease-out); }
.cta-final__link:hover .u { background-size: 100% 3px; }
.cta-final__link svg { color: var(--gold); transition: transform .4s var(--ease-out); }
.cta-final__link:hover svg { transform: translate(8px, -8px); }
.cta-final__sub { color: rgba(246,241,231,0.6); margin: 22px 0 0; max-width: 520px; }

/* ============================ FOOTER ============================ */
.site-footer { background: var(--ink-900); color: var(--ivory); padding: 56px 0 28px; border-top: 1px solid var(--hair-dk); }
.site-footer__mark { display: inline-block; margin-bottom: 18px; line-height: 0; }
.site-footer__mark img { height: 34px; width: auto; aspect-ratio: 1409 / 304; }
.site-footer__tag { margin: 0 0 6px; font-size: 13px; letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--gold); }
.site-footer__sub { margin: 0; color: rgba(246,241,231,0.55); font-size: 14px; line-height: 1.55; max-width: 36ch; }
.site-footer__label { display: block; font-size: 11px; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: rgba(246,241,231,0.45); margin-bottom: 16px; }
.site-footer__nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__nav a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: rgba(246,241,231,0.85); transition: color .3s var(--ease); }
.site-footer__nav a:hover { color: var(--gold); }
.site-footer__bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--hair-dk); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 11px; letter-spacing: var(--tracking-label); text-transform: uppercase; color: rgba(246,241,231,0.45); }
.site-footer__top { display: inline-flex; align-items: center; gap: 8px; color: var(--ivory); transition: color .3s var(--ease); }
.site-footer__top:hover { color: var(--gold); }
.site-footer__top svg { transition: transform .4s var(--ease-out); }
.site-footer__top:hover svg { transform: translateY(-3px); }

/* ============================ REVEAL ============================ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 991.98px) {
  .site-header__nav, .nav-pill__divider, .cta-pill { display: none; }
  .mobile-nav { display: block; }
  .nav-pill { flex: 1 1 auto; padding: 9px 16px; }
  .hero__bottom { grid-template-columns: 1fr; gap: 28px; }
  .hero__ctas { justify-content: flex-start; }
  .hero__orb { right: -30%; opacity: 0.6; }
  .services { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step:nth-child(2) { border-right: none; padding-right: 0; }
  .process__step:nth-child(3) { padding-left: 0; }
  .process__step:nth-child(3)::before { left: 0; }
  .testimonials { grid-template-columns: 1fr; }
  .testimonial { border-right: none; border-bottom: 1px solid var(--hair-dk); padding: 32px 0; }
  .testimonial:not(:first-child) { padding-left: 0; }
  .testimonial:not(:first-child)::before { left: 0; }
  .testimonial:last-child { border-bottom: none; }
  .work-item__row { grid-template-columns: 40px 1fr; gap: 8px 16px; }
  .work-item__tag { grid-column: 2; }
  .work-item__cta { grid-column: 2; justify-self: start; opacity: 1; }
  .work-item__desc { padding-left: 56px; }
}
@media (max-width: 575.98px) {
  .process { grid-template-columns: 1fr; }
  .process__step { border-right: none; padding: 24px 0; }
  .process__step::before { left: 0 !important; }
  .definition-list li { grid-template-columns: 1fr; gap: 4px; }
  .facts-table th { width: auto; display: block; padding-bottom: 4px; }
  .facts-table td { display: block; padding-top: 4px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .section__header--split { align-items: flex-start; }
}
