/* =========================================================
   Jadaun Legal — design system
   ========================================================= */

:root {
  --bg: #f5f0e6;
  --bg-2: #e8dcc8;
  --ink: #302820;
  --ink-2: #5b4f43;
  --ink-3: #685b4d;
  --brass: #b08d57;
  --brass-2: #7d5d2a;
  --brass-3: #5f4720;
  --line: rgba(48, 40, 32, 0.16);
  --line-soft: rgba(48, 40, 32, 0.09);
  --cream: #faf7f0;
  --sand: #d2b48c;
  --tan: #d8cbb8;
  --espresso: #302820;
  --ivory: #f5f0e6;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--tan) var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(15px, 0.5vw + 13.6px, 17px);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; }

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

:focus-visible {
  outline: 1px solid var(--brass-2);
  outline-offset: 4px;
}

/* ---------- page furniture ---------- */

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--espresso);
  color: var(--ivory);
  font-size: 0.8rem;
  text-decoration: none;
  border-radius: 4px;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip:focus { transform: none; }

.grain {
  position: fixed;
  inset: -10%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 95;
  pointer-events: none;
  background: transparent;
}
.progress i {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--brass-3), var(--brass-2));
}

/* ---------- loader ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.9s var(--ease) 0.15s, visibility 0.9s linear 0.15s;
}
.is-ready .loader { opacity: 0; visibility: hidden; }

.loader__inner { display: grid; justify-items: center; gap: 18px; }

.loader__mark {
  width: clamp(64px, 7vw, 82px);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(176, 141, 87, 0.18));
}

.loader__bar {
  width: 120px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.loader__bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--brass-2);
  animation: loaderBar 1.15s ease-in-out infinite;
}
@keyframes loaderBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(320%); }
}

.loader__label {
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- consent gate ---------- */

.consent {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: safe center;
  justify-content: center;
  padding: clamp(18px, 4vw, 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(176, 141, 87, 0.14), transparent 70%),
    rgba(245, 240, 230, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.consent.is-closing { opacity: 0; visibility: hidden; pointer-events: none; }
.consent-ok .consent { display: none !important; }
html.gate-open,
html.gate-open body { overflow: hidden; }

.consent__panel {
  position: relative;
  width: 100%;
  max-width: 600px;
  min-width: 0;
  padding: clamp(28px, 4.4vw, 48px);
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0)),
    var(--cream);
  box-shadow: 0 30px 80px rgba(48, 40, 32, 0.16);
}
.consent__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

.consent__mark {
  width: clamp(52px, 6vw, 68px);
  height: auto;
  margin-bottom: 22px;
  filter: drop-shadow(0 6px 18px rgba(176, 141, 87, 0.18));
}

.consent__eyebrow {
  margin: 0 0 12px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-2);
}

.consent h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.consent h2 em { font-style: italic; color: var(--brass-2); }

.consent p {
  margin: 0 0 13px;
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.65;
}
.consent p:last-of-type { margin-bottom: 0; }
.consent .consent__small { color: var(--ink-3); font-size: 0.76rem; }
.consent .consent__small a { color: var(--brass-2); text-underline-offset: 3px; }

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 26px;
}
.consent__actions .btn { --h: 46px; padding: 0 24px; font-size: 0.74rem; }

.consent__decline {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-3);
  font: inherit;
  font-size: 0.74rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.35s;
}
.consent__decline:hover { color: var(--ink-2); }

.consent .consent__error {
  margin: 18px 0 0;
  padding: 11px 14px;
  border-left: 2px solid var(--brass);
  background: rgba(176, 141, 87, 0.08);
  font-size: 0.78rem;
}
.consent__error[hidden] { display: none; }
.consent__error a { color: var(--brass-2); text-underline-offset: 3px; }

/* ---------- layout ---------- */

.wrap {
  width: min(1220px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(84px, 12vw, 168px) 0;
}

.section--beige { background: var(--bg-2); }

main section[id],
#top { scroll-margin-top: 84px; }

.section + .section { border-top: 1px solid var(--line-soft); }

.section__head { max-width: 920px; margin-bottom: clamp(38px, 5.5vw, 76px); }

.section__lead {
  max-width: 46ch;
  color: var(--ink-3);
  margin-top: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass));
}
.eyebrow .num { color: var(--brass-2); letter-spacing: 0.16em; }
.eyebrow .sep { color: var(--brass-2); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.15rem, 4.6vw, 4.05rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  color: var(--brass-2);
}

.lead {
  font-size: clamp(1.02rem, 1.05vw + 0.72rem, 1.22rem);
  line-height: 1.6;
  color: var(--ink);
}

.lg-only { display: none; }

/* ---------- buttons & links ---------- */

.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: var(--h);
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.5s var(--ease), background-color 0.4s, border-color 0.4s,
    color 0.4s, box-shadow 0.5s var(--ease);
}
.btn svg { width: 13px; height: 13px; transition: transform 0.45s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }

.btn--sm { --h: 42px; padding: 0 20px; font-size: 0.76rem; }

.btn--primary {
  background: var(--espresso);
  color: var(--ivory);
  box-shadow: 0 14px 34px -18px rgba(48, 40, 32, 0.55);
}
.btn--primary:hover {
  background: #3d3229;
  box-shadow: 0 20px 44px -18px rgba(48, 40, 32, 0.6);
}

.btn--ghost {
  border-color: var(--tan);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  border-color: rgba(176, 141, 87, 0.55);
  color: var(--brass-2);
  background: rgba(176, 141, 87, 0.08);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.4s, border-color 0.4s;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.45s var(--ease); }
