/* ==========================================================================
   Advocate v2 — Components (light ground)
   ========================================================================== */

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .92rem 1.5rem;
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.btn--solid {
  background: var(--emerald);
  color: var(--bone-raised);
  border-color: var(--emerald);
}
.btn--solid:hover { background: var(--emerald-light); box-shadow: var(--shadow-lift); }

.btn--brass {
  background: var(--grad-brass);
  color: #241A05;
  border-color: var(--brass-deep);
}
.btn--brass:hover { filter: brightness(1.06); box-shadow: var(--shadow-lift); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hair-2);
}
.btn--ghost:hover { border-color: var(--emerald); color: var(--emerald); }

.section--invert .btn--ghost,
.drawer .btn--ghost { color: var(--inv-text); border-color: var(--inv-hair); }
.section--invert .btn--ghost:hover,
.drawer .btn--ghost:hover { color: var(--brass-light); border-color: var(--brass-light); }

.btn--sm { padding: .58rem 1rem; font-size: var(--t-xs); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: var(--t-body); }
.btn--block { width: 100%; }

.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 15px; height: 15px; }
.ico--lg { width: 24px; height: 24px; }

/* ==========================================================================
   Intro curtain
   ========================================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: var(--z-intro);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.intro__panel {
  position: absolute;
  inset: 0;
  background: var(--emerald-deep);
  transform-origin: top center;
}
.intro__mark {
  position: relative;
  width: clamp(76px, 14vw, 118px);
  height: auto;
  color: var(--brass-light);
}
.intro__mark path,
.intro__mark rect { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro__word {
  position: absolute;
  bottom: clamp(2rem, 8vh, 5rem);
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(203, 164, 92, .75);
}

/* ==========================================================================
   Custom cursor (desktop, fine pointer only)
   ========================================================================== */
.cursor,
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
  opacity: 0;
}
.cursor {
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background: var(--emerald);
}
.cursor-ring {
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 1px solid var(--emerald);
  transition: width .28s var(--ease-out), height .28s var(--ease-out),
              margin .28s var(--ease-out), background-color .28s var(--ease-out),
              border-color .28s var(--ease-out);
}
.cursor-ring.is-hot {
  width: 62px; height: 62px;
  margin: -31px 0 0 -31px;
  background: var(--emerald-wash);
  border-color: var(--brass);
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor, .cursor-ring { display: none !important; }
}

/* ==========================================================================
   Disclaimer gate
   ========================================================================== */
.gate {
  position: fixed;
  inset: 0;
  z-index: var(--z-gate);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  background: rgba(10, 53, 39, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.gate__panel {
  width: 100%;
  max-width: 640px;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--bone-raised);
  border: 1px solid var(--bone-edge);
  border-top: 3px solid var(--emerald);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-3);
  padding: clamp(1.6rem, 1rem + 2.4vw, 2.9rem);
}
.gate__title { font-size: var(--t-h3); margin: .85rem 0 1.1rem; }
.gate__body { font-size: var(--t-sm); line-height: 1.72; color: var(--ink-muted); }
.gate__body p { margin-bottom: .95em; }
.gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hair);
}

/* ==========================================================================
   Scroll progress
   ========================================================================== */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: var(--z-progress);
  background: var(--grad-brass);
}

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav.is-stuck {
  background: rgba(247, 244, 237, .82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--hair);
}
.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "WONK" 1, "opsz" 20;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, .2rem + 1.1vw, 1.7rem);
  margin-left: auto;
}
@media (max-width: 1000px) { .nav__links { display: none; } }

.nav__link {
  position: relative;
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--ink-muted);
  padding-block: .4rem;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--emerald);
  transition: width var(--dur) var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--emerald); }

.nav__actions { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
@media (min-width: 1001px) { .nav__actions { margin-left: 1.2rem; } }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-sm);
  color: var(--ink);
}
@media (max-width: 1000px) { .nav__burger { display: inline-flex; } }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: var(--emerald-deep);
  color: var(--inv-text);
  padding: calc(var(--nav-h) + 1.4rem) var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  overflow-y: auto;
}
.drawer__link {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--inv-hair);
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--inv-text);
  font-variation-settings: "WONK" 1, "opsz" 30;
}
.drawer__link span {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--brass-light);
  letter-spacing: .1em;
}
.drawer__link:hover { color: var(--brass-light); }
.drawer__actions { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.6rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.4rem, 1rem + 5vw, 6rem));
  padding-bottom: clamp(2.6rem, 1.4rem + 4vw, 5.5rem);
  overflow: hidden;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 1rem + 3.6vw, 4.6rem);
  align-items: center;
}
@media (max-width: 920px) { .hero__grid { grid-template-columns: 1fr; gap: 2.4rem; } }

.hero__title { margin: 1.4rem 0 0; }
.hero__title .line { display: block; }

/* Word masks for the kinetic reveal */
.hero__title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: .06em;
}
.hero__title .w > span { display: inline-block; }

