/* ==========================================================================
   DS Worldwide Digital LLC — Design System
   Palette: deep ink navy + champagne gold
   Type:    Fraunces (display serif) / Manrope (UI sans)
   ========================================================================== */

/* -------------------------------------------------- 1. Tokens ----------- */
:root {
  /* Surfaces */
  --ink:        #060d18;
  --ink-2:      #0b1524;
  --ink-3:      #122036;
  --bone:       #f8f5ee;
  --bone-2:     #efeade;
  --white:      #ffffff;

  /* Text */
  --on-dark:    #f4f0e6;
  --on-dark-mid:#a4b0c2;
  --on-light:   #0b1524;
  --on-light-mid:#57627a;

  /* Accent */
  --gold:       #c8a253;
  --gold-lt:    #ebd6a0;
  --gold-dp:    #8f6f31;
  --gold-grad:  linear-gradient(120deg, #ebd6a0 0%, #c8a253 55%, #a9843c 100%);

  /* Lines */
  --line-dark:  rgba(200, 162, 83, .24);
  --line-dark-2:rgba(244, 240, 230, .12);
  --line-light: rgba(11, 21, 36, .12);

  /* Metrics */
  --max:        1200px;
  --gutter:     clamp(20px, 5vw, 48px);
  --r-sm:       10px;
  --r-md:       18px;
  --r-lg:       26px;
  --r-pill:     999px;

  /* Depth */
  --shadow-sm:  0 8px 24px rgba(6, 13, 24, .08);
  --shadow-md:  0 24px 60px rgba(6, 13, 24, .12);
  --shadow-lg:  0 40px 110px rgba(0, 0, 0, .45);

  /* Motion */
  --ease:       cubic-bezier(.22, .61, .36, 1);
  --dur:        .45s;

  --header-h:   86px;
}

/* -------------------------------------------------- 2. Reset ------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--on-light);
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 90;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

/* -------------------------------------------------- 3. Layout ----------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

.section--dark {
  background: var(--ink);
  color: var(--on-dark);
}
.section--ink2 { background: var(--ink-2); color: var(--on-dark); }
.section--bone2 { background: var(--bone-2); }

.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--ink2 h1, .section--ink2 h2, .section--ink2 h3, .section--ink2 h4 { color: var(--on-dark); }

.grid { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
}
.split--top { align-items: start; }

/* -------------------------------------------------- 4. Type helpers ----- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .7;
  flex: none;
}

.display {
  font-size: clamp(2.7rem, 5.6vw, 4.8rem);
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
}
.h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.h3 { font-size: clamp(1.5rem, 2.2vw, 1.95rem); }
.h4 { font-size: 1.16rem; letter-spacing: -.005em; }

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.65;
  color: var(--on-light-mid);
  max-width: 62ch;
}
.section--dark .lead, .section--ink2 .lead, .hero .lead { color: var(--on-dark-mid); }

.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head p { margin-top: 20px; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rule {
  height: 1px;
  background: var(--line-light);
  border: 0;
  margin: 0;
}
.section--dark .rule, .section--ink2 .rule { background: var(--line-dark-2); }

/* -------------------------------------------------- 5. Buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold-grad);
  color: #1a1204;
  box-shadow: 0 12px 30px rgba(200, 162, 83, .26);
}
.btn--gold:hover { box-shadow: 0 18px 42px rgba(200, 162, 83, .36); }

.btn--ghost {
  border-color: rgba(244, 240, 230, .3);
  color: var(--on-dark);
  background: rgba(244, 240, 230, .05);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-lt); }

.btn--ink {
  background: var(--ink);
  color: var(--on-dark);
}
.btn--ink:hover { background: var(--ink-3); }

.btn--outline-ink {
  border-color: var(--line-light);
  color: var(--on-light);
}
.btn--outline-ink:hover { border-color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--gold-dp);
  letter-spacing: .01em;
}
.section--dark .link-arrow, .section--ink2 .link-arrow, .cta-panel .link-arrow { color: var(--gold-lt); }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* -------------------------------------------------- 6. Header ----------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(6, 13, 24, .86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-dark);
}
.site-header.is-solid,
body.nav-open .site-header {
  background: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: var(--line-dark);
}

.nav-wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand svg, .brand img { width: 40px; height: 40px; flex: none; }
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name b {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.12rem;
  letter-spacing: .005em;
  color: var(--on-dark);
}
.brand-name span {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  position: relative;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(244, 240, 230, .82);
  transition: color .25s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover { color: var(--on-dark); }
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--gold-lt); }

.site-nav .nav-cta {
  padding: 11px 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-pill);
  color: var(--gold-lt);
  background: rgba(200, 162, 83, .08);
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover {
  background: var(--gold);
  color: #1a1204;
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  background: rgba(244, 240, 230, .04);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--on-dark);
  margin: 4px auto;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
/* 9.5px = bar height (1.5) + the 4px margin above and below, so the outer
   bars land exactly on the middle one and form a true X. */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* -------------------------------------------------- 7. Hero ------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(44px, 6vw, 78px)) 0 clamp(64px, 8vw, 104px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% 18%, rgba(200, 162, 83, .16), transparent 62%),
    radial-gradient(900px 700px at 8% 92%, rgba(30, 62, 108, .38), transparent 60%),
    linear-gradient(165deg, #050b15 0%, #0b1524 58%, #060d18 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(244, 240, 230, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 240, 230, .05) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  opacity: .7;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
}
.hero h1 { margin-bottom: 26px; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); max-width: 56ch; }