.link-arrow:hover { color: var(--brass-2); border-color: rgba(176, 141, 87, 0.6); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  padding: 20px 0;
  transition: padding 0.5s var(--ease), background-color 0.5s, border-color 0.5s,
    backdrop-filter 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 11px 0;
  background: rgba(245, 240, 230, 0.94);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom-color: var(--line-soft);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 54px;
  height: auto;
  display: block;
  flex: none;
  filter: drop-shadow(0 2px 10px rgba(176, 141, 87, 0.16));
  transition: filter 0.45s var(--ease), transform 0.55s var(--ease);
}
.brand:hover .brand__mark {
  filter: drop-shadow(0 3px 16px rgba(176, 141, 87, 0.3));
  transform: translateY(-1px);
}
.brand__text {
  display: flex;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.brand__text span { color: var(--ink-3); font-weight: 300; }

.nav__links {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--ink-2);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.35s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active,
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.is-active::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.nav__right { display: flex; align-items: center; gap: 14px; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav__toggle span:nth-child(1) { top: 19px; }
.nav__toggle span:nth-child(2) { top: 24px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center;
  gap: 34px;
  padding: 110px var(--gutter) 44px;
  overflow-y: auto;
  background: rgba(245, 240, 230, 0.98);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu nav { display: grid; }
.menu nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 8vw, 2.9rem);
  font-weight: 300;
  text-decoration: none;
  color: var(--ink);
}
.menu nav a span {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.menu__foot { display: grid; gap: 6px; font-size: 0.86rem; color: var(--ink-3); }
.menu__foot p { margin: 0 0 4px; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; }
.menu__foot a { color: var(--ink-2); text-decoration: none; }
.menu__foot a:hover { color: var(--brass-2); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(112px, 15vh, 172px) 0 clamp(64px, 9vh, 104px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(58% 46% at 74% 36%, rgba(210, 180, 140, 0.34), transparent 68%),
    radial-gradient(42% 42% at 14% 82%, rgba(176, 141, 87, 0.12), transparent 70%),
    var(--bg);
}

.hero__art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62%, 1040px);
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__art-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: saturate(1.01) contrast(1.02);
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(245, 240, 230, 0.92) 14%, rgba(245, 240, 230, 0.45) 40%, rgba(245, 240, 230, 0) 68%),
    linear-gradient(180deg, rgba(245, 240, 230, 0.55) 0%, rgba(245, 240, 230, 0.1) 18%, rgba(245, 240, 230, 0) 42%, rgba(245, 240, 230, 0) 72%, var(--bg) 100%),
    linear-gradient(90deg, rgba(176, 141, 87, 0) 34%, rgba(176, 141, 87, 0.06) 100%);
}
.hero__flag {
  position: absolute;
  z-index: 3;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(245, 240, 230, 0.94) 0%, rgba(245, 240, 230, 0.7) 34%, rgba(245, 240, 230, 0) 62%),
    linear-gradient(to bottom, rgba(245, 240, 230, 0.5) 0%, transparent 22%, transparent 66%, var(--bg) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
  gap: 40px;
  align-items: end;
}

.hero__copy { max-width: 780px; }

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.75rem, 7vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(100deg, #b8955f 5%, #96733f 40%, #7d5d2a 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 2.2vw, 28px);
}
.hero__brand::before {
  content: "";
  position: absolute;
  left: -6%;
  top: -12%;
  width: min(560px, 92%);
  height: 124%;
  background: radial-gradient(50% 50% at 38% 45%, rgba(176, 141, 87, 0.1), transparent 72%);
  pointer-events: none;
  z-index: -1;
}
.hero__brand-mark {
  width: clamp(78px, 9vw, 126px);
  height: auto;
  filter: drop-shadow(0 14px 44px rgba(176, 141, 87, 0.18));
}
.hero__brand-name {
  display: block;
  font-size: clamp(3.1rem, 8.6vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}

.hero__sub {
  max-width: 47ch;
  margin: clamp(22px, 3vw, 34px) 0 0;
  color: var(--ink-2);
  font-size: clamp(0.94rem, 0.5vw + 0.82rem, 1.06rem);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.4vw, 40px);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin: clamp(34px, 5vw, 56px) 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__meta li { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--brass);
  transform: rotate(45deg);
  opacity: 0.85;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 8px;
  text-align: right;
}
.hero__ord {
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__ord--num {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--brass-2);
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  pointer-events: none;
}
.hero__cue-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(176, 141, 87, 0.9), transparent);
  animation: cue 2.6s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.35); opacity: 0.3; }
  45% { transform: scaleY(1); opacity: 1; }
}
.hero__cue-text {
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 20px 0;
  border-block: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 48px);
  padding-right: clamp(28px, 3vw, 48px);
}
.marquee__group span {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.9vw, 1.55rem);
  letter-spacing: 0.01em;
  color: var(--ink-2);
  white-space: nowrap;
}
.dot {
  width: 5px;
  height: 5px;
  background: var(--brass);
  transform: rotate(45deg);
  flex: none;
  opacity: 0.75;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- firm ---------- */

.firm__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}
.firm__body p { color: var(--ink-2); max-width: 44ch; }
.firm__body .lead { color: var(--ink); }

