/* ============================================================
   Law Offices of David L. Milligan, APC — callegal.com
   Design system: "The Verdict Room" — mahogany, brass, ivory.
   Loads AFTER tailwind.custom.min.css (protected nav/form keep
   their Tailwind classes; this sheet styles everything else and
   may override base colors where intended).
   ============================================================ */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/fonts/cormorant-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorant-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0a0d12;
  --ink-2: #10141c;
  --ink-3: #161b25;
  --gold: #c8a55e;
  --gold-bright: #e3c98e;
  --gold-faint: rgba(200, 165, 94, 0.28);
  --gold-ghost: rgba(200, 165, 94, 0.12);
  --ivory: #f6f1e6;
  --paper: #fbf8f1;
  --body: #2c2f36;
  --muted: #5d6068;
  --crimson: #8e1d23;
  --crimson-hot: #a72830;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

/* NOTE: no CSS scroll-behavior:smooth here — the protected JotForm embed
   calls window.parent.scrollTo(0,0) on load, which CSS-smooth turns into a
   visible page drift. In-page anchor smoothing is done in main.js instead. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--ink) !important;
  color: var(--body);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

section { scroll-margin-top: 84px; }

::selection { background: var(--gold); color: var(--ink); }

/* Focus visibility (a11y) */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Reveal states (only when JS present) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-reveal="fade"] { transform: none; }

/* ---------- Header refinement (CSS-only; protected nav HTML untouched) ---------- */
header.bg-gray-900 {
  background: rgba(10, 13, 18, 0.55) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(200, 165, 94, 0.16);
  transition: background 0.45s ease, box-shadow 0.45s ease;
}
header.bg-gray-900.nav-scrolled {
  background: rgba(10, 13, 18, 0.88) !important;
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.8);
}
header.bg-gray-900 nav > a[aria-label="Home"] {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.015em;
  color: var(--ivory);
}
header.bg-gray-900 .md\:flex a { font-size: 0.92rem; letter-spacing: 0.02em; }
header.bg-gray-900 a[href="tel:5594397500"].bg-red-700 {
  background: var(--crimson) !important;
  border: 1px solid rgba(227, 201, 142, 0.35);
}
header.bg-gray-900 a[href="tel:5594397500"].bg-red-700:hover { background: var(--crimson-hot) !important; }
header.bg-gray-900 .bg-gray-800 { background: rgba(10, 13, 18, 0.97) !important; }

/* ---------- Shared primitives ---------- */
.k-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.k-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.k-eyebrow::before, .k-eyebrow.k-eyebrow--lined::after {
  content: "";
  display: inline-block;
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.k-eyebrow.k-eyebrow--lined::after { background: linear-gradient(90deg, var(--gold), transparent); }
.k-eyebrow--center { justify-content: center; }
.k-h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0.004em;
  margin: 0.9rem 0 1.1rem;
}
.k-lede { font-size: 1.06rem; line-height: 1.75; color: var(--muted); max-width: 46rem; }
.k-center { text-align: center; }
.k-center .k-lede { margin-left: auto; margin-right: auto; }

