/* ==========================================================================
   Moorgate Corporation — Private Holdings & Advisory, City of London
   Stylesheet. Hand-written. No framework.
   Palette: City limestone stone · oxblood binding · antique brass · engraved ink
   Type:    Libre Caslon (display) · Schibsted Grotesk (body) · IBM Plex Mono (data)
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --stone:        #e9e6de;   /* page substrate — pale Portland limestone */
  --stone-2:      #dedacf;   /* deeper stone for alternating bands */
  --paper:        #f4f1ea;   /* lifted surface / cards */
  --ink:          #171a1f;   /* engraved printing ink, text + dark sections */
  --ink-2:        #20242b;   /* slightly lifted dark surface */
  --oxblood:      #6e2030;   /* brand accent — bound burgundy leather */
  --oxblood-2:    #8a2a3c;   /* lighter oxblood for hover */
  --brass:        #9c7a3c;   /* antique brass — numerals, fine lines */
  --brass-2:      #b8945a;   /* lighter brass */
  --slate:        #565b63;   /* muted secondary text */
  --slate-2:      #878d96;   /* faint metadata */

  --line:         rgba(23, 26, 31, 0.16);   /* hairline rule on light */
  --line-strong:  rgba(23, 26, 31, 0.32);
  --line-dark:    rgba(233, 230, 222, 0.18);/* hairline rule on dark */
  --muted-dark:   rgba(233, 230, 222, 0.72);/* muted text on dark */
  --faint-dark:   rgba(233, 230, 222, 0.48);

  /* Type families (Google Fonts via <link>, system fallback always present) */
  --ff-display: "Libre Caslon Display", "Libre Caslon Text", "Iowan Old Style",
                "Apple Garamond", Georgia, "Times New Roman", serif;
  --ff-text:    "Libre Caslon Text", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --ff-body:    "Schibsted Grotesk", "Inter", "Helvetica Neue", system-ui,
                -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-mono:    "IBM Plex Mono", "SFMono-Regular", "JetBrains Mono", Menlo,
                Consolas, monospace;

  /* Type scale */
  --t-display: clamp(2.9rem, 6.2vw, 5rem);
  --t-h1:      clamp(2.2rem, 4.4vw, 3.4rem);
  --t-h2:      clamp(1.65rem, 3vw, 2.45rem);
  --t-h3:      clamp(1.2rem, 1.6vw, 1.45rem);
  --t-lead:    clamp(1.1rem, 1.5vw, 1.32rem);
  --t-body:    1.0625rem;
  --t-small:   0.875rem;
  --t-micro:   0.78rem;

  /* Spacing scale */
  --s-1: 0.5rem;
  --s-2: 0.75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 3rem;
  --s-7: 4.5rem;
  --s-8: 6.5rem;
  --s-9: 9rem;

  /* Shape & motion */
  --radius: 3px;
  --radius-lg: 6px;
  --container: 1180px;
  --container-narrow: 760px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 1px 0 rgba(23,26,31,0.04), 0 18px 40px -28px rgba(23,26,31,0.45);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: var(--t-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--oxblood); text-decoration: none; }
a:hover { color: var(--ink); }

ul, ol { margin: 0; padding: 0; }

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

::selection { background: var(--oxblood); color: var(--paper); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink);
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 var(--s-3);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }
p { margin: 0 0 var(--s-3); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }

.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--slate);
  font-weight: 400;
}

/* Eyebrow / small-caps label */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}
.eyebrow.is-centered::before { display: none; }

