/* ==========================================================================
   Rotherham Corporation — Private Holdings & Advisory
   Stylesheet: register / prospectus system
   Display: Fraunces · Body: Hanken Grotesk · Data: IBM Plex Mono
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Ink (dark) */
  --ink:        #15212F;
  --ink-2:      #1B2935;
  --ink-3:      #2A3A4C;
  --ink-rule:   rgba(244, 242, 236, 0.16);

  /* Paper (light) */
  --paper:      #F2EFE8;
  --paper-2:    #ECE7DC;
  --surface:    #FBFAF6;

  /* Brass accent */
  --brass:      #A47E2C;
  --brass-2:    #C7A24E;   /* on dark */
  --brass-deep: #7E5E1A;   /* text on paper */
  --brass-soft: rgba(164, 126, 44, 0.14);

  /* Neutrals */
  --slate:      #56616F;
  --slate-2:    #6E7886;
  --rule:       #D8D2C4;

  /* Functional */
  --green:      #25D366;
  --green-ink:  #128C7E;
  --white:      #FFFFFF;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  /* Fluid type scale */
  --fs-display: clamp(2.7rem, 1.5rem + 5vw, 5.25rem);
  --fs-h1:      clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem);
  --fs-h2:      clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-h3:      clamp(1.25rem, 1.08rem + 0.7vw, 1.55rem);
  --fs-lead:    clamp(1.12rem, 1.02rem + 0.45vw, 1.35rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.9rem;
  --fs-micro:   0.78rem;

  /* Spacing */
  --space:  1rem;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(3.5rem, 2rem + 5vw, 6.5rem);
  --maxw:   1220px;
  --maxw-read: 720px;

  /* Misc */
  --radius:    3px;
  --radius-lg: 8px;
  --shadow:    0 1px 2px rgba(21, 33, 47, 0.04), 0 18px 40px -28px rgba(21, 33, 47, 0.35);
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h:   76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brass); color: var(--paper); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.012em; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 500; }
p { text-wrap: pretty; }
em, .italic { font-style: italic; }
strong { font-weight: 600; }
.lead { font-size: var(--fs-lead); color: var(--slate); line-height: 1.6; }
.mono { font-family: var(--font-mono); }

/* Eyebrow — structural device, with brass tick */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow.is-center { justify-content: center; }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--brass-2); }
.on-dark .eyebrow::before { background: var(--brass-2); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section--paper-2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }
.section--ink .lead { color: rgba(244, 242, 236, 0.78); }

