/* ============================================================
   Law Office of James P. McGarvey, PLLC — jpm.mylosites.com
   Editorial dark theme · Fraunces + Archivo · no frameworks
   ============================================================ */

:root {
  --ink-0: #0C110F;
  --ink-1: #101613;
  --ink-2: #141B17;
  --ink-3: #182019;
  --bone: #EFE9DC;
  --bone-hi: #F8F4EB;
  --bone-dim: rgba(239, 233, 220, 0.62);
  --bone-faint: rgba(239, 233, 220, 0.4);
  --line: rgba(239, 233, 220, 0.13);
  --brass: #C6A15B;
  --brass-hi: #E5C888;
  --brass-soft: rgba(198, 161, 91, 0.16);
  --paper: #F2EDE2;
  --paper-2: #E9E2D2;
  --pink: #191E1B;               /* ink-on-paper */
  --pink-dim: rgba(25, 30, 27, 0.72);
  --pink-faint: rgba(25, 30, 27, 0.5);
  --pline: rgba(25, 30, 27, 0.14);
  --brass-ink: #8E6E31;          /* brass tuned for light bg */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Archivo", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: min(1180px, 92vw);
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--serif);
  font-weight: 340;
  font-size: 17px;
  line-height: 1.6;
  color: var(--bone);
  background: var(--ink-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

img, svg { display: block; max-width: 100%; }
img { height: auto; }  /* never let width/height attrs distort a constrained image */
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul[role="list"], ol[role="list"] { list-style: none; }

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

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  padding: 10px 18px; background: var(--brass); color: var(--ink-0);
  font-family: var(--sans); font-size: 13px; border-radius: 6px;
  transition: top 0.25s;
}
.skip-link:focus { top: 12px; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
}
.progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--brass), var(--brass-hi));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(12, 17, 15, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--line);
}
.head-row { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 13px; min-width: 0; }
.brand-mark {
  width: 9px; height: 9px; background: var(--brass);
  transform: rotate(45deg); flex: none;
  box-shadow: 0 0 0 4px var(--brass-soft);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-over {
  font-family: var(--sans); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--bone-dim);
}
.brand-name { font-family: var(--serif); font-size: 19px; font-weight: 450; color: var(--bone-hi); white-space: nowrap; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  position: relative; font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--bone-dim); padding: 6px 0; transition: color 0.25s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--bone-hi); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.head-actions { display: flex; align-items: center; gap: 14px; }
.btn-phone { padding: 11px 18px; font-size: 12.5px; }
.btn-phone .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brass);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 161, 91, 0.5); }
  55% { box-shadow: 0 0 0 7px rgba(198, 161, 91, 0); }
}

.burger { display: none; position: relative; width: 44px; height: 44px; z-index: 130; }
.burger span {
  position: absolute; left: 11px; width: 22px; height: 1.6px;
  background: var(--bone); transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- mobile menu ---------- */
.m-menu {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center;
  background: rgba(12, 17, 15, 0.97);
  opacity: 0; transition: opacity 0.35s;
  pointer-events: none;
}
.m-menu[hidden] { display: none; }
.m-menu.open { opacity: 1; pointer-events: auto; }
.m-menu nav { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.m-menu a {
  font-family: var(--serif); font-size: clamp(28px, 7vw, 38px); font-weight: 400;
  color: var(--bone); padding: 8px 20px;
  opacity: 0; transform: translateY(18px);
}
.m-menu.open a {
  opacity: 1; transform: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms + 80ms);
}
.m-menu a:hover { color: var(--brass-hi); }
.m-menu .m-call { font-family: var(--sans); font-size: 15px; color: var(--brass); margin-top: 18px; }
body.no-scroll { overflow: hidden; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em;
  padding: 17px 30px; border-radius: 999px; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s, color 0.3s, filter 0.3s;
  will-change: transform;
}
.btn-solid {
  background: linear-gradient(135deg, #DCBE7C, var(--brass));
  color: #171208;
}
.btn-solid::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease);
}
.btn-solid:hover { filter: brightness(1.06); box-shadow: 0 14px 34px rgba(198, 161, 91, 0.28); }
.btn-solid:hover::after { left: 125%; }
.btn-ghost { border: 1px solid rgba(239, 233, 220, 0.28); color: var(--bone); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-hi); }
.btn-wide { width: 100%; }

