/* ==========================================================================
   Farrowgate — Private Holdings, Investment & Advisory
   Hand-written stylesheet. No framework. Mobile-first.
   Palette: ink navy · ivory parchment · brass · oxblood
   Type: Libre Caslon Display (display) · Inter (body) · JetBrains Mono (ledger)
   ========================================================================== */

/* ---------- Tokens -------------------------------------------------------- */
:root {
  --ink:        #14202b;
  --ink-2:      #1c2b39;
  --ink-3:      #243545;
  --paper:      #f4efe4;
  --paper-2:    #ece4d3;
  --paper-3:    #e3d9c4;
  --brass:      #9a7a2c;
  --brass-2:    #b89236;
  --brass-bright:#c9a94e;
  --oxblood:    #7a2e2b;
  --oxblood-2:  #6a2724;
  --oxblood-3:  #9c3b35;
  --whatsapp:   #25d366;
  --whatsapp-2: #1da851;

  --fg:         #1d2a37;
  --fg-muted:   #5e5648;
  --fg-faint:   #8a8270;
  --hd:         #15222e;
  --rule:       rgba(20, 32, 43, .14);
  --rule-2:     rgba(20, 32, 43, .28);

  --maxw:       1220px;
  --gut:        clamp(1.15rem, 4vw, 2.4rem);

  --serif:      'Libre Caslon Display', 'Caslon', Georgia, 'Times New Roman', serif;
  --serif-text: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sans:       'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono:       'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --radius:     3px;
  --shadow:     0 1px 0 rgba(20,32,43,.04), 0 18px 40px -28px rgba(20,32,43,.4);
}

/* ---------- Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.68;
  color: var(--fg);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga";
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--oxblood); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--hd); margin: 0; line-height: 1.12; letter-spacing: -.005em; }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--hd); }
::selection { background: var(--oxblood); color: var(--paper); }

/* ---------- Focus --------------------------------------------------------- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass-2);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--ink); color: var(--paper); padding: .6rem 1.1rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .04em;
  z-index: 200; transition: top .2s ease; border-radius: 0 0 4px 4px;
}
.skip-link:focus { top: 0; text-decoration: none; }

/* ---------- Layout primitives -------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4rem); }
.section--paper2 { background: var(--paper-2); }
.section--paper3 { background: var(--paper-3); }

.ink {
  background: var(--ink);
  color: #e8dfca;
  background-image:
    radial-gradient(120% 100% at 50% -20%, rgba(201,169,78,.10), transparent 60%);
}
.ink h1, .ink h2, .ink h3, .ink h4 { color: #f6efdd; }
.ink .muted { color: #b1a78e; }
.ink a { color: var(--brass-bright); }

/* ---------- Type utilities ----------------------------------------------- */
.eyebrow, .mono-label {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex; align-items: center; gap: .6rem;
}
.ink .eyebrow, .ink .mono-label { color: var(--brass-bright); }
.eyebrow::before, .mono-label.dot::before {
  content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7;
}
.mono-label:not(.dot)::before { display: none; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.018em;
}
.display em { font-style: italic; color: var(--oxblood); font-family: var(--serif); }
.ink .display em { color: var(--brass-bright); }

.h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.012em;
}
.h3 { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.55rem); line-height: 1.2; }
.h4 { font-size: 1.0625rem; line-height: 1.3; }

.lead { font-size: clamp(1.075rem, 1rem + .5vw, 1.3rem); line-height: 1.6; color: var(--fg); font-weight: 400; }
.muted { color: var(--fg-muted); }
.faint { color: var(--fg-faint); }
.italic { font-style: italic; font-family: var(--serif-text); }

.lede-mark::first-letter {
  font-family: var(--serif); font-size: 3.4em; line-height: .82;
  float: left; padding: .04em .12em 0 0; color: var(--oxblood);
}

/* ---------- Keystone rule (signature divider) ---------------------------- */
.gate-rule {
  display: flex; align-items: center; gap: .8rem;
  color: var(--brass); margin-block: .4rem;
}
.gate-rule::before, .gate-rule::after {
  content: ""; height: 1px; background: currentColor; opacity: .55; flex: 1;
}
.gate-rule .keystone, .keystone-mark {
  width: 9px; height: 9px; background: currentColor;
  transform: rotate(45deg); flex: none; opacity: .9;
}
.keystone-mark { display: inline-block; }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.ink .rule { background: rgba(246,239,221,.16); }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  --btn-fg: var(--paper); --btn-bg: var(--oxblood); --btn-bd: var(--oxblood);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .005em; line-height: 1;
  padding: .92rem 1.5rem; border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  border-radius: var(--radius);
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--lg { padding: 1.05rem 1.85rem; font-size: 1rem; }
.btn--sm { padding: .62rem 1rem; font-size: .85rem; }