.k-dark { background: var(--ink); color: #d8d4c9; }
.k-dark .k-h2 { color: var(--ivory); }
.k-dark .k-lede { color: #a9a698; }
.k-light { background: var(--ivory); color: var(--body); }
.k-light .k-h2 { color: #15181f; }
.k-paper { background: var(--paper); color: var(--body); }
.k-paper .k-h2 { color: #15181f; }

/* film grain on dark sections */
.k-grain { position: relative; isolation: isolate; }
.k-grain::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.k-grain > * { position: relative; z-index: 2; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-lux), box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--crimson);
  color: #fff;
  border: 1px solid rgba(227, 201, 142, 0.4);
  box-shadow: 0 14px 34px -16px rgba(142, 29, 35, 0.85);
}
.btn-primary:hover { background: var(--crimson-hot); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(246, 241, 230, 0.5);
  color: var(--ivory);
}
.btn-ghost:hover { background: var(--ivory); color: var(--ink); }
.btn-ghost--dark { border-color: rgba(21, 24, 31, 0.45); color: #15181f; }
.btn-ghost--dark:hover { background: #15181f; color: var(--ivory); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}
.hero__media, .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media img { object-fit: cover; object-position: center 38%; filter: brightness(0.78) saturate(1.04); }
.js .hero__media img { animation: heroDrift 26s var(--ease-lux) forwards; }
@keyframes heroDrift {
  from { transform: scale(1.14) translateY(-1.5%); }
  to   { transform: scale(1.03) translateY(0); }
}
/* cinematic grade */
.hero__grade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(8, 9, 12, 0.72) 0%, rgba(8, 9, 12, 0.42) 34%, rgba(8, 9, 12, 0.52) 62%, rgba(8, 9, 12, 0.95) 100%),
    radial-gradient(120% 90% at 50% 42%, transparent 30%, rgba(8, 9, 12, 0.72) 100%);
}
/* warm shaft of window light, matches photo's left-side windows */
.hero__shaft {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(112deg, rgba(232, 198, 134, 0.2) 0%, rgba(232, 198, 134, 0.07) 26%, transparent 52%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 7.5rem 1.5rem 8rem;
  max-width: 1080px;
}
/* soft focused scrim behind the text block — readability without a visible box */
.hero__content::before {
  content: "";
  position: absolute;
  inset: -6% -16%;
  z-index: -1;
  background: radial-gradient(58% 56% at 50% 48%, rgba(6, 7, 10, 0.66) 0%, rgba(6, 7, 10, 0.38) 52%, transparent 76%);
  pointer-events: none;
}
.hero__kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(227, 201, 142, 0.92);
}
.hero__rule {
  width: 64px;
  height: 1px;
  margin: 1.5rem auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero__pre {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  color: var(--gold-bright);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}
.hero__kicker, .hero__meta { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9); }
.hero__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.6vw, 4.4rem);
  line-height: 1.04;
  color: var(--ivory);
  margin: 1.1rem auto 1.4rem;
  text-wrap: balance;
  text-shadow: 0 4px 52px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.55);
}
.hero__title .line { display: block; }
/* the reveal mask must not clip descenders (g, j, y) at tight line-height:
   pad the mask bottom and pull back the same amount so spacing is unchanged */
.js .hero__title .line { overflow: hidden; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.js .hero__title .line > span { display: block; }
.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.17rem);
  line-height: 1.8;
  color: #f2eee4;
  max-width: 49rem;
  margin: 0 auto 1.6rem;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.5);
}
.hero__sub strong { color: #fff; font-weight: 600; }
.hero__meta {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(200, 165, 94, 0.85);
  margin-bottom: 2.4rem;
}
.hero__meta span { white-space: nowrap; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: rgba(227, 201, 142, 0.75);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.hero__cue::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.js .hero__cue::after { animation: cueDrop 2.6s ease-in-out infinite; }
@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(10px); opacity: 0; }
}

/* ============================================================
   AUTHORITY STRIP (ivory) — quote, stats, ticker
   ============================================================ */
.authority { padding: 5.5rem 0 0; border-top: 1px solid var(--gold-faint); }
.authority__quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.3;
  color: #1c1f26;
  text-align: center;
  max-width: 54rem;
  margin: 0 auto;
}
.authority__quote em { color: var(--crimson); font-style: inherit; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gold-faint);
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
  margin-top: 3.6rem;
}
.stat { background: var(--ivory); text-align: center; padding: 2.6rem 1rem 2.4rem; }
.stat__num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1;
  color: #15181f;
}
.stat__label {
  margin-top: 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
/* credential ticker */
.ticker {
  overflow: hidden;
  padding: 1.1rem 0;
  background: var(--paper);
  border-bottom: 1px solid var(--gold-faint);
}
.ticker__track { display: flex; width: max-content; gap: 3.2rem; padding-right: 3.2rem; }
.js .ticker__track { animation: tickerRoll 46s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tickerRoll { to { transform: translateX(-50%); } }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 3.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3c3f47;
  white-space: nowrap;
}
.ticker__item::after { content: "✦"; color: var(--gold); font-size: 0.7rem; }

/* ============================================================
   WALL OF HONORS — drifting plaque gallery
   ============================================================ */
.honors { padding: 7rem 0 0; overflow: hidden; }
.honors__head { max-width: 880px; margin: 0 auto; padding: 0 1.5rem; }
.honors-stage {
  position: relative;
  margin-top: 3.5rem;
  height: clamp(540px, 76vh, 740px);
  perspective: 1500px;
  perspective-origin: 50% 46%;
  cursor: grab;
  touch-action: pan-y;
  overflow: hidden;
}
.honors-stage.dragging { cursor: grabbing; }
.honors-stage::before, .honors-stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  z-index: 6;
  pointer-events: none;
}
.honors-stage::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.honors-stage::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.honors-field { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }

