:root {
  --ink: #0b0d10;
  --charcoal: #15181d;
  --panel: #f4f0e8;
  --paper: #fbfaf6;
  --muted: #8c918c;
  --line: rgba(255, 255, 255, 0.16);
  --gold: #c89b48;
  --teal: #0f6b70;
  --wine: #7d2335;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  color-scheme: dark light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans SC", "Noto Sans JP", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.88), rgba(11, 13, 16, 0.18));
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(200, 155, 72, 0.65);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 3px;
  color: rgba(251, 250, 246, 0.62);
  font-size: 11px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: rgba(251, 250, 246, 0.78);
  font-size: 14px;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--paper);
}

.language-switcher {
  display: flex;
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.26);
}

.language-switcher button {
  min-width: 36px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(251, 250, 246, 0.68);
  cursor: pointer;
}

.language-switcher button.active {
  background: var(--paper);
  color: var(--ink);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 96svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(11, 13, 16, 0.96) 0%, rgba(11, 13, 16, 0.74) 38%, rgba(11, 13, 16, 0.22) 76%),
    linear-gradient(180deg, rgba(11, 13, 16, 0.18), rgba(11, 13, 16, 0.96)),
    url("assets/seth-hero.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36vh;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--ink));
}

.hero-content {
  width: min(920px, calc(100% - 36px));
  align-self: center;
  padding: 118px 0 86px clamp(18px, 7vw, 96px);
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(64px, 11vw, 156px);
  line-height: 0.9;
  font-weight: 500;
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero-subtitle {
  max-width: 900px;
  margin: 30px 0 0;
  color: #fff8e7;
  font-size: clamp(24px, 4vw, 48px);
  line-height: 1.18;
  font-weight: 650;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(251, 250, 246, 0.78);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  background: var(--gold);
  color: #17120b;
}

.button.secondary {
  border: 1px solid rgba(251, 250, 246, 0.32);
  color: var(--paper);
}

.scroll-cue {
  position: absolute;
  right: clamp(20px, 5vw, 64px);
  bottom: 34px;
  width: 1px;
  height: 78px;
  background: rgba(255, 255, 255, 0.16);
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 24px;
  background: var(--gold);
  animation: drift 1.9s ease-in-out infinite;
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.25;
  }
  45% {
    transform: translateY(48px);
    opacity: 1;
  }
}