.btn--primary { --btn-bg: var(--oxblood); --btn-bd: var(--oxblood); --btn-fg: var(--paper); }
.btn--primary:hover { --btn-bg: var(--oxblood-3); --btn-bd: var(--oxblood-3); box-shadow: 0 12px 26px -14px rgba(122,46,43,.7); }

.btn--ink { --btn-bg: var(--ink); --btn-bd: var(--ink); --btn-fg: var(--paper); }
.btn--ink:hover { --btn-bg: var(--ink-3); --btn-bd: var(--ink-3); }

.btn--ghost { --btn-bg: transparent; --btn-bd: var(--rule-2); --btn-fg: var(--hd); }
.btn--ghost:hover { --btn-bd: var(--brass); --btn-fg: var(--brass); transform: translateY(-2px); }
.ink .btn--ghost { --btn-fg: #f0e8d6; --btn-bd: rgba(246,239,221,.34); }
.ink .btn--ghost:hover { --btn-fg: var(--brass-bright); --btn-bd: var(--brass-bright); }

.btn--brass { --btn-bg: var(--brass); --btn-bd: var(--brass); --btn-fg: #fff; }
.btn--brass:hover { --btn-bg: var(--brass-2); --btn-bd: var(--brass-2); }

.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-bd: var(--whatsapp); --btn-fg: #fff; }
.btn--whatsapp:hover { --btn-bg: var(--whatsapp-2); --btn-bd: var(--whatsapp-2); box-shadow: 0 12px 26px -14px rgba(37,211,102,.8); }

.btn--block { display: flex; width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--oxblood); font-size: .95rem;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .25s ease; }
.link-arrow:hover { text-decoration: none; border-bottom-color: currentColor; }
.link-arrow:hover svg { transform: translateX(4px); }
.ink .link-arrow { color: var(--brass-bright); }

/* ---------- Site header -------------------------------------------------- */
.top-rule { height: 3px; background: linear-gradient(90deg, var(--oxblood) 0 18%, var(--brass) 18% 34%, var(--ink) 34% 100%); }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,239,228,.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -22px rgba(20,32,43,.45); background: rgba(244,239,228,.94); }
.header-inner {
  display: flex; align-items: center; gap: 1.2rem;
  min-height: 74px; padding-block: .55rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--hd); text-decoration: none; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 34px; height: 40px; color: var(--oxblood); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.42rem; letter-spacing: .005em; color: var(--hd); }
.brand-sub { font-family: var(--mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-top: 4px; }

.nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: .35rem; }
.nav-list a {
  display: inline-block; position: relative;
  font-size: .9rem; font-weight: 500; color: var(--fg);
  padding: .5rem .8rem; border-radius: 3px; text-decoration: none;
  transition: color .2s ease;
}
.nav-list a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem;
  height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.nav-list a:hover { color: var(--hd); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--oxblood); }

.header-actions { display: flex; align-items: center; gap: .55rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--mono); font-size: .82rem; color: var(--hd);
  text-decoration: none; padding: .35rem .15rem;
}
.header-phone:hover { color: var(--oxblood); text-decoration: none; }
.header-phone svg { width: 15px; height: 15px; color: var(--brass); }
.header-phone .hp-num { font-weight: 600; }

.nav-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--rule-2); border-radius: 4px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 19px; height: 1.6px; background: var(--hd); position: relative; transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero --------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--rule) 1px, transparent 1px);
  background-size: 100% 36px; opacity: .35; mask-image: linear-gradient(180deg, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.hero-watermark {
  position: absolute; right: -6%; top: 6%; width: min(46vw, 520px); opacity: .05;
  color: var(--ink); pointer-events: none; z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-eyebrow { margin-bottom: 1.5rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { max-width: 46ch; margin-bottom: 2rem; }
.hero-cta { margin-bottom: 2.2rem; }
.hero-footnote { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.hero-footnote .fn-item { display: flex; flex-direction: column; gap: 2px; }
.hero-footnote .fn-k { font-family: var(--mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-faint); }
.hero-footnote .fn-v { font-family: var(--serif-text); font-size: .98rem; color: var(--hd); }

/* Crest card (signature seal) */
.crest {
  position: relative; z-index: 1;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px);
  background-size: 100% 30px;
}
.crest-frame { position: relative; z-index: 1; background: var(--paper); padding: .4rem .2rem; margin: -.4rem -.2rem; }
.crest-mark { width: 64px; height: 76px; color: var(--oxblood); margin-bottom: 1rem; }
.crest-title { font-family: var(--mono); font-size: .68rem; letter-spacing: .28em; color: var(--brass); text-transform: uppercase; margin-bottom: .5rem; }
.crest-tag { font-family: var(--serif-text); font-style: italic; font-size: 1.18rem; color: var(--hd); margin-bottom: 1.2rem; line-height: 1.3; }
.crest-ledger { border-top: 1px solid var(--rule); }
.crest-ledger li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .62rem 0; border-bottom: 1px solid var(--rule);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--fg-muted);
}
.crest-ledger li b { font-family: var(--serif-text); font-style: normal; font-weight: 400; font-size: .95rem; color: var(--hd); letter-spacing: 0; }
.crest-seal { margin-top: 1.2rem; display: flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-faint); }