.text-link {
  display: inline-block; margin-top: 22px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass);
  border-bottom: 1px solid rgba(198, 161, 91, 0.35); padding-bottom: 4px;
  transition: border-color 0.25s, color 0.25s;
}
.text-link:hover { color: var(--brass-hi); border-color: var(--brass-hi); }

/* ---------- type utilities ---------- */
.kicker {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--brass);
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--brass); }

.title {
  font-family: var(--serif); font-weight: 480;
  font-size: clamp(2.3rem, 4.8vw, 3.9rem);
  line-height: 1.04; letter-spacing: -0.01em; color: var(--bone-hi);
}
.title em { font-style: italic; font-weight: 380; color: var(--brass-hi); }

.sec-intro {
  max-width: 56ch; margin-top: 26px;
  font-size: 17.5px; line-height: 1.65; color: var(--bone-dim);
}
.sec-head { margin-bottom: clamp(48px, 7vw, 84px); }
.section { padding-block: clamp(96px, 12vw, 158px); position: relative; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 150px 0 120px; overflow: clip;
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 480px at 74% 12%, rgba(198, 161, 91, 0.14), transparent 65%),
    radial-gradient(900px 600px at 8% 90%, rgba(46, 74, 60, 0.35), transparent 60%);
}
.ridge { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: clamp(140px, 22vw, 300px); pointer-events: none; }
.ridge path {
  fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke;
  stroke-dasharray: 3200; stroke-dashoffset: 3200;
  animation: draw 3s var(--ease) forwards;
}
.ridge-back { stroke: rgba(239, 233, 220, 0.14); animation-delay: 0.2s; }
.ridge-front { stroke: rgba(198, 161, 91, 0.4); animation-delay: 0.45s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-inner { position: relative; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.badge {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--bone-dim);
}
.badge-brass { border-color: rgba(198, 161, 91, 0.45); color: var(--brass-hi); background: rgba(198, 161, 91, 0.07); }

.display {
  font-family: var(--serif); font-weight: 470;
  font-size: clamp(3.3rem, 10vw, 7.8rem);
  line-height: 0.98; letter-spacing: -0.018em; color: var(--bone-hi);
  max-width: 12ch;
}
.display em {
  font-style: italic; font-weight: 360;
  background: linear-gradient(100deg, var(--brass-hi), var(--brass) 60%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  max-width: 54ch; margin-top: 34px;
  font-size: clamp(17px, 2vw, 20px); line-height: 1.62; color: var(--bone-dim);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  margin-top: clamp(60px, 8vw, 96px); padding-top: 36px;
  border-top: 1px solid var(--line);
}
.stat dt {
  font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 420; color: var(--brass-hi); line-height: 1;
}
.stat dd {
  margin-top: 10px; font-family: var(--sans); font-size: 12.5px;
  line-height: 1.5; letter-spacing: 0.04em; color: var(--bone-faint);
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0; overflow: hidden; background: var(--ink-0);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 34px; white-space: nowrap;
  animation: marquee 30s linear infinite; will-change: transform;
}
.marquee-track span {
  font-family: var(--serif); font-style: italic; font-weight: 340;
  font-size: 26px; letter-spacing: 0.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(239, 233, 220, 0.34);
}
.marquee-track i { font-style: normal; color: var(--brass); font-size: 20px; }
@keyframes marquee { to { transform: translateX(calc(-100% / 3)); } }

/* ---------- practice ---------- */
.practice-list { border-bottom: 1px solid var(--line); }
.p-row { border-top: 1px solid var(--line); }
.p-head {
  display: grid; grid-template-columns: 84px 1fr 52px; align-items: center; gap: 20px;
  width: 100%; text-align: left; padding: 36px 10px;
  transition: background 0.35s, padding 0.35s;
}
.p-head:hover { background: rgba(239, 233, 220, 0.025); }
.p-num {
  font-family: var(--serif); font-size: 19px; font-style: italic;
  color: var(--brass); opacity: 0.85;
}
.p-title { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 440; color: var(--bone-hi); transition: color 0.3s; }
.p-head:hover .p-title { color: var(--brass-hi); }
.p-tag { margin-top: 7px; font-family: var(--sans); font-size: 13.5px; color: var(--bone-faint); }
.p-arrow {
  position: relative; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 50%; justify-self: end;
  transition: border-color 0.3s, transform 0.45s var(--ease), background 0.3s;
}
.p-arrow::before, .p-arrow::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--bone);
  transition: background 0.3s;
}
.p-arrow::before { width: 14px; height: 1.4px; transform: translate(-50%, -50%); }
.p-arrow::after { width: 1.4px; height: 14px; transform: translate(-50%, -50%); }
.p-head:hover .p-arrow { border-color: var(--brass); }
.p-head[aria-expanded="true"] .p-arrow { transform: rotate(135deg); background: var(--brass); border-color: var(--brass); }
.p-head[aria-expanded="true"] .p-arrow::before,
.p-head[aria-expanded="true"] .p-arrow::after { background: var(--ink-0); }

