/* ==========================================================================
   Magic Mike Studio — shared styles
   Colours, fonts and spacing live in :root. Change a token here and the
   whole site updates. Brand rules: docs/build-brief.md §2.
   ========================================================================== */

:root {
  /* Brand colours */
  --charcoal: #101820;
  --charcoal-2: #18222c;      /* cards */
  --charcoal-3: #0b1117;      /* deepest bands */
  --gold: #d7b568;
  --gold-dark: #c29e4c;       /* button hover */
  --ivory: #f2f0ea;
  --steel: #657a8c;
  --steel-light: #9aabba;     /* secondary text on dark (passes AA) */
  --line: rgba(101, 122, 140, 0.35);

  /* Type */
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 16px;
  --radius-btn: 10px;
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 750; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--charcoal); padding: 10px 16px;
  border-radius: var(--radius-btn); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout helpers ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow { max-width: 720px; }
.section { padding-block: var(--section); position: relative; }
.section--deep { background: var(--charcoal-3); }
.section--light { background: var(--ivory); color: var(--charcoal); }
.section--light .muted { color: #44525f; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--steel-light); font-size: 1.125rem; }
.eyebrow {
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.muted { color: var(--steel-light); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--steel-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-btn);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--gold); color: var(--charcoal); }
.btn--primary:hover { background: var(--gold-dark); box-shadow: 0 8px 28px rgba(215,181,104,.25); transform: translateY(-1px); }
.btn--secondary { border-color: var(--ivory); color: var(--ivory); background: transparent; }
.btn--secondary:hover { background: rgba(242,240,234,.08); }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: .925rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link {
  color: var(--gold); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.text-link:hover { border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(16,24,32,.96); border-color: var(--line); backdrop-filter: blur(8px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark {
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  text-decoration: none; letter-spacing: -0.01em; white-space: nowrap;
}
.wordmark span { color: var(--gold); }
.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ivory);
  opacity: .85; transition: opacity .2s, color .2s;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { opacity: 1; color: var(--gold); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--ivory);
  width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
}
.menu-toggle svg { margin: auto; }

@media (max-width: 960px) {
  .site-nav {
    position: fixed; inset: 0; background: var(--charcoal); z-index: 99;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: center; gap: 22px; }
  .nav-list a { font-size: 1.5rem; font-family: var(--font-head); font-weight: 700; }
  .menu-toggle { display: grid; position: relative; z-index: 101; }
  .header-cta .btn { display: none; }
  .site-nav .btn { display: inline-flex; margin-top: 32px; }
}
@media (min-width: 961px) { .site-nav .btn { display: none; } }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 72px; position: relative; overflow: hidden;
}
.hero::before {                       /* subtle gold glow + steel grid, no "magic" imagery */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(215,181,104,.13), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(101,122,140,.18), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 64px 64px;
  mask-image: radial-gradient(80% 70% at 60% 40%, #000 30%, transparent 85%);
  opacity: .55;
}
.hero .container { position: relative; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 60ch; margin-bottom: 36px; }
.trust-line {
  margin-top: 32px; color: var(--steel-light); font-size: .95rem;
  display: flex; flex-wrap: wrap; gap: 6px 18px;
}
.trust-line span::before { content: "✓"; color: var(--gold); margin-right: 8px; }

/* ---------- Cards & grids ---------- */
.card {
  background: var(--charcoal-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); border-color: rgba(215,181,104,.45); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.card p:last-child { margin-bottom: 0; }
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold); margin-bottom: 18px;
}
.pillar-label {
  font-family: var(--font-head); font-size: .75rem; letter-spacing: .2em; font-weight: 800;
  color: var(--gold); display: block; margin-bottom: 10px;
}
.tag {
  display: inline-block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel-light); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}

/* Problem band */
.problem p { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--steel-light); }
.problem p.strong { color: var(--ivory); font-weight: 600; }