/* ---------- Section heading block ---------------------------------------- */
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-block: .9rem .8rem; }
.section-head .muted { font-size: 1.025rem; }
.section-head .lead { color: var(--fg-muted); }
.shead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* ---------- Intro statement --------------------------------------------- */
.statement { font-family: var(--serif-text); font-weight: 400; font-size: clamp(1.45rem, 1.1rem + 1.7vw, 2.15rem); line-height: 1.34; color: var(--hd); letter-spacing: -.005em; }
.statement em { font-style: italic; color: var(--oxblood); }
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split p { font-size: 1.05rem; color: var(--fg-muted); }

/* ---------- Capability / generic cards ---------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rule-2); }
.card .cap-no { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; color: var(--brass); margin-bottom: 1rem; }
.card .cap-ic { width: 38px; height: 38px; color: var(--oxblood); margin-bottom: 1.1rem; }
.card h3 { margin-bottom: .65rem; }
.card p { color: var(--fg-muted); font-size: .96rem; margin-bottom: 1.2rem; }
.card .card-foot { margin-top: auto; padding-top: .2rem; }

/* icon bullet list inside cards */
.spec-list { display: grid; gap: .5rem; margin: .4rem 0 1.2rem; }
.spec-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--fg-muted); }
.spec-list li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; background: var(--brass); transform: rotate(45deg); }
.ink .spec-list li { color: #c9c0a8; }

/* ---------- Approach steps (numbered sequence) -------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--rule); }
.step { padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1rem, 2vw, 1.6rem) 0; border-right: 1px solid var(--rule); position: relative; }
.step:last-child { border-right: 0; }
.step .step-no { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--brass); margin-bottom: .8rem; display: block; }
.step h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.step p { font-size: .92rem; color: var(--fg-muted); }
.ink .step { border-color: rgba(246,239,221,.14); }

/* ---------- Values ------------------------------------------------------- */
.value { padding: clamp(1.3rem, 2.4vw, 1.8rem) 0; border-top: 1px solid var(--rule); }
.value:first-child { border-top: 0; padding-top: 0; }
.value h3 { display: flex; align-items: baseline; gap: .8rem; margin-bottom: .5rem; }
.value h3 .vk { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; color: var(--brass); }
.value p { color: var(--fg-muted); font-size: .98rem; }

/* ---------- Sectors ------------------------------------------------------ */
.tag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.tag-cell { background: var(--paper); padding: clamp(1.3rem, 2.5vw, 2rem); transition: background .25s ease; }
.tag-cell:hover { background: var(--paper-2); }
.tag-cell .tc-no { font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; color: var(--brass); }
.tag-cell h3 { font-size: 1.15rem; margin: .5rem 0 .45rem; }
.tag-cell p { font-size: .9rem; color: var(--fg-muted); margin: 0; }
.ink .tag-grid { background: rgba(246,239,221,.14); border-color: rgba(246,239,221,.14); }
.ink .tag-cell { background: var(--ink); }
.ink .tag-cell:hover { background: var(--ink-2); }

/* ---------- Quote / affiliation strip ----------------------------------- */
.quote-block { font-family: var(--serif-text); font-style: italic; font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2rem); line-height: 1.4; color: #f0e8d6; max-width: 30ch; }
.affil-card { background: var(--ink-2); border: 1px solid rgba(246,239,221,.14); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.affil-card .eyebrow { color: var(--brass-bright); }
.affil-card h3 { color: #f6efdd; font-size: 1.4rem; margin: .7rem 0 .6rem; }
.affil-card p { color: #c9c0a8; font-size: .98rem; margin-bottom: 1.1rem; }
.affil-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--brass-bright); font-weight: 600; font-size: .92rem; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.affil-link:hover { color: var(--paper); text-decoration: none; }

/* ---------- FAQ accordion ----------------------------------------------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: transparent; border: 0; text-align: left; padding: clamp(1.1rem, 2vw, 1.5rem) 0;
  font-family: var(--serif-text); font-size: clamp(1.05rem, 1rem + .5vw, 1.25rem); color: var(--hd); line-height: 1.3;
}
.faq-q:hover { color: var(--oxblood); }
.faq-q .faq-ic { flex: none; width: 26px; height: 26px; position: relative; border: 1px solid var(--rule-2); border-radius: 50%; transition: background .25s ease, border-color .25s ease; }
.faq-q .faq-ic::before, .faq-q .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.4px; background: var(--brass); transform: translate(-50%,-50%); transition: transform .3s ease; }
.faq-q .faq-ic::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[data-open="true"] .faq-q { color: var(--oxblood); }
.faq-item[data-open="true"] .faq-q .faq-ic { background: var(--oxblood); border-color: var(--oxblood); }
.faq-item[data-open="true"] .faq-q .faq-ic::before, .faq-item[data-open="true"] .faq-q .faq-ic::after { background: var(--paper); }
.faq-item[data-open="true"] .faq-q .faq-ic::after { transform: translate(-50%,-50%) rotate(0); }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq-item[data-open="true"] .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a { overflow: hidden; }
.faq-a-inner { padding: 0 0 clamp(1.2rem, 2vw, 1.6rem); max-width: 70ch; color: var(--fg-muted); font-size: 1rem; }
.faq-a-inner p + p { margin-top: .8rem; }

/* ---------- CTA band ----------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.cta-band h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); }
.cta-band p { color: #c9c0a8; font-size: 1.05rem; max-width: 42ch; }
.cta-actions { display: flex; flex-direction: column; gap: .8rem; align-items: stretch; }
.cta-actions .btn { justify-content: space-between; }

/* ---------- Forms -------------------------------------------------------- */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.field label .req { color: var(--oxblood); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--hd);
  background: var(--paper); border: 1px solid var(--rule-2); border-radius: var(--radius);
  padding: .8rem .9rem; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(154,122,44,.16); background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239a7a2c' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.checkbox { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--fg-muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--oxblood); flex: none; }
.form-note { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--fg-faint); }

.form-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); box-shadow: var(--shadow); }