.plaque {
  width: 300px;
  min-height: 196px;
  padding: 1.6rem 1.5rem 1.4rem;
  background: linear-gradient(165deg, #141923 0%, #0e1219 70%);
  border: 1px solid rgba(200, 165, 94, 0.22);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(227, 201, 142, 0.08);
  border-radius: 3px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.js .honors-engine .plaque { position: absolute; top: 0; left: 0; will-change: transform; }
.plaque:hover {
  border-color: rgba(227, 201, 142, 0.6);
  box-shadow: 0 36px 70px -28px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(227, 201, 142, 0.16), 0 0 0 1px rgba(227, 201, 142, 0.1);
}
.plaque__top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.plaque__glyph { width: 38px; height: 38px; flex: none; color: var(--gold); opacity: 0.92; }
.plaque__abbr {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  line-height: 1;
}
.plaque__tier {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(200, 165, 94, 0.75);
}
.plaque__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1.22;
  color: var(--ivory);
  margin: 0 0 0.35rem;
}
.plaque__org { font-size: 0.78rem; line-height: 1.45; color: #8e8b7f; }
.plaque__note {
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(200, 165, 94, 0.16);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
  color: rgba(227, 201, 142, 0.9);
}

/* No-JS / small screens: graceful layouts */
.honors-field:not(.honors-engine-active) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
  height: auto;
  padding: 0 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}
.honors-stage:has(.honors-field:not(.honors-engine-active)) { height: auto; perspective: none; cursor: default; }
.honors-stage:has(.honors-field:not(.honors-engine-active))::before,
.honors-stage:has(.honors-field:not(.honors-engine-active))::after { display: none; }
@media (max-width: 879px) {
  .honors-stage { height: auto; perspective: none; cursor: default; }
  .honors-stage::before, .honors-stage::after { display: none; }
  .honors-field {
    display: grid !important;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-columns: min(78vw, 300px);
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 1.5rem 1.5rem;
    height: auto;
  }
  .honors-field .plaque { position: static !important; scroll-snap-align: center; width: auto; }
}
.honors__hint {
  text-align: center;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(200, 165, 94, 0.55);
  padding: 1.6rem 0 0;
}
.honors__hint .hint-touch { display: none; }
@media (max-width: 879px) {
  .honors__hint .hint-desktop { display: none; }
  .honors__hint .hint-touch { display: inline; }
}

/* Results statement (closes the honors room) */
.statement { padding: 7rem 1.5rem 7.5rem; }
.statement__text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.32;
  color: var(--ivory);
  text-align: center;
  max-width: 62rem;
  margin: 0 auto;
}
.statement__text .w { display: inline-block; }
.statement__text em { color: var(--gold-bright); font-style: italic; }
.statement__fine {
  text-align: center;
  margin-top: 2.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6e6b60;
}

/* ============================================================
   WHY FAMILIES CHOOSE US (ivory)
   ============================================================ */
.why { padding: 6.5rem 0 7rem; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3.4rem;
}
@media (max-width: 980px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: var(--paper);
  border: 1px solid rgba(21, 24, 31, 0.08);
  border-top: 2px solid var(--gold);
  padding: 2.1rem 1.8rem 2rem;
  transition: transform 0.45s var(--ease-lux), box-shadow 0.45s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(21, 24, 31, 0.35);
}
.why-card__n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.why-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  color: #15181f;
  margin: 0.6rem 0 0.7rem;
  line-height: 1.2;
}
.why-card p { font-size: 0.93rem; line-height: 1.75; color: var(--muted); }

/* ============================================================
   MAJOR CLAIMS (dark)
   ============================================================ */
