:root {
  --paper: #f7f3ec;
  --paper-deep: #efe8de;
  --surface: #fffdf8;
  --ink: #16242b;
  --muted: #5f5f5a;
  --line: #d9d1c6;
  --red: #a43a42;
  --red-dark: #7b2830;
  --red-soft: #f2e1e2;
  --navy: #102a34;
  --navy-2: #193c46;
  --navy-3: #214b55;
  --cream: #fff8ec;
  --sage: #dce9e4;
  --sage-ink: #214a42;
  --gold: #e1b36a;
  --shadow: 0 24px 70px rgba(24, 34, 38, 0.11);
  --shadow-soft: 0 14px 38px rgba(31, 38, 40, 0.07);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: -90px;
  left: 16px;
  z-index: 5000;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(217, 209, 198, 0.9);
  background: rgba(247, 243, 236, 0.95);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #484742;
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface);
  color: var(--red-dark);
  box-shadow: 0 8px 24px rgba(20, 30, 35, 0.06);
}
.nav-links .nav-cta {
  background: var(--navy);
  color: #fff;
}
.nav-links .nav-cta:hover,
.nav-links .nav-cta[aria-current="page"] {
  background: var(--red-dark);
  color: #fff;
}
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

/* Type and shared controls */
.hero h1,
.page-hero h1,
.section-heading h2,
.split-copy h2,
.life-copy h2,
.closing h1,
.closing h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.99;
}
.hero h1 em,
.page-hero h1 em { color: var(--red); font-style: italic; }
.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--red-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
}
.hero-lead,
.page-lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: #55534e;
  font-size: clamp(1.04rem, 1.65vw, 1.24rem);
  line-height: 1.72;
}
.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: var(--red-dark); }
.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.button-secondary:hover {
  border-color: #b5aa9d;
  background: #fff;
}
.current-line {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.93rem;
}
.current-line strong { color: var(--ink); }

/* Hero */
.hero { padding: 84px 0 74px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(340px, 0.93fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
}
.hero h1 { font-size: clamp(3.5rem, 8vw, 7rem); }
.portrait,
.hero-media {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-radius: 44% 44% 26px 26px;
  background: #d8d0c5;
  box-shadow: var(--shadow);
}
.portrait img,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}
.portrait::after,
.hero-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 43%;
  background: linear-gradient(transparent, rgba(16, 42, 52, 0.9));
}
.media-caption {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 23px;
  left: 25px;
  color: #fff;
}
.media-caption strong { display: block; font-size: 1.18rem; }
.media-caption span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
}
.stamp {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  max-width: 155px;
  padding: 12px 15px;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 14px 40px rgba(13, 26, 31, 0.16);
  color: var(--red-dark);
  font-size: 0.71rem;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(2deg);
}

/* Sections and cards */
.section { padding: 86px 0; }
.section-alt { background: var(--paper-deep); }
.section-warm { background: #ead9ca; }
.section-dark {
  background: linear-gradient(145deg, var(--navy) 0%, #12323c 100%);
  color: var(--cream);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1.14fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 38px;
}
.section-heading h2 { font-size: clamp(2.5rem, 5.2vw, 4.7rem); }
.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}
.section-dark .section-label { color: var(--gold); }
.section-dark .section-heading h2 { color: var(--cream); }
.section-dark .section-heading > p { color: #cfddda; }
.grid-2,
.grid-3,
.grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
a.card { display: block; text-decoration: none; }
.card h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.46rem;
  letter-spacing: -0.025em;
  line-height: 1.18;
}
.card p { margin: 12px 0 0; color: var(--muted); }
.card small,
.kicker {
  display: block;
  margin-bottom: 11px;
  color: var(--red-dark);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--red-dark);
  font-weight: 850;
  text-decoration: none;
}
.card-link:hover { text-decoration: underline; }
.section-dark .card {
  border-color: rgba(255, 255, 255, 0.13);
  background: var(--navy-2);
  color: var(--cream);
  box-shadow: 0 18px 45px rgba(2, 15, 20, 0.24);
}
.section-dark .card h3 { color: var(--cream); }
.section-dark .card p { color: #d1dedb; }
.section-dark .card small,
.section-dark .kicker { color: var(--gold); }
.section-dark .card-link { color: #f5c982; }
.number-card strong {
  display: block;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}
.number-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 800;
}
.route-card {
  min-height: 275px;
  display: flex !important;
  flex-direction: column;
}
.route-card .route-no {
  color: var(--red-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.route-card h3 { margin-top: 44px; font-size: 1.7rem; }
.route-card .card-link { margin-top: auto; padding-top: 24px; }

/* Split content */
.split {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
  gap: 58px;
  align-items: center;
}
.split.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr); }
.split-copy h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
.split-copy p { margin: 20px 0 0; color: var(--muted); font-size: 1.04rem; }
.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.image-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.image-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent, rgba(16, 42, 52, 0.84));
}
.image-card .media-caption { bottom: 20px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 750;
}
.section-dark .chip {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
}
.clean-list { list-style: none; padding: 0; margin: 22px 0 0; }
.clean-list li {
  position: relative;
  padding: 11px 0 11px 27px;
  border-top: 1px solid var(--line);
}
.clean-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}
.section-dark .clean-list li { border-color: rgba(255, 255, 255, 0.15); }
.quote {
  margin-top: 24px;
  padding: 22px 24px;
  border-left: 4px solid var(--red);
  background: rgba(164, 58, 66, 0.075);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.45;
}
.section-dark .quote { border-color: var(--gold); background: rgba(255, 255, 255, 0.07); }