.approach {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.approach li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-bottom: 1px solid var(--line-soft);
  transition: border-color 0.4s;
}
.approach li:hover { border-bottom-color: rgba(176, 141, 87, 0.4); }
.approach__n {
  padding-top: 5px;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--brass-2);
}
.approach h3 {
  margin: 0 0 6px;
  font-size: clamp(0.98rem, 0.35vw + 0.9rem, 1.08rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 0.4s;
}
.approach li:hover h3 { color: var(--brass-2); }
.approach p { margin: 0; color: var(--ink-3); font-size: 0.9rem; line-height: 1.62; }

/* ---------- founder ---------- */

.founder {
  background:
    radial-gradient(70% 60% at 18% 20%, rgba(176, 141, 87, 0.14), transparent 65%),
    var(--bg-2);
}
.founder__grid {
  display: grid;
  grid-template-columns: minmax(0, 4.4fr) minmax(0, 6fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.founder__plate {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--tan);
  background: var(--bg-2);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease), border-color 0.5s, box-shadow 0.6s;
}
.founder__plate::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(48, 40, 32, 0.12);
  pointer-events: none;
  z-index: 4;
}
.plate__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(1.01);
  filter: grayscale(0.82) sepia(0.16) contrast(1.02) brightness(1.04);
  transition: filter 1s var(--ease), transform 1.6s var(--ease);
}
.plate__tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(48, 40, 32, 0.02) 0%,
      rgba(48, 40, 32, 0) 32%,
      rgba(48, 40, 32, 0.55) 78%,
      rgba(48, 40, 32, 0.9) 100%
    ),
    linear-gradient(150deg, rgba(176, 141, 87, 0.2), rgba(176, 141, 87, 0) 55%);
}
.founder__plate:hover { border-color: rgba(176, 141, 87, 0.45); }
.founder__plate:hover .plate__img {
  filter: grayscale(0.08) sepia(0.04) contrast(1.02) brightness(1.02);
  transform: scale(1.045);
}
.plate__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 22px 24px;
  display: grid;
  gap: 4px;
  transform: translateZ(40px);
}
.plate__cap strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ivory);
}
.plate__cap span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e6cfa2;
}
.plate__corner {
  position: absolute;
  z-index: 3;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(176, 141, 87, 0.55);
}
.plate__corner--tl { top: 26px; left: 26px; border-right: 0; border-bottom: 0; }
.plate__corner--br { bottom: 26px; right: 26px; border-left: 0; border-top: 0; }

.founder__name {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  margin: 0;
}
.founder__role {
  margin: 14px 0 0;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-2);
}
.founder__bio { margin-top: clamp(22px, 3vw, 32px); }
.founder__bio p { color: var(--ink-2); max-width: 52ch; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: clamp(24px, 3vw, 34px) 0 0;
  padding: 0;
  list-style: none;
}
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  background: var(--cream);
}

.founder__link { margin-top: clamp(22px, 2.6vw, 30px); }

/* ---------- team ---------- */

.team__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.team__grid .person { grid-column: span 2; }
.team__grid .person:nth-child(4) { grid-column: 2 / span 2; }

.person {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--tan);
  background: var(--cream);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease), border-color 0.5s, background-color 0.5s;
}
.person::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    rgba(176, 141, 87, 0.14),
    transparent 65%
  );
  transition: opacity 0.5s;
  pointer-events: none;
}
.person:hover {
  border-color: rgba(176, 141, 87, 0.45);
  box-shadow: 0 18px 44px -28px rgba(48, 40, 32, 0.4);
}
.person:hover::before { opacity: 1; }

.person__photo {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}
.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: grayscale(0.85) sepia(0.14) contrast(1.02) brightness(1.03);
  transition: transform 1.4s var(--ease), filter 0.9s var(--ease);
}
.person__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(48, 40, 32, 0.34) 0%,
    rgba(48, 40, 32, 0.12) 24%,
    rgba(48, 40, 32, 0) 44%
  );
}
.person__idx {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 1;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: #f3e2bf;
  text-shadow: 0 1px 10px rgba(48, 40, 32, 0.6);
}
.person:hover .person__photo img {
  filter: grayscale(0.1) sepia(0.04) contrast(1.02) brightness(1.04);
  transform: scale(1.05);
}

.person__link {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(48, 40, 32, 0.16);
  border-radius: 50%;
  background: rgba(250, 247, 240, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--ink);
  transition: color 0.35s var(--ease), background-color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.person__link svg { width: 15px; height: 15px; }
.person__link:hover,
.person__link:focus-visible {
  color: var(--ivory);
  background: var(--espresso);
  border-color: var(--espresso);
  transform: translateY(-1px);
}

.person__body {
  position: relative;
  z-index: 3;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px clamp(22px, 2.2vw, 30px) clamp(24px, 2.6vw, 32px);
}

.person h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.5vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.005em;
}
.person__role {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.7;
}
.person p:not(.person__role) {
  margin: 16px 0 0;
  color: var(--ink-3);
  font-size: 0.89rem;
  line-height: 1.64;
}
.person__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-2);
}

/* ---------- practice ---------- */

.practice { background: var(--bg-2); }

.practice__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.matter {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  min-height: 330px;
  padding: clamp(26px, 3.2vw, 42px);
  border: 1px solid var(--tan);
  background: var(--cream);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease), border-color 0.5s;
}
.matter::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(176, 141, 87, 0.15),
    transparent 68%
  );
  transition: opacity 0.5s;
  pointer-events: none;
}
.matter::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.7s var(--ease);
}
.matter:hover {
  border-color: rgba(176, 141, 87, 0.5);
  box-shadow: 0 22px 48px -32px rgba(48, 40, 32, 0.4);
}
.matter:hover::before { opacity: 1; }
.matter:hover::after { transform: scaleX(1); }

