:root {
  color-scheme: light dark;
  --bg: #f4f1ea;
  --surface: #ffffff;
  --surface-2: #e9e5dc;
  --text: #1c201e;
  --muted: #67675f;
  --line: #d7d2c7;
  --accent: #7a6440;
  --accent-ink: #ffffff;
  --dark: #202522;
  --dark-text: #f6f3ed;
  --dark-muted: #c5c0b7;
  --max: 72rem;
  --radius: 1.2rem;
  --shadow: 0 1.5rem 4rem rgba(55, 47, 34, .09);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

a:focus-visible,
summary:focus-visible {
  outline: .2rem solid var(--accent);
  outline-offset: .25rem;
  border-radius: .2rem;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 4.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 760;
  text-decoration: none;
  letter-spacing: -.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: .7rem;
  letter-spacing: .06em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  font-size: .9rem;
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover { color: var(--text); }

.hero {
  padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, .65fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.eyebrow,
.kicker,
.fun-label {
  margin: 0 0 .9rem;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -.04em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.6rem;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  font-weight: 780;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 750;
}

h3 {
  margin-bottom: .65rem;
  font-size: 1.18rem;
  font-weight: 730;
  letter-spacing: -.025em;
}

.hero-lede {
  max-width: 42rem;
  margin-bottom: .9rem;
  font-size: clamp(1.12rem, 1.5vw, 1.32rem);
}

.muted { color: var(--muted); }

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.text-link {
  margin-left: .2rem;
  color: var(--accent);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.hero-card {
  position: relative;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + .5rem);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.monogram {
  display: grid;
  place-items: center;
  width: 7rem;
  aspect-ratio: 1;
  margin-bottom: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.hero-card h2 {
  max-width: 14ch;
  font-size: 1.7rem;
}

.hero-card > p:not(.kicker) { color: var(--muted); }

.mini-facts {
  margin: 1.4rem 0 0;
  border-top: 1px solid var(--line);
}

.mini-facts div {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}

.mini-facts dt {
  color: var(--muted);
  font-size: .82rem;
}

.mini-facts dd {
  margin: 0;
  font-size: .9rem;
  font-weight: 650;
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  border-top: 1px solid var(--line);
}

.section-tint { background: var(--surface-2); }

.section-heading {
  max-width: 45rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-heading > p:last-child { color: var(--muted); }
.section-heading.narrow { max-width: 39rem; }

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 3rem;
  align-items: end;
}

.split-heading > p { margin-bottom: .4rem; }

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card-number {
  margin-bottom: auto;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
}

.card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .94rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.metric {
  grid-column: span 4;
  min-height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  border-top: .25rem solid var(--text);
  background: var(--surface);
}

.metric:nth-child(4),
.metric:nth-child(5) { grid-column: span 6; }

.metric.personal { border-top-color: var(--accent); }

.metric strong {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -.07em;
}

.metric span {
  max-width: 24rem;
  color: var(--muted);
  font-size: .95rem;
}

/* Editorial statement between impact and experience */
.statement-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
  background: var(--text);
  color: var(--bg);
}

.statement-inner { max-width: 68rem; }

.statement-kicker {
  margin-bottom: 1.25rem;
  color: color-mix(in srgb, var(--bg) 65%, transparent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.statement-text {
  max-width: 18ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 780;
  line-height: 1.02;
  letter-spacing: -.055em;
}

.statement-note {
  max-width: 45rem;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--bg) 72%, transparent);
  font-size: 1.05rem;
}

.experience-layout {
  display: grid;
  grid-template-columns: .8fr 1.35fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 8rem;
  margin-bottom: 0;
}

.timeline {
  position: relative;
  border-left: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  padding: 0 0 4rem 2rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -.42rem;
  top: .2rem;
  width: .78rem;
  height: .78rem;
  border: .2rem solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.timeline-date {
  margin-bottom: .55rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.timeline-meta {
  margin-top: -.25rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
}

.timeline-item ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.timeline-item li + li { margin-top: .35rem; }

.career-highlight {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  border-left: .25rem solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-2);
}

.career-highlight-label {
  margin-bottom: .55rem;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.career-highlight h4 {
  margin: 0 0 .45rem;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -.02em;
}

.career-highlight p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.timeline-item details,
.more-publications {
  margin-top: 1.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

summary {
  padding: .9rem 0;
  color: var(--accent);
  font-weight: 750;
  cursor: pointer;
}

.details-body {
  padding: .2rem 0 1rem;
  color: var(--muted);
}

.details-body p:last-child { margin-bottom: 0; }

.credential-list {
  display: grid;
  gap: .7rem;
  color: var(--muted);
}

/* Career metro-map teaser */
.map-teaser-section { background: var(--surface-2); }

.map-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, .9fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.map-teaser-copy { max-width: 38rem; }
.map-teaser-copy > p:not(.eyebrow) { color: var(--muted); }
.map-teaser-copy .button { margin-top: .6rem; }

.metro-preview {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  display: block;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + .5rem);
  background: #ffffff;
  box-shadow: var(--shadow);
  text-decoration: none;
  isolation: isolate;
}

.metro-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(20,20,17,.38) 100%);
}

.metro-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 72% 50%;
  transition: transform .28s ease;
}

.metro-preview:hover img,
.metro-preview:focus-visible img { transform: scale(1.025); }

.metro-preview:focus-visible {
  outline: .2rem solid var(--accent);
  outline-offset: .25rem;
}

.metro-preview-action {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.93);
  color: #28271f;
  font-size: .8rem;
  font-weight: 800;
  box-shadow: 0 .5rem 1.5rem rgba(20,20,17,.12);
}

.section-dark {
  border-top: 0;
  background: var(--dark);
  color: var(--dark-text);
}

.section-dark .eyebrow { color: #d8c49a; }
.section-dark .section-heading > p:last-child { color: var(--dark-muted); }

.leadership-statement {
  max-width: 18ch;
  margin-bottom: 1.35rem;
  color: var(--dark-text);
  font-size: clamp(2.15rem, 4.5vw, 4rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -.05em;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.principles-grid article {
  grid-column: span 2;
  min-height: 16rem;
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
}

.principles-grid article:nth-child(4),
.principles-grid article:nth-child(5) { grid-column: span 3; }

.principles-grid span {
  display: block;
  margin-bottom: 3.5rem;
  color: #d8c49a;
  font-size: .78rem;
  font-weight: 800;
}

.principles-grid p {
  margin-bottom: 0;
  color: var(--dark-muted);
  font-size: .94rem;
}

.publication-list { border-top: 1px solid var(--line); }

.publication-list article {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.publication-list time {
  color: var(--accent);
  font-weight: 800;
}

.publication-list h3 { margin-bottom: .25rem; }
.publication-list p { margin-bottom: 0; color: var(--muted); }

.publication-extra { display: grid; gap: .7rem; }

.fun-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.fun-card {
  min-height: 15rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
}

.fun-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .94rem;
}

.contact-section { padding-block: clamp(4rem, 7vw, 6rem); }

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 3rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: calc(var(--radius) + .6rem);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-card h2 { margin-bottom: .7rem; }
.contact-card p:last-child { max-width: 46rem; margin-bottom: 0; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.site-footer {
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 1rem; }

@media (max-width: 62rem) {
  .site-nav { display: none; }
  .hero-grid,
  .experience-layout,
  .split-heading,
  .map-teaser,
  .contact-card { grid-template-columns: 1fr; }
  .hero-card { max-width: 36rem; }
  .metro-preview { min-height: 19rem; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .sticky-heading { position: static; }
  .principles-grid article,
  .principles-grid article:nth-child(4),
  .principles-grid article:nth-child(5) { grid-column: span 3; }
  .fun-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-actions { justify-self: start; }
}

@media (max-width: 44rem) {
  .shell { width: min(calc(100% - 1.5rem), var(--max)); }
  .hero { padding-top: 4rem; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .card-grid.four,
  .fun-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .metric,
  .metric:nth-child(4),
  .metric:nth-child(5) { grid-column: auto; min-height: 11rem; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article,
  .principles-grid article:nth-child(4),
  .principles-grid article:nth-child(5) { grid-column: auto; min-height: 0; }
  .principles-grid span { margin-bottom: 2rem; }
  .publication-list article { grid-template-columns: 4rem 1fr; gap: 1rem; }
  .statement-text { font-size: clamp(2.35rem, 12vw, 4rem); }
  .metro-preview { min-height: 16rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}



/* Playground / side projects */
.playground-section {
  overflow: hidden;
}

.playground-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(20rem, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  max-width: none;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.playground-heading h2 {
  max-width: 11ch;
}

.playground-intro {
  max-width: 43rem;
}

.playground-intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.playground-lead {
  margin-bottom: .55rem;
  color: var(--text);
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  font-weight: 760;
  letter-spacing: -.025em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.6rem);
}

.project-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + .25rem);
  background: var(--surface);
  box-shadow: 0 .7rem 2.2rem rgba(35, 32, 26, .045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  box-shadow: 0 1.2rem 3rem rgba(35, 32, 26, .085);
}

.project-image-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9e5dc;
}

.project-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .35s ease;
}

.project-card:hover .project-image-link img {
  transform: scale(1.018);
}

.project-image-link::after {
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  content: "";
  background: linear-gradient(to top, rgba(25, 24, 21, .13), transparent);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.project-card:hover .project-image-link::after {
  opacity: 1;
}

.project-image-static {
  cursor: default;
}

.project-copy {
  padding: clamp(1.3rem, 2.8vw, 1.75rem);
}

.project-kicker {
  margin: 0 0 .7rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 830;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-copy h3 {
  max-width: 20ch;
  margin: 0 0 .8rem;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: -.03em;
}

.project-copy > p:not(.project-kicker):not(.project-tech) {
  color: var(--muted);
  font-size: .96rem;
}

.project-tech {
  margin: 1rem 0 0;
  color: #817b70;
  font-size: .79rem;
  font-weight: 680;
  letter-spacing: .015em;
}

.project-link {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  margin-top: 1rem;
  color: var(--text);
  font-size: .9rem;
  font-weight: 780;
  text-decoration: none;
}

.project-link span {
  transition: transform .18s ease;
}

.project-link:hover span,
.project-link:focus-visible span {
  transform: translate(.12rem, -.12rem);
}

.more-experiments {
  display: grid;
  grid-template-columns: minmax(12rem, .55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.more-experiments-heading h3 {
  max-width: 13ch;
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.experiment-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.experiment-card {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  gap: 1rem;
  min-width: 0;
  padding: .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
}

.experiment-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius) - .35rem);
  background: #e9e5dc;
}

.experiment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .3s ease;
}

a.experiment-thumb:hover img {
  transform: scale(1.035);
}

.experiment-card h4 {
  margin: .2rem 0 .35rem;
  font-size: 1rem;
  letter-spacing: -.015em;
}

.experiment-card p {
  margin: 0 0 .55rem;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.45;
}

.experiment-card span {
  color: #817b70;
  font-size: .72rem;
  font-weight: 680;
}

.playground-personal-note {
  max-width: 55rem;
  margin-top: clamp(2.75rem, 5vw, 4rem);
  padding: 1.25rem 1.4rem;
  border-left: .22rem solid var(--accent);
  background: var(--surface-2);
}

.playground-personal-note p {
  margin: 0;
  color: var(--muted);
}

.playground-personal-note strong {
  color: var(--text);
}

@media (max-width: 62rem) {
  .playground-heading,
  .more-experiments {
    grid-template-columns: 1fr;
  }

  .playground-heading h2 {
    max-width: 16ch;
  }

  .experiment-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 48rem) {
  .project-grid,
  .experiment-list {
    grid-template-columns: 1fr;
  }

  .experiment-card {
    grid-template-columns: 6.25rem 1fr;
  }
}

@media (max-width: 34rem) {
  .experiment-card {
    grid-template-columns: 1fr;
  }

  .experiment-thumb {
    aspect-ratio: 16 / 8.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161715;
    --surface: #20211e;
    --surface-2: #1b1c1a;
    --text: #f2efe8;
    --muted: #b5b0a7;
    --line: #3b3a35;
    --accent: #c1a77a;
    --accent-ink: #1b1710;
    --dark: #111210;
    --dark-text: #f6f3ed;
    --dark-muted: #c7c1b6;
    --shadow: none;
  }

  .timeline-marker { border-color: var(--bg); }
  .career-highlight { background: var(--surface-2); }
  .statement-section { background: #ede7dc; color: #211f1a; }
  .statement-kicker,
  .statement-note { color: #6c6559; }
  .metro-preview { background: #ffffff; }
}


/* Legal pages */
.legal-main {
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(5rem, 9vw, 8rem);
}

.legal-shell {
  max-width: 58rem;
}

.legal-shell > h1 {
  max-width: none;
  margin-bottom: .8rem;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.legal-updated {
  margin: -.15rem 0 2.5rem;
  color: var(--muted);
  font-size: .9rem;
}

.legal-content {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.legal-content section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: -.03em;
}

.legal-content h3 {
  margin: 1.5rem 0 .55rem;
  font-size: 1rem;
  letter-spacing: -.01em;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content p {
  max-width: 52rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration-thickness: .08em;
  text-underline-offset: .15em;
}

.legal-note {
  padding: 1rem 1.1rem;
  border-left: .22rem solid var(--accent);
  background: var(--surface-2);
  color: var(--muted);
}
