/* ==========================================================================
   Mashashane Attorneys — Design System
   Photography-free, typography + geometry led. See /DESIGN.md for rationale.
   ========================================================================== */

:root {
  /* Color */
  --primary: oklch(0.32 0.095 140);
  --primary-hover: oklch(0.27 0.09 140);
  --primary-tint-100: oklch(0.94 0.02 140);
  --primary-tint-300: oklch(0.80 0.06 140);

  --bg: oklch(1 0 0);
  --surface: oklch(0.965 0.008 140);
  --surface-border: oklch(0.88 0.006 140);

  --ink: oklch(0.20 0.02 140);
  --muted: oklch(0.46 0.02 140);

  /* Sampled directly from the real logo's gold (359 opaque pixels averaged, rgb 182,159,81). */
  --accent: oklch(0.706 0.102 93);
  --accent-hover: oklch(0.62 0.11 93);
  --on-accent: var(--ink);

  --night: oklch(0.14 0.025 140);
  --night-border: oklch(0.30 0.02 140);
  --on-night: oklch(0.96 0.01 140);
  --on-night-muted: oklch(0.72 0.02 140);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Space */
  --container-max: 1240px;
  --container-x: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4rem, 8vw, 9rem);

  /* Shadow (hue-matched, never plain black) */
  --shadow-soft: 0 8px 24px oklch(0.14 0.025 140 / 0.10);
  --shadow-lift: 0 16px 40px oklch(0.14 0.025 140 / 0.16);

  /* z-index scale */
  --z-sticky: 10;
  --z-dropdown: 20;
  --z-modal-backdrop: 30;
  --z-modal: 40;
  --z-toast: 50;

  /* motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-sm: 180ms;
  --dur-md: 320ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@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;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 480;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
.prose p, .prose li { max-width: 68ch; text-wrap: pretty; }

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

.text-accent { color: var(--accent); }

.eyebrow-free-label {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ---------- Layout primitives ---------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-x);
}
.section { padding-block: var(--section-y); scroll-margin-top: 6.5rem; }
.section--surface { background: var(--surface); }
.section--night { background: var(--night); color: var(--on-night); }
.section--night h1, .section--night h2, .section--night h3 { color: var(--on-night); }
.section--night p { color: var(--on-night-muted); }

.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1.5rem; }
.gap-lg { gap: 3rem; }

.muted { color: var(--muted); }
.section--night .muted { color: var(--on-night-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: background var(--dur-sm) var(--ease-out-expo), color var(--dur-sm) var(--ease-out-expo), border-color var(--dur-sm) var(--ease-out-expo), transform var(--dur-sm) var(--ease-out-expo);
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--primary); color: white; }
.btn--primary:hover { background: var(--primary-hover); }

.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); }

.btn--ghost-light { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--ghost-light:hover { background: var(--primary-tint-100); }

.btn--ghost-dark { background: transparent; color: var(--on-night); border-color: var(--night-border); }
.btn--ghost-dark:hover { background: oklch(1 0 0 / 0.06); }

.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.88rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: transparent;
  transition: background var(--dur-md) var(--ease-out-expo), box-shadow var(--dur-md) var(--ease-out-expo), border-color var(--dur-md) var(--ease-out-expo);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: oklch(1 0 0 / 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  border-bottom-color: var(--surface-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img {
  height: 64px;
  width: auto;
  display: block;
  transition: filter var(--dur-md) var(--ease-out-expo);
}
/* On the transparent, photo-backed hero state there's no light backing behind
   the logo, so it renders as a flat white mark instead of its printed colors —
   same principle as the white nav links right next to it. */
