@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Montserrat:wght@400;500;600&display=swap');

:root {
  --black: #060708;
  --charcoal: #0b0d0f;
  --navy: #0b1319;
  --cream: #eee8dc;
  --soft: #bdb5a8;
  --gold: #b68b4c;
  --gold-light: #d0ab70;
  --line: rgba(190, 151, 91, .28);
  --page: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--black);
  font-family: "Cormorant Garamond", Georgia, serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: .055;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.15rem; }

.page-width {
  width: min(var(--page), calc(100% - 64px));
  margin-inline: auto;
}

/* HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  min-height: 82px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(5, 7, 8, .88);
  border-bottom: 1px solid rgba(190, 151, 91, .18);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-emblem {
  width: 43px;
  height: 43px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}

.brand-emblem::before,
.brand-emblem::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 49px;
  background: var(--gold);
}

.brand-emblem::after { transform: rotate(90deg); }
.brand-x { color: var(--gold-light); font-size: 17px; position: relative; z-index: 2; }

.brand-copy strong,
.brand-copy small {
  display: block;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .2em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--gold);
  font: 500 8px/1.2 Montserrat, Arial, sans-serif;
  letter-spacing: .38em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 31px;
}

.site-nav a {
  position: relative;
  padding: 31px 0 28px;
  color: rgba(238, 232, 220, .8);
  text-decoration: none;
  text-transform: uppercase;
  font: 500 10px/1 Montserrat, Arial, sans-serif;
  letter-spacing: .23em;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 21px;
  height: 1px;
  background: var(--gold);
  transition: right .25s ease;
}

.site-nav a:hover::after,
.site-nav a.current::after { right: 0; }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 6px 0;
  background: var(--cream);
}

/* HERO */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.section-image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

.hero-image { object-position: center; }

.image-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3,5,6,.93) 0%, rgba(3,5,6,.75) 37%, rgba(3,5,6,.18) 72%, rgba(3,5,6,.28) 100%),
    linear-gradient(180deg, rgba(3,5,6,.18), rgba(3,5,6,.1) 60%, rgba(3,5,6,.85));
}

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

.eyebrow,
.chapter-number {
  color: var(--gold-light);
  text-transform: uppercase;
  font: 500 10px/1.5 Montserrat, Arial, sans-serif;
  letter-spacing: .38em;
}

.hero h1 {
  max-width: 720px;
  margin: 14px 0 9px;
  font-size: clamp(78px, 11vw, 154px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.gold-rule {
  width: 88px;
  height: 1px;
  margin: 30px 0;
  background: var(--gold);
}

.hero-statement {
  max-width: 600px;
  font-size: clamp(24px, 2.25vw, 35px);
  font-style: italic;
  line-height: 1.2;
}

.hero-support {
  max-width: 540px;
  color: #d5cec2;
  font-size: 18px;
  line-height: 1.55;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  margin-top: 28px;
  color: var(--gold-light);
  text-decoration: none;
  text-transform: uppercase;
  font: 500 9px/1 Montserrat, Arial, sans-serif;
  letter-spacing: .3em;
}

/* CHAPTERS */
.chapter {
  padding: 132px 0;
  border-top: 1px solid var(--line);
  background: var(--charcoal);
}

.chapter:nth-of-type(odd) {
  background:
    radial-gradient(circle at 90% 20%, rgba(182,139,76,.07), transparent 32rem),
    #080a0c;
}

.chapter-grid {
  display: grid;
  grid-template-columns: .93fr 1.07fr;
  gap: clamp(60px, 8vw, 125px);
  align-items: center;
}

.chapter-grid-reverse {
  grid-template-columns: 1.07fr .93fr;
}

.chapter-copy h2,
.section-heading h2,
.closing h2 {
  margin: 17px 0 31px;
  font-size: clamp(49px, 5.5vw, 80px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.015em;
}

.chapter-copy {
  font-size: 18px;
  line-height: 1.68;
  color: var(--soft);
}

.chapter-copy .opening-line {
  color: var(--cream);
  font-size: 23px;
}

.story-list {
  margin-top: 31px;
  padding: 28px 0 17px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-list p {
  margin-bottom: .45rem;
  color: #ddd5c7;
  font-size: 20px;
  font-style: italic;
}

.chapter-figure {
  margin: 0;
  position: relative;
}

.chapter-figure::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--line);
  z-index: 0;
}

.chapter-figure img {
  position: relative;
  z-index: 1;
  height: min(69vw, 650px);
  min-height: 510px;
  object-fit: cover;
  filter: saturate(.7) contrast(1.04);
}

.chapter-wide-copy {
  max-width: 950px;
  margin-top: 82px;
  padding-top: 47px;
  border-top: 1px solid var(--line);
  columns: 2;
  column-gap: 78px;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.75;
}

blockquote {
  margin: 34px 0;
  padding: 22px 0 22px 29px;
  border-left: 1px solid var(--gold);
  color: var(--cream);
  font-size: 23px;
  font-style: italic;
  line-height: 1.45;
}

.chapter-emphasis {
  margin-top: 36px;
  color: var(--cream);
  font-size: 23px;
  font-style: italic;
}

/* VALUES */
.values-section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0, rgba(182,139,76,.08), transparent 34rem),
    #050708;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 68px;
  text-align: center;
}