.matter__num {
  display: inline-block;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  color: var(--brass-2);
}
.matter h3 {
  margin: 16px 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.4vw, 2.45rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.matter p { margin: 0; color: var(--ink-3); max-width: 42ch; font-size: 0.93rem; }

.matter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.matter li::before { content: "—"; color: var(--brass); margin-right: 8px; }

.matter__go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  color: var(--ink-2);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.4s, border-color 0.4s;
}
.matter__go svg { width: 13px; height: 13px; transition: transform 0.45s var(--ease); }
.matter__go:hover { color: var(--brass-2); border-color: rgba(176, 141, 87, 0.5); }
.matter__go:hover svg { transform: translateX(4px); }

/* ---------- process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.step {
  position: relative;
  padding: clamp(30px, 3vw, 42px) clamp(18px, 2vw, 30px) 8px 0;
  border-right: 1px solid var(--line-soft);
}
.step:last-child { border-right: 0; }
.step:not(:first-child) { padding-left: clamp(18px, 2vw, 30px); }
.step::before {
  content: "";
  position: absolute;
  top: -2.5px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 14px rgba(176, 141, 87, 0.3);
}
.step:not(:first-child)::before { left: clamp(18px, 2vw, 30px); }
.step__n {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 2.6vw, 2.7rem);
  font-weight: 300;
  line-height: 1;
  color: rgba(176, 141, 87, 0.55);
}
.step h3 {
  margin: 18px 0 10px;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.step p { margin: 0; color: var(--ink-3); font-size: 0.89rem; line-height: 1.62; }

/* ---------- contact ---------- */

.contact {
  background:
    radial-gradient(65% 55% at 85% 12%, rgba(176, 141, 87, 0.12), transparent 62%),
    var(--bg-2);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
}
.contact__info > .lead { max-width: 42ch; color: var(--ink-2); }

.office {
  margin-top: clamp(26px, 3vw, 34px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.office__label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-2);
}
.office address {
  margin: 12px 0 0;
  font-style: normal;
  line-height: 1.62;
  color: var(--ink);
  font-size: 0.98rem;
}
.office__map {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.4s, border-color 0.4s;
}
.office__map:hover { color: var(--brass-2); border-color: rgba(176, 141, 87, 0.6); }