.on-hero .brand img { filter: brightness(0) invert(1); }
.on-hero .nav-link,
.on-hero .nav-toggle svg { color: var(--on-night); }

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-link {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding-block: 0.3rem;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-sm) var(--ease-out-expo);
}
.on-hero .nav-link::after { background: var(--accent); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle { display: none; background: none; border: none; padding: 0.3rem; }
.mobile-only { display: none; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 340px);
    height: 100vh;
    height: 100dvh;
    background: var(--night);
    color: var(--on-night);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 6rem 1.75rem 2rem;
    transform: translateX(100%);
    transition: transform var(--dur-md) var(--ease-out-expo);
    z-index: var(--z-modal);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links .nav-link { color: var(--on-night); font-size: 1.15rem; width: 100%; padding-block: 0.6rem; }
  .nav-links .nav-link::after { display: none; }
  .nav-cta.desktop-only { display: none; }
  .mobile-only { display: block; }
  .nav-toggle { display: inline-flex; z-index: calc(var(--z-modal) + 1); }
  .nav-toggle svg { color: var(--ink); }
  .on-hero .nav-toggle svg { color: var(--on-night); }
  .nav-scrim {
    position: fixed; inset: 0; background: oklch(0.14 0.025 140 / 0.4);
    opacity: 0; pointer-events: none; transition: opacity var(--dur-md) var(--ease-out-expo);
    z-index: var(--z-modal-backdrop);
  }
  .nav-scrim.is-open { opacity: 1; pointer-events: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--night);
  color: var(--on-night);
  overflow: clip;
  padding-top: clamp(7rem, 14vw, 9rem);
  padding-bottom: clamp(4rem, 11vw, 7rem);
}
.hero .hero-inner { width: 100%; }
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, oklch(0.14 0.025 140 / 0.96) 0%, oklch(0.14 0.025 140 / 0.9) 34%, oklch(0.14 0.025 140 / 0.62) 62%, oklch(0.14 0.025 140 / 0.4) 100%),
    linear-gradient(0deg, oklch(0.14 0.025 140 / 0.5) 0%, transparent 30%);
}

/* ---------- Page hero (used on about/services/contact) ---------- */

/* Use the existing .page-header element as the page hero when body has .has-page-hero */
.has-page-hero .page-header {
  background: transparent;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 20%;
  color: var(--on-night);
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.has-page-hero .page-header::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(0.14 0.025 140 / 0.9) 0%, transparent 30%);
  mix-blend-mode: multiply;
  opacity: 1;
}
.has-page-hero .page-header .container { position: relative; z-index: 1; }
.has-page-hero .page-header { padding-block: clamp(6rem, 16vw, 9rem); }
@media (max-width: 860px) {
  .has-page-hero .page-header { padding-block: clamp(4rem, 12vw, 6rem); }
}
/* Ensure header remains above hero */
.site-header { z-index: calc(var(--z-sticky) + 2); }
.hero-mark {
  position: absolute;
  right: clamp(-4rem, 2vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(16rem, 34vw, 30rem);
  line-height: 1;
  color: oklch(1 0 0 / 0.05);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 46rem; }
.hero-eyebrow { color: var(--accent); font-weight: 600; margin-bottom: 1.1rem; display: inline-block; }
.hero h1 { color: var(--on-night); margin-bottom: 1.4rem; }
.hero p.lead { color: var(--on-night-muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 42ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.trust-strip {
  border-top: 1px solid var(--night-border);
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
}
.trust-item { max-width: 32ch; }
.trust-item strong { display: block; color: var(--on-night); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.3rem; }
.trust-item span { color: var(--on-night-muted); font-size: 0.92rem; }

/* ---------- Stats bar (below hero) ---------- */
.stats-bar { background: var(--night); border-top: 1px solid var(--night-border); position: relative; z-index: 2; }
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: clamp(2rem, 5vw, 3rem);
}
.stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding-inline: clamp(0.75rem, 2vw, 1.5rem);
  border-left: 1px solid var(--night-border);
}
.stat-col:first-child { border-left: none; }
.stat-col svg { color: var(--accent); }
.stat-col strong { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--on-night); font-weight: 600; }
.stat-col span { font-size: 0.85rem; color: var(--on-night-muted); }
@media (max-width: 720px) {
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .stat-col:nth-child(3) { border-left: none; }
  .stat-col:nth-child(3), .stat-col:nth-child(4) { padding-top: 1.5rem; border-top: 1px solid var(--night-border); }
}

