/* ==========================================================================
   Calderstone — Private Investment & Advisory
   Single hand-written stylesheet. Warm parchment, deep ink, limestone,
   and one heritage-brass accent. Editorial "private prospectus" feel.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --ink:        #10202b;   /* deep slate ink, near-black            */
  --ink-2:      #16293a;   /* raised surface on ink                 */
  --ink-3:      #233648;   /* hairline / muted on ink               */
  --paper:      #f6f2ea;   /* warm parchment                        */
  --paper-2:    #efe9dd;   /* slightly deeper paper                 */
  --stone:      #e3dac9;   /* limestone                             */
  --stone-2:    #cfc4ad;   /* deeper limestone / rule               */
  --stone-3:    #b6a98c;   /* muted text on paper                   */
  --brass:      #a87c3a;   /* heritage brass — the one warm note    */
  --brass-2:    #8c6328;   /* pressed / active brass                */
  --brass-soft: #d8b877;   /* brass on dark                         */

  /* Text */
  --text:       #1b2a36;
  --text-soft:  #4a5a68;
  --text-mute:  #7c8794;
  --text-inv:   #f3ede1;
  --text-inv-mute: #aeb7c2;

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

  /* Fluid type scale */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1.00rem, 0.95rem + 0.25vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.30rem + 0.70vw, 1.95rem);
  --step-3:  clamp(1.80rem, 1.55rem + 1.20vw, 2.70rem);
  --step-4:  clamp(2.30rem, 1.85rem + 2.20vw, 4.10rem);
  --step-5:  clamp(2.85rem, 2.10rem + 3.80vw, 6.20rem);

  /* Spacing */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs:  0.85rem;
  --space-s:   1.15rem;
  --space-m:   1.75rem;
  --space-l:   2.75rem;
  --space-xl:  4.25rem;
  --space-2xl: 6.5rem;
  --space-3xl: 9rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius:    3px;
  --radius-lg: 8px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(16, 32, 43, 0.06);
  --shadow:    0 18px 40px -22px rgba(16, 32, 43, 0.35);
  --shadow-lg: 0 40px 70px -30px rgba(16, 32, 43, 0.40);
  --ring: 0 0 0 3px rgba(168, 124, 58, 0.35);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 460;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-feature-settings: "kern", "liga", "ss01";
}
h1 { font-size: var(--step-5); font-weight: 440; letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); letter-spacing: -0.02em; }
h3 { font-size: var(--step-2); font-weight: 500; }
h4 { font-size: var(--step-1); font-weight: 520; font-family: var(--font-sans); letter-spacing: -0.01em; }

p { max-width: 68ch; }
p + p { margin-top: var(--space-s); }

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 56ch;
}
.lead--inv { color: var(--text-inv-mute); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-2);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
}
.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
}
.eyebrow--inv { color: var(--brass-soft); }
.eyebrow--inv::before { background: var(--brass-soft); }

em, .italic-serif { font-family: var(--font-display); font-style: italic; font-weight: 440; }

strong { font-weight: 620; color: var(--ink); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 8vw, var(--space-3xl)); }
.section--tight { padding-block: clamp(2.5rem, 5vw, var(--space-xl)); }
.section--paper { background: var(--paper); }
.section--stone { background: var(--paper-2); }
.section--ink {
  background: var(--ink);
  color: var(--text-inv);
  position: relative;
  isolation: isolate;
}
.section--ink h2,
.section--ink h3 { color: var(--text-inv); }
.section--ink p { color: var(--text-inv-mute); }

.section-head { max-width: 64ch; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: var(--space-xs); }
.section-head .lead { margin-top: var(--space-s); }

.hairline { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--stone-2) 18%, var(--stone-2) 82%, transparent); }
.hairline--inv { background: linear-gradient(90deg, transparent, var(--ink-3) 18%, var(--ink-3) 82%, transparent); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--text-inv);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.85em 1.5em;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; }