.contact__direct {
  display: grid;
  gap: 4px;
  margin-top: clamp(28px, 3vw, 38px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.contact__direct a {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.4s;
  width: fit-content;
}
.contact__direct a:hover { color: var(--brass-2); }
.contact__direct small {
  margin-top: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--tan);
  background: var(--cream);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 9px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.4s, background-color 0.4s;
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--cream); color: var(--ink); }
.field textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--brass-2);
  background: rgba(176, 141, 87, 0.06);
}
.field input:user-invalid,
.field textarea:user-invalid { border-bottom-color: #9c4a3c; }

.form .btn { justify-self: start; margin-top: 6px; }
.form .btn[disabled] { opacity: 0.6; pointer-events: none; }
.form__note { margin: 0; font-size: 0.72rem; color: var(--ink-3); line-height: 1.6; }
.form__status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.8rem;
  color: var(--brass-2);
}
.form__status.is-error { color: #9c4a3c; }

.form__choice {
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.form__choice[hidden] { display: none; }
.form__choice-label {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.form__choice-options { display: flex; flex-wrap: wrap; gap: 10px; }
.form__choice-options .btn { justify-self: auto; margin-top: 0; }
.form__choice-hint {
  margin: 0;
  font-size: 0.7rem;
  color: var(--ink-3);
  line-height: 1.55;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- footer ---------- */

.footer {
  padding: clamp(54px, 7vw, 84px) 0 34px;
  border-top: 1px solid rgba(245, 240, 230, 0.12);
  background: var(--espresso);
  color: rgba(245, 240, 230, 0.82);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 44px;
  flex-wrap: wrap;
}
.footer__brand {
  display: grid;
  justify-items: start;
  gap: 20px;
}
.footer__mark {
  width: clamp(74px, 8.5vw, 108px);
  height: auto;
  opacity: 0.94;
  filter: brightness(0) invert(1) sepia(0.3) brightness(0.92) drop-shadow(0 10px 28px rgba(0, 0, 0, 0.28));
  transition: opacity 0.5s var(--ease), filter 0.5s var(--ease);
}
.footer__brand:hover .footer__mark {
  opacity: 1;
  filter: brightness(0) invert(1) sepia(0.3) brightness(1) drop-shadow(0 10px 34px rgba(0, 0, 0, 0.35));
}
.footer__wordmark {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: rgba(245, 240, 230, 0.94);
}
.footer__wordmark em { font-style: italic; color: #d9bd8a; }

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 5vw, 74px);
  padding-top: 6px;
}
.footer h4 {
  margin: 0 0 14px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.5);
}
.footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}
.footer ul a { color: rgba(245, 240, 230, 0.78); text-decoration: none; transition: color 0.35s; }
.footer ul a:hover { color: #e0c491; }
.footer__cols li { color: rgba(245, 240, 230, 0.6); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid rgba(245, 240, 230, 0.12);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(245, 240, 230, 0.52);
}

/* ---------- reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1s var(--ease) var(--d, 0s),
    transform 1s var(--ease) var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- cursor ---------- */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: 1px solid rgba(176, 141, 87, 0.55);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
    margin 0.35s var(--ease), background-color 0.35s, opacity 0.35s;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hot {
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  background: rgba(176, 141, 87, 0.1);
}

/* ---------- subpages ---------- */

.pagehead {
  position: relative;
  padding: clamp(146px, 19vh, 204px) 0 clamp(56px, 7vw, 86px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(52% 62% at 78% 16%, rgba(210, 180, 140, 0.38), transparent 66%),
    radial-gradient(42% 48% at 6% 90%, rgba(176, 141, 87, 0.12), transparent 72%),
    var(--bg);
}
.pagehead::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.pagehead__mark {
  position: absolute;
  right: -3%;
  top: 50%;
  z-index: 0;
  width: clamp(220px, 30vw, 420px);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.07;
  filter: sepia(0.6) saturate(1.2);
  pointer-events: none;
}

.pagehead__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 230px);
  gap: 40px;
  align-items: end;
}

.pagehead__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pagehead__crumbs a { color: var(--ink-3); text-decoration: none; transition: color 0.35s; }
.pagehead__crumbs a:hover { color: var(--brass-2); }
.pagehead__crumbs span { color: var(--brass-3); }

.pagehead__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.pagehead__title em { font-style: italic; color: var(--brass-2); }

.pagehead__lead {
  max-width: 54ch;
  margin: clamp(20px, 2.6vw, 30px) 0 0;
  color: var(--ink-2);
  font-size: clamp(0.96rem, 0.4vw + 0.86rem, 1.08rem);
  line-height: 1.7;
}

.pagehead__aside {
  display: grid;
  justify-items: end;
  gap: 8px;
  padding-bottom: 4px;
  text-align: right;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pagehead__aside strong {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  color: var(--brass-2);
}

/* ---------- legal / disclaimer ---------- */

.legal__grid {
  display: grid;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.legal__toc { position: sticky; top: 108px; }
.legal__toc h2 {
  margin: 0 0 16px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.legal__toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.legal__toc a {
  display: flex;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid transparent;
  color: var(--ink-3);
  font-size: 0.8rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.35s, border-color 0.35s;
}
.legal__toc a::before {
  counter-increment: toc;
  content: counter(toc, decimal-leading-zero);
  flex: none;
  padding-top: 2px;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--brass-3);
}
.legal__toc a:hover { color: var(--brass-2); border-bottom-color: var(--line); }

.legal__body { max-width: 74ch; }
.legal__body p,
.legal__body li { color: var(--ink-2); }
.legal__body p:last-child { margin-bottom: 0; }
.legal__body ul,
.legal__body ol { margin: 0 0 1.1em; padding-left: 1.15em; }
.legal__body li { margin-bottom: 0.5em; }
.legal__body strong { color: var(--ink); font-weight: 500; }
.legal__body a {
  color: var(--brass-2);
  text-decoration-color: rgba(125, 93, 42, 0.35);
  text-underline-offset: 3px;
}
.legal__body a:hover { text-decoration-color: var(--brass-2); }

.legal__clause {
  padding-bottom: clamp(28px, 3.4vw, 42px);
  margin-bottom: clamp(28px, 3.4vw, 42px);
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: 100px;
}
.legal__clause:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.legal__clause h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.legal__clause h2 span {
  flex: none;
  padding-top: 2px;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--brass-2);
}

.legal__note {
  margin: 0 0 1.2em;
  padding: 18px 22px;
  border-left: 2px solid var(--brass);
  background: rgba(176, 141, 87, 0.08);
  color: var(--ink-2);
  font-size: 0.9rem;
}
.legal__note p:last-child { margin-bottom: 0; }

.legal__meta {
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

/* ---------- careers ---------- */

.tracks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.track {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--tan);
  background: var(--cream);
}
.track::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(240px 200px at var(--mx, 50%) var(--my, 0%), rgba(176, 141, 87, 0.1), transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.track:hover::before { opacity: 1; }
.track > * { position: relative; z-index: 1; }

.track__n {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--brass-2);
}
.track h3 {
  margin: 18px 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  font-weight: 400;
  line-height: 1.2;
}
.track p {
  margin: 0 0 24px;
  color: var(--ink-3);
  font-size: 0.9rem;
}
.track__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.track__tags span {
  padding: 6px 13px;
  border: 1px solid var(--tan);
  border-radius: 999px;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  background: var(--cream);
}

.careers__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

.criteria {
  display: grid;
  margin: clamp(26px, 3vw, 36px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}
.criteria li {
  display: flex;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-2);
  font-size: 0.92rem;
}
.criteria li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--brass);
}

.careers__aside {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--tan);
  background: var(--cream);
}
.careers__aside h3 {
  margin: 0 0 20px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-2);
}

.apply__steps {
  counter-reset: apply;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.apply__steps li {
  position: relative;
  padding-left: 36px;
  color: var(--ink-2);
  font-size: 0.88rem;
}
.apply__steps li::before {
  position: absolute;
  left: 0;
  top: 2px;
  counter-increment: apply;
  content: counter(apply, decimal-leading-zero);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--brass-2);
}
.apply__steps a { color: var(--brass-2); text-underline-offset: 3px; }

.careers__hint {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-3);
  font-size: 0.78rem;
}