.hero__art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero__art svg { width: 100%; height: auto; overflow: visible; }

.hero-meta {
  margin-top: clamp(52px, 7vw, 82px);
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.hero-meta div strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--gold-lt);
  margin-bottom: 6px;
}
.hero-meta div p {
  font-size: .92rem;
  color: var(--on-dark-mid);
  line-height: 1.6;
  margin: 0;
}

/* Compact page hero (inner pages) */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(58px, 8vw, 104px)) 0 clamp(58px, 8vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 88% 10%, rgba(200, 162, 83, .14), transparent 60%),
    linear-gradient(160deg, #050b15 0%, #0b1524 100%);
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(244, 240, 230, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 240, 230, .045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom right, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom right, #000, transparent 72%);
}
.page-hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); margin-bottom: 22px; }
.page-hero .lead { max-width: 60ch; }

.crumbs {
  display: flex;
  gap: 10px;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(164, 176, 194, .8);
  margin-bottom: 24px;
}
.crumbs a { color: var(--gold); }
.crumbs span[aria-hidden] { opacity: .5; }

/* -------------------------------------------------- 8. Marquee strip ---- */
.trust-strip {
  background: var(--ink-2);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 22px 0;
  color: var(--on-dark-mid);
}
.trust-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px clamp(22px, 3vw, 38px);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.trust-strip li { display: flex; align-items: center; gap: 14px; }
.trust-strip li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* -------------------------------------------------- 9. Cards ------------ */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 38px);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 162, 83, .45);
}
.card:hover::after { transform: scaleX(1); }

.card__num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 162, 83, .75);
  margin-bottom: 20px;
  display: block;
}
.card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.card p { color: var(--on-light-mid); font-size: .97rem; }
.card .link-arrow { margin-top: 20px; }

.card--dark {
  background: rgba(244, 240, 230, .035);
  border-color: var(--line-dark-2);
}
.card--dark:hover { border-color: rgba(200, 162, 83, .5); box-shadow: var(--shadow-lg); }
.card--dark p { color: var(--on-dark-mid); }

/* Feature (icon) cards */
.feature {
  display: flex;
  gap: 22px;
  padding: clamp(24px, 2.6vw, 32px) 0;
  border-top: 1px solid var(--line-dark-2);
}
.feature__icon {
  flex: none;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(200, 162, 83, .07);
  color: var(--gold);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { font-size: .95rem; color: var(--on-dark-mid); margin: 0; }

/* -------------------------------------------------- 10. Timeline -------- */
.timeline { counter-reset: step; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 21px; top: 14px; bottom: 14px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(200, 162, 83, .1), rgba(200, 162, 83, .5), rgba(200, 162, 83, .1));
}
.timeline li {
  position: relative;
  counter-increment: step;
  padding: 0 0 34px 66px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  width: 43px; height: 43px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.timeline h3 { font-size: 1.2rem; margin-bottom: 8px; }
.timeline p { font-size: .96rem; color: var(--on-dark-mid); margin: 0; }

/* -------------------------------------------------- 11. Panels ---------- */
.panel {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: clamp(30px, 4vw, 52px);
  box-shadow: var(--shadow-sm);
}
.panel--ink {
  background: linear-gradient(150deg, var(--ink-2) 0%, var(--ink) 100%);
  border-color: var(--line-dark);
  color: var(--on-dark);
  box-shadow: var(--shadow-lg);
}

.cta-panel {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 84px);
  background: linear-gradient(140deg, #0b1524 0%, #060d18 62%, #10192b 100%);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.cta-panel::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(620px 340px at 50% 0%, rgba(200, 162, 83, .2), transparent 65%);
}
.cta-panel::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(200, 162, 83, .6), rgba(200, 162, 83, .06) 45%, rgba(200, 162, 83, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.cta-panel h2 { margin-bottom: 20px; }
.cta-panel .lead { margin-inline: auto; }
.cta-panel .btn-row { justify-content: center; }

/* Stat / pillar band */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pillars > div {
  background: var(--ink);
  padding: clamp(28px, 3.4vw, 44px);
}
.pillars strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  color: var(--gold-lt);
  line-height: 1.15;
  margin-bottom: 12px;
}
.pillars p { font-size: .95rem; color: var(--on-dark-mid); margin: 0; }

/* Checklist */
.checklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--on-light-mid);
}
.section--dark .checklist li, .panel--ink .checklist li { color: var(--on-dark-mid); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 15px; height: 8px;
  border-left: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}
.checklist li:last-child { margin-bottom: 0; }

/* Definition rows */
.deflist { border-top: 1px solid var(--line-light); }
.deflist > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
}
.deflist dt {
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dp);
}
.deflist dd { margin: 0; color: var(--on-light-mid); }