.btn--primary { background: var(--ink); border-color: var(--ink); }
.btn--primary:hover { background: #0a161f; box-shadow: var(--shadow); }

.btn--brass { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn--brass:hover { background: var(--brass-2); border-color: var(--brass-2); box-shadow: var(--shadow); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--stone-2);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(16,32,43,0.04); }

.btn--inv {
  background: transparent;
  color: var(--text-inv);
  border-color: rgba(243, 237, 225, 0.35);
}
.btn--inv:hover { background: rgba(243,237,225,0.08); border-color: var(--text-inv); }

.btn--lg { padding: 1.05em 1.9em; font-size: var(--step-0); }

.btn--whatsapp { background: #25d366; border-color: #25d366; color: #04220f; }
.btn--whatsapp:hover { background: #1fb955; border-color: #1fb955; box-shadow: 0 18px 30px -16px rgba(37,211,102,0.7); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.03em;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--stone-2);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--brass-2); border-color: var(--brass); gap: 0.7em; }
.link-arrow--inv { color: var(--text-inv); border-color: rgba(243,237,225,0.4); }
.link-arrow--inv:hover { color: var(--brass-soft); border-color: var(--brass-soft); }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 234, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--stone-2);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); }
.brand__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-weight: 520;
  font-size: 1.15rem;
  letter-spacing: 0;
  color: var(--ink);
  background: linear-gradient(150deg, var(--paper) 0%, var(--stone) 100%);
  position: relative;
}
.brand__mark::after {
  content: "";
  position: absolute; inset: 3px;
  border: 1px solid rgba(168,124,58,0.5);
  border-radius: 1px;
}
.brand__name { font-size: 1.32rem; font-weight: 480; letter-spacing: -0.01em; color: var(--ink); }
.brand__name b { font-weight: 620; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 1.6vw, 1.8rem); }
.nav__links a {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  position: relative;
  padding: 0.4em 0;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.header-phone { display: inline-flex; align-items: center; gap: 0.5em; font-size: var(--step--1); font-weight: 600; color: var(--ink); white-space: nowrap; }
.header-phone svg { width: 1em; height: 1em; color: var(--brass-2); }
.header-phone:hover { color: var(--brass-2); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius);
}
.nav-toggle__bar {
  position: relative;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle__bar::before, .nav-toggle__bar::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(3rem, 9vw, 7rem); padding-bottom: clamp(3rem, 9vw, 7rem); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(168,124,58,0.10), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(16,32,43,0.05), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}
.hero h1 { margin-top: var(--space-s); }
.hero h1 .accent { color: var(--brass-2); font-style: italic; }
.hero__lede { margin-top: var(--space-m); }
.hero__cta { margin-top: var(--space-l); }

.fact-panel {
  border: 1px solid var(--stone-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0));
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.fact-panel__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 480;
  color: var(--ink);
  margin-bottom: var(--space-s);
  padding-bottom: var(--space-s);
  border-bottom: 1px solid var(--stone-2);
}
.fact-panel dl { display: grid; gap: var(--space-s); }
.fact-panel dt {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.fact-panel dd { font-size: var(--step-0); color: var(--text); font-weight: 500; margin-top: 2px; }

/* ---------- Capability / feature cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.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)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--stone-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--brass);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--stone-3); }
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--stone-2);
  border-radius: 50%;
  color: var(--brass-2);
  margin-bottom: var(--space-xs);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: var(--step-1); }
.card p { color: var(--text-soft); font-size: var(--step-0); }
.card .link-arrow { margin-top: auto; padding-top: var(--space-xs); }

.card--bare {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: var(--space-m) 0;
  border-top: 1px solid var(--stone-2);
  border-radius: 0;
}
.card--bare::before { display: none; }
.card--bare:hover { transform: none; box-shadow: none; }
.card--bare .card__index {
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--brass);
  font-weight: 440;
  line-height: 1;
}

/* ---------- Ethos band (signature) ---------- */
.ethos { text-align: center; }
.ethos .pullquote {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(1.7rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text-inv);
  max-width: 20ch;
  margin-inline: auto;
}
.ethos .pullquote .accent { color: var(--brass-soft); font-style: italic; }
.ethos .pullquote-attrib { margin-top: var(--space-m); color: var(--text-inv-mute); font-size: var(--step--1); letter-spacing: 0.06em; }
.seam {
  width: 1px; height: 64px;
  background: linear-gradient(180deg, transparent, var(--brass), transparent);
  margin-inline: auto;
}

/* ---------- Process ---------- */
.process-list { display: grid; gap: 0; }
.process-item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: var(--space-l);
  border-top: 1px solid var(--stone-2);
  align-items: start;
}
.process-item:last-child { border-bottom: 1px solid var(--stone-2); }
.process-item__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 440;
  color: var(--brass);
  line-height: 1;
}
.process-item h3 { font-size: var(--step-2); margin-bottom: var(--space-2xs); }
.process-item p { color: var(--text-soft); }