/* ---------- Section heading pattern ---------- */
.section-head { max-width: 42rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }
.section--night .section-head p { color: var(--on-night-muted); }

/* ---------- Practice-area list (not cards) ---------- */

/* Quick-jump pills to each category — the list covers 12 disparate areas,
   this lets a visitor skip straight to the one relevant to them. */
.service-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-block: clamp(2rem, 4vw, 2.75rem);
}
.service-jump a {
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--surface-border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  transition: background var(--dur-sm) var(--ease-out-expo), border-color var(--dur-sm) var(--ease-out-expo), color var(--dur-sm) var(--ease-out-expo);
}
.service-jump a:hover { background: var(--primary-tint-100); border-color: var(--primary-tint-300); color: var(--primary); }

.service-cat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-tint-300);
  margin-bottom: 0.6rem;
}

.service-list { display: flex; flex-direction: column; }
.service-row {
  display: grid;
  grid-template-columns: minmax(150px, 260px) 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--surface-border);
  align-items: center;
}
.service-list .service-row:last-child { border-bottom: none; }
.service-row:nth-child(even) { grid-template-columns: 1fr minmax(150px, 260px); }
.service-row:nth-child(even) .service-photo { order: 2; }
.service-index { display: flex; align-items: center; }
.service-icon { color: var(--primary); flex-shrink: 0; width: 38px; height: 38px; }

/* Photo thumbnails: natural color, no tint. */
.service-photo {
  position: relative;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview-cell .service-photo { width: 64px; height: 64px; border-radius: var(--r-md); }
.service-list .service-photo { width: 168px; height: 168px; }
.service-heading { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.6rem; }
.service-heading h3 { color: var(--ink); }
.service-body p { color: var(--muted); font-size: 1.02rem; }
.service-body p + p { margin-top: 0.6rem; }

@media (max-width: 700px) {
  .service-row, .service-row:nth-child(even) { grid-template-columns: 1fr; gap: 0.5rem; }
  .service-row:nth-child(even) .service-photo { order: 0; }
  .service-list .service-photo { width: 128px; height: 128px; }
}

/* ---------- Feature / preview grid (home teaser only, distinct from full list) ---------- */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--surface-border);
  border: 1px solid var(--surface-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .preview-grid { grid-template-columns: 1fr; } }
.preview-cell {
  background: var(--bg);
  padding: 2rem 1.75rem;
  transition: background var(--dur-sm) var(--ease-out-expo);
}
.preview-cell:hover { background: var(--primary-tint-100); }
.preview-cell .service-index { margin-bottom: 0.9rem; }
.preview-cell h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.preview-cell p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Process steps (legitimate numbered sequence) ---------- */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; counter-reset: step; }
.process-step { position: relative; padding-left: 3.4rem; }
.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: -0.2rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--primary);
  border: 1.5px solid var(--primary-tint-300);
  border-radius: 50%;
  width: 2.6rem; height: 2.6rem;
  display: flex; align-items: center; justify-content: center;
}
.process-step h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.process-step p { color: var(--muted); }

/* ---------- Quote / founder ---------- */
.founder-block { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .founder-block { grid-template-columns: 1fr; } }
blockquote.pull {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--ink);
  font-weight: 460;
  line-height: 1.35;
  margin: 0 0 1.25rem;
}
blockquote.pull cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.92rem; color: var(--muted); margin-top: 1.1rem; font-weight: 600; }