.apply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 4.4vw, 56px);
  border: 1px solid var(--tan);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(176, 141, 87, 0.16), transparent 60%),
    var(--cream);
}
.apply h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.apply h2 em { font-style: italic; color: var(--brass-2); }
.apply p {
  max-width: 46ch;
  margin: 16px 0 0;
  color: var(--ink-3);
  font-size: 0.92rem;
}
.apply__actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}
.apply__mail {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--brass-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 93, 42, 0.35);
  padding-bottom: 3px;
  word-break: break-word;
}
.apply__mail:hover { border-bottom-color: var(--brass-2); }

/* ---------- careers: openings and application ---------- */

.pagehead__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(26px, 3.2vw, 38px);
}

.roles__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 40px;
  margin-top: clamp(46px, 6vw, 78px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 96px;
}
.roles__head .eyebrow { margin-bottom: 12px; }
.roles__head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.1;
}
.roles__head > p {
  max-width: 38ch;
  margin: 0;
  color: var(--ink-3);
  font-size: 0.86rem;
  line-height: 1.6;
}

.roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
  border-top: 1px solid var(--tan);
  border-left: 1px solid var(--tan);
}
.role {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 16px;
  padding: 20px clamp(18px, 2vw, 26px);
  border-right: 1px solid var(--tan);
  border-bottom: 1px solid var(--tan);
  background: var(--cream);
  text-decoration: none;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.role:hover { background: #fffdf8; }
.role__n {
  grid-row: 1 / span 2;
  align-self: start;
  padding-top: 6px;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--brass-2);
}
.role__name {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.2;
}
.role__meta {
  grid-column: 2;
  color: var(--ink-3);
  font-size: 0.72rem;
  line-height: 1.5;
}
.role__arrow {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: var(--brass-2);
  transition: transform 0.4s var(--ease), color 0.4s;
}
.role__arrow svg { width: 15px; height: 15px; }
.role:hover .role__arrow { transform: translate(3px, -3px); }

.application {
  --serif-form: "Playfair Display", "Cormorant Garamond", serif;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 5.5vw, 80px);
  align-items: start;
}
.application__intro {
  position: sticky;
  top: 104px;
  padding-top: 4px;
}
.application__intro .lead {
  max-width: 42ch;
  margin-top: 20px;
  color: var(--ink-2);
}
.application__points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.application__points li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.6;
}
.application__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
}
.application__contact {
  display: grid;
  gap: 6px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.application__contact p {
  margin: 0 0 4px;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-2);
}
.application__contact a {
  width: fit-content;
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(176, 141, 87, 0.4);
  transition: color 0.35s, border-color 0.35s;
}
.application__contact a:hover {
  color: var(--brass-2);
  border-bottom-color: var(--brass-2);
}
.application__hint {
  margin: 26px 0 0;
  color: var(--ink-3);
  font-size: 0.74rem;
  line-height: 1.6;
}
.application__card {
  position: relative;
  padding: clamp(22px, 3vw, 42px);
  border: 1px solid var(--tan);
  border-radius: 4px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(176, 141, 87, 0.09), transparent 58%),
    var(--cream);
  box-shadow: 0 34px 90px -72px rgba(48, 40, 32, 0.55);
}

.appform {
  display: grid;
  gap: clamp(26px, 3vw, 34px);
}
.appform[hidden],
.af-success[hidden] { display: none !important; }
.appform [hidden] { display: none !important; }

.appform__head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.appform__kicker {
  margin: 0 0 8px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-2);
}
.appform__head h3 {
  margin: 0;
  font-family: var(--serif-form);
  font-size: clamp(1.65rem, 2.4vw, 2.1rem);
  font-weight: 400;
  line-height: 1.1;
}
.appform__required {
  margin: 8px 0 0;
  color: var(--ink-3);
  font-size: 0.72rem;
}
.appform__required span { color: var(--brass-2); }

.appform__notice {
  padding: 14px 16px;
  border: 1px solid rgba(176, 141, 87, 0.35);
  border-left: 3px solid var(--brass);
  border-radius: 8px;
  background: rgba(176, 141, 87, 0.08);
}
.appform__notice > strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}
.appform__notice p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.78rem;
  line-height: 1.6;
}
.appform__notice a { color: var(--brass-2); }

.af-set {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.af-set legend { width: 100%; padding: 0; }
.af-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-family: var(--serif-form);
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.af-set__n {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--brass-2);
}
.af-set__line {
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.af-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
.af-field {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
}
.af-field--full { grid-column: 1 / -1; }
.af-field > label:not(.af-upload),
.af-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-3);
}
.af-req { color: var(--brass-2); }
.af-optional {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--ink-3);
  opacity: 0.8;
}
.af-field input,
.af-field select,
.af-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--tan);
  border-radius: 9px;
  background: #fffdf8;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.45;
  transition: border-color 0.35s, box-shadow 0.35s, background-color 0.35s;
  appearance: none;
}
.af-field textarea {
  min-height: 118px;
  padding: 13px 14px;
  resize: vertical;
}
.af-field input::placeholder,
.af-field textarea::placeholder { color: #9b8d7c; }
.af-field input:hover,
.af-field select:hover,
.af-field textarea:hover { border-color: #c8b69d; }
.af-field input:focus,
.af-field select:focus,
.af-field textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.14);
}
.af-field input[type="number"] { appearance: textfield; }
.af-field input[type="number"]::-webkit-outer-spin-button,
.af-field input[type="number"]::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.af-field.is-invalid input,
.af-field.is-invalid select,
.af-field.is-invalid textarea {
  border-color: #a4503f;
  background: #fdf8f6;
  box-shadow: 0 0 0 3px rgba(164, 80, 63, 0.1);
}
.af-select { position: relative; }
.af-select select { padding-right: 42px; cursor: pointer; }
.af-select > svg {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}
.af-error {
  margin: 0;
  color: #8f3f31;
  font-size: 0.72rem;
  line-height: 1.45;
}
.af-hint {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.7rem;
  line-height: 1.5;
}
.af-hint.is-ok {
  color: var(--brass-2);
  font-weight: 500;
}