/* ---------- Values ---------- */
.value {
  padding: var(--space-m) 0;
  border-top: 1px solid var(--ink-3);
}
.value:first-child { border-top: none; }
.value__label { color: var(--brass-soft); }
.value h3 { color: var(--text-inv); margin-top: var(--space-2xs); margin-bottom: var(--space-2xs); }
.value p { color: var(--text-inv-mute); }

/* ---------- Sectors chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
.chip {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.6em 1.1em;
  border: 1px solid var(--stone-2);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--text);
  background: #fff;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.chip:hover { border-color: var(--brass); color: var(--brass-2); transform: translateY(-2px); }
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-m); }
.stat dt {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 440;
  color: var(--brass-soft);
  line-height: 1;
}
.stat dd { margin-top: var(--space-2xs); color: var(--text-inv-mute); font-size: var(--step--1); letter-spacing: 0.04em; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--stone-2); }
.faq-item { border-bottom: 1px solid var(--stone-2); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-m);
  width: 100%; text-align: left;
  padding: clamp(1.1rem, 2.5vw, 1.6rem) 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 460;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-q:hover { color: var(--brass-2); }
.faq-q .glyph {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--stone-2);
  border-radius: 50%;
  color: var(--brass-2);
  font-size: 1.1rem;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.faq-item.is-open .faq-q .glyph { transform: rotate(45deg); background: var(--ink); color: var(--text-inv); border-color: var(--ink); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.faq-a__inner {
  padding-bottom: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--text-soft);
  max-width: 70ch;
}
.faq-a__inner p + p { margin-top: var(--space-xs); }

/* ---------- Split / about panels ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--asymmetric { grid-template-columns: 1.15fr 0.85fr; }
.prose p { color: var(--text-soft); }
.prose p + p { margin-top: var(--space-s); }

.signal-card {
  border: 1px solid var(--ink-3);
  background: var(--ink-2);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--text-inv);
}
.signal-card h3 { color: var(--text-inv); }
.signal-card .check-list { margin-top: var(--space-s); display: grid; gap: var(--space-xs); }
.signal-card .check-list li {
  display: grid; grid-template-columns: 1.4em 1fr; gap: 0.6em;
  color: var(--text-inv-mute); font-size: var(--step-0);
}
.signal-card .check-list svg { width: 1.1em; height: 1.1em; color: var(--brass-soft); margin-top: 0.25em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-details { display: grid; gap: var(--space-m); }
.contact-block { padding-top: var(--space-s); border-top: 1px solid var(--stone-2); }
.contact-block dt {
  font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute);
}
.contact-block dd { margin-top: 0.4em; font-size: var(--step-1); font-weight: 500; color: var(--ink); font-family: var(--font-display); }
.contact-block dd a:hover { color: var(--brass-2); }

.form { display: grid; gap: var(--space-s); background: #fff; border: 1px solid var(--stone-2); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-s); }
.field { display: grid; gap: 0.4em; }
.field label { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; color: var(--text-soft); }
.field label .req { color: var(--brass-2); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.8em 1em;
  background: var(--paper);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  font-size: var(--step-0);
  color: var(--text);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brass);
  background: #fff;
  box-shadow: var(--ring);
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { margin-top: var(--space-2xs); }
.form-note { font-size: var(--step--1); color: var(--text-mute); text-align: center; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--text-inv);
  border-radius: var(--radius-lg);
  padding: clamp(2.25rem, 5vw, 3.75rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% -30%, rgba(168,124,58,0.18), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--text-inv); max-width: 20ch; margin-inline: auto; }
.cta-band p { color: var(--text-inv-mute); max-width: 52ch; margin-inline: auto; margin-top: var(--space-s); }
.cta-band .cta-row { justify-content: center; margin-top: var(--space-l); }

/* ---------- Affiliation / group company ---------- */
.affiliation {
  display: flex; align-items: center; gap: var(--space-m);
  flex-wrap: wrap;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.affiliation__mark {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 480; color: var(--ink);
  border-right: 1px solid var(--stone-2);
  padding-right: var(--space-m);
}
.affiliation__body { flex: 1; min-width: 240px; }
.affiliation__body p { color: var(--text-soft); font-size: var(--step-0); margin-top: 0.2em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--text-inv-mute);
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: var(--space-l);
}
.site-footer .container { display: grid; gap: var(--space-l); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-l); }
.footer-brand .brand__name { color: var(--text-inv); }
.footer-brand .brand__mark { background: linear-gradient(150deg, var(--ink-2), var(--ink-3)); border-color: var(--ink-3); color: var(--text-inv); }
.footer-brand p { color: var(--text-inv-mute); margin-top: var(--space-s); max-width: 34ch; font-size: var(--step--1); }
.footer-col h4 {
  color: var(--brass-soft);
  font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: var(--space-s);
}
.footer-col ul { display: grid; gap: 0.55em; }
.footer-col a { color: var(--text-inv-mute); font-size: var(--step--1); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--text-inv); }
.footer-contact a { color: var(--text-inv); font-weight: 500; }