/* Page heroes */
.page-hero { padding: 78px 0 64px; }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 60px;
  align-items: center;
}
.page-hero-grid.page-hero-solo {
  grid-template-columns: minmax(0, 960px);
  justify-content: start;
}
.page-hero h1 { font-size: clamp(3.45rem, 8.1vw, 7.2rem); }
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}
.stat { min-width: 0; padding: 20px; background: var(--surface); }
.stat strong {
  display: block;
  color: var(--red-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}
.stat span { color: var(--muted); font-size: 0.78rem; font-weight: 800; }
.notice {
  padding: 22px 24px;
  border: 1px solid #cfc2af;
  border-radius: 18px;
  background: #fff8eb;
  color: #5f5140;
}
.notice strong { color: var(--ink); }

/* Dino Kart artwork: the wrapper owns the ratio so no parent can stretch the image */
.project-feature {
  display: grid;
  grid-template-columns: minmax(260px, 370px) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 76px);
  align-items: center;
}
.project-cover {
  position: relative;
  width: min(100%, 370px);
  aspect-ratio: 3 / 4;
  align-self: center;
  justify-self: center;
  overflow: hidden;
  padding: 12px;
  border-radius: 29px;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.project-cover img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  max-width: none;
  border-radius: 19px;
  object-fit: cover;
  object-position: center;
}
.project-cover .stamp { top: 22px; right: 14px; }
.page-hero-grid > .project-cover { width: min(100%, 380px); }

.project-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.project-preview {
  min-height: 128px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: #fff;
}
.project-preview strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}
.project-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.project-body .meta {
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.project-body h3 { margin-top: 9px; }
.project-body .card-link { margin-top: auto; }
.count-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 20px 0 0;
  padding: 18px;
  border-radius: 14px;
  background: var(--sage);
  color: var(--sage-ink);
}
.count-note strong { flex: 0 0 auto; }
.filter-bar,
.timeline-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0; }
.filter-button {
  min-height: 41px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}
