/* ==========================================================================
   Fairhaven Ventures — private holdings, investment & advisory group
   One cohesive, hand-written stylesheet. Mobile-first. No framework.
   Palette: Ink / Sea / Brass / Paper / Bone / Slate.
   Type: Fraunces (display) + Hanken Grotesk (body), system fallbacks.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* colour */
  --ink: #0e2233;
  --ink-2: #12304621;
  --sea: #16435e;
  --sea-2: #1c5475;
  --brass: #b08d57;
  --brass-2: #cba45f;
  --brass-soft: #d8bd8a;
  --paper: #f6f2ea;
  --paper-2: #efe8db;
  --bone: #fcfaf5;
  --slate: #46555f;
  --slate-2: #6b7a86;
  --line: rgba(14, 34, 51, 0.12);
  --line-strong: rgba(14, 34, 51, 0.22);
  --line-light: rgba(255, 255, 255, 0.14);
  --wa: #25d366;

  /* type */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* scale */
  --fs-xl: clamp(2.6rem, 5.4vw, 4.6rem);
  --fs-h1: clamp(2.1rem, 4.2vw, 3.3rem);
  --fs-h2: clamp(1.7rem, 3vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 1.6vw, 1.4rem);
  --fs-lead: clamp(1.08rem, 1.5vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.78rem;

  /* rhythm */
  --container: 1180px;
  --container-narrow: 880px;
  --gutter: clamp(1.1rem, 4vw, 2.4rem);
  --section-y: clamp(3.6rem, 8vw, 6.8rem);
  --radius: 14px;
  --radius-sm: 9px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.42s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--slate);
  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; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--brass-2); outline-offset: 3px; border-radius: 3px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 96, "SOFT" 50;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: 0; }
p { max-width: 68ch; }
p + p { margin-top: 1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
  opacity: 0.8;
}
.eyebrow.is-centered::before { display: none; }

.lead { font-size: var(--fs-lead); color: var(--slate); line-height: 1.6; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.6rem, 5vw, 4rem); }
.section--ink { background: var(--ink); color: #cdd6dd; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }
.section--ink .lead { color: #aeb9c2; }
.section--bone { background: var(--bone); }
.section--paper-2 { background: var(--paper-2); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head.is-centered .eyebrow { justify-content: center; }
.section-head.is-centered p { margin-inline: auto; }
.section-head h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; font-size: var(--fs-lead); }

/* anchored sections clear the sticky header on hash jumps */
main :is(section, article)[id] { scroll-margin-top: 96px; }

/* skip link */
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 242, 234, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(246, 242, 234, 0.96);
  border-bottom-color: var(--line-strong);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 0.62rem; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-name b { display: block; font-weight: 500; }
.brand-name span {
  font-family: var(--f-body);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-links a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  border-radius: 7px;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.28rem;
  height: 1.5px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 0.7rem; }
.nav-panel { display: flex; align-items: center; }
.mobile-cta { display: none; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
}
.nav-phone svg { width: 16px; height: 16px; color: var(--brass); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brass); color: var(--ink); box-shadow: 0 10px 26px -14px rgba(176, 141, 87, 0.9); }
.btn--primary:hover { background: var(--brass-2); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--sea); }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, 0.4); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--brass-soft); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--brass); color: var(--brass); }
.btn--wa { background: var(--wa); color: #053d22; }
.btn--wa:hover { background: #20bd5a; }
.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* faint navigational chart grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(176, 141, 87, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(176, 141, 87, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 78% 28%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 78% 28%, #000 10%, transparent 75%);
  z-index: -1;
}
.hero::after {
  /* compass bloom */
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(176, 141, 87, 0.18), transparent 62%);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.8rem, 9vw, 7.2rem);
}
.hero .eyebrow { color: var(--brass-soft); }
.hero .eyebrow::before { background: var(--brass-soft); }
.hero h1 {
  color: var(--paper);
  margin-top: 1.2rem;
  font-size: var(--fs-xl);
  font-weight: 480;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-soft);
  font-weight: 420;
}
.hero-lead {
  margin-top: 1.4rem;
  font-size: var(--fs-lead);
  color: #b8c4cd;
  max-width: 52ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-light);
}
.hero-meta div { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-meta b {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--paper);
  line-height: 1;
}
.hero-meta span {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fa0ac;
}