/* ---------- Contact details / ledger panel ------------------------------ */
.detail-list { border-top: 1px solid var(--rule); }
.detail-list dt { font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: .25rem; }
.detail-list dd { margin: 0 0 1.3rem; font-size: 1rem; color: var(--hd); }
.detail-list dd a { color: var(--hd); border-bottom: 1px solid var(--rule-2); }
.detail-list dd a:hover { color: var(--oxblood); border-bottom-color: var(--oxblood); text-decoration: none; }

/* "map-style" area panel: stylised two-city block */
.area-panel { position: relative; border: 1px solid rgba(246,239,221,.18); border-radius: var(--radius); overflow: hidden; background: var(--ink-2); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; }
.area-city { padding: clamp(1.4rem, 3vw, 2rem); position: relative; }
.area-city + .area-city { border-left: 1px solid rgba(246,239,221,.18); }
.area-city .ac-role { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-bright); }
.area-city .ac-name { font-family: var(--serif); font-size: 1.6rem; color: #f6efdd; margin: .5rem 0 .3rem; }
.area-city .ac-meta { font-size: .86rem; color: #b1a78e; }
.area-meridian { height: 1px; background: linear-gradient(90deg, transparent, var(--brass-bright), transparent); opacity: .5; }
.area-foot { padding: 1rem clamp(1.4rem,3vw,2rem); font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #9a9078; }

/* ---------- Breadcrumbs -------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--fg-faint); }
.crumbs a { color: var(--fg-muted); }
.crumbs a:hover { color: var(--oxblood); text-decoration: none; }
.crumbs .sep { color: var(--brass); opacity: .8; }
.crumbs [aria-current="page"] { color: var(--hd); }

/* ---------- Page header (inner pages) ----------------------------------- */
.page-head { padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--rule); }
.page-head .crumbs { margin-bottom: 1.6rem; }
.page-head h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.8rem); margin-bottom: 1rem; }
.page-head .lead { max-width: 56ch; color: var(--fg-muted); }