.credentials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.founder-photo {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow: hidden;
  transition: width 240ms var(--ease-out-expo), height 240ms var(--ease-out-expo);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-photo span { font-size: 1rem; font-weight: 700; text-align: center; }
.founder-photo svg { width: 72px; height: 72px; }
.credential-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 320px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 860px) {
  .founder-block { grid-template-columns: 1fr; }
  .credentials { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; }
  .credential-item { max-width: none; width: calc(50% - 0.5rem); }
  .founder-photo { width: 120px; height: 120px; }
  .founder-photo svg { width: 48px; height: 48px; }
}
.credential-item svg { flex-shrink: 0; color: var(--primary); margin-top: 0.15rem; }
.credential-item strong { display: block; font-size: 0.96rem; }
.credential-item span { color: var(--muted); font-size: 0.9rem; }

/* Founder block on a night section (see home page "legacy" moment) */
.section--night blockquote.pull { color: var(--on-night); }
.section--night blockquote.pull cite { color: var(--on-night-muted); }
.section--night .credential-item { background: oklch(1 0 0 / 0.05); border-color: var(--night-border); }
.section--night .credential-item svg { color: var(--accent); }
.section--night .credential-item strong { color: var(--on-night); }
.section--night .credential-item span { color: var(--on-night-muted); }

/* ---------- Trust points (honest stand-in for testimonials we don't have yet) ---------- */
.trust-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.trust-point {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.9rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.trust-point svg { color: var(--primary); }
.trust-point p { font-size: 0.95rem; color: var(--muted); }
.trust-point p strong { color: var(--ink); }

/* ---------- Vision / Mission / Objective ---------- */
.vmo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(2rem, 4vw, 3rem); }

/* Outlined cards for Vision / Mission / Objective */
.vmo-item {
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--r-lg);
  background: transparent;
  transition: border-color 220ms var(--ease-out-expo), box-shadow 220ms var(--ease-out-expo), transform 220ms var(--ease-out-expo);
}
.vmo-item:hover {
  border-color: var(--primary-tint-300);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}
.vmo-item h3 { color: var(--primary); font-size: 1.25rem; margin-bottom: 0.75rem; }
.vmo-item p { color: var(--muted); font-size: 0.98rem; }

/* Mission-specific styling: green-tinted card */
.vmo-item--mission {
  background: var(--primary-tint-100);
  border-color: var(--primary-tint-300);
}
.vmo-item--mission h3 { color: var(--primary); }
.vmo-item--mission p { color: var(--ink); }
.vmo-item--mission:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lift);
}

/* ---------- Values list ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }

/* Outlined cards for Values list */
.value-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--r-lg);
  background: transparent;
  transition: border-color 220ms var(--ease-out-expo), box-shadow 220ms var(--ease-out-expo), transform 220ms var(--ease-out-expo);
}
.value-item:hover {
  border-color: var(--primary-tint-300);
  box-shadow: var(--shadow-soft);
  transform: translateY(-3px);
}
.value-item h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.value-item p { color: var(--muted); }
.value-mark { color: var(--primary); display: block; margin-bottom: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: clip; text-align: left; }
.cta-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.cta-text { display: flex; flex-direction: column; gap: 1.75rem; }
.cta-band h2 { max-width: 22ch; }
.cta-copy p { margin-top: 0.9rem; color: var(--on-night-muted); font-size: 1.05rem; max-width: 40ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.cta-image {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: clip;
}
.cta-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-image::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 70px 10px oklch(0.14 0.025 140 / 0.55);
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: inherit;
}
@media (max-width: 860px) {
  .cta-band .container { grid-template-columns: 1fr; }
  .cta-image { order: -1; max-width: 26rem; }
}

.cta-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: var(--night-border);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent);
  mask-image: linear-gradient(to right, transparent, black 25%, black 75%, transparent);
}
.cta-lines svg { width: 100%; height: 100%; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-muted); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 3rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.brand-logo-gold {
  display: block;
  height: 64px;
  aspect-ratio: 3 / 1;
  background-color: var(--accent);
  -webkit-mask-image: url('../img/logo.png');
  mask-image: url('../img/logo.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
}
.footer-brand p { max-width: 34ch; font-size: 0.94rem; }
.footer-col h4 { font-family: var(--font-body); color: var(--on-night); font-size: 0.88rem; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.95rem; transition: color var(--dur-sm) var(--ease-out-expo); }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.65rem; }
.footer-contact svg { flex-shrink: 0; margin-top: 0.2rem; color: var(--on-night-muted); }
.footer-bottom {
  border-top: 1px solid var(--night-border);
  padding-block: 1.5rem;
  font-size: 0.85rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}
