/* Hallmark · macrostructure: bespoke (threshold → one-page editorial) · tone: editorial, quiet · anchor hue: maroon 18° / turquoise 188°
 * theme: custom (vibe: "black, beige, maroon, turquoise; a gold key") · paper oklch(92.2% 0.026 80) · accents maroon + turquoise
 * type: Newsreader + Hanken Grotesk · axes: light / high-contrast-serif / warm · nav: N9 edge-aligned · footer: Ft1 mast-headed
 */

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

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  overflow-x: clip;
  background: var(--color-paper);
}
html.is-locked { overflow: hidden; background: var(--color-room); }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-style: normal; }

:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
::selection { background: var(--color-turquoise); color: var(--color-ink); }

.label {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-2);
}

/* ── Entrance ─────────────────────────────────────── */
.gate { display: none; }

.js .gate {
  --color-paper: var(--color-lamp);
  --color-paper-muted: var(--color-lamp-muted);
  display: block;
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: hidden;
  overflow: clip; /* hidden still lets focus/scrollIntoView shift the scene */
  background: var(--color-room);
  color: var(--color-paper);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.gate__chrome {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-paper-muted);
}
.gate__mark {
  position: absolute;
  top: var(--space-lg);
  left: var(--gutter);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--color-paper);
}
.gate__mark, .gate__foot { opacity: 0; }
.gate__controls {
  position: absolute;
  top: calc(var(--space-lg) - 0.2rem);
  right: var(--gutter);
  display: flex;
  gap: var(--space-lg);
  pointer-events: auto;
}
.gate__sound,
.gate__skip {
  padding-block: var(--space-xs);
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
  color: var(--color-paper-muted);
  transition: color var(--dur-fast) var(--ease-out);
}
.gate__sound:hover,
.gate__skip:hover { color: var(--color-paper); }
.gate__foot { position: absolute; bottom: var(--space-lg); white-space: nowrap; }
.gate__foot--l { left: var(--gutter); }
.gate__foot--r { right: var(--gutter); }

/* intro */
.intro { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.intro__dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__name,
.intro__line {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 300;
  opacity: 0;
}
.intro__name {
  top: calc(50% - 0.6em);
  padding-left: 0.34em; /* balance the trailing letter-space */
  font-size: clamp(0.78rem, 0.7rem + 0.3vw, 0.95rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--color-paper);
}
.intro__line {
  top: calc(58% + 3rem);
  font-size: var(--text-lg);
  letter-spacing: 0.01em;
  color: var(--color-paper-muted);
}

/* stage */
.stage {
  z-index: 2;
  --door-h: min(56svh, 540px, calc(100svh - 260px));
  --door-w: calc(var(--door-h) / 2.15);
  --frame: clamp(8px, 1.2vw, 13px);
  --key-w: clamp(104px, calc(var(--door-w) * 0.56), 140px);
  --key-drop: clamp(26px, 4.5svh, 44px);

  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--space-lg);
}

.portal {
  position: relative;
  width: calc(var(--door-w) + var(--frame) * 2);
  height: calc(var(--door-h) + var(--frame));
}

.glow {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 150vmax;
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(closest-side, var(--color-light-1), var(--color-light-2) 30%, transparent 70%);
}

.spill {
  position: absolute;
  top: 100%;
  left: -80%;
  width: 260%;
  height: 48svh;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(to bottom, var(--color-light-1), transparent 80%);
  clip-path: polygon(32% 0, 68% 0, 100% 100%, 0 100%);
}

.floor {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  height: var(--rule-hair);
  background: var(--color-room-rule);
  transform: scaleX(0);
}

.frame {
  position: absolute;
  inset: 0;
  background: var(--color-room-2);
  box-shadow: inset 1px 1px 0 var(--color-room-rule), inset -1px 0 0 var(--color-room-rule);
  opacity: 0;
}

.doorway {
  position: absolute;
  top: var(--frame);
  left: var(--frame);
  right: var(--frame);
  bottom: 0;
  perspective: 1500px;
  perspective-origin: 50% 45%;
}

.doorway__light {
  position: absolute;
  inset: 0;
  background: radial-gradient(130% 90% at 50% 55%, var(--color-beige) 55%, var(--color-beige-2));
}

.doorway__gap {
  position: absolute;
  left: 3%;
  right: 3%;
  bottom: 0;
  height: 3px;
  background: var(--color-paper);
  box-shadow: 0 0 10px 1px var(--color-glow), 0 0 34px 6px var(--color-light-1);
}

