:root {
  --cream: #f6f6f3;
  --paper: #ffffff;
  --ink: #151718;
  --muted: #656a66;
  --line: rgba(21, 23, 24, 0.14);
  --green: #1b1f1d;
  --sage: #9aa196;
  --clay: #a12b22;
  --red: #b83227;
  --gold: #8f968c;
  --shadow: 0 24px 70px rgba(12, 13, 14, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(184, 50, 39, 0.12), transparent 31rem),
    radial-gradient(circle at 90% 12%, rgba(21, 23, 24, 0.08), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f0eee8 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(21, 23, 24, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 999px;
}

.brand span {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(21, 23, 24, 0.74);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--clay);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  padding: 12px 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(16, 35, 31, 0.18);
}

.btn.primary {
  background: var(--clay);
  color: white;
}

.btn.dark {
  background: var(--ink);
  color: white;
}

.btn.light {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.btn.outline {
  border-color: rgba(21, 23, 24, 0.22);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  align-items: stretch;
  border-bottom: 1px solid rgba(16, 35, 31, 0.1);
}

.hero-frame {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100vh - 84px);
  overflow: hidden;
  isolation: isolate;
}

.hero-frame::before,
.image-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 16, 14, 0.78), rgba(12, 16, 14, 0.3) 45%, rgba(12, 16, 14, 0.1)),
    linear-gradient(0deg, rgba(12, 16, 14, 0.65), transparent 48%);
}

.hero-frame > img,
.image-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(70px, 12vh, 130px) 0 52px;
  color: white;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero .eyebrow {
  color: #f1b15b;
}

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

.display {
  max-width: 760px;
  margin: 24px 0 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.1rem, 10vw, 8.8rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.display em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.lede {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-rail {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(16, 35, 31, 0.72);
  color: white;
}

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

.rail-card {
  min-height: 126px;
  padding: 28px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.rail-card:last-child {
  border-right: 0;
}

.rail-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.rail-card span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.93rem;
}

.section {
  padding: clamp(72px, 10vw, 128px) 0;
}

.section.tight {
  padding: 70px 0;
}

.section.dark {
  background:
    radial-gradient(circle at 100% 0%, rgba(199, 86, 35, 0.18), transparent 32rem),
    linear-gradient(135deg, #0e211d, #18382f);
  color: white;
}

.section.red {
  background: linear-gradient(135deg, #902a22, #bd3f2d);
  color: white;
}

.section-title {
  max-width: 790px;
  margin: 16px 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.section-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.dark .section-copy,
.red .section-copy {
  color: rgba(255, 255, 255, 0.72);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.two-col.flip {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.media-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--radius);
  background: #d8c8ac;
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.media-card.small {
  min-height: 360px;
}

.note-card {
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.78);
  box-shadow: 0 18px 54px rgba(16, 35, 31, 0.08);
}

.dark .note-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.stat {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.74);
}

.stat strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.3rem;
  line-height: 0.9;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 250, 240, 0.84);
  box-shadow: 0 16px 44px rgba(16, 35, 31, 0.08);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-body {
  padding: 26px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.68;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill {
  border: 1px solid rgba(16, 35, 31, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  padding: 8px 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 240, 0.74);
}

.timeline-item strong {
  color: var(--clay);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.feature-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 42px;
}

.lab-panel {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-radius: 34px;
  color: white;
  background: #111;
}

.lab-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lab-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 12, 11, 0.82), rgba(7, 12, 11, 0.22));
}

.lab-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: clamp(34px, 6vw, 58px);
}

.lab-content h2 {
  margin: 20px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.lab-content p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.75;
}

.side-stack {
  display: grid;
  gap: 18px;
}

.mini-card {
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 250, 240, 0.84);
  border: 1px solid var(--line);
}

.mini-card.dark {
  background: var(--ink);
  color: white;
}

.mini-card h3 {
  font-size: 1.5rem;
}

.list-clean {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.list-clean li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 35, 31, 0.1);
  color: var(--muted);
}

.list-clean li::before {
  content: "✦";
  color: var(--clay);
}

.page-hero {
  padding: 90px 0 74px;
}

.page-hero .section-title {
  max-width: 900px;
}

.breadcrumbs {
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 1000;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.resource-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
}

.resource-frame iframe {
  width: 100%;
  height: 720px;
  border: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}

.subnav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.subnav-card {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.subnav-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 50, 39, 0.42);
  box-shadow: var(--shadow);
}

.subnav-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.subnav-card span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.story-strip {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.story-strip img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.story-copy {
  padding: clamp(32px, 6vw, 62px);
}

.anchor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.anchor-row a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 900;
}

.anchor-row a:hover {
  color: var(--clay);
  border-color: rgba(184, 50, 39, 0.45);
}

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

.profile-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  padding: 24px;
}

.profile-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 999px;
  background: #eef0ec;
  color: var(--clay);
  font-size: 1.5rem;
  font-weight: 1000;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.step-card {
  border-left: 4px solid var(--clay);
  border-radius: 20px;
  background: #fff;
  padding: 22px;
}

.step-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
}

.footer {
  background: #121415;
  color: white;
  padding: 58px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 42px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.66);
}

.footer a:hover {
  color: white;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.fine-print {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.84rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 84px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 12px;
  }

  .menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .nav-links a:hover {
    background: rgba(184, 50, 39, 0.08);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .rail-grid,
  .stats,
  .card-grid,
  .feature-strip,
  .two-col,
  .two-col.flip,
  .footer-grid,
  .contact-card,
  .subnav-grid,
  .story-strip,
  .profile-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .rail-card {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .media-card,
  .lab-panel {
    min-height: 430px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .display {
    font-size: clamp(3.8rem, 20vw, 6rem);
  }

  .section-title {
    font-size: clamp(2.9rem, 16vw, 4.8rem);
  }

  .hero-content {
    padding-top: 92px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}