/* hero mark card */
.hero-card {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 360px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 1.8rem;
  backdrop-filter: blur(4px);
}
.compass {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 1.2rem;
}
.hero-card dl { display: grid; gap: 0.7rem; }
.hero-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line-light);
}
.hero-card dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-card dt {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fa0ac;
}
.hero-card dd { color: var(--paper); font-weight: 600; font-size: 0.96rem; }

/* ---------- Trust strip ---------- */
.trust {
  border-bottom: 1px solid var(--line);
  background: var(--bone);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.2rem, 4vw, 3rem);
  padding-block: 1.3rem;
  font-size: var(--fs-sm);
  color: var(--slate-2);
}
.trust-inner span { display: inline-flex; align-items: center; gap: 0.5rem; }
.trust-inner svg { width: 17px; height: 17px; color: var(--brass); }
.trust b { color: var(--ink); font-weight: 600; }

/* ---------- Capability / card grid ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 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;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -30px rgba(14, 34, 51, 0.45);
  border-color: var(--brass-soft);
}
.card-ico {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(176, 141, 87, 0.13);
  color: var(--brass);
  margin-bottom: 1.1rem;
}
.card-ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 0.55rem; color: var(--ink); }
.card p { font-size: 0.98rem; color: var(--slate); }
.card-link {
  margin-top: auto;
  padding-top: 1.2rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.02em;
}
.card-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}
.card:hover .card-link::after { transform: translateX(4px); }

/* ink variant cards */
.section--ink .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-light);
  color: #c2cdd6;
}
.section--ink .card:hover { border-color: var(--brass); background: rgba(255, 255, 255, 0.06); }
.section--ink .card h3 { color: var(--paper); }
.section--ink .card-ico { background: rgba(176, 141, 87, 0.16); color: var(--brass-soft); }
.section--ink .card p { color: #a7b3bd; }

/* ---------- Principles band ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.principle .num {
  font-family: var(--f-display);
  font-size: 0.95rem;
  color: var(--brass-soft);
  letter-spacing: 0.1em;
}
.principle h3 { margin: 0.6rem 0 0.5rem; }
.principle p { font-size: 0.96rem; color: #a7b3bd; }

/* ---------- Approach / process (numbered, real sequence) ---------- */
.approach {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}
.approach::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong), transparent);
}
.step { padding: 0 clamp(0.6rem, 1.5vw, 1.2rem); position: relative; }
.step .dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bone);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--brass);
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; }

