/* Meridian Business Advisory
   Layout: full-bleed bands, each holding a centred .wrap column, content left aligned.
   The home hero splits text (left) and a sunrise illustration (right); inner pages open
   with a compact header. Gold is reserved for rules, icons and the arc motif. */

/* Brand fonts, hosted with the site and preloaded so text appears once, in the final font */
@font-face { font-family: "Figtree"; src: url("assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: block; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: block; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: block; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 400 500; font-style: italic; font-display: block; }

:root {
  --navy: #071C2F;
  --gold: #BC8B3E;
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F4F6F8;
  --fg: #071C2F;
  --muted: #4A5B6C;
  --line: #DCE2E8;
  --accent: #071C2F;
  --on-accent: #FFFFFF;
  --band-bg: #071C2F;
  --navy-deep: #051523;
  --band-fg: #FFFFFF;
  --band-muted: #B5C2D0;
  --band-gold: #BC8B3E;
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --measure: 62ch;
  --radius: 4px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

html body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
  color: var(--fg);
}

h1 { font-size: clamp(2.6rem, min(5.6vw, 9svh), 4.5rem); letter-spacing: -0.01em; line-height: 1.02; }
h2 { font-size: clamp(1.95rem, 3.8vw, 2.8rem); letter-spacing: -0.005em; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }

p { margin: 0; max-width: var(--measure); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -16px rgba(7, 23, 41, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--fg);
  min-width: 0;
}
.brand-mark { width: 60px; height: auto; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-sub {
  margin-top: 5px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--fg);
  font: inherit;
  font-size: 0.95rem;
  padding: 9px 14px;
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 4px; }
.nav-toggle-bars span { display: block; width: 18px; height: 2px; background: currentColor; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  position: relative;
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--fg);
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a.btn { margin-left: 8px; padding: 10px 20px; color: var(--on-accent); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 26px;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}
.btn-ghost:hover { background: var(--fg); color: var(--bg); }
.btn-on-band { background: var(--band-gold); border-color: var(--band-gold); color: #071C2F; }
.btn-ghost-band { background: transparent; color: var(--band-fg); border-color: rgba(255, 255, 255, 0.6); }
.btn-ghost-band:hover { background: var(--band-fg); color: var(--band-bg); }
.btn-small { padding: 9px 16px; font-size: 0.9rem; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 8vw, 104px); }
.section-alt { background: var(--surface-2); }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); }

.lede { font-size: 1.2rem; color: var(--muted); max-width: 58ch; }

.icon { width: 30px; height: 30px; flex: none; color: var(--gold); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(24px, 3.5vw, 48px) clamp(64px, 6vw, 84px);
  background: linear-gradient(90deg, var(--bg) 0 60%, var(--surface-2) 60% 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 980px;
  height: 980px;
  left: -760px;
  top: 40px;
  border: 1px solid rgba(188, 139, 62, 0.35);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  left: -660px;
  top: 150px;
  border: 1px solid rgba(188, 139, 62, 0.18);
  border-radius: 50%;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-copy .lede { max-width: 52ch; }
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media {
  position: relative;
  margin-right: calc(-1 * ((100vw - min(100vw, var(--wrap))) / 2 + var(--gutter)));
}
.hero-art {
  position: relative;
  overflow: hidden;
  border-radius: 140px 0 0 0;
  aspect-ratio: 5 / 4;
  max-height: max(380px, calc(100svh - 230px));
  width: 100%;
  background: var(--navy);
  box-shadow: 0 30px 60px -36px rgba(7, 28, 47, 0.7);
}
.hero-card {
  position: absolute;
  left: -56px;
  bottom: -44px;
  display: grid;
  gap: 8px;
  max-width: 310px;
  padding: 22px 26px;
  background: var(--surface);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(7, 28, 47, 0.45);
}
.hero-card-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.hero-card-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.2; color: var(--fg); }
.hero-card .text-link { font-size: 0.95rem; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  list-style: none;
  margin: 8px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  width: 100%;
  font-size: 0.92rem;
  color: var(--muted);
}
.hero-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
}
.hero-photo { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 70% 45%; }

.practice-strip { border-block: 1px solid var(--line); background: var(--surface); }
.practice-strip ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.practice-strip li { flex: 1 1 200px; border-left: 1px solid var(--line); }
.practice-strip li:first-child { border-left: 0; }
.practice-strip a {
  display: block;
  padding: 20px 22px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  transition: background 0.2s ease;
}
.practice-strip a:hover { background: var(--surface-2); }