/* Mono metadata voice */
.mono {
  font-family: var(--ff-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.04em;
  color: var(--slate-2);
  text-transform: uppercase;
}

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

.section {
  padding-block: clamp(3.5rem, 8vw, var(--s-9));
  position: relative;
}
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark .lead { color: var(--muted-dark); }
.section--dark .eyebrow { color: var(--brass-2); }
.section--alt { background: var(--stone-2); }

.section-head { max-width: 720px; margin-bottom: var(--s-6); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head.is-centered .eyebrow { justify-content: center; }
.section-head.is-centered .eyebrow::before { display: none; }
.section-title { margin-bottom: var(--s-3); }
.section-kicker { color: var(--slate); font-size: 1.05rem; }

.divider-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}
.section--dark .divider-rule { border-top-color: var(--line-dark); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(233, 230, 222, 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);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(233, 230, 222, 0.94);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 76px;
}

/* Brand / wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--ff-display);
  font-size: 1.32rem;
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand:hover { color: var(--oxblood); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-weight: 400; }
.brand-name small {
  font-family: var(--ff-mono);
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 0.28rem;
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  list-style: none;
}
.nav-list a {
  position: relative;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  padding-block: 0.4rem;
  transition: color 0.2s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--oxblood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--oxblood); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: var(--s-2); }
.header-cta .call-link {
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  color: var(--slate);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.header-cta .call-link:hover { color: var(--oxblood); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle:hover { border-color: var(--oxblood); color: var(--oxblood); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--oxblood);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.85em 1.4em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  text-align: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
  line-height: 1.1;
}
.btn:hover { background: var(--oxblood-2); color: var(--paper); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; }

.btn-primary { background: var(--oxblood); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-outline-light {
  background: transparent;
  color: var(--paper);
  border-color: var(--line-dark);
}
.btn-outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* WhatsApp — signature green, chat glyph */
.btn-whatsapp {
  background: #25d366;
  color: #04351c;
  border-color: #25d366;
}
.btn-whatsapp:hover { background: #20bd5a; color: #04351c; border-color: #20bd5a; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-title {
  font-size: var(--t-display);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-4);
}
.hero-title em { color: var(--oxblood); font-style: italic; }
.hero-lead { max-width: 46ch; margin-bottom: var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.hero-actions .call-link { margin-left: var(--s-2); font-family: var(--ff-mono); font-size: 0.85rem; color: var(--slate); }
.hero-actions .call-link:hover { color: var(--oxblood); }

/* Hero ledger strip */
.hero-meta {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.hero-meta div { display: flex; flex-direction: column; gap: 0.25rem; }
.hero-meta b {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--ink);
  line-height: 1;
}
.hero-meta span { font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-2); }

/* Hero art (engraved gate) */
.hero-art { position: relative; }
.hero-art-frame {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
  position: relative;
}
.hero-art-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  pointer-events: none;
}
.hero-art svg.engraving { width: 100%; height: auto; color: var(--ink); }
.hero-art-caption {
  margin-top: var(--s-3);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-2);
}

/* ---------- Capability / card grid ---------- */
.grid { display: grid; gap: var(--s-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.1rem);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.card-icon {
  width: 42px; height: 42px;
  color: var(--oxblood);
  margin-bottom: var(--s-3);
}
.card h3 { font-size: 1.32rem; margin-bottom: var(--s-2); }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--oxblood); }
.card p { color: var(--slate); font-size: 0.98rem; }
.card .card-link {
  margin-top: auto;
  padding-top: var(--s-3);
  font-family: var(--ff-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oxblood);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.card .card-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.card:hover .card-link::after { transform: translateX(4px); }
.card-index {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--brass);
  margin-bottom: var(--s-2);
}

/* Dark-section card variant */
.section--dark .card {
  background: var(--ink-2);
  border-color: var(--line-dark);
  color: var(--paper);
}
.section--dark .card h3, .section--dark .card h3 a { color: var(--paper); }
.section--dark .card p { color: var(--muted-dark); }
.section--dark .card:hover { border-color: var(--brass); }

/* ---------- Numbered process ---------- */
.process { counter-reset: step; display: grid; gap: var(--s-3); }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 2.5vw, 2rem) 0;
  border-top: 1px solid var(--line-dark);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step-num {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--brass-2);
  padding-top: 0.35rem;
  min-width: 3.2rem;
}
.step h3 { color: var(--paper); font-size: 1.5rem; margin-bottom: var(--s-2); }
.step p { color: var(--muted-dark); max-width: 60ch; }

/* ---------- Values / check list ---------- */
.check-list { list-style: none; display: grid; gap: var(--s-3); }
.check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  align-items: start;
  color: var(--slate);
}
.section--dark .check-list li { color: var(--muted-dark); }
.check-list svg {
  width: 22px; height: 22px;
  color: var(--oxblood);
  flex: none;
  margin-top: 2px;
}
.section--dark .check-list svg { color: var(--brass-2); }
.check-list b { color: var(--ink); display: block; font-family: var(--ff-display); font-weight: 400; font-size: 1.12rem; margin-bottom: 0.15rem; }
.section--dark .check-list b { color: var(--paper); }

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split-art {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
}
.section--dark .split-art { background: var(--ink-2); border-color: var(--line-dark); }
.split-art svg { width: 100%; height: auto; color: var(--ink); }
.section--dark .split-art svg { color: var(--paper); }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.stat { text-align: left; padding: var(--s-2) 0; }
.stat b {
  display: block;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--brass-2);
  line-height: 1;
  margin-bottom: var(--s-2);
}
.stat span { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint-dark); }