.leaf {
  position: absolute;
  inset: 0 0 3px 0;
  transform-origin: 0 50%;
  display: flex;
  flex-direction: column;
  gap: 5%;
  padding: 12% 13% 13%;
  background: linear-gradient(100deg, var(--color-door-lo), var(--color-door) 14%, var(--color-door) 78%, var(--color-door-lo));
  box-shadow: inset 0 0 0 1px var(--color-door-lo);
}

.leaf__panel {
  box-shadow:
    inset 0 0 0 1px var(--color-door-lo),
    inset 0 0 0 6px var(--color-door),
    inset 1px 1px 0 6px var(--color-door-lo),
    inset -1px -1px 0 6px var(--color-door-hi);
}
.leaf__panel--top { flex: 1.5; display: flex; justify-content: center; align-items: flex-start; }
.leaf__panel--bottom { flex: 1; }

.plaque {
  margin-top: 22%;
  padding: 0.3em 0.95em 0.35em;
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 0.55rem + 0.6vw, 1rem);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--color-room);
  background: linear-gradient(180deg, var(--color-brass-hi), var(--color-brass) 55%, var(--color-brass-lo));
  border-radius: 2px;
  box-shadow: 0 2px 5px var(--color-shadow);
}

.lockplate {
  --near: 0;
  position: absolute;
  top: 45%;
  right: calc(6.5% - 7px);
  width: 14px;
  height: 74px;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--color-brass-lo), var(--color-brass) 45%, var(--color-brass-hi) 60%, var(--color-brass-lo));
  box-shadow: 0 3px 6px var(--color-shadow);
}
.knob {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--color-brass-hi), var(--color-brass) 45%, var(--color-brass-lo));
  box-shadow: 0 4px 7px var(--color-shadow);
}
.keyhole {
  position: absolute;
  top: 44px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--color-paper);
}
.keyhole::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 3.4px;
  height: 9px;
  margin-left: -1.7px;
  background: var(--color-paper);
  clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%);
}
.keyhole::before {
  content: "";
  position: absolute;
  inset: -9px -9px -18px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--color-glow), transparent);
  opacity: calc(0.35 + var(--near) * 0.65);
  scale: calc(1 + var(--near) * 0.8);
}

.leaf__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, var(--color-shadow), var(--color-room) 90%);
}

.key {
  position: absolute;
  z-index: 3;
  top: calc(100% + var(--key-drop));
  left: calc(50% - var(--key-w) / 2);
  width: var(--key-w);
  opacity: 0;
  cursor: grab;
  touch-action: none;
  transform-style: preserve-3d;
  -webkit-tap-highlight-color: transparent;
}
.key.is-held { cursor: grabbing; }
.key:focus-visible { outline-offset: 10px; border-radius: 6px; }
.key__body { display: block; }
.key svg {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 10px 10px var(--color-shadow));
}

.traveller {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: var(--key-w);
  opacity: 0;
  pointer-events: none;
  will-change: transform;
}
.traveller svg {
  position: relative;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 10px 10px var(--color-shadow));
}
.traveller__aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 240%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--color-aura), transparent);
  opacity: 0;
}

.gate__caption {
  margin-top: calc(var(--key-drop) + var(--key-w) * 0.35 + clamp(22px, 4svh, 40px));
  text-align: center;
}
.gate__caption > * { opacity: 0; }
.gate__line {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.gate__hint {
  margin: var(--space-xs) 0 0;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-paper-muted);
}