.p-panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease);
}
.p-panel.open { grid-template-rows: 1fr; }
.p-panel > .p-panel-in { min-height: 0; overflow: hidden; }
.p-panel-in { padding: 0 10px 0 114px; }
.p-panel.open .p-panel-in { padding-bottom: 46px; }
.p-panel-in > p { max-width: 62ch; color: var(--bone-dim); font-size: 16.5px; line-height: 1.7; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; max-width: 720px; }
.chips li {
  font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: 0.03em;
  padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--bone-dim); transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.chips li:hover { border-color: rgba(198, 161, 91, 0.55); color: var(--brass-hi); transform: translateY(-1px); }

/* ---------- paper sections ---------- */
.paper { background: var(--paper); color: var(--pink); }
.paper-deep { background: var(--paper-2); }
.paper .kicker { color: var(--brass-ink); }
.paper .kicker::before { background: var(--brass-ink); }
.paper .title { color: var(--pink); }
.paper .title em { color: var(--brass-ink); }
.paper .sec-intro { color: var(--pink-dim); }
.paper ::selection { background: var(--pink); color: var(--paper); }

/* manifesto */
.manifesto { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.m-word {
  border-top: 1px solid var(--pline); padding-top: 30px;
  opacity: 0.38; transform: translateY(0);
  transition: opacity 0.5s, transform 0.5s var(--ease);
  cursor: default;
}
.m-word.is-active, .m-word:hover, .m-word:focus-visible { opacity: 1; transform: translateY(-6px); }
.m-word h3 {
  font-family: var(--serif); font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 460; letter-spacing: -0.01em;
}
.m-dot { color: var(--brass-ink); }
.m-word p { margin-top: 16px; font-family: var(--sans); font-size: 14.5px; line-height: 1.65; color: var(--pink-dim); max-width: 34ch; }

.pull-quote { margin-top: clamp(70px, 9vw, 110px); position: relative; padding-left: clamp(0px, 6vw, 70px); }
.pull-quote::before {
  content: "\201C"; position: absolute; left: -10px; top: -46px;
  font-family: var(--serif); font-size: 180px; line-height: 1;
  color: rgba(142, 110, 49, 0.18); pointer-events: none;
}
.pull-quote blockquote {
  font-family: var(--serif); font-style: italic; font-weight: 380;
  font-size: clamp(1.45rem, 2.9vw, 2.15rem); line-height: 1.4;
  max-width: 30ch; color: var(--pink);
}
.pull-quote figcaption {
  margin-top: 20px; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-ink);
}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
.about-side { position: sticky; top: 110px; }