.filter-button[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
[data-filter-item][hidden],
.timeline-entry[data-hidden="true"] { display: none !important; }
.receipt { overflow: hidden; padding: 0; }
.receipt img { width: 100%; height: 250px; object-fit: contain; background: #eeeae1; }
.receipt .receipt-copy { padding: 22px; }
.lab-card { border-style: dashed; background: rgba(255, 255, 255, 0.48); }

/* Work and timeline */
.timeline { position: relative; margin-top: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: var(--line);
}
.timeline-item { position: relative; padding: 0 0 34px 58px; }
.timeline-dot {
  position: absolute;
  top: 6px;
  left: 8px;
  width: 22px;
  height: 22px;
  border: 5px solid var(--paper);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1px var(--line);
}
.timeline-item time {
  display: block;
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.timeline-item h3 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}
.timeline-item p { margin: 9px 0 0; color: var(--muted); }
.role { padding: 27px 0; border-top: 1px solid var(--line); }
.role-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; }
.role h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; }
.role-meta { color: var(--red-dark); font-size: 0.82rem; font-weight: 850; }
.role p { margin: 12px 0 0; color: var(--muted); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 18px 4px; font-weight: 850; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--red); font-size: 1.3rem; }
details[open] summary::after { content: "−"; }
.details-body { padding: 0 4px 22px; color: var(--muted); }
.timeline-card {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 25px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.timeline-year { color: var(--red-dark); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; }
.timeline-card h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; }
.timeline-card p { margin: 9px 0 0; color: var(--muted); }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.timeline-tag {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--sage-ink);
  font-size: 0.7rem;
  font-weight: 850;
}
.arc-card {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.arc-card .section-label { color: var(--gold); }
.arc-card h2 {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 4.3vw, 3.25rem);
  font-weight: 500;
  line-height: 1.06;
}
.arc-card p { color: #cfddda; }

/* Life */
.life-nav {
  position: sticky;
  top: 76px;
  z-index: 50;
  border-block: 1px solid var(--line);
  background: rgba(247, 243, 236, 0.96);
  backdrop-filter: blur(14px);
}
.life-nav-inner { display: flex; gap: 8px; overflow: auto; padding: 11px 0; scrollbar-width: none; }
.life-nav-inner::-webkit-scrollbar { display: none; }
.life-nav a {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}
.life-nav a:hover { background: var(--surface); color: var(--red-dark); }
.life-chapter { padding: 84px 0; border-bottom: 1px solid var(--line); }
.life-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: center;
}
.life-copy h2 { margin-top: 8px; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.life-copy > p { margin: 20px 0 0; color: var(--muted); font-size: 1.04rem; }
.life-image { overflow: hidden; border-radius: 28px; background: var(--navy); box-shadow: var(--shadow); }
.life-image img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.interest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.interest {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}
.interest strong { display: block; }
.interest span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.8rem; }

