:root {
  --bg: #12100b;
  --bg-deep: #0b0a07;
  --surface: #1a1710;
  --surface-raised: #211d14;
  --paper: #f1eee6;
  --paper-muted: #d5d1c7;
  --ink: #f7f5f0;
  --muted: #a89f90;
  --faint: #7d766a;
  --line: rgba(240, 232, 214, .14);
  --line-strong: rgba(240, 232, 214, .24);
  --accent: #d98a5f;
  --accent-soft: rgba(217, 138, 95, .12);
  --accent-ink: #2b1309;
  --radius: 18px;
  --max: 1180px;
  --reading: 720px;
  --shadow: 0 30px 100px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(217, 138, 95, .46); outline-offset: 3px; }
[hidden] { display: none !important; }

.brand {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.brand:hover { color: var(--ink); }
.brand em { color: var(--accent); font-style: normal; font-weight: 700; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(18, 16, 11, .72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 32px rgba(178, 104, 59, .18);
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.button:hover { color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(178, 104, 59, .28); }
.button:active { transform: translateY(0); }
.button-small { min-height: 40px; padding: 0 17px; font-size: 13px; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 640px;
  padding: 168px max(24px, calc((100vw - var(--max)) / 2)) 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 10%, rgba(217, 138, 95, .14), transparent 34%),
    linear-gradient(150deg, #1b140d 0%, var(--bg) 54%, var(--bg-deep) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: .2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}
.hero-copy { position: relative; z-index: 2; max-width: 780px; }
.hero h1 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 500;
}
.hero-sub { max-width: 640px; margin: 30px 0 0; color: #c4bcae; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.6; }
.hero-sibling { margin: 22px 0 0; color: var(--faint); font-size: 14px; }
.hero-sibling a { color: var(--muted); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.hero-sibling a:hover { color: var(--accent); border-color: var(--accent); }
.hero-actions { margin-top: 40px; }

.hero-enter { opacity: 0; transform: translateY(18px); animation: hero-in .7s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-enter:nth-child(2) { animation-delay: .08s; }
.hero-enter:nth-child(3) { animation-delay: .16s; }
.hero-enter:nth-child(4) { animation-delay: .24s; }
.hero-enter:nth-child(5) { animation-delay: .32s; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

.how-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
}
.how-section h2 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 500;
}
.how-section > div:last-child p { max-width: var(--reading); margin: 6px 0 0; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.7; }

.experience-rail-section {
  width: 100%;
  padding: 96px 0 84px;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--line);
}
.experience-rail-heading { padding: 0 24px; }
.experience-rail-heading h2 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 500;
}
.experience-marquee { position: relative; margin-top: 0; padding: 42px 0 32px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.experience-marquee::-webkit-scrollbar { display: none; }
.experience-track { width: max-content; }
.experience-group { padding: 0 max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; gap: 20px; }
.experience-tile {
  position: relative;
  width: 72px;
  height: 72px;
  display: block;
  flex: 0 0 auto;
  border: 1px solid rgba(42, 32, 20, .12);
  border-radius: 17px;
  background: white;
  box-shadow: 0 13px 28px rgba(46, 34, 20, .14);
  cursor: default;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.experience-tile { cursor: pointer; }
.experience-tile:hover,
.experience-tile:focus-visible { z-index: 3; transform: translateY(-7px) scale(1.04); box-shadow: 0 20px 36px rgba(46, 34, 20, .22); }
.experience-tile img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.experience-tile::after {
  content: attr(data-label);
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: calc(100% + 11px);
  width: max-content;
  max-width: 230px;
  padding: 7px 9px;
  transform: translate(-50%, 5px);
  border-radius: 7px;
  background: #221a10;
  color: white;
  box-shadow: 0 8px 24px rgba(24, 18, 10, .3);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transition: opacity .17s ease, transform .17s ease;
}
.experience-tile:hover::after,
.experience-tile:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.experience-divider { height: 38px; margin: 0 2px 0 10px; padding-left: 17px; display: flex; align-items: center; border-left: 1px solid rgba(240, 232, 214, .19); color: var(--faint); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.experience-tile.experience-program { width: auto; height: 72px; padding: 0 6px; display: flex; align-items: center; border: 0; border-radius: 0; background: none; box-shadow: none; }
.experience-tile.experience-program:hover,
.experience-tile.experience-program:focus-visible { box-shadow: none; }
.experience-tile.experience-program img { width: auto; height: 32px; border-radius: 0; object-fit: contain; }
.experience-tile.experience-program.is-500 img { height: 40px; }
.experience-claim { margin: 16px 24px 0; color: var(--faint); font-size: 14px; font-weight: 650; }

.contact-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px 24px 130px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact-boundary { max-width: 560px; margin: 0 auto 54px; color: var(--faint); font-size: 14px; line-height: 1.7; }
.contact-section h2 {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(40px, 5.4vw, 70px);
  line-height: 1;
  letter-spacing: -.03em;
  font-weight: 500;
}
.contact-prompt { max-width: 460px; margin: 18px auto 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.contact-actions { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.contact-address { color: var(--muted); font-size: 14px; }
.contact-address a { color: var(--ink); font-weight: 650; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.contact-address a:hover { color: var(--accent); border-color: var(--accent); }
.contact-notes { max-width: 460px; margin: 34px auto 0; color: var(--faint); font-size: 13px; line-height: 1.7; }

.site-footer { max-width: var(--max); margin: 0 auto; padding: 35px 24px 46px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.site-footer p { margin: 0; text-align: center; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 20px; }
.site-footer .brand { color: var(--ink); }

.page-body { min-height: 100vh; background: var(--bg-deep); }
.page-shell { max-width: var(--reading); margin: 0 auto; padding: 140px 24px 110px; }
.page-shell h1 {
  margin: 0 0 10px;
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 500;
}
.page-shell .page-date { margin: 0 0 40px; color: var(--faint); font-size: 13px; }
.page-shell h2 { margin: 40px 0 10px; font-size: 20px; letter-spacing: -.02em; }
.page-shell p { margin: 12px 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.page-shell a { color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.page-shell a:hover { color: var(--accent); border-color: var(--accent); }

.notfound { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 24px; }
.notfound h1 { margin: 0; font-family: Newsreader, Georgia, serif; font-size: clamp(40px, 6vw, 64px); font-weight: 500; letter-spacing: -.03em; }
.notfound p { margin: 0; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-enter { opacity: 1; transform: none; animation: none; }
}

@media (max-width: 900px) {
  .how-section { grid-template-columns: 1fr; gap: 22px; padding: 84px 24px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 112px; padding-bottom: 64px; min-height: 0; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero h1 { font-size: 42px; line-height: 1; }
  .hero-sub { margin-top: 22px; font-size: 16px; line-height: 1.5; }
  .hero-sibling { margin-top: 16px; }
  .hero-actions { margin-top: 28px; }
  .site-header { padding: 0 20px; }
  .site-header .brand { font-size: 15px; }
  .site-header .button-small { padding: 0 14px; font-size: 12px; white-space: nowrap; }
  .experience-marquee { padding: 36px 0 28px; }
  .experience-group { align-items: flex-start; gap: 16px; }
  .experience-tile { margin-bottom: 22px; }
  .experience-tile:hover,
  .experience-tile:focus-visible { transform: none; }
  .experience-tile::after,
  .experience-tile:hover::after,
  .experience-tile:focus-visible::after {
    top: calc(100% + 7px);
    bottom: auto;
    width: max-content;
    max-width: 88px;
    padding: 0;
    transform: translateX(-50%);
    border-radius: 0;
    background: none;
    color: var(--muted);
    box-shadow: none;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 1;
    transition: none;
  }
  .experience-tile.experience-program::after { max-width: 132px; }
  .experience-divider { margin-top: 17px; }
  .site-footer { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .site-footer p { text-align: left; }
  .site-footer nav { justify-content: flex-start; flex-wrap: wrap; }
  .contact-section { padding: 84px 20px 100px; }
  .contact-boundary { margin-bottom: 32px; }
}