.af-upload {
  position: relative;
  display: grid;
  place-items: center;
  padding: 26px 20px;
  border: 1px dashed #c8b69d;
  border-radius: 10px;
  background: #fffdf8;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: border-color 0.35s, background-color 0.35s, box-shadow 0.35s;
}
.af-upload:hover,
.af-upload:focus-within,
.af-upload.is-dragover {
  border-color: var(--brass);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.12);
}
.af-upload.is-invalid { border-color: #a4503f; background: #fdf8f6; }
.af-field input.af-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  pointer-events: none;
}
.af-upload__body {
  display: grid;
  justify-items: center;
  gap: 7px;
  pointer-events: none;
}
.af-upload__icon {
  width: 26px;
  height: 26px;
  color: var(--brass-2);
}
.af-upload__title {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.4;
}
.af-upload__title span {
  color: var(--brass-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.af-upload__meta {
  color: var(--ink-3);
  font-size: 0.7rem;
}
.af-upload.has-file { padding: 14px 18px; }
.af-upload.has-file .af-upload__icon { display: none; }
.af-upload.has-file .af-upload__title { font-size: 0.78rem; }
.af-upload.has-file .af-upload__meta { display: none; }

.af-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--tan);
  border-radius: 9px;
  background: #f8f3e9;
}
.af-file__icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--brass-2);
}
.af-file__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.af-file__meta strong {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.af-file__meta span { color: var(--ink-3); font-size: 0.68rem; }
.af-file__btn {
  margin-left: auto;
  padding: 6px 12px;
  border: 1px solid var(--tan);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.35s, color 0.35s, background-color 0.35s;
}
.af-file__btn:hover {
  border-color: var(--brass);
  color: var(--brass-2);
  background: rgba(176, 141, 87, 0.08);
}
.af-file__remove {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  transition: background-color 0.35s, color 0.35s;
}
.af-file__remove:hover {
  background: rgba(164, 80, 63, 0.1);
  color: #8f3f31;
}
.af-file__remove svg { width: 13px; height: 13px; }

.af-set--declaration { gap: 12px; }
.af-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  cursor: pointer;
}
.af-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.af-check__box {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1px solid #c8b69d;
  border-radius: 5px;
  background: #fffdf8;
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.af-check__box svg {
  width: 12px;
  height: 12px;
  color: var(--cream);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s, transform 0.25s;
}
.af-check input:checked + .af-check__box {
  border-color: var(--brass);
  background: var(--brass);
}
.af-check input:checked + .af-check__box svg { opacity: 1; transform: scale(1); }
.af-check input:focus-visible + .af-check__box {
  outline: 1px solid var(--brass-2);
  outline-offset: 3px;
}
.af-check.is-invalid .af-check__box { border-color: #a4503f; }
.af-check__text {
  color: var(--ink-2);
  font-size: 0.8rem;
  line-height: 1.65;
}

.af-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.appform__actions {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding-top: 4px;
}
.appform__actions .btn { min-width: 210px; }
.appform__privacy {
  max-width: 52ch;
  margin: 0;
  color: var(--ink-3);
  font-size: 0.7rem;
  line-height: 1.55;
}
.af-submit[disabled] {
  opacity: 0.72;
  cursor: wait;
  pointer-events: none;
}
.af-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(250, 247, 240, 0.35);
  border-top-color: var(--cream);
  border-radius: 50%;
  animation: af-spin 0.7s linear infinite;
}
.af-submit.is-loading .af-spinner { display: block; }
.af-submit.is-loading > svg { display: none; }
@keyframes af-spin { to { transform: rotate(360deg); } }

.appform__status {
  padding: 14px 16px;
  border: 1px solid var(--tan);
  border-left: 3px solid var(--brass);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink-2);
  font-size: 0.82rem;
  line-height: 1.6;
}
.appform__status p { margin: 0; }
.appform__status.is-error {
  border-color: rgba(164, 80, 63, 0.3);
  border-left-color: #a4503f;
  background: #fdf6f4;
  color: #7c3529;
}
.appform__status.is-notice {
  border-color: rgba(176, 141, 87, 0.35);
  border-left-color: var(--brass);
  background: rgba(176, 141, 87, 0.08);
}
.appform__status-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 10px;
}
.appform__status-actions a,
.appform__copy {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brass-2);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.appform__status-actions a:hover,
.appform__copy:hover { color: var(--brass-3); }

.af-success {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: clamp(8px, 1.5vw, 18px) 0;
}
.af-success:focus { outline: none; }
.af-success__mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(176, 141, 87, 0.14);
  color: var(--brass-2);
}
.af-success__mark svg { width: 24px; height: 24px; }
.af-success h3 {
  margin: 0;
  font-family: var(--serif-form);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 400;
  line-height: 1.1;
}
.af-success p {
  max-width: 52ch;
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ---------- responsive ---------- */

@media (max-width: 1366px) {
  .nav__links { gap: 14px; }
  .nav__links a { font-size: 0.68rem; letter-spacing: 0.1em; }
}

/* The longer "Managing Partner" label needs the compact menu sooner. */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

@media (min-width: 1100px) {
  .lg-only { display: inline; }
}

@media (max-width: 1024px) {
  .team__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .team__grid .person:nth-child(4) { grid-column: span 2; }
  .team__grid .person:nth-child(5) { grid-column: 2 / span 2; }
  .founder__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 40px; }
  .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track:nth-child(3) { grid-column: 1 / -1; }
  .apply { grid-template-columns: 1fr; }
  .application { grid-template-columns: minmax(0, 1fr); }
  .application__intro { position: static; }
}