/* ---------- Two column text ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}
.split-copy { display: grid; gap: 20px; }
.text-link {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  justify-self: start;
}
.text-link:hover { border-bottom-color: var(--fg); }

/* ---------- Service rows (home) ---------- */

.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 56px minmax(0, 0.7fr) minmax(0, 1.3fr) auto;
  gap: 24px;
  align-items: center;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}
.row h3 { font-size: 1.5rem; }
.row p { color: var(--muted); font-size: 1rem; }
.row .text-link { white-space: nowrap; }

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pillar {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 4px 28px 4px 24px;
  border-left: 2px solid var(--gold);
}
.pillar:first-child { border-left-color: transparent; padding-left: 0; }
.pillar h3 { font-size: 1.35rem; }
.pillar p { color: var(--muted); font-size: 1rem; }

/* ---------- Dark band ---------- */

.band {
  position: relative;
  overflow: hidden;
  background: var(--band-bg);
  color: var(--band-fg);
}
.band h1, .band h2, .band h3, .band .kicker { color: var(--band-fg); }
.band p { color: var(--band-muted); }
.band .kicker::before { background: var(--band-gold); }
.band .icon { color: var(--band-gold); }
.band-watermark {
  position: absolute;
  right: -90px;
  top: 50%;
  width: 520px;
  max-width: none;
  transform: translateY(-50%);
  color: var(--band-fg);
  opacity: 0.08;
  pointer-events: none;
}
.band .split { position: relative; }