/* ---------- Sectors ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sector {
  background: var(--bone);
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  transition: background 0.3s var(--ease);
}
.sector:hover { background: var(--paper-2); }
.sector-ico { width: 32px; height: 32px; color: var(--brass); margin-bottom: 0.8rem; }
.sector h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.sector p { font-size: 0.92rem; }

/* ---------- Split / feature row ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--offset > :first-child { order: 2; }
.feature-list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.feature-list li {
  display: flex;
  gap: 0.85rem;
  font-size: 0.99rem;
  color: var(--slate);
}
.feature-list li svg { width: 22px; height: 22px; color: var(--brass); flex: none; margin-top: 1px; }
.feature-list b { color: var(--ink); font-weight: 600; }

/* visual panel for splits */
.panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  min-height: 340px;
  display: grid;
  place-items: center;
  isolation: isolate;
  border: 1px solid var(--line);
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(176, 141, 87, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(176, 141, 87, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: -1;
}
.panel svg { width: 62%; max-width: 280px; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item.is-open { border-color: var(--brass-soft); box-shadow: 0 16px 36px -28px rgba(14, 34, 51, 0.4); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  text-align: left;
  font-family: var(--f-display);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}
.faq-q .faq-icon {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  color: var(--brass);
  transition: transform var(--dur) var(--ease);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--slate); max-width: none; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(176, 141, 87, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(176, 141, 87, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 120% at 18% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 120% at 18% 50%, #000, transparent 75%);
  z-index: -1;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-block: clamp(2.8rem, 6vw, 4.4rem);
}
.cta-inner h2 { color: var(--paper); max-width: 18ch; }
.cta-inner p { color: #b8c4cd; margin-top: 0.8rem; max-width: 46ch; }
.cta-actions { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; }

/* ---------- Stats / quiet band ---------- */
.datum {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: left;
}
.datum div { border-left: 2px solid var(--brass); padding-left: 1rem; }
.datum b {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.1;
}
.datum span { font-size: 0.92rem; color: var(--slate-2); }
.section--ink .datum b { color: var(--paper); }
.section--ink .datum span { color: #97a4ae; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(176, 141, 87, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(176, 141, 87, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 85% 10%, #000 5%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 70% at 85% 10%, #000 5%, transparent 70%);
  z-index: -1;
}
.page-hero-inner { padding-block: clamp(2.8rem, 6vw, 4.6rem); max-width: 70ch; }
.page-hero .eyebrow { color: var(--brass-soft); }
.page-hero .eyebrow::before { background: var(--brass-soft); }
.page-hero h1 { color: var(--paper); margin-top: 1rem; }
.page-hero p { color: #b8c4cd; margin-top: 1rem; font-size: var(--fs-lead); }

/* breadcrumb */
.breadcrumbs { font-size: var(--fs-sm); color: #8fa0ac; margin-top: 1.4rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--brass-soft); }
.breadcrumbs span { color: #6f808b; }

/* ---------- Capability rich sections (services page) ---------- */
.cap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: start;
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
  border-top: 1px solid var(--line);
}
.cap:first-of-type { border-top: 0; }
.cap-num {
  font-family: var(--f-display);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--brass);
  display: block;
  margin-bottom: 0.5rem;
}
.cap h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.cap > div > p { margin-top: 0.8rem; color: var(--slate); }
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; margin-top: 0.4rem; }
.cap-block h4 {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.cap-block ul { display: grid; gap: 0.5rem; }
.cap-block li { font-size: 0.95rem; color: var(--slate); padding-left: 1.1rem; position: relative; }
.cap-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.6rem);
  align-items: start;
}
.contact-card {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}
.contact-row { display: flex; gap: 0.95rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-row:first-child { padding-top: 0; }
.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-row svg { width: 22px; height: 22px; color: var(--brass); flex: none; margin-top: 2px; }
.contact-row b { display: block; color: var(--ink); font-weight: 600; }
.contact-row span, .contact-row a { font-size: 0.95rem; color: var(--slate); }
.contact-row a:hover { color: var(--brass); }

/* form */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.field label .req { color: var(--brass); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 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(--brass);
  background: var(--bone);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.18);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: var(--fs-sm); color: var(--slate-2); }

/* ---------- Map-style area ---------- */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.area-grid div { background: var(--bone); padding: 1.4rem; }
.area-grid b { display: block; color: var(--ink); font-weight: 600; font-family: var(--f-display); font-size: 1.1rem; }
.area-grid span { font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9aa6b0; }
.site-footer a { color: #c2cdd6; }
.site-footer a:hover { color: var(--brass-soft); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.2rem;
  padding-block: clamp(3rem, 6vw, 4.6rem);
  border-bottom: 1px solid var(--line-light);
}
.footer-brand .brand-name { color: var(--paper); }
.footer-brand p { color: #8d99a3; margin-top: 1rem; font-size: 0.95rem; max-width: 34ch; }
.footer-col h4 {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-soft);
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.95rem; }
.footer-contact li { display: flex; gap: 0.6rem; font-size: 0.95rem; color: #c2cdd6; margin-bottom: 0.7rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--brass-soft); flex: none; margin-top: 3px; }
.group-co {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.9rem;
  color: #8d99a3;
}
.group-co a { color: var(--brass-soft); font-weight: 600; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  font-size: var(--fs-sm);
  color: #7a8791;
}
.footer-bottom a:hover { color: var(--brass-soft); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- Reveal on scroll ---------- */
.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; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .approach { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 0; }
  .approach::before { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { justify-self: start; max-width: 420px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-actions > .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }

  /* mobile dropdown */
  .nav-panel {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 30px 50px -30px rgba(14, 34, 51, 0.4);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), visibility var(--dur);
    padding: 1rem var(--gutter) 1.6rem;
  }
  .nav-panel.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-panel .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav-panel .nav-links a { padding: 0.85rem 0.5rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-panel .nav-links a::after { display: none; }
  .nav-panel .mobile-cta { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.1rem; }
  .nav-panel .nav-phone {
    display: inline-flex;
    justify-content: center;
    padding: 0.82rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    color: var(--ink);
  }

  .grid--3, .grid--2, .sectors, .contact-grid, .split, .cap, .cap-grid, .area-grid, .datum {
    grid-template-columns: 1fr;
  }
  .cap-grid { gap: 1.4rem; }
  .split--offset > :first-child { order: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.2rem; }
}

@media (max-width: 460px) {
  .grid--4 { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

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

/* ---------- Print ---------- */
@media print {
  .site-header, .cta-band, .nav-toggle, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