/* ---------- Sectors / chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 0.5em 1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
}
.section--dark .chip { border-color: var(--line-dark); color: var(--paper); background: transparent; }

/* ---------- FAQ (home inline + page) ---------- */
.faq-list { display: grid; gap: 0; max-width: var(--container-narrow); margin-inline: auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.section--dark .faq-item { border-top-color: var(--line-dark); }
.section--dark .faq-item:last-child { border-bottom-color: var(--line-dark); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 1.16rem;
  color: var(--ink);
  padding: clamp(1.1rem, 2vw, 1.5rem) 0;
  transition: color 0.2s var(--ease);
}
.section--dark .faq-q { color: var(--paper); }
.faq-q:hover { color: var(--oxblood); }
.section--dark .faq-q:hover { color: var(--brass-2); }
.faq-q .faq-mark {
  flex: none;
  width: 22px; height: 22px;
  position: relative;
  color: var(--brass);
}
.faq-q .faq-mark::before,
.faq-q .faq-mark::after {
  content: ""; position: absolute; background: currentColor; transition: transform 0.3s var(--ease);
}
.faq-q .faq-mark::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq-q .faq-mark::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.faq-item.is-open .faq-mark::after { transform: translateX(-50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a-inner { padding-bottom: clamp(1.1rem, 2vw, 1.5rem); color: var(--slate); max-width: 68ch; }
.section--dark .faq-a-inner { color: var(--muted-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.8rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-5);
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  pointer-events: none;
}
.cta-band h2 { color: var(--paper); margin-bottom: var(--s-2); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { color: var(--muted-dark); max-width: 48ch; }
.cta-band-actions { display: flex; flex-direction: column; gap: var(--s-2); align-items: flex-start; }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(110,32,48,0.06), transparent 55%),
    var(--stone);
}
.breadcrumbs { font-family: var(--ff-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--slate-2); margin-bottom: var(--s-4); }
.breadcrumbs a { color: var(--slate); }
.breadcrumbs a:hover { color: var(--oxblood); }
.breadcrumbs span { margin-inline: 0.5em; color: var(--line-strong); }
.page-header h1 { font-size: var(--t-h1); max-width: 18ch; }
.page-header .lead { max-width: 60ch; margin-top: var(--s-3); }

/* ---------- Services rich sections (services.html) ---------- */
.service-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.service-block:first-of-type { border-top: 0; }
.service-block-head { position: sticky; top: 6rem; }
.service-block-head .card-index { margin-bottom: var(--s-2); }
.service-block-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: var(--s-2); }
.service-block-head p { color: var(--slate); }
.service-includes {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: var(--s-4);
}
.service-includes h3 { font-size: 1.05rem; font-family: var(--ff-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); margin-bottom: var(--s-3); font-weight: 500; }
.service-includes ul { list-style: none; display: grid; gap: 0.6rem; }
.service-includes li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; color: var(--ink); align-items: start; font-size: 0.98rem; }
.service-includes li::before { content: "—"; color: var(--oxblood); font-family: var(--ff-mono); }
.service-body h3 { font-size: 1.15rem; margin-top: var(--s-4); margin-bottom: var(--s-2); color: var(--ink); }
.service-body p { color: var(--slate); }
.when-box {
  margin-top: var(--s-4);
  padding: var(--s-4);
  border-left: 2px solid var(--brass);
  background: rgba(156,122,60,0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.when-box .mono { display: block; margin-bottom: 0.4rem; }
.when-box p { color: var(--ink); margin: 0; }

/* ---------- About / values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.value { padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.value .card-index { margin-bottom: var(--s-2); }
.value h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.value p { color: var(--slate); font-size: 0.96rem; margin: 0; }

/* Team / principals row */
.principals { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.principal { text-align: left; }
.principal-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: var(--s-3);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: var(--s-4);
}
.principal-portrait svg { width: 100%; height: 100%; color: var(--ink); }
.principal h3 { font-size: 1.2rem; margin-bottom: 0.1rem; }
.principal .mono { display: block; margin-bottom: var(--s-2); }
.principal p { color: var(--slate); font-size: 0.94rem; }

/* Affiliation block */
.affiliate {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-5);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--ink-2);
}
.affiliate-mark { width: 64px; height: 64px; color: var(--brass-2); flex: none; }
.affiliate h3 { color: var(--paper); margin-bottom: var(--s-2); }
.affiliate p { color: var(--muted-dark); margin-bottom: var(--s-3); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.detail-row { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--line); align-items: start; }
.detail-row:first-of-type { border-top: 0; }
.detail-row svg { width: 22px; height: 22px; color: var(--oxblood); flex: none; margin-top: 3px; }
.detail-row b { display: block; font-family: var(--ff-display); font-weight: 400; font-size: 1.1rem; margin-bottom: 0.1rem; }
.detail-row span, .detail-row a { color: var(--slate); font-size: 0.96rem; word-break: break-word; }
.detail-row a:hover { color: var(--oxblood); }