@media (max-width: 560px) {
  .team__grid { grid-template-columns: minmax(0, 1fr); }
  .team__grid .person,
  .team__grid .person:nth-child(4),
  .team__grid .person:nth-child(5) { grid-column: 1 / -1; }
  .consent__actions { flex-direction: column; align-items: stretch; }
  .consent__actions .btn { width: 100%; }
  .consent__decline { align-self: flex-start; }
  .form__choice-options { display: grid; grid-template-columns: 1fr; }
  .form__choice-options .btn { width: 100%; }
}

@media (max-width: 900px) {
  .nav {
    background: rgba(245, 240, 230, 0.9);
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border-bottom-color: var(--line-soft);
  }
  .nav__links,
  .nav .btn { display: none; }
  .nav__toggle { display: block; }

  .hero { min-height: auto; padding-top: 0; }
  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: calc(clamp(250px, 46vh, 430px) + clamp(26px, 6vw, 44px));
  }
  .hero__aside { display: none; }
  .hero__art {
    inset: 0 0 auto 0;
    width: 100%;
    height: clamp(250px, 46vh, 430px);
  }
  .hero__art-img { object-position: 50% 12%; }
  .hero__art::before {
    background: linear-gradient(180deg, rgba(245, 240, 230, 0.28) 0%, rgba(245, 240, 230, 0) 26%, rgba(245, 240, 230, 0.36) 70%, var(--bg) 100%);
  }
  .hero__scrim { display: none; }

  .pagehead { padding-top: clamp(120px, 16vh, 150px); }
  .pagehead__inner { grid-template-columns: 1fr; }
  .pagehead__aside { display: none; }
  .pagehead__mark { right: -14%; opacity: 0.07; }

  .legal__grid { grid-template-columns: 1fr; gap: 32px; }
  .legal__toc { position: static; }
  .legal__toc ol { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .legal__toc a { padding: 4px 0; border-bottom: 0; }

  .careers__grid { grid-template-columns: 1fr; }
  .roles { grid-template-columns: minmax(0, 1fr); }

  .firm__grid,
  .founder__grid,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(32px, 6vw, 48px);
  }
  .founder__plate { max-width: 380px; }
  .founder__copy { order: -1; }

  .practice__grid { grid-template-columns: minmax(0, 1fr); }
  .matter { min-height: auto; }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { padding: 30px 22px 26px 0; border-bottom: 1px solid var(--line-soft); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(2n + 1) { padding-left: 0; }
  .step:nth-child(2n) { padding-left: clamp(18px, 3vw, 26px); }
  .step:not(:first-child)::before { left: auto; right: 0; }
  .step:nth-child(2n)::before { left: clamp(18px, 3vw, 26px); right: auto; }
  .step:nth-child(1)::before,
  .step:nth-child(3)::before { left: 0; }

  .hero__cue { display: none; }
}

@media (max-width: 620px) {
  .eyebrow {
    gap: 10px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tracks { grid-template-columns: minmax(0, 1fr); }
  .track:nth-child(3) { grid-column: auto; }
  .apply__actions { justify-items: stretch; }
  .apply__actions .btn { width: 100%; }
  .pagehead__cta { align-items: flex-start; }
  .pagehead__cta .btn { width: 100%; }
  .af-grid { grid-template-columns: minmax(0, 1fr); }
  .af-field--full { grid-column: auto; }
  .application__card { padding: 22px 16px; }
  .roles__head { align-items: flex-start; }
  .appform__actions .btn { width: 100%; }
  .af-file {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 12px;
  }
  .af-file__icon { grid-column: 1; grid-row: 1; }
  .af-file__meta { grid-column: 2 / -1; grid-row: 1; }
  .af-file__btn { grid-column: 2; grid-row: 2; margin-left: 0; justify-self: start; }
  .af-file__remove { grid-column: 3; grid-row: 2; margin-left: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step,
  .step:nth-child(2n),
  .step:nth-child(2n + 1) {
    padding: 26px 0 24px;
    border-right: 0;
  }
  .step::before,
  .step:not(:first-child)::before,
  .step:nth-child(2n)::before { left: 0; right: auto; }
  .form__row { grid-template-columns: 1fr; }
  .founder__plate { aspect-ratio: 1 / 1.2; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .btn { --h: 50px; padding: 0 22px; }
}

/* ---------- motion & print ---------- */

@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;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero__cue-line { animation: none; }
  .marquee__track { animation: none; }
  .cursor { display: none; }
}

@media print {
  .nav, .menu, .grain, .progress, .hero__cue, #scene, .loader,
  .consent, .pagehead__mark, .legal__toc { display: none !important; }
  body { background: #fff; color: #111; }
  .section { padding: 24px 0; }
  .pagehead { padding: 24px 0; background: #fff; }
  .legal__grid, .careers__grid, .apply { grid-template-columns: 1fr; }
  .js .reveal { opacity: 1; transform: none; }
}