/* ── Nav ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-lg) var(--gutter);
  color: var(--color-ink);
  transition: transform var(--dur-slow) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-dark { color: var(--color-paper); }
.nav__mark {
  font-family: var(--font-display);
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.nav__links {
  display: flex;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
  font-weight: 500;
}

/* underline that draws in */
.nav__links a,
.hero__meta a,
.foot__top {
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--dur-base) var(--ease-out);
}
.nav__links a:hover,
.hero__meta a:hover,
.foot__top:hover { background-size: 100% 1px; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto auto auto;
  gap: var(--space-lg);
  padding: calc(var(--space-3xl) + var(--space-sm)) var(--gutter) var(--space-lg);
}
.hero__intro {
  justify-self: end;
  align-self: start;
  max-width: 24ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1.25;
  text-wrap: pretty;
}
.hero__name {
  margin: 0 0 0 -0.045em;
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.045em;
  white-space: nowrap;
  outline: none;
}
.hero__rule { height: var(--rule-hair); background: var(--color-ink); transform-origin: left center; }
.hero__meta {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-ink-2);
}
.hero__meta > :nth-child(1) { grid-column: 1 / 5; }
.hero__meta > :nth-child(2) { grid-column: 5 / 9; justify-self: start; }
.hero__meta > :nth-child(3) { grid-column: 9 / 13; justify-self: end; }
.hero__meta > :first-child::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-right: 0.6em;
  border-radius: 50%;
  vertical-align: 0.08em;
  background: var(--color-turquoise-deep);
}
.hero__cue { display: inline-flex; align-items: center; gap: var(--space-xs); }
.hero__cue i {
  position: relative;
  width: 1px;
  height: 1.1em;
  overflow: hidden;
  background: var(--color-rule);
}
.hero__cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-ink);
  animation: cue 2s var(--ease-in-out) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

@media (max-width: 699px) {
  .hero__intro { justify-self: start; }
  .hero__meta > :nth-child(1) { grid-column: 1 / 7; }
  .hero__meta > :nth-child(2) { grid-column: 7 / 13; justify-self: end; }
  .hero__meta > :nth-child(3) { display: none; }
}

/* ── About ────────────────────────────────────────── */
.about {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: var(--space-4xl) var(--gutter) var(--space-3xl);
}
.about > * { grid-column: 1 / -1; }
.about__text {
  max-width: 19em;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.about__aside {
  grid-column: 8 / -1;
  margin: var(--space-3xl) 0 0;
  padding-top: var(--space-md);
  border-top: var(--rule-hair) solid var(--color-rule);
  font-size: var(--text-sm);
  color: var(--color-ink-2);
}
.about__aside span { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-maroon); }
@media (max-width: 699px) { .about__aside { grid-column: 4 / -1; } }

/* ── Now ──────────────────────────────────────────── */
.now {
  padding: var(--space-3xl) 0;
  border-top: var(--rule-hair) solid var(--color-rule);
}
.now__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-lg);
  align-items: end;
  padding: 0 var(--gutter);
}
.now__title {
  grid-column: 1 / 8;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.now__text {
  grid-column: 9 / -1;
  max-width: 34ch;
  margin: 0;
  font-size: var(--text-lg);
  color: var(--color-ink-2);
}
@media (max-width: 767px) {
  .now__title, .now__text { grid-column: 1 / -1; }
}

.marquee {
  margin-top: var(--space-2xl);
  padding-block: var(--space-md);
  overflow: hidden;
  border-block: var(--rule-hair) solid var(--color-rule);
}
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__item {
  padding-inline: 0.5em;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.4rem + 4.2vw, 5.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.marquee__dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--color-maroon);
  rotate: 45deg;
}

/* ── Experience ───────────────────────────────────── */
.work { padding: var(--space-4xl) var(--gutter) var(--space-3xl); }
.work__title {
  margin: 0 0 var(--space-2xl);
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.roles { margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-ink); }
.role { border-bottom: var(--rule-hair) solid var(--color-rule); }
.role summary {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 4fr) minmax(0, 2fr) 1.25rem;
  align-items: baseline;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  list-style: none;
  cursor: pointer;
}
.role summary::-webkit-details-marker { display: none; }
.role summary::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  z-index: -1;
  background: var(--color-maroon);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--dur-base) var(--ease-out);
}
.role summary:hover::before,
.role[open] summary::before { transform: scaleY(1); }
.role summary { transition: color var(--dur-base) var(--ease-out); }
.role summary > * { transition: color var(--dur-base) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.role summary:hover,
.role[open] summary { color: var(--color-paper); }
.role summary:hover > :not(.role__org),
.role[open] summary > :not(.role__org) { color: var(--color-paper-muted); }
.role summary:focus-visible { outline-offset: -2px; outline-color: var(--color-turquoise); }

.role__num { font-size: var(--text-sm); color: var(--color-ink-3); font-variant-numeric: tabular-nums; }
.role__org {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  transition: transform var(--dur-slow) var(--ease-out);
}
.role summary:hover .role__org { transform: translateX(0.3em); }
.role__title { color: var(--color-ink-2); }
.role__years { justify-self: end; font-size: var(--text-sm); color: var(--color-ink-2); font-variant-numeric: tabular-nums; }
.role__icon { position: relative; align-self: center; width: 14px; height: 14px; justify-self: end; transition: transform var(--dur-base) var(--ease-out); }
.role__icon::before,
.role__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}
.role__icon::after { rotate: 90deg; }
.role[open] .role__icon { transform: rotate(45deg); }