/* Crosslinks and contact */
.crosslink {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
  border-radius: 24px;
  background: var(--navy);
  color: var(--cream);
}
.crosslink strong { font-size: 1.03rem; }
.crosslink p { margin: 7px 0 0; color: #cfddda; }
.crosslink .button-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--cream);
  color: var(--navy);
}
.crosslink .button-secondary:hover { background: #fff; color: var(--red-dark); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.channel-card { min-height: 255px; display: flex !important; flex-direction: column; text-decoration: none; }
.channel-card .channel-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}
.channel-card h3 { margin-top: 28px; }
.channel-card .handle { margin-top: 7px; color: var(--red-dark); font-size: 0.84rem; font-weight: 850; }
.channel-card .card-link { margin-top: auto; }
.email-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 25px;
  align-items: center;
  padding: 30px;
  border-radius: 24px;
  background: var(--navy);
  color: var(--cream);
}
.email-panel p { margin: 8px 0 0; color: #cfddda; }
.email-display {
  display: block;
  margin-top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 3vw, 2.1rem);
}
.email-panel .button-secondary { background: var(--cream); color: var(--navy); }
.copy-status { min-height: 1.4em; margin-top: 8px; color: #cfddda; font-size: 0.78rem; text-align: center; }

/* Play Hub */
.play-hero { padding: 72px 0 58px; background: var(--navy); color: var(--cream); }
.play-hero .eyebrow { color: var(--gold); }
.play-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 8vw, 6.6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.play-hero p { max-width: 760px; margin: 23px 0 0; color: #cfddda; font-size: 1.1rem; }
.play-hero .button-secondary { border-color: rgba(255, 255, 255, 0.2); background: var(--cream); color: var(--navy); }
.play-hero .button-secondary:hover { background: #fff; color: var(--red-dark); }
.play-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.play-stat {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 800;
}
.collection-card { min-height: 290px; display: flex; flex-direction: column; }
.collection-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 850;
}
.collection-card .count {
  margin-top: 22px;
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.collection-card h3 { margin-top: 8px; }
.collection-card .card-link { margin-top: auto; }

/* Footer and closing */
.closing { padding: 82px 0; text-align: center; }
.closing h1,
.closing h2 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
.closing p { max-width: 700px; margin: 20px auto 0; color: var(--muted); }
.closing .action-row { justify-content: center; }
.footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer p { margin: 0; color: var(--muted); font-size: 0.84rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-links a { color: var(--muted); font-size: 0.82rem; font-weight: 780; text-decoration: none; }
.footer-links a:hover { color: var(--red-dark); }

.reveal { opacity: 0; transform: translateY(15px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .split,
  .split.reverse,
  .project-feature,
  .life-layout { grid-template-columns: 1fr; }
  .hero-media,
  .portrait { width: min(100%, 620px); min-height: 600px; margin-inline: auto; }
  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .project-cover,
  .page-hero-grid > .project-cover { width: min(100%, 350px); }
  .project-feature .project-cover { order: 0; }
  .life-layout { gap: 34px; }
  .life-image { width: min(100%, 720px); }
  .crosslink { grid-template-columns: 1fr; }
  .page-hero-grid > .hero-media { order: -1; min-height: 460px; border-radius: 26px; }
  .page-hero { padding-top: 55px; }
}

@media (max-width: 760px) {
  .shell { width: min(var(--max), calc(100% - 28px)); }
  .menu-button { display: grid; place-items: center; }
  .nav-links {
    position: fixed;
    top: 84px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { min-height: 48px; }
  .hero,
  .section,
  .life-chapter { padding: 66px 0; }
  .hero h1,
  .page-hero h1 { font-size: clamp(3.05rem, 16vw, 5rem); }
  .portrait,
  .hero-media { min-height: 470px; border-radius: 30px; }
  .grid-2,
  .grid-3,
  .grid-4,
  .contact-grid,
  .interest-grid { grid-template-columns: 1fr; }
  .section-heading h2 { font-size: 2.75rem; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .email-panel { grid-template-columns: 1fr; }
  .email-panel .action-row { margin-top: 4px; }
  .timeline-card { grid-template-columns: 1fr; gap: 5px; }
  .role-head { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .life-nav { top: 75px; }
  .project-cover,
  .page-hero-grid > .project-cover { width: min(100%, 320px); }
  .project-cover .stamp { right: 10px; }
}

@media (max-width: 480px) {
  .brand-copy small { display: none; }
  .brand { gap: 9px; }
  .stat-band { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .action-row,
  .hero-actions { flex-direction: column; }
  .crosslink { padding: 24px; }
}

/* Utility and page-specific refinements */
.details-stack { margin-top: 26px; }
.dark-copy { color: #cfddda !important; }
.contact-portrait-card {
  min-height: 390px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--cream);
}
.contact-portrait-inner { text-align: center; }
.contact-monogram {
  width: 92px;
  height: 92px;
  margin: auto;
  background: var(--red);
  font-size: 2rem;
}
.contact-portrait-label { margin-top: 28px; color: var(--gold); }
.contact-portrait-title,
.email-panel-title {
  margin: 0;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
}
.contact-portrait-title { font-size: clamp(2.15rem, 4vw, 2.6rem); }
.contact-portrait-copy { max-width: 340px; margin-inline: auto; color: #cfddda; }
.email-panel-label { color: var(--gold); }
.email-panel-title { font-size: clamp(2.1rem, 4vw, 2.5rem); }
.error-stage {
  min-height: 70vh;
  display: grid;
  place-content: center;
}

/* Privacy-first contact form */
.contact-hero { padding-bottom: 92px; }
.contact-form-card {
  padding: clamp(26px, 4vw, 38px);
  border-color: rgba(16, 42, 52, 0.12);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact-form-card h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.05rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.contact-form { display: grid; gap: 18px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-field { display: grid; gap: 7px; }
.form-field label {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #cfc5b8;
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.form-field input,
.form-field select { min-height: 50px; padding: 0 14px; }
.form-field textarea { min-height: 162px; padding: 13px 14px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #817c73; opacity: 1; }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: #aa9d8f; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-3);
  box-shadow: 0 0 0 4px rgba(33, 75, 85, 0.14);
  background: #fffefb;
}
.form-submit-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.form-submit-row .button { border: 0; cursor: pointer; font: inherit; }
.form-submit-row .button[disabled] { cursor: wait; opacity: 0.68; transform: none; }
.form-hint {
  min-height: 1.45em;
  margin: 1px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}
.form-hint[data-active="true"] {
  color: var(--sage-ink);
  font-weight: 700;
}
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}
.form-status {
  min-height: 1.55em;
  margin: -2px 0 0;
  color: var(--sage-ink);
  font-size: 0.84rem;
  font-weight: 760;
}
.form-status[data-state="error"] { color: var(--red-dark); }
.form-status[data-state="success"] { color: #276249; }
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}
#message { scroll-margin-top: 105px; }

@media (max-width: 760px) {
  .contact-hero { padding-bottom: 66px; }
  .form-grid,
  .form-submit-row { grid-template-columns: 1fr; }
  .form-submit-row .button { width: 100%; }
}