.hero__lead { margin-top: 1.5rem; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.1rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  margin-top: 2.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ink-muted);
  letter-spacing: .06em;
}
.hero__meta b { color: var(--ink); font-weight: 500; }

/* Portrait */
.portrait {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bone-sunk);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-2);
  will-change: transform;
}
.portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.3) contrast(1.05) saturate(1.05);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,77,58,.18) 0%, transparent 45%, rgba(10,53,39,.42) 100%);
  pointer-events: none;
}
.portrait__frame {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(247, 244, 237, .5);
  border-radius: var(--r-sm);
  z-index: 2;
  pointer-events: none;
}
/* Name sits below the photo, not over it */
.portrait-fig { display: block; }

.portrait__caption {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  margin-top: 1.1rem;
  padding-left: .9rem;
  border-left: 2px solid var(--brass);
}
.portrait__caption b {
  font-family: var(--font-display);
  font-size: var(--t-h4);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
  font-variation-settings: "WONK" 1, "opsz" 24;
}
.portrait__caption span {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.6;
}

.portrait--empty {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 90% at 70% 0%, var(--emerald-wash), transparent 62%),
    var(--bone-sunk);
  border: 1px solid var(--bone-edge);
}
.portrait--empty::after { display: none; }
.portrait--empty .portrait__frame { border-color: var(--hair-2); }
.portrait__placeholder { text-align: center; padding: 2rem; color: var(--ink-faint); }
.portrait__placeholder svg { width: 74px; height: 74px; margin: 0 auto 1.1rem; opacity: .55; color: var(--emerald); }
.portrait__placeholder p {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.9;
}

/* ==========================================================================
   Credibility strip
   ========================================================================== */
.strip {
  border-block: 1px solid var(--hair);
  background: var(--grad-wash);
}
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .strip__grid { grid-template-columns: repeat(2, 1fr); } }

.strip__item {
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.4rem) clamp(1rem, .5rem + 1.4vw, 1.9rem);
  border-left: 1px solid var(--hair);
}
.strip__item:first-child { border-left: 0; }
@media (max-width: 860px) {
  .strip__item:nth-child(odd) { border-left: 0; }
  .strip__item:nth-child(n+3) { border-top: 1px solid var(--hair); }
}
.strip__num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.6rem);
  line-height: 1;
  color: var(--emerald);
  font-variation-settings: "WONK" 1, "opsz" 40;
}
.strip__num--text { font-size: clamp(1.05rem, .8rem + .9vw, 1.5rem); line-height: 1.35; }
.strip__label {
  margin-top: .6rem;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Section header
   ========================================================================== */
.sec-head { margin-bottom: clamp(2.2rem, 1.4rem + 2.4vw, 3.8rem); }
.sec-head__title { margin-top: 1.1rem; max-width: 20ch; }
.sec-head__lead { margin-top: 1.2rem; max-width: 58ch; }
.rail-grid > .numeral { padding-top: .2rem; }
@media (max-width: 860px) { .rail-grid > .numeral { margin-bottom: .9rem; } }

/* ==========================================================================
   Practice area cards — with 3D tilt
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(1rem, .5rem + 1.2vw, 1.6rem);
  perspective: 1200px;
}
.card {
  position: relative;
  background: var(--bone-raised);
  border: 1px solid var(--bone-edge);
  border-radius: var(--r-md);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.3rem);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--grad-brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
.card:hover { box-shadow: var(--shadow-2); border-color: var(--brass); }
.card:hover::before { transform: scaleX(1); }
.card > * { transform: translateZ(28px); }

.card__ico {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  color: var(--emerald);
  background: var(--emerald-pale);
  margin-bottom: 1.3rem;
}
.card__ico .ico { width: 22px; height: 22px; }
.card__ico .ico path,
.card__ico .ico circle { stroke-dasharray: var(--dash, none); stroke-dashoffset: var(--dashoff, 0); }

.card__title { margin-bottom: .7rem; }
.card__blurb { font-size: var(--t-sm); color: var(--ink-muted); margin-bottom: 1.15rem; }
.card__list { display: flex; flex-wrap: wrap; gap: .4rem; }
.card__chip {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .05em;
  padding: .3rem .55rem;
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  color: var(--ink-muted);
  background: var(--bone);
}

/* ==========================================================================
   Profile
   ========================================================================== */
/* Single column since the credentials timeline was removed — held to a
   comfortable measure so the prose does not run the full page width. */
.profile {
  max-width: 68ch;
}

.profile__body p { color: var(--ink-soft); }
.profile__sig {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--emerald);
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
}
.profile__sig small {
  display: block;
  margin-top: .45rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}


/* ==========================================================================
   Process — pinned horizontal track
   ========================================================================== */
.process-pin { position: relative; overflow: hidden; }
.track {
  display: flex;
  gap: clamp(1.4rem, .8rem + 2vw, 3rem);
  will-change: transform;
}
.track .step { flex: 0 0 clamp(260px, 74vw, 420px); }