/* Service rows (services page) */
.service-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(26px, 4vw, 62px);
  padding: clamp(36px, 4.6vw, 56px) 0;
  border-top: 1px solid var(--line-light);
}
.service-row:last-child { border-bottom: 1px solid var(--line-light); }
.service-row__idx {
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200, 162, 83, .8);
  display: block;
  margin-bottom: 16px;
}
.service-row h2 { font-size: clamp(1.55rem, 2.4vw, 2.05rem); }
.service-row p { color: var(--on-light-mid); }
.service-row h3 {
  font-family: "Manrope", sans-serif;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dp);
  margin: 26px 0 16px;
}
.service-row .checklist {
  columns: 2;
  column-gap: 34px;
}
.service-row .checklist li { break-inside: avoid; font-size: .96rem; }

@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; }
  .service-row .checklist { columns: 1; }
}

/* Accordion / FAQ */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 46px 24px 0;
  position: relative;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  line-height: 1.35;
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-dp); }
.faq summary::after,
.faq summary::before {
  content: "";
  position: absolute;
  right: 8px; top: 50%;
  background: var(--gold);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq summary::before { width: 15px; height: 1.5px; margin-top: -.75px; }
.faq summary::after { width: 1.5px; height: 15px; margin-top: -7.5px; margin-right: 6.75px; }
.faq details[open] summary::after { transform: rotate(90deg); opacity: 0; }
.faq details p { padding: 0 40px 26px 0; color: var(--on-light-mid); font-size: .98rem; }

/* -------------------------------------------------- 12. Forms ----------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dp);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: .97rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 162, 83, .16);
}
.form-note { font-size: .84rem; color: var(--on-light-mid); margin-top: 16px; }
.form-status {
  margin-top: 16px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--gold-dp);
  min-height: 1.4em;
}

/* Contact info list */
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--line-dark-2); }
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-list .value { font-size: 1.05rem; color: var(--on-dark); line-height: 1.6; }
.contact-list a.value:hover { color: var(--gold-lt); }

/* -------------------------------------------------- 13. Legal ----------- */
.legal { max-width: 820px; }
.legal h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  margin: 52px 0 16px;
  padding-top: 30px;
  border-top: 1px solid var(--line-light);
}
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.12rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--on-light-mid); }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 1.1em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--gold-dp); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-meta {
  font-size: .86rem;
  letter-spacing: .04em;
  color: var(--on-light-mid);
  padding: 14px 18px;
  border-left: 2px solid var(--gold);
  background: var(--bone-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 44px;
}

/* -------------------------------------------------- 14. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-mid);
  border-top: 1px solid var(--line-dark);
  padding: clamp(58px, 7vw, 88px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(30px, 4vw, 54px);
  padding-bottom: clamp(42px, 5vw, 64px);
}
.footer-grid h4 {
  font-family: "Manrope", sans-serif;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-grid p { font-size: .93rem; line-height: 1.7; }
.footer-grid nav { display: flex; flex-direction: column; gap: 12px; }
.footer-grid nav a { font-size: .93rem; transition: color .25s var(--ease); }
.footer-grid nav a:hover { color: var(--gold-lt); }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; }

.footer-bottom {
  border-top: 1px solid var(--line-dark-2);
  padding: 26px 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  align-items: center;
  font-size: .84rem;
}
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--gold-lt); }

/* -------------------------------------------------- 15. Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

.no-js .reveal { opacity: 1; transform: none; }

/* Hero art animation */
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes spin-rev  { to { transform: rotate(-360deg); } }
@keyframes pulse-node { 0%, 100% { opacity: .35; r: 3; } 50% { opacity: 1; r: 4.6; } }
@keyframes dash-run { to { stroke-dashoffset: -420; } }

.art-rotate  { animation: spin-slow 68s linear infinite; transform-origin: 50% 50%; }
.art-rotate-r{ animation: spin-rev 92s linear infinite; transform-origin: 50% 50%; }
.art-node    { animation: pulse-node 4.2s ease-in-out infinite; }
.art-node:nth-of-type(2n) { animation-delay: 1.1s; }
.art-node:nth-of-type(3n) { animation-delay: 2.3s; }
.art-dash    { stroke-dasharray: 5 11; animation: dash-run 26s linear infinite; }

/* -------------------------------------------------- 16. Responsive ------ */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; margin-inline: auto; order: -1; }
  .split { grid-template-columns: 1fr; }
  .deflist > div { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 900px) {
  :root { --header-h: 74px; }

  .nav-toggle { display: grid; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    padding: 10px var(--gutter) 26px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .site-nav a {
    padding: 16px 0;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--line-dark-2);
  }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta {
    margin-top: 18px;
    text-align: center;
    border-bottom: 1px solid var(--line-dark);
  }
  body.nav-open { overflow: hidden; }

  .pillars { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; gap: 22px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .timeline li { padding-left: 56px; }
  .trust-strip ul { justify-content: flex-start; }
  .footer-bottom { justify-content: flex-start; }
}

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

@media print {
  .site-header, .site-footer, .cta-panel, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