/* Web is changing — three points */
.points { list-style: none; padding: 0; margin: 32px 0 36px; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.points .icon { margin: 0; }
.points strong { color: var(--ivory); }

/* Sectors */
.sectors { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.sector--wide { grid-column: 1 / -1; border-color: rgba(215,181,104,.4); background: linear-gradient(135deg, rgba(215,181,104,.08), var(--charcoal-2) 50%); }
@media (max-width: 860px) { .sectors { grid-template-columns: 1fr; } }

/* Featured work — horizontal scroll on mobile */
.work-track { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.work-track .card { display: flex; flex-direction: column; gap: 12px; }
.work-track .card .tag { align-self: flex-start; margin-top: auto; }
@media (max-width: 960px) {
  .work-track {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 340px);
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  }
  .work-track .card { scroll-snap-align: start; }
}

/* What you get — icon grid */
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.benefits li { padding-top: 20px; border-top: 1px solid var(--line); }
.benefits strong { display: block; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 6px; }
.benefits span { color: var(--steel-light); }

/* Why I started */
.story { display: grid; gap: clamp(32px, 6vw, 72px); grid-template-columns: 5fr 7fr; align-items: center; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }
.photo-slot {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--charcoal-2), var(--charcoal-3));
  border: 1px solid var(--line);
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot__hint {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: var(--steel); font-size: .9rem; padding: 24px;
}
.signature { font-family: var(--font-head); font-weight: 700; color: var(--gold); margin-top: 24px; }

/* Promise — numbered list */
.promise { list-style: none; counter-reset: p; padding: 0; margin: 0; display: grid; gap: 4px; }
.promise li {
  counter-increment: p; display: grid; grid-template-columns: 64px 1fr; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid rgba(16,24,32,.12);
}
.promise li::before {
  content: counter(p, decimal-leading-zero); font-family: var(--font-head); font-weight: 800;
  font-size: 1.4rem; color: var(--gold-dark);
}
.promise strong { font-family: var(--font-head); }

/* Founding clients panel */
.founding {
  border: 1px solid var(--gold); border-radius: calc(var(--radius) + 4px);
  padding: clamp(28px, 5vw, 56px); background: linear-gradient(135deg, rgba(215,181,104,.1), transparent 60%);
  display: grid; gap: 32px; grid-template-columns: 1.2fr 1fr; align-items: center;
}
@media (max-width: 860px) { .founding { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.ticks li::before { content: "✓"; color: var(--gold); font-weight: 800; }

/* Final CTA band */
.cta-band { text-align: center; background: var(--charcoal-3); border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-band .lead { max-width: 56ch; margin: 0 auto 32px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .micro { margin-top: 24px; font-size: .9rem; color: var(--steel-light); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.footer-links a { color: var(--steel-light); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-pillars { color: var(--gold); font-family: var(--font-head); font-size: .8rem; letter-spacing: .2em; font-weight: 700; text-transform: uppercase; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--steel-light);
}
.sign-off { font-family: var(--font-head); font-weight: 700; color: var(--ivory); }

/* ---------- Scroll reveal (respects reduced motion) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

/* ==========================================================================
   Inner pages (Services and beyond)
   ========================================================================== */
.hero--page { min-height: auto; padding-top: calc(var(--header-h) + clamp(64px, 10vw, 120px)); padding-bottom: clamp(56px, 8vw, 96px); }
.hero--page h1 { max-width: 18ch; }
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.jump-links a {
  text-decoration: none; font-size: .875rem; color: var(--steel-light);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; transition: color .2s, border-color .2s;
}
.jump-links a:hover { color: var(--gold); border-color: var(--gold); }
.service { scroll-margin-top: var(--header-h); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Service block: text left, "What's included" card right, button below */
.service-row { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 7fr 5fr; align-items: start; }
.service-row h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.service-cta { grid-column: 1 / -1; }
@media (max-width: 900px) { .service-row { grid-template-columns: 1fr; } }
.included h3 { font-size: 1.05rem; letter-spacing: .02em; color: var(--gold); margin-bottom: 18px; }
.included .ticks { margin: 0; gap: 14px; }
.included .ticks li { color: var(--ivory); font-size: .975rem; line-height: 1.55; }
.note { border-left: 2px solid var(--gold); padding: 4px 0 4px 16px; color: var(--steel-light); }
.note strong { color: var(--ivory); }

/* Dark panel with gold accent (healthcare strip) */
.panel-gold {
  background: var(--charcoal-2); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: calc(var(--radius) + 4px); padding: clamp(28px, 5vw, 56px);
}

/* How it works: horizontal timeline, vertical on mobile */
.timeline { list-style: none; counter-reset: t; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px; background: var(--line); }
.timeline li { counter-increment: t; position: relative; padding-top: 64px; }
.timeline li::before {
  content: counter(t); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--charcoal-3); border: 1px solid var(--gold);
  color: var(--gold); font-family: var(--font-head); font-weight: 800;
}
.timeline strong { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 6px; }
.timeline span { color: var(--steel-light); font-size: .975rem; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; }
  .timeline li { padding: 0 0 28px 68px; min-height: 44px; }
}

/* ---------- Healthcare page components (reusable) ---------- */
/* Proof strip: four stat blocks, two-by-two on mobile */
.stats-band { border-block: 1px solid var(--line); background: var(--charcoal-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stats > div { padding: clamp(24px, 4vw, 40px) clamp(12px, 2vw, 28px); border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats dt { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2.1rem); color: var(--gold); line-height: 1.15; margin-bottom: 8px; }
.stats dd { margin: 0; color: var(--steel-light); font-size: .925rem; line-height: 1.5; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stats > div:nth-child(-n+2) { border-top: 0; }
  .stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}

/* Cards with a button at the bottom */
.card--action { display: flex; flex-direction: column; }
.card--action .btn { align-self: flex-start; margin-top: auto; }
.card--action p { margin-bottom: 24px !important; }

/* Four-step timeline variant */
.timeline--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .timeline--4 { grid-template-columns: 1fr; } }

/* FAQ accordion (one open at a time) */
.faq { border-top: 1px solid var(--line); margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.6rem; font-weight: 400; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--steel-light); padding-bottom: 22px; margin: 0; max-width: 64ch; }

/* ---------- Projects ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.filter-tabs button {
  font: 600 .925rem var(--font-head); color: var(--ivory); background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; min-height: 42px; transition: all .2s;
}
.filter-tabs button:hover { border-color: var(--gold); color: var(--gold); }
.filter-tabs button.is-active { background: var(--gold); border-color: var(--gold); color: var(--charcoal); }
[data-cat][hidden] { display: none !important; }
.case { display: flex; flex-direction: column; }
.case .btn { align-self: flex-start; margin-top: 8px; }
.case-list { margin: 8px 0 20px; display: grid; gap: 14px; }
.case-list dt { font: 700 .75rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.case-list dd { margin: 0; color: var(--steel-light); font-size: .975rem; line-height: 1.6; }
.card--muted { background: transparent; border-style: dashed; }
.card--muted .tag { margin-bottom: 14px; }

/* ---------- About ---------- */
.chapters { display: grid; gap: 36px; margin-top: 32px; }
.chapters > div { padding-left: 24px; border-left: 2px solid var(--gold); }
.social-links { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact & forms ---------- */
.contact-grid { display: grid; gap: 24px; grid-template-columns: 7fr 5fr; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-side { display: grid; gap: 20px; }
.form-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.form { display: grid; gap: 18px; margin-top: 8px; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ivory); background: var(--charcoal-3);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.field ::placeholder { color: var(--steel); }
.field--check { grid-template-columns: 22px 1fr; align-items: start; gap: 12px; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); }
.field--check label { font-weight: 400; color: var(--steel-light); }
.radio { display: flex; gap: 10px; align-items: baseline; font-weight: 500 !important; padding: 6px 0; }
.radio input { accent-color: var(--gold); }
.form .btn { justify-self: start; }
.form-success { border: 1px solid var(--gold); border-radius: 12px; padding: 20px; background: rgba(215,181,104,.08); }
.form-success:focus { outline: none; }
.contact-facts { margin: 0; display: grid; gap: 18px; }
.contact-facts dt { font: 700 .75rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contact-facts dd { margin: 4px 0 0; color: var(--steel-light); }

/* ---------- Legal pages ---------- */
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--steel-light); }
.prose strong { color: var(--ivory); }
.prose a { color: var(--gold); }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; margin: 0 0 1em; }

/* ---------- Home sectors (two feature cards + sector row) ---------- */
.sector--feature { border-color: rgba(215,181,104,.4); background: linear-gradient(135deg, rgba(215,181,104,.08), var(--charcoal-2) 55%); display: flex; flex-direction: column; }
.sector--feature .text-link { margin-top: auto; align-self: flex-start; }
.sector-row { display: grid; gap: 20px; margin-top: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.sector-row .card { padding: 24px; }
.sector-row h3 { font-size: 1.1rem; }
.sector-row p { font-size: .95rem; }
@media (min-width: 1100px) { .sector-row { grid-template-columns: repeat(5, 1fr); } }
.sector-close { margin-top: 32px; color: var(--steel-light); font-size: 1.05rem; }
.sector-close strong { color: var(--ivory); }