.section {
  padding: clamp(72px, 10vw, 138px) clamp(18px, 6vw, 88px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(280px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1.03;
  font-weight: 650;
}

.lead-block p,
.section-grid > p,
.community-panel p {
  margin: 0;
  color: rgba(251, 250, 246, 0.76);
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.72;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(46px, 7vw, 86px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

.values-grid article {
  min-height: 245px;
  padding: 28px;
  background: linear-gradient(180deg, #171a1f, #101216);
}

.values-grid span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.values-grid h3,
.pathway-list h3 {
  margin: 42px 0 14px;
  font-size: 28px;
}

.values-grid p,
.pathway-list p {
  margin: 0;
  color: rgba(251, 250, 246, 0.68);
  line-height: 1.65;
}

.manifesto {
  padding: clamp(74px, 10vw, 136px) clamp(18px, 6vw, 88px);
  background:
    linear-gradient(135deg, rgba(125, 35, 53, 0.2), transparent 42%),
    linear-gradient(225deg, rgba(15, 107, 112, 0.28), transparent 44%),
    var(--panel);
  color: var(--ink);
}

.manifesto-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.manifesto .section-label {
  color: var(--wine);
}

.manifesto-text {
  margin-top: 42px;
  padding-left: clamp(0px, 8vw, 180px);
}

.manifesto-text p {
  margin: 0 0 22px;
  color: #222526;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(26px, 4vw, 54px);
  line-height: 1.24;
}

.pathways {
  background: #101318;
}

.book {
  background:
    linear-gradient(135deg, rgba(200, 155, 72, 0.12), transparent 34%),
    linear-gradient(180deg, #0b0d10, #111417);
}

.book-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(260px, 0.62fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    #101318;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.book-copy {
  padding: clamp(30px, 5vw, 64px);
}

.book h2 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
}

.book-kicker {
  margin: 18px 0 24px;
  color: var(--gold);
  font-weight: 750;
}

.book-copy > p:not(.section-label):not(.book-kicker) {
  max-width: 720px;
  margin: 0;
  color: rgba(251, 250, 246, 0.76);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.72;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.book blockquote {
  display: grid;
  align-content: end;
  margin: 0;
  min-height: 430px;
  padding: clamp(30px, 5vw, 52px);
  background:
    linear-gradient(180deg, rgba(12, 15, 18, 0.18), rgba(12, 15, 18, 0.88)),
    radial-gradient(circle at 50% 16%, rgba(200, 155, 72, 0.32), transparent 42%),
    #15181d;
}

.book blockquote p {
  margin: 0;
  color: #fff8e7;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.28;
}

.pathway-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(40px, 7vw, 84px);
}

.pathway-list article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.pathway-list article:nth-child(2) {
  border-top-color: rgba(200, 155, 72, 0.72);
}

.pathway-list article:nth-child(3) {
  border-top-color: rgba(15, 107, 112, 0.9);
}

.pathway-list article:nth-child(4) {
  border-top-color: rgba(125, 35, 53, 0.9);
}

.global-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid rgba(255, 255, 255, 0.11);
  background: #0c0f12;
}

.global-band p {
  display: grid;
  place-items: center;
  min-height: 142px;
  margin: 0;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(251, 250, 246, 0.82);
  text-align: center;
  line-height: 1.45;
}

.global-band p:last-child {
  border-right: 0;
}

.community {
  background:
    radial-gradient(circle at 15% 30%, rgba(200, 155, 72, 0.16), transparent 28%),
    linear-gradient(180deg, #101318, #0b0d10);
}

.community-panel {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(34px, 7vw, 90px);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.signup-form {
  margin-top: 32px;
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  color: rgba(251, 250, 246, 0.68);
  font-size: 14px;
}

.signup-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.signup-form input,
.signup-form button {
  min-height: 50px;
  border-radius: 999px;
}

.signup-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.28);
  color: var(--paper);
  padding: 0 18px;
  outline: 0;
}

.signup-form input:focus {
  border-color: rgba(200, 155, 72, 0.82);
}

.signup-form button {
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0 24px;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 88px);
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(251, 250, 246, 0.58);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 6px;
    justify-self: end;
    width: 42px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.26);
    padding: 11px;
  }

  .menu-toggle span {
    height: 1px;
    background: var(--paper);
  }

  .nav-links,
  .language-switcher {
    grid-column: 1 / -1;
    display: none;
    justify-content: start;
  }

  .site-header.open .nav-links,
  .site-header.open .language-switcher {
    display: flex;
  }

  .nav-links {
    flex-wrap: wrap;
    padding-top: 12px;
  }

  .hero-content {
    padding-left: 18px;
  }

  .section-grid,
  .book-panel,
  .community-panel {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .pathway-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-band {
    grid-template-columns: 1fr;
  }

  .global-band p {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(11, 13, 16, 0.97) 0%, rgba(11, 13, 16, 0.68) 78%),
      linear-gradient(180deg, rgba(11, 13, 16, 0.1), rgba(11, 13, 16, 0.96)),
      url("assets/seth-hero.png") 58% center / cover no-repeat;
  }

  h1 {
    font-size: clamp(58px, 17vw, 84px);
  }

  .hero-subtitle {
    font-size: 26px;
  }

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

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

  .book blockquote {
    min-height: 280px;
  }

  .values-grid article,
  .pathway-list article {
    min-height: 190px;
  }

  .signup-form div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}