.step {
  position: relative;
  padding-top: 1.6rem;
  border-top: 1px solid var(--inv-hair);
  transition: border-color var(--dur) var(--ease);
}
.step:hover { border-top-color: var(--brass-light); }
.step__n {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--brass-light);
  display: block;
  margin-bottom: .9rem;
}
.step__title { margin-bottom: .6rem; }
.step__text { font-size: var(--t-sm); color: var(--inv-muted); }

/* Stacked fallback — mobile and reduced motion */
.steps--stacked {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: clamp(1.4rem, .8rem + 1.8vw, 2.6rem);
}
.steps--stacked .step { flex: none; }

/* ==========================================================================
   Courts
   ========================================================================== */
.courts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 0 clamp(1.2rem, .6rem + 2vw, 3rem);
}
.court {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--hair);
  font-size: var(--t-sm);
  color: var(--ink-soft);
  transition: color var(--dur) var(--ease);
}
.court::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
.court:hover { color: var(--emerald); }
.court:hover::after { transform: scaleX(1); }
.court__n { font-family: var(--font-mono); font-size: .62rem; color: var(--brass-deep); letter-spacing: .1em; flex: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--hair); }
.faq__item { border-bottom: 1px solid var(--hair); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  width: 100%;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--t-h4);
  line-height: 1.35;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-variation-settings: "WONK" 1, "opsz" 24;
  transition: color var(--dur) var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--emerald); }
.faq__sign { position: relative; width: 20px; height: 20px; flex: none; color: var(--brass); }
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.faq__sign::before { left: 0; top: 9.5px; width: 20px; height: 1px; }
.faq__sign::after  { left: 9.5px; top: 0; width: 1px; height: 20px; }
.faq__item[open] .faq__sign::after { transform: rotate(90deg); opacity: 0; }
.faq__a {
  padding: 0 0 1.7rem;
  max-width: 68ch;
  font-size: var(--t-sm);
  line-height: 1.78;
  color: var(--ink-muted);
}

/* ==========================================================================
   Notes
   ========================================================================== */
.notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: clamp(1.4rem, .8rem + 1.8vw, 2.4rem);
  perspective: 1200px;
}
.note {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--bone-raised);
  border: 1px solid var(--bone-edge);
  border-radius: var(--r-md);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.note::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--emerald-wash);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.note:hover { box-shadow: var(--shadow-2); border-color: var(--emerald); }
.note:hover::before { opacity: 1; }
.note > * { position: relative; transform: translateZ(24px); }

.note__date { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); }
.note__title { margin: .8rem 0 .7rem; font-size: var(--t-h4); transition: color var(--dur) var(--ease); }
.note:hover .note__title { color: var(--emerald); }
.note__excerpt { font-size: var(--t-sm); color: var(--ink-muted); margin-bottom: 1.1rem; }
.note__more {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.note__more .ico { transition: transform var(--dur) var(--ease); }
.note:hover .note__more .ico { transform: translateX(4px); }

/* ==========================================================================
   Contact
   ========================================================================== */
/* The enquiry form was removed, so the contact rows carry the section on
   their own — two columns on desktop, one on mobile. */
.contact { display: block; }

.cinfo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0 clamp(1.6rem, .8rem + 2.4vw, 3.4rem);
  border-top: 1px solid var(--hair);
}

.cinfo__row { display: flex; gap: 1.1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--hair); }
.cinfo__ico {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--emerald-pale);
  color: var(--emerald);
}
.cinfo__label {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: .3rem;
}
.cinfo__value { font-size: var(--t-sm); color: var(--ink); line-height: 1.6; }
.cinfo__value a:hover { color: var(--emerald); }

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: clamp(2rem, 1.2rem + 2vw, 3rem);
}



/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--emerald-deep);
  color: var(--inv-text);
  padding-block: clamp(2.6rem, 1.6rem + 2.6vw, 4.2rem) 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 1rem + 2.6vw, 3.6rem);
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--inv-hair);
}
@media (max-width: 780px) { .footer__top { grid-template-columns: 1fr; } }

.footer .brand__name { color: var(--inv-text); }
.footer .brand__sub  { color: var(--brass-light); }
.footer .muted { color: var(--inv-muted); }
.footer a:hover { color: var(--brass-light); }

.footer__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem 1.4rem; align-content: start; }
.footer__links a { font-size: var(--t-sm); color: var(--inv-muted); }

.footer__disclaimer {
  margin-top: 2rem;
  font-size: .74rem;
  line-height: 1.85;
  color: var(--inv-muted);
  max-width: 92ch;
}
.footer__disclaimer strong { color: var(--inv-text); font-weight: 600; }

.footer__base {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--inv-hair);
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.6rem;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .1em;
  color: var(--inv-muted);
}

/* ==========================================================================
   Mobile action bar
   ========================================================================== */
.actionbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-actionbar);
  display: none;
  border-top: 1px solid var(--hair);
  background: rgba(247, 244, 237, .96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: .6rem .6rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  gap: .5rem;
}
@media (max-width: 720px) { .actionbar { display: flex; } body { padding-bottom: 68px; } }
.actionbar .btn { flex: 1; }