.portrait-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 6px;
  background:
    radial-gradient(340px 260px at 70% 18%, rgba(198, 161, 91, 0.2), transparent 60%),
    linear-gradient(160deg, #1B241F, #0E1411);
  display: grid; place-items: center;
  box-shadow: 0 30px 60px rgba(15, 20, 17, 0.25);
}
.portrait-frame::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px solid rgba(239, 233, 220, 0.18); border-radius: 3px; pointer-events: none;
}
.portrait-mono {
  font-family: var(--serif); font-style: italic; font-weight: 380;
  font-size: 96px; color: var(--brass); opacity: 0.92; letter-spacing: -0.02em;
}
.portrait-note {
  position: absolute; bottom: 26px; left: 0; right: 0; text-align: center;
  font-family: var(--sans); font-size: 10px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: rgba(239, 233, 220, 0.45);
  line-height: 1.7;
}
.portrait-plate { display: flex; flex-direction: column; gap: 3px; padding: 18px 6px 0; }
.portrait-plate strong { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.portrait-plate span {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-ink);
}

.cred-list { margin-top: 34px; }
.cred-list li {
  padding: 15px 6px; border-top: 1px solid var(--pline);
  font-size: 15px; line-height: 1.55; color: var(--pink-dim);
}
.cred-list li span {
  display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 5px;
}

.timeline { position: relative; margin-top: 8px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 1px; background: var(--pline);
}
.timeline li { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 20px; padding-bottom: 40px; }
.timeline li:last-child { padding-bottom: 0; }
.t-mark {
  position: relative; z-index: 1; width: 15px; height: 15px; margin-top: 5px;
  border-radius: 50%; border: 1.5px solid var(--brass-ink); background: var(--paper-2);
  transition: background 0.6s var(--ease), box-shadow 0.6s;
}
.timeline li.in .t-mark { background: var(--brass-ink); box-shadow: 0 0 0 5px rgba(142, 110, 49, 0.14); }
.timeline h3 { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -0.005em; }
.timeline p { margin-top: 8px; font-family: var(--sans); font-size: 14.5px; line-height: 1.65; color: var(--pink-dim); max-width: 58ch; }

.mentors {
  margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--pline);
  font-style: italic; font-size: 17px; line-height: 1.7; color: var(--pink-dim); max-width: 62ch;
}
.mentors strong { font-weight: 500; color: var(--pink); }

/* ---------- reviews ---------- */
.feature-quote { max-width: 900px; }
.feature-quote blockquote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.7rem, 3.8vw, 2.9rem); line-height: 1.28; letter-spacing: -0.01em;
  color: var(--bone-hi);
}
.feature-quote figcaption {
  margin-top: 24px; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass);
}

.carousel { margin-top: clamp(56px, 7vw, 80px); }
.car-viewport { overflow: hidden; }
.car-track { display: flex; gap: 22px; transition: transform 0.65s var(--ease); }
.car-card {
  flex: 0 0 calc((100% - 44px) / 3);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 18px;
  transition: border-color 0.3s, transform 0.3s;
}
.car-card:hover { border-color: rgba(198, 161, 91, 0.4); transform: translateY(-3px); }
.car-card blockquote { font-size: 16.5px; line-height: 1.6; color: var(--bone); flex: 1; }
.car-card figcaption {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-faint);
}
.car-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; }
.car-btn {
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
  color: var(--bone); font-size: 17px;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}
