:root {
  --ink: #172033;
  --muted: #5c6574;
  --paper: #f3efe7;
  --paper-2: #e7e1d4;
  --white: #fbfaf7;
  --navy: #143047;
  --navy-2: #1e4664;
  --brass: #a67c45;
  --line: rgba(23, 32, 51, 0.12);
  --shadow: 0 24px 60px rgba(20, 48, 71, 0.16);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(166, 124, 69, 0.16), transparent 55%),
    var(--paper);
  font-family: var(--sans);
  font-weight: 360;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 6vw;
  background: rgba(243, 239, 231, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.mark-seal {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background:
    conic-gradient(from 40deg, var(--navy), var(--brass), var(--navy-2), var(--navy));
  box-shadow: inset 0 0 0 5px var(--paper);
}
.nav { display: flex; gap: 1.25rem; }
.nav a { text-decoration: none; color: var(--muted); font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
.nav-toggle { display: none; }

.hero, .band, .chapter, .modules, .close {
  padding: 4.5rem 6vw;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 4rem);
}
.kicker {
  margin: 0 0 0.8rem;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; }
h1 { font-size: clamp(3rem, 6vw, 5.4rem); line-height: 0.96; margin: 0 0 1rem; }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.05; margin: 0 0 0.8rem; }
h3 { font-size: 1.35rem; margin: 0 0 0.4rem; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.hero-actions { display: flex; gap: 0.8rem; margin-top: 1.6rem; }
.button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  background: var(--navy);
  color: white;
  font-weight: 480;
}
.button.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }

.stage { position: relative; }
.stage img {
  width: 100%;
  height: 34rem;
  object-fit: cover;
  border-radius: 1.6rem;
}
.frame {
  position: absolute;
  left: 6%;
  right: 8%;
  bottom: -2.2rem;
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  min-height: 15rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.frame nav {
  background: #10283b;
  color: #d5dde6;
  padding: 0.9rem 0.75rem;
  font-size: 0.75rem;
}
.frame nav strong { display: block; color: white; margin-bottom: 0.7rem; font-weight: 600; }
.frame nav span { display: block; padding: 0.28rem 0.4rem; border-radius: 0.4rem; }
.frame nav span.on { background: rgba(255,255,255,0.1); color: white; }
.frame-main { padding: 0.85rem 1rem 1rem; }
.frame-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.75rem; margin-bottom: 0.7rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.card {
  background: #f6f3ec;
  border-radius: 0.7rem;
  padding: 0.65rem;
}
.card b { display: block; font-family: var(--serif); font-size: 1.25rem; }
.card small { color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 0.35rem; height: 3.2rem; margin-top: 0.7rem; }
.bars i { display: block; flex: 1; border-radius: 0.3rem 0.3rem 0 0; background: var(--navy-2); }
.bars i:nth-child(2) { height: 70%; background: var(--brass); }
.bars i:nth-child(3) { height: 46%; }
.bars i:nth-child(1) { height: 88%; }
.bars i:nth-child(4) { height: 60%; background: #8ea4b5; }

.band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.band article { border-top: 1px solid var(--line); padding-top: 1rem; }
.band strong { display: block; font-family: var(--serif); font-size: 1.7rem; margin-bottom: 0.3rem; }

.chapter {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.chapter.reverse { grid-template-columns: 0.95fr 1.05fr; }
.chapter.reverse .copy { order: 2; }
.photo {
  border-radius: 1.4rem;
  width: 100%;
  height: 28rem;
  object-fit: cover;
}
.plain { color: var(--muted); max-width: 36rem; }

.sheet {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  overflow: auto;
}
.sheet table { width: 100%; border-collapse: collapse; font-size: 0.84rem; min-width: 36rem; }
.sheet th, .sheet td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--line); }
.sheet th { color: var(--muted); font-weight: 480; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }
.actual { color: var(--brass); font-size: 0.75rem; }

.org {
  display: grid;
  gap: 0.7rem;
  justify-items: center;
}
.org-row { display: flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center; }
.person {
  background: var(--white);
  border-radius: 0.9rem;
  padding: 0.75rem 0.9rem;
  min-width: 8rem;
  box-shadow: 0 10px 30px rgba(20, 48, 71, 0.08);
}
.person b { display: block; }
.person span { color: var(--muted); font-size: 0.8rem; }
.stem { width: 1px; height: 1rem; background: var(--brass); }

.modules { padding-top: 1rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.module {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem 1.2rem;
}
.module p { color: var(--muted); margin-top: 0.35rem; }
.icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.7rem;
  color: var(--navy);
}

.close {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
}
.close img { height: 22rem; width: 100%; object-fit: cover; border-radius: 1.4rem; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 6vw 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.foot strong { color: var(--ink); }
.fine { max-width: 22rem; }

@media (max-width: 980px) {
  .hero, .chapter, .chapter.reverse, .band, .grid, .close, .foot { grid-template-columns: 1fr; display: grid; }
  .chapter.reverse .copy { order: 0; }
  .hero { min-height: auto; }
  .stage img, .photo, .close img { height: 18rem; }
  .frame { position: static; margin-top: 1rem; grid-template-columns: 7.2rem 1fr; }
  .nav-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font: inherit;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 0.8rem 6vw 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .top { flex-wrap: wrap; }
}