.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 1rem + 2.5vw, 3.25rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--slate); font-size: var(--fs-lead); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { margin-inline: auto; }
.divider { height: 1px; background: var(--rule); border: 0; }
.on-dark .divider, .section--ink .divider { background: var(--ink-rule); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s 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 { --btn-bg: var(--ink); --btn-fg: var(--paper); box-shadow: var(--shadow); }
.btn-primary:hover { --btn-bg: #0d1620; box-shadow: 0 1px 2px rgba(21,33,47,.06), 0 22px 48px -26px rgba(21,33,47,.5); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--brass); background: var(--brass-soft); }
.btn-on-dark { --btn-bg: var(--brass); --btn-fg: var(--ink); }
.btn-on-dark:hover { --btn-bg: var(--brass-2); }
.btn-on-dark-ghost { --btn-bg: transparent; --btn-fg: var(--paper); border-color: var(--ink-rule); }
.btn-on-dark-ghost:hover { border-color: var(--brass-2); background: rgba(199,162,78,0.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* WhatsApp button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px -16px rgba(18, 140, 126, 0.7);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp-btn svg { width: 1.15em; height: 1.15em; }
.whatsapp-btn:hover { background: var(--green-ink); transform: translateY(-2px); }

/* Phone link */
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
  white-space: nowrap;
}
.phone-link svg { width: 1.05em; height: 1.05em; color: var(--brass-deep); }
.phone-link:hover { color: var(--brass-deep); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 239, 232, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 10px 30px -22px rgba(21, 33, 47, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1.5px solid var(--brass);
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--brass-deep);
  background: var(--surface);
  flex: none;
  letter-spacing: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink); }
.brand-sub { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }

/* Nav menu */
.primary-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: clamp(0.4rem, 1.4vw, 1.6rem); }
.nav-menu a {
  position: relative;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.5rem 0.5rem;
  letter-spacing: 0.005em;
  transition: color 0.25s var(--ease);
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0.5rem; right: 0.5rem; bottom: 0.2rem;
  height: 1.5px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.nav-menu a:hover { color: var(--brass-deep); }
.nav-menu a:hover::after,
.nav-menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav-menu a[aria-current="page"] { color: var(--brass-deep); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-cta .phone-link { font-size: 0.92rem; }

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  background: var(--surface);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.25s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2.5rem, 1rem + 5vw, 5rem); padding-bottom: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}
.hero-title { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 1.6rem; }
.hero-title em { font-style: italic; color: var(--brass-deep); }
.hero-deck { font-size: var(--fs-lead); color: var(--slate); max-width: 46ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.hero-meta {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
}
.hero-meta dt { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.25rem; }
.hero-meta dd { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }

/* Register / ledger panel — signature element */
.ledger {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.ledger::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--brass-soft);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}
.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-2);
}
.ledger-head .label { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.ledger-head .ref { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--brass-deep); }
.ledger-body { padding: 0.6rem 1.4rem 1.2rem; }
.ledger-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--rule);
}
.ledger-row:last-child { border-bottom: 0; }
.ledger-row .code { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--brass-deep); letter-spacing: 0.05em; }
.ledger-row .name { font-family: var(--font-display); font-size: 1.06rem; color: var(--ink); }
.ledger-row .name small { display: block; font-family: var(--font-body); font-size: 0.8rem; color: var(--slate); margin-top: 0.1rem; }
.ledger-row .val { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--slate); white-space: nowrap; }
.ledger-foot {
  padding: 0.9rem 1.4rem;
  border-top: 1px solid var(--rule);
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  color: var(--slate);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* ---------- Thesis band (dark) ---------- */
.thesis { position: relative; overflow: hidden; }
.thesis-inner { max-width: 56ch; }
.thesis h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem); margin-bottom: 1.2rem; }
.thesis h2 em { color: var(--brass-2); }
.thesis p { color: rgba(244, 242, 236, 0.8); font-size: var(--fs-lead); }
.thesis-marks {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--ink-rule);
  padding-top: 1.8rem;
}
.thesis-marks .mark .k { font-family: var(--font-display); font-size: 1.5rem; color: var(--brass-2); }
.thesis-marks .mark .l { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(244,242,236,0.65); margin-top: 0.3rem; }

/* ---------- Capabilities grid ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.card {
  background: var(--surface);
  padding: clamp(1.6rem, 1.2rem + 1vw, 2.4rem);
  transition: background 0.3s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover { background: var(--paper); }
.card .index { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--brass-deep); letter-spacing: 0.08em; margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.6rem; }
.card .index::before { content: ""; width: 18px; height: 1px; background: var(--brass); }
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--slate); font-size: 0.98rem; }
.card .card-link { margin-top: 1.4rem; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-deep); display: inline-flex; align-items: center; gap: 0.45rem; }
.card .card-link::after { content: "→"; transition: transform 0.3s var(--ease); }
.card:hover .card-link::after { transform: translateX(4px); }

/* Icon discs */
.disc {
  width: 46px; height: 46px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--brass-deep);
  background: var(--paper);
  margin-bottom: 1.2rem;
}
.disc svg { width: 22px; height: 22px; }

/* ---------- Process / approach (numbered — real sequence) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2.4rem); counter-reset: step; }
.step { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--rule); }
.step::before {
  content: "0" counter(step);
  counter-increment: step;
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  color: var(--brass-deep);
  position: absolute;
  top: -0.7rem;
  background: var(--paper);
  padding-right: 0.6rem;
}
.section--paper-2 .step::before { background: var(--paper-2); }
.step h3 { font-size: 1.2rem; margin: 0.8rem 0 0.6rem; }
.step p { color: var(--slate); font-size: 0.95rem; }

/* ---------- Sectors list ---------- */
.sectors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.sector {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.1rem;
  padding: 1.4rem 1.2rem 1.4rem 0.4rem;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.sector .num { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--brass-deep); padding-top: 0.3rem; }
.sector h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.sector p { color: var(--slate); font-size: 0.93rem; }