.car-btn:hover { border-color: var(--brass); color: var(--brass-hi); transform: translateY(-2px); }
.car-dots { display: flex; gap: 8px; }
.car-dots button {
  width: 8px; height: 8px; border-radius: 999px; background: rgba(239, 233, 220, 0.22);
  transition: background 0.3s, width 0.3s var(--ease);
}
.car-dots button.active { width: 24px; background: var(--brass); }
.car-more { text-align: center; margin-top: 26px; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq { border-top: 1px solid var(--line); }
.faq summary {
  display: grid; grid-template-columns: 1fr 34px; align-items: center; gap: 18px;
  padding: 26px 4px; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(17px, 2vw, 20.5px); font-weight: 440;
  color: var(--bone); transition: color 0.25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brass-hi); }
.faq[open] summary { color: var(--brass-hi); }
.f-ico { position: relative; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; transition: transform 0.4s var(--ease), border-color 0.3s; }
.f-ico::before, .f-ico::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--bone); }
.f-ico::before { width: 10px; height: 1.3px; transform: translate(-50%, -50%); }
.f-ico::after { width: 1.3px; height: 10px; transform: translate(-50%, -50%); }
.faq[open] .f-ico { transform: rotate(135deg); border-color: var(--brass); }
.faq-body { padding: 0 4px 28px; animation: faqIn 0.45s var(--ease); }
.faq-body p { max-width: 58ch; font-size: 16px; line-height: 1.7; color: var(--bone-dim); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- contact ---------- */
.contact {
  background:
    radial-gradient(800px 500px at 85% 0%, rgba(198, 161, 91, 0.08), transparent 60%),
    var(--ink-0);
}
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 100px); align-items: start; }
.c-list li {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: baseline;
  padding: 17px 4px; border-top: 1px solid var(--line);
  font-size: 17.5px; line-height: 1.5;
  overflow-wrap: anywhere;
}
.c-list li:last-child { border-bottom: 1px solid var(--line); }
.c-list span {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass);
}
.c-list a { transition: color 0.25s; }
.c-list a:hover { color: var(--brass-hi); }

.c-form {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(28px, 4vw, 44px); position: relative;
}
.f-row { margin-bottom: 20px; }
.f-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.c-form label {
  display: block; margin-bottom: 9px;
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-dim);
}
.c-form input, .c-form select, .c-form textarea {
  width: 100%; padding: 14px 16px;
  font-family: var(--sans); font-size: 15px; color: var(--bone);
  background: rgba(239, 233, 220, 0.045); border: 1px solid rgba(239, 233, 220, 0.16);
  border-radius: 9px; transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none; -webkit-appearance: none;
}
.c-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C6A15B' fill='none' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.c-form textarea { resize: vertical; min-height: 120px; }
.c-form input:focus, .c-form select:focus, .c-form textarea:focus {
  outline: none; border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.16);
}
.c-form ::placeholder { color: rgba(239, 233, 220, 0.35); }
.f-note { margin-top: 16px; font-family: var(--sans); font-size: 12px; line-height: 1.6; color: var(--bone-faint); }
.c-form.sent .f-row, .c-form.sent .btn, .c-form.sent .f-note { opacity: 0.22; pointer-events: none; }
.f-done {
  margin-top: 22px; padding: 22px 24px;
  border: 1px solid rgba(198, 161, 91, 0.5); border-radius: 12px;
  background: rgba(198, 161, 91, 0.09);
}
.f-done strong { font-family: var(--serif); font-size: 18px; color: var(--brass-hi); }
.f-done p { margin-top: 8px; font-family: var(--sans); font-size: 13.5px; line-height: 1.6; color: var(--bone-dim); }
.f-done a { color: var(--brass-hi); text-decoration: underline; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--ink-0); }
.foot-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px;
  padding: 64px 0 44px;
}
.foot-brand .brand-name { font-size: 22px; }
.foot-tag { margin-top: 12px; font-style: italic; font-size: 14.5px; color: var(--brass); }
.foot-nav { display: flex; flex-direction: column; gap: 11px; }
.foot-nav a { font-family: var(--sans); font-size: 13.5px; color: var(--bone-dim); transition: color 0.25s; width: fit-content; }
.foot-nav a:hover { color: var(--brass-hi); }
.foot-contact { display: flex; flex-direction: column; gap: 11px; font-size: 15.5px; color: var(--bone-dim); }
.foot-contact a:hover { color: var(--brass-hi); }
.foot-legal { padding: 30px 0 110px; border-top: 1px solid var(--line); }
.foot-legal p { font-family: var(--sans); font-size: 12px; line-height: 1.7; color: rgba(239, 233, 220, 0.42); max-width: 920px; }
.foot-legal p + p { margin-top: 10px; }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-reveal].in { opacity: 1; transform: none; }
body.preload [data-reveal] { transition: none; }