.band .rows, .band .row { border-color: rgba(255, 255, 255, 0.18); }
.band .row p { color: var(--band-muted); }
.band .text-link { border-bottom-color: var(--band-gold); }
.band .text-link:hover { border-bottom-color: var(--band-fg); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- How can we help ---------- */
.helper { background: var(--surface-2); border-block: 1px solid var(--line); padding-block: clamp(32px, 4.5vw, 52px); }
.helper .wrap { display: grid; gap: 22px; }
.helper-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.helper-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}
.helper-label { color: var(--fg); }
.helper-form select {
  font: inherit;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  background: var(--surface);
  border: 0;
  border-bottom: 2px solid var(--gold);
  border-radius: 0;
  padding: 10px 30px 8px 4px;
  max-width: 100%;
  min-width: 0;
}
.helper-form select:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.helper-form .btn { font-family: var(--font-body); }
.helper-result {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px 48px;
  align-items: center;
  padding: clamp(22px, 3.5vw, 36px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  animation: panel-in 0.35s ease both;
}
.helper-result-copy { display: grid; gap: 10px; }
.helper-result-copy p { color: var(--muted); }
.helper-for { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.helper-actions { justify-content: flex-end; }

/* ---------- Principal ---------- */
.principal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.principal-intro { display: grid; gap: 16px; }
.principal-intro .kicker { margin: 0; }
.principal-intro p:not(.kicker) { color: var(--muted); }
.principal-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: clamp(22px, 3.5vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.principal-details h3 { font-size: 1.7rem; }
.principal-contact { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; overflow-wrap: anywhere; }
.principal-contact a { text-decoration: none; border-bottom: 1px solid var(--gold); }

.panel-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.panel-contact { color: var(--muted); font-size: 0.98rem; }

@media (max-width: 860px) {
  .helper-result, .principal { grid-template-columns: minmax(0, 1fr); }
  .helper-actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .helper-form select, .helper-form .btn { width: 100%; }
  .principal-card { grid-template-columns: minmax(0, 1fr); }
}

.band .pair p, .band .section-head p, .band .cta-copy p, .band .step p { color: var(--band-muted); }
.band-photo {
  background:
    linear-gradient(90deg, rgba(7, 28, 47, 0.96) 0%, rgba(7, 28, 47, 0.86) 50%, rgba(7, 28, 47, 0.66) 100%),
    url("assets/hero-port.jpg") center 60% / cover no-repeat;
}
.hero.band { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.hero.band .hero-art { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip {
  padding: 9px 16px;
  border: 1px solid rgba(234, 240, 248, 0.28);
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--band-fg);
}

/* ---------- Values ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.value {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 8px 20px;
  border-left: 1px solid var(--line);
}
.value:first-child { border-left: 0; }
.value h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.value p { color: var(--muted); font-size: 0.98rem; }

.values-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; list-style: none; margin: 0; padding: 0; }
.value-detail { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; }
.value-detail p { color: var(--muted); font-size: 1rem; margin-top: 6px; }

/* ---------- CTA ---------- */

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}
.cta-copy { display: grid; gap: 14px; flex: 1 1 380px; }

/* ---------- Page header (inner pages) ---------- */

.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 92px) clamp(40px, 6vw, 72px);
  background:
    radial-gradient(60% 140% at 100% 0%, rgba(188, 139, 62, 0.18), transparent 70%),
    var(--band-bg);
  color: var(--band-fg);
}
.page-head .wrap { position: relative; display: grid; gap: 22px; }
.page-head h1 { color: var(--band-fg); }
.page-head .lede { color: var(--band-muted); }
.page-head .band-watermark { width: 430px; right: -70px; }
.breadcrumb { font-size: 0.9rem; color: var(--band-muted); }
.breadcrumb a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.breadcrumb a:hover { border-bottom-color: var(--band-gold); }

/* ---------- Tabs (services) ---------- */

.tabs { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tablist { display: grid; gap: 4px; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.tab {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  text-align: left;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-left: 3px solid var(--line);
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.tab .icon { width: 26px; height: 26px; }
.tab:hover { background: var(--surface-2); }
.tab[aria-selected="true"] { background: var(--surface); border-left-color: var(--gold); }

.tabpanel {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  animation: panel-in 0.35s ease both;
}
@keyframes panel-in { from { opacity: 0.4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tabpanel-head { display: grid; gap: 14px; }
.tabpanel-head p { color: var(--muted); font-size: 1.1rem; }
.panel-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.panel-lists h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; font-size: 1rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Approach ---------- */

.pillar-long { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding-block: 32px; border-top: 1px solid var(--line); }
.pillar-long:last-child { border-bottom: 1px solid var(--line); }
.pillar-long .icon { width: 40px; height: 40px; }
.pillar-long-copy { display: grid; gap: 10px; }
.pillar-long-copy p { color: var(--muted); }
.pillar-tag { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--fg); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.step { position: relative; display: grid; gap: 12px; align-content: start; padding: 0 24px 0 0; counter-increment: step; }
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--band-gold);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--band-fg);
  background: var(--band-bg);
  position: relative;
  z-index: 1;
}
.step::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 44px;
  right: 0;
  height: 2px;
  background: rgba(212, 171, 79, 0.45);
}
.step:last-child::after { display: none; }
.step p { font-size: 0.98rem; }

/* ---------- Sectors ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.filter:hover { border-color: var(--fg); }
.filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.sector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sector p { color: var(--muted); font-size: 1rem; }
.sector .ticks { margin-block: 4px 8px; }
.sector .text-link { margin-top: auto; align-self: flex-start; }
.sector-cta { background: var(--band-bg); border-color: var(--band-bg); }
.sector-cta h3 { color: var(--band-fg); }
.sector-cta p, .sector-cta .sector-tag { color: var(--band-muted); }
.sector-cta .text-link { color: var(--band-fg); border-bottom-color: var(--band-gold); }
.sector-tag { font-size: 0.8rem; font-weight: 600; color: var(--muted); }

.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; }
.audience li { display: grid; gap: 10px; align-content: start; padding: 4px 28px 4px 24px; border-left: 2px solid var(--gold); }
.audience li:first-child { border-left-color: transparent; padding-left: 0; }
.audience p { color: var(--muted); font-size: 1rem; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-item { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 16px; align-items: start; }
.contact-item dt, .contact-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-item dd, .contact-value { margin: 4px 0 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-value a { text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact-value a:hover { border-bottom-width: 2px; }

.form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 0.92rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field-error { font-size: 0.88rem; color: #B3261E; min-height: 1.2em; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.form-note { font-size: 0.92rem; color: var(--muted); }

.enquiry-out { display: grid; gap: 14px; padding: 22px; background: var(--surface-2); border-radius: var(--radius); }
.enquiry-out textarea { width: 100%; min-height: 190px; font: inherit; font-size: 0.95rem; line-height: 1.5; color: var(--fg); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.status { font-size: 0.92rem; color: var(--muted); }

.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 1.6rem; font-weight: 400; color: var(--gold); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); }

/* ---------- Leadership ---------- */

.leader { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; align-items: center; }
.leader-mark {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--band-bg);
  color: var(--band-gold);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.leader h3 { font-size: 1.8rem; }
.leader-role { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 6px 0 12px; }
.leader p { color: var(--muted); }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); }
.pair > div { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 2px solid var(--gold); }
.pair p { color: var(--muted); }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: var(--band-fg); padding-block: clamp(48px, 7vw, 80px) 28px; }
.site-footer .brand { color: var(--band-fg); }
.site-footer .brand-sub { color: var(--band-muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(234, 240, 248, 0.16); }
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--band-muted); }
.site-footer h2 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--band-gold); margin-bottom: 16px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.98rem; }
.footer-list a { text-decoration: none; color: var(--band-fg); }
.footer-list a:hover { text-decoration: underline; text-decoration-color: var(--band-gold); text-underline-offset: 4px; }
.footer-list li { overflow-wrap: anywhere; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; font-size: 0.85rem; color: var(--band-muted); }
.footer-legal p { max-width: 70ch; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .pillars, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .pillar:nth-child(3) { border-left-color: transparent; padding-left: 0; }
  .value:nth-child(3) { border-left: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .step:nth-child(2)::after { display: none; }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 48px minmax(0, 1fr); }
  .row p { grid-column: 2; }
  .row .text-link { grid-column: 2; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -22px rgba(7, 23, 41, 0.6);
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a.btn { margin: 16px 0 0; text-align: center; }
  .hero-grid, .split, .contact-grid, .tabs { grid-template-columns: minmax(0, 1fr); }
  .hero { background: var(--bg); padding-bottom: 56px; }
  .hero::before, .hero::after { display: none; }
  .hero-media { margin-right: calc(-1 * var(--gutter)); }
  .hero-art { aspect-ratio: 4 / 3; border-radius: 80px 0 0 0; }
  .hero-card { position: relative; left: auto; bottom: auto; margin: -48px var(--gutter) 0 16px; max-width: none; }
  .hero-photo { object-position: 82% 50%; }
  .tablist {
    position: static;
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 8px;
  }
  .tab { flex: none; grid-template-columns: 26px auto; border-left: 0; border-bottom: 3px solid var(--line); white-space: nowrap; }
  .tab[aria-selected="true"] { border-bottom-color: var(--gold); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .audience { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .audience li, .audience li:first-child { border-left: 2px solid var(--gold); padding-left: 20px; }
  .values-detail, .pair, .panel-lists { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .brand-name { font-size: 1.2rem; letter-spacing: 0.12em; }
  .brand-mark { width: 46px; }
  .pillars, .values, .steps, .sector-grid { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar:first-child, .pillar:nth-child(3) { border-left: 2px solid var(--gold); padding-left: 20px; }
  .value, .value:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .value:first-child { border-top: 0; padding-top: 8px; }
  .step { padding-right: 0; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; padding-bottom: 8px; }
  .step::after { top: 44px; bottom: -28px; left: 21px; right: auto; width: 2px; height: auto; }
  .step::before { grid-row: span 2; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .leader { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .practice-strip li { flex-basis: 100%; border-left: 0; border-top: 1px solid var(--line); }
  .practice-strip li:first-child { border-top: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Phone hero: text first, photo starts below the first screen ---------- */
@media (max-width: 860px) {
  .hero-copy { min-height: calc(100svh - 76px - 24px); align-content: center; padding-bottom: 24px; }
}
@media (max-width: 600px) {
  .hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 16px; font-size: 0.8rem; }
  .hero-facts strong { font-size: 1.1rem; }
}
@media (max-width: 860px) {
  .tablist { flex-wrap: wrap; overflow: visible; gap: 8px; padding-bottom: 0; }
  .tab {
    flex: 1 1 calc(50% - 8px);
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    white-space: normal;
    padding: 10px 12px;
    font-size: 0.88rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .tab .icon { width: 22px; height: 22px; }
  .tab[aria-selected="true"] { border-color: var(--gold); background: var(--surface-2); box-shadow: inset 0 -3px 0 var(--gold); }
}
@media (max-width: 600px) {
  .row { grid-template-columns: 30px minmax(0, 1fr); gap: 10px 14px; padding-block: 24px; }
  .row .icon { width: 26px; height: 26px; }
  .row p, .row .text-link { grid-column: 1 / -1; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
  .value, .value:nth-child(3) { border-left: 0; border-top: 0; padding: 18px 8px; }
  .value:nth-child(odd) { border-right: 1px solid var(--line); }
  .value:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .value h3 { font-size: 0.78rem; letter-spacing: 0.14em; }
}

/* ---------- Approach page additions ---------- */
.step-out { margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.92rem; }
.step-out span, .model-fit span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--band-gold);
}
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.model {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(22px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
}
.model p { color: var(--muted); font-size: 1rem; }
.model-fit { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.model-fit span { color: var(--fg); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; list-style: none; margin: 0; padding: 0; }
.principles li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--gold); }
.principles h3 { font-size: 1.3rem; }
.principles p { color: var(--muted); font-size: 1rem; }
@media (max-width: 1020px) { .models { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .principles { grid-template-columns: minmax(0, 1fr); } }