.role__body { overflow: hidden; }
.role__body p {
  max-width: 44ch;
  margin: 0;
  padding: 0 0 var(--space-xl) calc(3rem + var(--space-md));
  font-size: var(--text-lg);
  color: var(--color-ink-2);
}

@media (max-width: 699px) {
  .role summary { grid-template-columns: 2rem minmax(0, 1fr) auto; row-gap: var(--space-2xs); }
  .role__num { grid-row: 1; }
  .role__org { grid-column: 2; }
  .role__icon { grid-column: 3; grid-row: 1; }
  .role__title { grid-column: 2; }
  .role__years { grid-column: 3; grid-row: 2; }
  .role__body p { padding-left: calc(2rem + var(--space-md)); }
}

/* ── How I work ───────────────────────────────────── */
.principles {
  padding: var(--space-3xl) var(--gutter);
  background: var(--color-maroon);
  color: var(--color-paper);
}
.principles .label { color: var(--color-paper-muted); }
.principles__head { display: flex; justify-content: space-between; align-items: baseline; }
.principles__head .label { margin: 0; }
.principles__count {
  display: none;
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.principles__list {
  display: grid;
  gap: var(--space-3xl);
  margin: var(--space-2xl) 0 0;
  padding: 0;
  list-style: none;
}
.principle {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-lg);
}
.principle h3 {
  grid-column: 1 / 11;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 1.2rem + 6.8vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
  min-width: 0;
}
.principle p {
  grid-column: 8 / -1;
  max-width: 30ch;
  margin: 0;
  font-size: var(--text-lg);
  color: var(--color-paper-muted);
}
@media (max-width: 767px) {
  .principle h3, .principle p { grid-column: 1 / -1; }
}
.principles__bar { display: none; height: var(--rule-hair); background: var(--color-paper-rule); }
.principles__bar span { display: block; height: 100%; background: var(--color-turquoise); transform: scaleX(0); transform-origin: left center; }

/* pinned variant (JS, motion allowed) */
.principles.is-pinned {
  height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: calc(var(--space-3xl) + var(--space-sm));
  padding-bottom: var(--space-xl);
}
.principles.is-pinned .principles__count,
.principles.is-pinned .principles__bar { display: block; }
.principles.is-pinned .principles__list { margin: 0; gap: 0; align-items: center; grid-template-areas: "stack"; }
.principles.is-pinned .principle { grid-area: stack; }

/* ── Contact ──────────────────────────────────────── */
.contact {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: var(--space-4xl) var(--gutter) var(--space-lg);
  background: var(--color-room);
  color: var(--color-paper);
}
.contact__main { align-self: center; }
.contact .label { color: var(--color-paper-muted); }
.contact :focus-visible,
.principles :focus-visible { outline-color: var(--color-turquoise); }
.contact__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 1rem + 13vw, 16rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.contact__sub {
  max-width: 26ch;
  margin: var(--space-lg) 0 var(--space-2xl);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--color-paper-muted);
}
.contact__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg) var(--space-xl); }
.contact__email {
  display: inline-block;
  padding-bottom: 0.08em;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: var(--rule-hair) solid var(--color-turquoise);
  transition: color var(--dur-base) var(--ease-out);
}
.contact__email:hover { color: var(--color-turquoise); }
.contact__pill {
  display: inline-block;
  padding: 0.85em 1.5em;
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  border: var(--rule-hair) solid var(--color-room-rule);
  border-radius: var(--radius-pill);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.contact__pill:hover { background: var(--color-turquoise); color: var(--color-ink); border-color: var(--color-turquoise); }
.contact__pill:active, .contact__email:active { opacity: 0.8; }

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-3xl);
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-room-rule);
  font-size: var(--text-sm);
  color: var(--color-paper-muted);
}
.foot__top { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-paper); }
.foot__top svg { width: 34px; fill: var(--color-brass); transition: transform var(--dur-slow) var(--ease-out); }
.foot__top:hover svg { transform: translateX(-4px); }

@media (max-width: 559px) {
  .hide-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__cue i::after { animation: none; }
  .nav, .role summary::before, .role__org, .role__icon, .foot__top svg { transition-duration: 1ms; }
}