/* ---------- hero figure (photo cutout) ---------- */
.hero-figure {
  position: absolute; z-index: 1; bottom: 0; margin: 0;
  right: clamp(8px, calc((100vw - 1180px) / 2), 400px);
  width: clamp(320px, 31vw, 465px);
  pointer-events: none;
}
.hero-figure::before {
  content: ""; position: absolute; left: 50%; bottom: -8%;
  transform: translateX(-50%);
  width: 125%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(198, 161, 91, 0.2), transparent 72%);
}
.hero-figure img {
  position: relative; width: 100%; height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
}
.hero-inner { z-index: 2; }
.ridge { z-index: 0; }
@media (min-width: 1200px) {
  .hero .stats { max-width: calc(100% - 500px); }
}
@media (max-width: 1199px) {
  .hero-figure { display: none; }
}

/* ---------- portrait photo ---------- */
.portrait-photo {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100% !important; object-fit: cover; object-position: bottom;
}
.portrait-frame { overflow: hidden; }
.portrait-frame::after { z-index: 2; }

/* ---------- legal pages ---------- */
.legal-main { padding: 170px 0 110px; }
.legal-wrap { width: min(800px, 92vw); margin-inline: auto; }
.legal-title {
  font-family: var(--serif); font-weight: 470;
  font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.05;
  letter-spacing: -0.01em; color: var(--bone-hi); margin-top: 8px;
}
.legal-updated {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass);
  margin: 20px 0 48px;
}
.legal-wrap h2 {
  font-family: var(--serif); font-size: 21px; font-weight: 500;
  color: var(--bone-hi); margin: 42px 0 12px;
}
.legal-wrap p, .legal-wrap li {
  font-family: var(--sans); font-size: 14.5px; line-height: 1.75;
  color: var(--bone-dim);
}
.legal-wrap p { margin-bottom: 12px; }
.legal-wrap ul { list-style: disc; margin: 0 0 14px 20px; padding: 0; }
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap p a { color: var(--brass-hi); text-decoration: underline; text-underline-offset: 3px; }
.legal-wrap .text-link { margin-top: 44px; text-decoration: none; }
.foot-legal a { color: var(--bone-dim); text-decoration: underline; text-underline-offset: 3px; transition: color 0.25s; }
.foot-legal a:hover { color: var(--brass-hi); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-side { position: static; display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 40px; align-items: start; }
  .cred-list { margin-top: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .sec-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .car-card { flex-basis: calc((100% - 22px) / 2); }
}

@media (max-width: 880px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .p-head { grid-template-columns: 54px 1fr 48px; padding: 30px 4px; }
  .p-panel-in { padding-left: 4px; padding-right: 4px; }
  .manifesto { grid-template-columns: 1fr; gap: 30px; }
  .m-word { opacity: 1; transform: none; }
  .m-word p { max-width: 56ch; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 36px; }
  .about-side { grid-template-columns: 1fr; }
  .portrait { max-width: 380px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .btn-phone { display: none; }
  .brand-name { font-size: 17px; }
  .hero { padding-top: 130px; }
  .cta-row .btn { width: 100%; }
  .car-card { flex-basis: 100%; }
  .f-split { grid-template-columns: 1fr; }
  .marquee-track span { font-size: 21px; }
  .pull-quote { padding-left: 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ridge path { stroke-dashoffset: 0; animation: none; }
  .marquee-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