.centered {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 19px;
}

.centered::before,
.centered::after {
  content: "";
  width: 58px;
  height: 1px;
  background: var(--gold);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-card {
  padding: 55px 45px;
  text-align: center;
  border-right: 1px solid var(--line);
}

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

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 24px;
}

.value-card h3 {
  margin: 0 0 16px;
  text-transform: uppercase;
  font: 500 15px/1.3 Montserrat, Arial, sans-serif;
  letter-spacing: .27em;
}

.value-card p {
  color: var(--soft);
  font-size: 17px;
  line-height: 1.65;
}

/* CLOSING */
.closing {
  min-height: 690px;
  padding: 100px 30px;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.closing-shade {
  background:
    linear-gradient(180deg, rgba(4,6,7,.42), rgba(4,6,7,.78)),
    radial-gradient(circle at center, transparent, rgba(3,5,6,.55));
}

.closing-content {
  max-width: 800px;
}

.closing-content p:not(.eyebrow) {
  max-width: 590px;
  margin: 0 auto 30px;
  color: #d1c9bd;
  font-size: 19px;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  padding: 17px 30px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  text-decoration: none;
  text-transform: uppercase;
  font: 500 10px/1 Montserrat, Arial, sans-serif;
  letter-spacing: .3em;
  transition: background .25s ease, transform .25s ease;
}

.button:hover {
  background: rgba(182,139,76,.12);
  transform: translateY(-2px);
}

/* FOOTER */
.site-footer {
  padding: 48px 24px;
  text-align: center;
  background: #030405;
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--gold-light);
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: .27em;
}

.site-footer p {
  margin: 13px 0 0;
  color: #8e877d;
  text-transform: uppercase;
  font: 500 9px/1.7 Montserrat, Arial, sans-serif;
  letter-spacing: .25em;
}

.site-footer .copyright {
  color: #5f5b55;
  letter-spacing: .13em;
}

/* REVEALS */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s ease, transform .9s ease;
}

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

/* RESPONSIVE */
@media (max-width: 920px) {
  .site-header { padding-inline: 20px; }
  .menu-toggle { display: block; cursor: pointer; }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    padding: 20px 24px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(5,7,8,.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    width: 100%;
    padding: 15px 0;
  }

  .site-nav a::after { bottom: 8px; }

  .chapter-grid,
  .chapter-grid-reverse {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .chapter-grid-reverse .chapter-figure { order: 2; }

  .chapter-figure img {
    height: 620px;
    min-height: 0;
  }

  .values-grid { grid-template-columns: 1fr; }

  .value-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-card:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
  .page-width { width: min(100% - 34px, var(--page)); }

  .brand-copy strong {
    font-size: 12px;
    letter-spacing: .15em;
  }

  .brand-copy small {
    font-size: 7px;
    letter-spacing: .24em;
  }

  .brand-emblem { width: 36px; height: 36px; }

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

  .hero h1 { font-size: 67px; }

  .hero-statement { font-size: 24px; }

  .hero-support { font-size: 16px; }

  .chapter { padding: 86px 0; }

  .chapter-copy h2,
  .section-heading h2,
  .closing h2 {
    font-size: 47px;
  }

  .chapter-copy { font-size: 16px; }

  .story-list p { font-size: 18px; }

  .chapter-figure::before {
    inset: 9px -9px -9px 9px;
  }

  .chapter-figure img { height: 430px; }

  .chapter-wide-copy {
    margin-top: 62px;
    padding-top: 35px;
    columns: 1;
    font-size: 16px;
  }

  .values-section { padding: 85px 0; }

  .value-card { padding: 44px 24px; }

  .closing {
    min-height: 610px;
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