.claims { padding: 6.5rem 0 7rem; background: linear-gradient(150deg, #131722 0%, var(--ink) 55%, #0d1016 100%); }
.claims-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 3.2rem;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}
@media (max-width: 980px) { .claims-grid { grid-template-columns: 1fr; max-width: 640px; } }
.claim-card {
  display: flex;
  flex-direction: column;
  background: rgba(246, 241, 230, 0.035);
  border: 1px solid rgba(200, 165, 94, 0.2);
  padding: 2.1rem 1.9rem 1.9rem;
  border-radius: 3px;
  transition: border-color 0.4s ease, background 0.4s ease, transform 0.45s var(--ease-lux);
}
.claim-card:hover { border-color: rgba(227, 201, 142, 0.55); background: rgba(246, 241, 230, 0.06); transform: translateY(-5px); }
.claim-card__tag {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.claim-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.65rem;
  line-height: 1.18;
  color: var(--ivory);
  margin-bottom: 0.9rem;
}
.claim-card p { font-size: 0.92rem; line-height: 1.75; color: #a9a698; flex-grow: 1; margin-bottom: 1.6rem; }
.claim-card .btn { width: 100%; padding: 0.85rem 1rem; font-size: 0.86rem; }
.claims__or { text-align: center; margin-top: 2.6rem; }

/* ============================================================
   ABOUT (paper) + pilot aside
   ============================================================ */
.about { padding: 7rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; gap: 2.6rem; } }
.about__media { position: relative; }
.about__media::before {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--gold);
  opacity: 0.55;
  z-index: 0;
}
.about__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  box-shadow: 0 40px 70px -40px rgba(21, 24, 31, 0.6);
}
.about__caption {
  position: relative;
  z-index: 1;
  margin-top: 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.about__body p { font-size: 1rem; line-height: 1.85; margin-bottom: 1.25rem; color: var(--body); }
.about__body p.about__lead {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.5;
  color: #1c1f26;
}
.about__body p.about__lead::first-letter {
  font-size: 3.4em;
  float: left;
  line-height: 0.82;
  padding: 0.07em 0.12em 0 0;
  color: var(--crimson);
  font-weight: 600;
}
.about__marks { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 0.8rem; }
.about__marks li { display: flex; gap: 0.85rem; align-items: baseline; font-size: 0.95rem; color: var(--body); }
.about__marks li::before { content: "✦"; color: var(--gold); font-size: 0.8rem; flex: none; }
.pilot-note {
  margin-top: 2.4rem;
  padding: 1.7rem 1.9rem;
  background: var(--ivory);
  border-left: 2px solid var(--gold);
}
.pilot-note h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: #15181f;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.pilot-note h3 svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.pilot-note p { font-size: 0.92rem; line-height: 1.75; color: var(--muted); margin: 0; }

/* ============================================================
   PRACTICE PILLARS (light)
   ============================================================ */
.pillars { padding: 6.5rem 0 7rem; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  margin-top: 3.2rem;
}
@media (max-width: 1020px) { .pillars-grid { grid-template-columns: 1fr; max-width: 680px; margin-left: auto; margin-right: auto; } }
.pillar {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(21, 24, 31, 0.09);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.45s ease, transform 0.45s var(--ease-lux);
}
.pillar:hover { box-shadow: 0 34px 60px -34px rgba(21, 24, 31, 0.4); transform: translateY(-5px); }
.pillar__head { background: var(--ink-2); padding: 1.9rem 1.8rem 1.7rem; border-bottom: 2px solid var(--gold); }
.pillar__head .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}
.pillar__head h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.15;
  color: var(--ivory);
  margin-top: 0.45rem;
}
.pillar__head p { margin-top: 0.6rem; font-size: 0.86rem; line-height: 1.65; color: #a9a698; }
.pillar__list { list-style: none; margin: 0; padding: 1.4rem 1.8rem 1.6rem; flex-grow: 1; }
.pillar__list li { border-bottom: 1px solid rgba(21, 24, 31, 0.06); }
.pillar__list li:last-child { border-bottom: 0; }
.pillar__list a, .pillar__list span.item {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--body);
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.pillar__list a:hover { color: var(--crimson); padding-left: 0.45rem; }
.pillar__foot { padding: 0 1.8rem 1.8rem; display: grid; gap: 0.6rem; }
.pillar__foot .btn { width: 100%; padding: 0.85rem 1rem; font-size: 0.85rem; }
.btn-ink { background: var(--ink-2); color: var(--ivory); border: 1px solid rgba(200, 165, 94, 0.3); }
.btn-ink:hover { background: var(--ink-3); transform: translateY(-2px); }
.pillars__exclude {
  text-align: center;
  margin-top: 2.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============================================================
   TESTIMONIALS (ivory)
   ============================================================ */
.quotes { padding: 7rem 0; }
.quote-feature { max-width: 56rem; margin: 3.4rem auto 0; text-align: center; position: relative; padding: 0 1.5rem; }
/* rotating feature: stacked crossfade (JS only; without JS all quotes flow) */
.quote-rotator { margin-top: 1rem; }
.quote-rotator .quote-feature { margin-top: 2.4rem; }
.js .quote-rotator { display: grid; align-items: start; }
.js .quote-rotator .quote-feature {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.js .quote-rotator .quote-feature.is-active { opacity: 1; pointer-events: auto; }
.quote-dots { display: none; justify-content: center; gap: 0.75rem; margin-top: 2.6rem; }
.js .quote-dots { display: flex; }
.quote-dots button {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.quote-dots button::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  transition: background 0.3s ease, transform 0.3s ease;
}
.quote-dots button:hover::before { background: var(--gold-bright); }
.quote-dots button.is-active::before { background: var(--gold); transform: scale(1.3); }
.quote-feature::before {
  content: "\201C";
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 0;
  color: var(--gold);
  opacity: 0.65;
  display: block;
  margin-bottom: 2.2rem;
}
.quote-feature blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.45rem);
  line-height: 1.38;
  color: #1c1f26;
}
.quote-feature figcaption {
  margin-top: 1.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.quotes__more { text-align: center; margin-top: 4rem; }
.link-quiet {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #3c3f47;
  border-bottom: 1px solid rgba(60, 63, 71, 0.4);
  padding-bottom: 0.3rem;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.link-quiet:hover { color: var(--crimson); border-color: var(--crimson); }

/* ============================================================
   PATH (dark band) — how it works
   ============================================================ */
.path { padding: 6.5rem 0 7rem; }
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.4rem;
  position: relative;
}
@media (max-width: 880px) { .path-grid { grid-template-columns: 1fr; max-width: 30rem; margin-left: auto; margin-right: auto; } }
.path-step { text-align: center; padding: 0 0.8rem; }
.path-step__n {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold-faint);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-bright);
  background: rgba(200, 165, 94, 0.05);
}
.path-step h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--ivory); margin-bottom: 0.7rem; }
.path-step p { font-size: 0.92rem; line-height: 1.75; color: #a9a698; }
.path__cta { text-align: center; margin-top: 3.6rem; }

/* ============================================================
   CONTACT (paper)
   ============================================================ */
.contact { padding: 7rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 410px) 1fr;
  gap: 2.6rem;
  margin-top: 3.2rem;
  align-items: start;
}
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: #fff;
  border: 1px solid rgba(21, 24, 31, 0.09);
  padding: 1.8rem 1.8rem 1.7rem;
  margin-bottom: 1.1rem;
}
.contact-card--call { background: var(--ink-2); border: 1px solid rgba(200, 165, 94, 0.3); }
.contact-card--call .contact-card__label { color: var(--gold); }
.contact-card--call a.tel {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2rem;
  color: var(--ivory);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.contact-card--call a.tel:hover { color: var(--gold-bright); }
.contact-card--call p { color: #a9a698; font-size: 0.85rem; margin-top: 0.5rem; line-height: 1.6; }
.contact-card__label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.contact-card address { font-style: normal; font-size: 0.97rem; line-height: 1.8; color: var(--body); }
.contact-card a { color: inherit; }
.contact-card .map-link { display: inline-block; margin-top: 0.6rem; font-size: 0.8rem; color: var(--crimson); font-weight: 600; text-decoration: none; }
.contact-card .map-link:hover { text-decoration: underline; }
.contact-map {
  border: 1px solid rgba(21, 24, 31, 0.09);
  width: 100%;
  height: 240px;
  display: block;
  filter: grayscale(0.45) sepia(0.12);
}
.contact-form-shell {
  background: #fff;
  border: 1px solid rgba(21, 24, 31, 0.09);
  border-top: 2px solid var(--gold);
  padding: 2rem 1.6rem 1.4rem;
  box-shadow: 0 36px 60px -40px rgba(21, 24, 31, 0.35);
}
.contact-form-shell h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: #15181f; margin-bottom: 0.4rem; }
.contact-form-shell > p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.4rem; }
.contact-terms {
  margin: 0 0 1.2rem;
  padding: 1.1rem 1.3rem;
  background: var(--paper);
  border-left: 2px solid var(--gold);
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--muted);
}
.contact-terms ul { list-style: disc; padding-left: 1.1rem; margin-top: 0.35rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot { background: #07090d; color: #9b988e; padding: 4.5rem 0 2.6rem; border-top: 1px solid rgba(200, 165, 94, 0.18); }
.site-foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.6rem;
}
@media (max-width: 920px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-foot__grid { grid-template-columns: 1fr; } }
.site-foot h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ivory);
  margin-bottom: 1rem;
}
.site-foot h4 {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.site-foot p, .site-foot li { font-size: 0.88rem; line-height: 1.9; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
.site-foot a:hover { color: var(--gold-bright); }
.site-foot__legal {
  margin-top: 3.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(246, 241, 230, 0.08);
  font-size: 0.74rem;
  line-height: 1.8;
  color: #8e8b81;
  text-align: center;
}
.site-foot__legal .bar { margin: 0 0.6rem; color: #3c3f47; }

/* desktop tel-click toast */
.tel-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(8px);
  background: var(--ink-2);
  color: var(--ivory);
  border: 1px solid rgba(200, 165, 94, 0.5);
  padding: 14px 22px;
  border-radius: 4px;
  font-size: 0.95rem;
  z-index: 9999;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  max-width: 92vw;
  text-align: center;
  pointer-events: none;
}
.tel-toast b { color: var(--gold-bright); }
.tel-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* utility */
.mt-0 { margin-top: 0 !important; }