.footer-bottom a:hover { color: var(--accent); }
.footer-mark { font-family: var(--font-display); color: var(--night-border); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.88rem; font-weight: 600; }
.field small { color: var(--muted); font-size: 0.82rem; }
.field input, .field select, .field textarea {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--surface-border);
  background: var(--bg);
  color: var(--ink);
  transition: border-color var(--dur-sm) var(--ease-out-expo), box-shadow var(--dur-sm) var(--ease-out-expo);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.706 0.102 93 / 0.3);
}
.field-full { grid-column: 1 / -1; }
.form-note { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.86rem; color: var(--muted); }

.alert { padding: 1rem 1.25rem; border-radius: var(--r-md); font-size: 0.95rem; margin-bottom: 1.5rem; }
.alert--success { background: var(--primary-tint-100); color: var(--primary); border: 1px solid var(--primary-tint-300); }
.alert--error { background: oklch(0.95 0.03 25); color: oklch(0.4 0.15 25); border: 1px solid oklch(0.85 0.06 25); }

/* honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Contact details list ---------- */
.contact-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-list .item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg { color: var(--primary); flex-shrink: 0; margin-top: 0.2rem; }
.contact-list strong { display: block; font-size: 0.92rem; margin-bottom: 0.2rem; }
.contact-list a, .contact-list span.value { color: var(--muted); font-size: 0.98rem; }
.contact-list a:hover { color: var(--primary); }

/* ---------- Map embed ---------- */
.map-embed {
  border-radius: var(--r-xl);
  overflow: clip;
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
}
.map-embed iframe {
  width: 100%;
  height: clamp(300px, 45vw, 420px);
  display: block;
  border: none;
}

/* ---------- Quick contact chip ---------- */
.quick-contact {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: var(--z-toast);
  display: flex;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--dur-md) var(--ease-out-expo), transform var(--dur-md) var(--ease-out-expo);
}
.quick-contact.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.quick-contact a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent); color: var(--on-accent);
  padding: 0.85rem 1.25rem;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.9rem;
  box-shadow: var(--shadow-lift);
  transition: background var(--dur-sm) var(--ease-out-expo);
}
.quick-contact a:hover { background: var(--accent-hover); }
.quick-contact a.secondary { background: var(--night); color: var(--on-night); }
.quick-contact a.secondary:hover { background: var(--primary-hover); }

/* ---------- Page header (non-home pages) ---------- */
.page-header { background: var(--night); color: var(--on-night); padding-block: clamp(7rem, 14vw, 9rem) clamp(3rem, 7vw, 5rem); position: relative; overflow: clip; }
.page-header h1 { color: var(--on-night); }
.page-header p { color: var(--on-night-muted); max-width: 50ch; margin-top: 1.1rem; font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 1.25rem; align-items: start; }
@media (max-width: 760px) {
  .faq-list { grid-template-columns: 1fr; }
}
.faq-item {
  border: 1px solid var(--surface-border);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.4rem;
  background: var(--bg);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--dur-sm) var(--ease-out-expo);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 0.9rem; color: var(--muted); }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 1; transform: none; transition: opacity 640ms var(--ease-out-expo), transform 640ms var(--ease-out-expo); }
.reveal.pre {
  opacity: 0;
  transform: translateY(14px);
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal.pre { opacity: 1; transform: none; }
}

/* ---------- Misc ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--on-accent);
  padding: 0.75rem 1.25rem; z-index: var(--z-toast); border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

hr.rule { border: none; border-top: 1px solid var(--surface-border); margin-block: 0; }