/* ---------- Values / why-partner ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 2.8rem); }
.value h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.value .v-mark { font-family: var(--font-mono); font-size: var(--fs-micro); color: var(--brass-deep); letter-spacing: 0.12em; margin-bottom: 0.7rem; }
.value p { color: var(--slate); font-size: 0.96rem; }

/* Split feature (about) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse .split-text { order: 2; }
.split-text h2 { margin-bottom: 1rem; }
.split-text p { color: var(--slate); margin-bottom: 1rem; }
.split-media {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
  overflow: hidden;
  position: relative;
}

/* Affiliation card */
.affiliate {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--brass);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1.4rem, 1rem + 1vw, 2rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: center;
}
.affiliate .badge {
  width: 56px; height: 56px;
  border: 1px solid var(--brass);
  border-radius: var(--radius);
  display: grid; place-items: center;
  font-family: var(--font-display);
  color: var(--brass-deep);
  font-size: 1.4rem;
  background: var(--paper);
}
.affiliate h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.affiliate p { color: var(--slate); font-size: 0.95rem; }
.affiliate a { color: var(--brass-deep); font-weight: 600; border-bottom: 1px solid var(--brass); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 60ch; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  padding: 1.4rem 0.2rem;
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.faq-q .faq-icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq-q .faq-icon::before, .faq-q .faq-icon::after {
  content: ""; position: absolute; background: var(--brass-deep); transition: transform 0.32s var(--ease), opacity 0.25s var(--ease);
}
.faq-q .faq-icon::before { left: 0; right: 0; top: 8.5px; height: 1.5px; }
.faq-q .faq-icon::after { top: 0; bottom: 0; left: 8.5px; width: 1.5px; }
.faq-item[data-open="true"] .faq-icon::after { transform: scaleY(0); opacity: 0; }
.faq-q:hover { color: var(--brass-deep); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}
.faq-a-inner { padding: 0 3rem 1.5rem 0.2rem; color: var(--slate); font-size: 1rem; }
.faq-a-inner p + p { margin-top: 0.8rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-details .detail { display: grid; grid-template-columns: 28px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.contact-details .detail:first-of-type { border-top: 1px solid var(--rule); }
.contact-details .detail svg { width: 22px; height: 22px; color: var(--brass-deep); margin-top: 0.15rem; }
.contact-details .detail .k { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.15rem; }
.contact-details .detail .v { font-size: 1.04rem; color: var(--ink); }
.contact-details .detail a { border-bottom: 1px solid var(--rule); }
.contact-details .detail a:hover { border-color: var(--brass); color: var(--brass-deep); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field label { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.45rem; }
.field input, .field textarea, .field select {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brass);
  background: var(--paper-2);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: var(--fs-small); color: var(--slate); margin-top: 0.8rem; }

/* Map / area block */
.area-block {
  margin-top: var(--section-y);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.area-block .area-art {
  background:
    linear-gradient(135deg, rgba(164,126,44,0.18), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(244,242,236,0.05) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(244,242,236,0.05) 38px 39px),
    var(--ink-2);
  min-height: 280px;
  position: relative;
}
.area-block .area-art .pin {
  position: absolute;
  top: 38%; left: 46%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brass-2);
  box-shadow: 0 0 0 6px rgba(199,162,78,0.25), 0 0 0 14px rgba(199,162,78,0.12);
}
.area-block .area-text { padding: clamp(2rem, 1.5rem + 2vw, 3rem); }
.area-block .area-text h2 { color: var(--paper); margin-bottom: 1rem; }
.area-block .area-text p { color: rgba(244,242,236,0.78); }
.area-cities { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.area-cities span {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--ink-rule);
  color: var(--paper);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band-inner { max-width: 56ch; margin-inline: auto; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { color: rgba(244,242,236,0.8); font-size: var(--fs-lead); margin-bottom: 2rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(244,242,236,0.8); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand-name { color: var(--paper); }
.footer-brand .brand-sub { color: rgba(244,242,236,0.6); }
.footer-brand p { margin-top: 1rem; font-size: 0.94rem; color: rgba(244,242,236,0.7); max-width: 30ch; }
.footer-brand .phone-link { color: var(--paper); margin-top: 1rem; font-size: 0.95rem; }
.footer-brand .phone-link svg { color: var(--brass-2); }
.footer-col h4 { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 1.1rem; font-weight: 500; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul a, .footer-col a { color: rgba(244,242,236,0.72); font-size: 0.95rem; transition: color 0.25s var(--ease); }
.footer-col ul a:hover, .footer-col a:hover { color: var(--brass-2); }
.footer-col .affiliate-note { font-size: 0.9rem; color: rgba(244,242,236,0.7); line-height: 1.55; }
.footer-col .affiliate-note a { color: var(--brass-2); border-bottom: 1px solid rgba(199,162,78,0.5); }
.footer-base {
  border-top: 1px solid var(--ink-rule);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-small);
  color: rgba(244,242,236,0.55);
}
.footer-base a { color: rgba(244,242,236,0.7); }
.footer-base a:hover { color: var(--brass-2); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-block: 1.4rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.breadcrumbs li::after { content: "/"; margin-left: 0.5rem; color: var(--rule); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a:hover { color: var(--brass-deep); }
.breadcrumbs li[aria-current] { color: var(--ink); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); padding-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.page-hero h1 { font-size: var(--fs-h1); max-width: 18ch; }
.page-hero p { color: var(--slate); font-size: var(--fs-lead); max-width: 54ch; margin-top: 1rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem; top: -120%;
  background: var(--ink); color: var(--paper);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  z-index: 200;
  font-weight: 600;
  font-size: 0.9rem;
}
.skip-link:focus { top: 1rem; }

/* ---------- Capability detail (services) ---------- */
.cap-detail { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 2.5rem); }
.cap-col h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  margin-bottom: 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--rule);
}
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--slate);
  font-size: 0.97rem;
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
}
.check-list li strong { color: var(--ink); font-weight: 600; }

.cap-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(2.5rem, 1rem + 3vw, 3.5rem);
}
.cap-nav a {
  font-family: var(--font-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--slate);
  background: var(--surface);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.cap-nav a:hover { border-color: var(--brass); color: var(--brass-deep); }

.cap-block + .cap-block { margin-top: 0; }
.cap-block .section-head { margin-bottom: 2rem; }
.cap-block .section-head h2 { font-size: var(--fs-h2); }
.cap-foot {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  color: var(--slate);
  font-size: var(--fs-small);
}

/* Prose block */
.prose { max-width: var(--maxw-read); }
.prose p { color: var(--slate); margin-bottom: 1.1rem; }
.prose p strong { color: var(--ink); }
.prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { margin-top: 2rem; margin-bottom: 0.8rem; font-size: 1.25rem; }
.prose ul.bullets { margin: 0 0 1.2rem; }
.prose ul.bullets li { position: relative; padding-left: 1.4rem; margin-bottom: 0.6rem; color: var(--slate); }
.prose ul.bullets li::before { content: "—"; position: absolute; left: 0; color: var(--brass-deep); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .cap-detail { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: block; }
  .header-cta .nav-cta { display: none; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 20px 40px -24px rgba(21,33,47,0.4);
    transform: translateY(-130%);
    transition: transform 0.42s var(--ease);
    padding: 1rem var(--gutter) 1.6rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .primary-nav.is-open { transform: translateY(0); }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu li { border-bottom: 1px solid var(--rule); }
  .nav-menu a { display: block; padding: 0.95rem 0.2rem; font-size: 1.05rem; }
  .nav-menu a::after { display: none; }
  .nav-menu a[aria-current="page"] { color: var(--brass-deep); }
  .primary-nav .nav-cta { display: inline-flex; margin-top: 1rem; }
  .header-cta .phone-link { display: none; }

  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-meta { gap: 1.2rem 2rem; }
  .thesis-marks { grid-template-columns: 1fr; gap: 1.1rem; }
  .values, .contact-grid, .split, .area-block { grid-template-columns: 1fr; }
  .split--reverse .split-text { order: 0; }
  .area-block .area-art { min-height: 200px; }
  .grid-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand-sub { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .ledger-row { grid-template-columns: 56px 1fr; }
  .ledger-row .val { grid-column: 1 / -1; padding-left: 65px; }
}

/* ---------- 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; }
  .reveal { opacity: 1; transform: none; }
}