/* Form */
.form { display: grid; gap: var(--s-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--stone);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.8em 0.9em;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--oxblood);
  box-shadow: 0 0 0 3px rgba(110,32,48,0.12);
}
.form-note { font-size: 0.82rem; color: var(--slate-2); }
.form .btn { justify-self: start; margin-top: var(--s-1); }

/* Map-style area block */
.area-block {
  margin-top: var(--s-4);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  align-items: center;
}
.area-map {
  aspect-ratio: 5 / 3;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 36px 36px,
    var(--stone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.area-pin {
  position: absolute;
  top: 44%; left: 52%;
  transform: translate(-50%, -100%);
}
.area-pin svg { width: 30px; height: 30px; color: var(--oxblood); }
.area-pin::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -4px;
  width: 10px; height: 10px;
  background: var(--oxblood);
  border-radius: 50%;
  transform: translateX(-50%);
  opacity: 0.25;
  filter: blur(2px);
}

/* Hours table */
.hours { list-style: none; display: grid; gap: 0.4rem; }
.hours li { display: flex; justify-content: space-between; gap: var(--s-3); font-size: 0.95rem; padding-block: 0.3rem; border-bottom: 1px dashed var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours li b { font-weight: 500; color: var(--ink); }
.hours li span { color: var(--slate); font-family: var(--ff-mono); font-size: 0.85rem; }

/* ---------- FAQ page intro list ---------- */
.faq-nav { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3rem, 6vw, 5rem) var(--s-5);
  border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand { color: var(--paper); }
.footer-brand .brand:hover { color: var(--brass-2); }
.footer-brand p { color: var(--muted-dark); margin-top: var(--s-3); max-width: 34ch; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-2);
  font-weight: 500;
  margin-bottom: var(--s-3);
}
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--muted-dark); font-size: 0.95rem; }
.footer-col a:hover { color: var(--paper); }
.footer-contact .mono { color: var(--faint-dark); display: block; margin-bottom: 0.5rem; }
.footer-contact a.tel { color: var(--paper); font-size: 1.05rem; }
.footer-contact a.tel:hover { color: var(--brass-2); }
.footer-contact .email { color: var(--muted-dark); }
.footer-contact .email:hover { color: var(--paper); }

.footer-group {
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}
.footer-group .group-label {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint-dark);
}
.footer-group a.group-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--paper);
  font-family: var(--ff-display);
  font-size: 1.1rem;
}
.footer-group a.group-link:hover { color: var(--brass-2); }
.footer-group a.group-link svg { width: 18px; height: 18px; color: var(--brass-2); }

.footer-base {
  padding-top: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--ff-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--faint-dark);
}
.footer-base a { color: var(--faint-dark); }
.footer-base a:hover { color: var(--brass-2); }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.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; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .split-art { max-width: 460px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
  .values-grid, .principals { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; }
  .service-block-head { position: static; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .area-block { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* Mobile nav */
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--stone);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .nav.is-open { max-height: 75vh; overflow-y: auto; }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--s-3) clamp(1.1rem, 4vw, 2.4rem) var(--s-5);
  }
  .nav-list li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: var(--s-3) 0; font-size: 1.05rem; width: 100%; }
  .nav-list a::after { display: none; }
  .header-cta .call-link { display: none; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .values-grid, .principals { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; gap: var(--s-3); }
  .affiliate { grid-template-columns: 1fr; }
  .brand-name small { display: none; }
}

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