.footer-rule { height: 1px; background: var(--ink-3); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-s);
  justify-content: space-between; align-items: center;
  font-size: var(--step--1); color: var(--text-inv-mute);
}
.footer-bottom a:hover { color: var(--text-inv); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-m); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: var(--step--1); color: var(--text-mute); display: flex; flex-wrap: wrap; gap: 0.5em; align-items: center; }
.breadcrumbs a:hover { color: var(--brass-2); }
.breadcrumbs span[aria-current] { color: var(--text-soft); }

/* ---------- Page header (inner pages) ---------- */
.page-header { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(1.5rem, 4vw, 3rem); position: relative; overflow: hidden; }
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 70% at 90% -20%, rgba(168,124,58,0.08), transparent 60%);
}
.page-header .container { position: relative; }
.page-header h1 { margin-top: var(--space-s); max-width: 18ch; }
.page-header .lead { margin-top: var(--space-s); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.btn:focus-visible, .chip:focus-visible, .card:focus-visible { outline-offset: 3px; }
.skip-link {
  position: absolute; left: var(--space-s); top: -120%;
  z-index: 200;
  background: var(--ink); color: var(--text-inv);
  padding: 0.7em 1.1em; border-radius: var(--radius);
  font-size: var(--step--1); font-weight: 600;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: var(--space-s); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; gap: var(--space-xl); }
  .split, .split--asymmetric { grid-template-columns: 1fr; gap: var(--space-l); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .nav__links, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }

  /* Mobile nav drawer */
  .nav { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; background: var(--paper); padding: var(--space-l) clamp(1.1rem, 4vw, 2.5rem); transform: translateX(100%); transition: transform 0.45s var(--ease); overflow-y: auto; box-shadow: var(--shadow-lg); }
  .nav.is-open { transform: translateX(0); display: flex; }
  .nav__links { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { font-family: var(--font-display); font-size: var(--step-2); font-weight: 460; padding: 0.7em 0; border-bottom: 1px solid var(--stone-2); color: var(--ink); }
  .nav__links a::after { display: none; }
  .nav .header-phone { display: inline-flex; margin-top: var(--space-m); font-size: var(--step-1); }
  .nav .btn { margin-top: var(--space-s); justify-content: space-between; }

  body.nav-open { overflow: hidden; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: var(--space-l); }
  .process-item { grid-template-columns: 1fr; gap: var(--space-xs); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .affiliation { flex-direction: column; align-items: flex-start; }
  .affiliation__mark { border-right: 0; border-bottom: 1px solid var(--stone-2); padding: 0 0 var(--space-s) 0; width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .grid--4 { grid-template-columns: 1fr; }
  .hero__cta .btn, .cta-row .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