/* ---------- Capability rich block (services page) ----------------------- */
.cap-block { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--rule); }
.cap-block:first-of-type { border-top: 0; }
.cap-block.reverse { grid-template-columns: 1.15fr .85fr; }
.cap-block.reverse .cap-block-side { order: 2; }
.cap-block-side { position: sticky; top: 96px; }
.cap-block-side .cap-no { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; color: var(--brass); margin-bottom: .9rem; }
.cap-block-side .cap-ic { width: 46px; height: 46px; color: var(--oxblood); margin-bottom: 1.1rem; }
.cap-block-side h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: .9rem; }
.cap-block-side p { color: var(--fg-muted); font-size: 1rem; }
.cap-body h3 { font-size: 1.05rem; margin: 1.4rem 0 .7rem; color: var(--hd); font-family: var(--serif-text); font-weight: 600; }
.cap-body h3:first-child { margin-top: 0; }
.cap-body p { color: var(--fg-muted); }
.cap-mini-ledger { display: grid; gap: .55rem; margin-top: .4rem; }
.cap-mini-ledger li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--rule); font-size: .9rem; }
.cap-mini-ledger li:last-child { border-bottom: 0; }
.cap-mini-ledger .ml-k { color: var(--fg-muted); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.cap-mini-ledger .ml-v { color: var(--hd); font-weight: 500; }

/* ---------- About specifics --------------------------------------------- */
.value-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 clamp(2.5rem,5vw,4rem); }
.house-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.house-cell { background: var(--paper); padding: clamp(1.4rem,2.6vw,2rem); }
.house-cell .hc-ic { width: 34px; height: 34px; color: var(--oxblood); margin-bottom: 1rem; }
.house-cell h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.house-cell p { font-size: .92rem; color: var(--fg-muted); }

.timeline { display: grid; gap: 0; }
.timeline .tl-row { display: grid; grid-template-columns: 120px 1fr; gap: clamp(1rem,3vw,2.5rem); padding: 1.3rem 0; border-top: 1px solid var(--rule); align-items: baseline; }
.timeline .tl-row:first-child { border-top: 0; }
.timeline .tl-k { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.timeline .tl-v h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.timeline .tl-v p { font-size: .95rem; color: var(--fg-muted); margin: 0; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { color: #c9c0a8; padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(1.8rem, 4vw, 3rem); padding-bottom: clamp(2.5rem,5vw,3.5rem); }
.footer-brand .brand { margin-right: 0; margin-bottom: 1.1rem; }
.footer-brand .brand-name { color: #f6efdd; }
.footer-brand p { color: #b1a78e; font-size: .92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-bright); margin-bottom: 1.1rem; font-weight: 500; }
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { color: #c9c0a8; font-size: .92rem; }
.footer-col a:hover { color: #f6efdd; text-decoration: none; }
.footer-contact .fc-line { display: flex; gap: .55rem; align-items: baseline; font-size: .9rem; color: #c9c0a8; margin-bottom: .55rem; }
.footer-contact .fc-line svg { width: 14px; height: 14px; color: var(--brass-bright); flex: none; transform: translateY(2px); }
.footer-contact a { color: #e8dfca; }
.footer-affil { font-size: .82rem; color: #9a9078; }
.footer-affil a { color: var(--brass-bright); border-bottom: 1px solid rgba(201,169,78,.4); }
.footer-affil a:hover { color: #f6efdd; border-bottom-color: #f6efdd; text-decoration: none; }
.footer-rule { height: 1px; background: rgba(246,239,221,.16); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1.6rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: #8e8569; }
.footer-bottom a { color: #b1a78e; }

/* ---------- Reveal-on-scroll -------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-watermark { width: 60vw; right: -20%; top: -4%; }
  .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .cap-block, .cap-block.reverse { grid-template-columns: 1fr; }
  .cap-block.reverse .cap-block-side { order: 0; }
  .cap-block-side { position: static; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .header-phone { display: none; }
  .nav-list {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: .5rem var(--gut) 1.2rem;
    box-shadow: 0 22px 40px -28px rgba(20,32,43,.5);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav.open .nav-list { transform: none; opacity: 1; pointer-events: auto; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
  .nav-list a::after { display: none; }
  .nav-list li:last-child a { border-bottom: 0; }
  .grid-3, .tag-grid, .house-grid { grid-template-columns: 1fr; }
  .tag-grid, .house-grid { gap: 1px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--rule); }
  .step:nth-child(odd) { border-right: 1px solid var(--rule); }
  .grid-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .timeline .tl-row { grid-template-columns: 1fr; gap: .35rem; }
  .area-grid { grid-template-columns: 1fr; }
  .area-city + .area-city { border-left: 0; border-top: 1px solid rgba(246,239,221,.18); }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(odd) { border-right: 0; }
  .hero-footnote { gap: 1rem; }
}
