@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/fonts/dm-sans-regular.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./assets/fonts/dm-sans-medium.ttf") format("truetype");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/dm-sans-semibold.ttf") format("truetype");
}

:root {
  font-family: "DM Sans", "Helvetica Neue", Helvetica, sans-serif;
  color: #10243b;
  background: #f5f5f0;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #10243b;
  --navy: #102c4d;
  --paper: #f5f5f0;
  --line: #d5dde6;
  --muted: #727e88;
  --light-blue: #dee8f3;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

button,
a {
  font: inherit;
}

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

::selection {
  background: #c5d6e8;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid #c17a45;
  outline-offset: 4px;
}

.page {
  overflow: hidden;
}

.site-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.2vw;
  background: #fbfcf8;
  border-bottom: 1px solid #e3e7e3;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 265px;
}

.brand-mark {
  width: 31px;
  height: 31px;
  flex: none;
}

.brand-title {
  display: block;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -1.1px;
  line-height: 1;
}

.brand-sub {
  display: block;
  margin-top: 7px;
  font: 9px var(--mono);
  letter-spacing: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 13px;
}

.nav a:not(.pill-link),
.footer-links a {
  transition: opacity 0.2s ease;
}

.nav a:not(.pill-link):hover,
.footer-links a:hover {
  opacity: 0.55;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 23px;
  border-radius: 99px;
  background: var(--navy);
  color: #f6f7f1;
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.pill-link:hover {
  transform: translateY(-2px);
  background: #1b4169;
}

.hero {
  min-height: 675px;
  padding: 120px 5.2vw 88px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 7%;
  background: #fbfcf8;
}

.hero-copy {
  max-width: 580px;
  align-self: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 9px var(--mono);
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero h1 {
  max-width: 590px;
  margin: 34px 0 32px;
  font-size: clamp(56px, 6.1vw, 86px);
  line-height: 0.96;
  letter-spacing: -5px;
  font-weight: 500;
}

.hero h1 span {
  display: block;
}

.hero-intro {
  max-width: 485px;
  margin: 0 0 28px;
  color: #6f7b76;
  font-size: 17px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
}

.hero-actions .pill-link {
  padding: 15px 21px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}

.poster-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 35px;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 21px;
  box-shadow: 0 24px 55px rgba(16, 44, 77, 0.08);
}

.section-signature {
  position: absolute;
  bottom: 0;
  left: 5.2vw;
  width: 35%;
  max-width: 440px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  font: 8px var(--mono);
  letter-spacing: 1.6px;
}

.section-label {
  font: 9px var(--mono);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.society-meta p {
  margin: 20px 0;
  color: var(--muted);
  font-size: 13px;
}

.society-body p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.activity-list {
  margin: 38px 0 0;
  border-top: 1px solid var(--line);
  counter-reset: activity;
}

.activity-list > div {
  display: grid;
  grid-template-columns: 26px minmax(0, 550px);
  gap: 10px 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: activity;
}

.activity-list > div::before {
  content: counter(activity, decimal-leading-zero);
  grid-row: span 2;
  padding-top: 7px;
  color: #7c8884;
  font: 9px var(--mono);
  letter-spacing: 1px;
}

.activity-list dt {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

.activity-list dd {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.society,
.purpose {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 8%;
  padding: 100px 5.2vw 104px;
  background: var(--paper);
  color: var(--ink);
}

.society {
  --muted: #c3cede;
  --line: rgba(225, 237, 248, 0.25);
  background: var(--navy);
  color: #f0f4f8;
}

.society .activity-list > div::before {
  color: #c3cede;
}

.society-meta,
.purpose-intro {
  max-width: 440px;
}

.society-meta h2,
.purpose-intro h2 {
  margin: 30px 0 23px;
  font-size: clamp(38px, 4.5vw, 57px);
  line-height: 1.02;
  letter-spacing: -2.8px;
  font-weight: 500;
}

.purpose-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: purpose;
  border-top: 1px solid var(--line);
}

.purpose-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 550px);
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  counter-increment: purpose;
}

.purpose-list li::before {
  content: counter(purpose, decimal-leading-zero);
  padding-top: 7px;
  color: #7c8884;
  font: 9px var(--mono);
  letter-spacing: 1px;
}

.membership {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 8%;
  padding: 100px 5.2vw 104px;
  background: var(--light-blue);
}

.membership-intro {
  max-width: 440px;
}

.membership-intro h2 {
  margin: 30px 0 23px;
  font-size: clamp(38px, 4.5vw, 57px);
  line-height: 1.02;
  letter-spacing: -2.8px;
  font-weight: 500;
}

.membership-intro p {
  color: #43566c;
  font-size: 15px;
  line-height: 1.75;
}

.membership-form {
  display: grid;
  gap: 12px;
}

.membership-form[hidden] {
  display: none;
}

.membership-form > label {
  font-size: 13px;
  font-weight: 500;
}

.membership-form > label > span {
  font-weight: 400;
}

.membership-form > input:not([type="hidden"]) {
  width: 100%;
  min-width: 0;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid #8a9db2;
  border-radius: 6px;
  background: #fbfcf8;
  color: var(--ink);
  font: inherit;
}

.membership-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.membership-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--navy);
}

.membership-note {
  margin: 0 0 8px;
  color: #43566c;
  font-size: 12px;
  line-height: 1.6;
}

.membership-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.membership-form button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.membership-status {
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.65;
}

.membership-status[data-error="true"] {
  color: #8c2626;
}

.conversation {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 9%;
  padding: 94px 9.8vw 101px;
  background: var(--navy);
  color: #f0f4f8;
}

.conversation h2 {
  max-width: 530px;
  margin: 27px 0 0;
  font-size: clamp(40px, 5vw, 65px);
  line-height: 0.99;
  letter-spacing: -3.8px;
  font-weight: 500;
}

.conversation-copy p {
  max-width: 405px;
  margin: 0 0 21px;
  color: #c3cede;
  font-size: 14px;
  line-height: 1.8;
}

.conversation-copy .pill-link {
  width: max-content;
  background: var(--light-blue);
  color: var(--navy);
}

.conversation-copy .pill-link:hover {
  background: #f0f4f8;
}

.footer {
  padding: 0 5.2vw 28px;
  background: var(--navy);
  color: #f0f4f8;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(225, 237, 248, 0.25);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--navy);
  white-space: nowrap;
}

.footer-brand svg {
  width: 22px;
  height: 22px;
}

.footer-brand span {
  font-size: 16px;
  letter-spacing: -0.7px;
  font-weight: 600;
}

.footer-note {
  max-width: 345px;
  color: #c3cede;
  font: 8px/1.6 var(--mono);
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font: 8px var(--mono);
  letter-spacing: 1px;
}

.back-top {
  display: flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
}

@media (min-width: 1450px) {
  .hero {
    min-height: 760px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 82px;
    padding: 0 22px;
  }

  .brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-sub {
    font-size: 7px;
    letter-spacing: 1.5px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .nav {
    gap: 14px;
  }

  .nav > a:not(.pill-link) {
    display: none;
  }

  .nav .pill-link {
    padding: 12px 14px;
    font-size: 11px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 38px;
    padding: 61px 24px 82px;
  }

  .hero h1 {
    margin: 30px 0 22px;
    font-size: clamp(57px, 14vw, 78px);
    letter-spacing: -4px;
  }

  .hero-intro {
    max-width: 450px;
    font-size: 15px;
  }

  .poster-wrap {
    padding: 0;
  }

  .hero-image {
    border-radius: 17px;
  }

  .section-signature {
    left: 24px;
    width: calc(100% - 48px);
    padding-top: 13px;
    font-size: 7px;
  }

  .society,
  .purpose,
  .membership {
    display: flex;
    flex-direction: column;
    gap: 44px;
    padding: 74px 24px 78px;
  }

  .society-meta h2,
  .purpose-intro h2 {
    font-size: clamp(35px, 9vw, 46px);
  }

  .activity-list > div,
  .purpose-list li {
    gap: 15px;
    padding: 23px 0;
    font-size: 14px;
  }

  .society-body p,
  .activity-list dd {
    font-size: 14px;
  }

  .conversation {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 74px 24px 78px;
  }

  .conversation h2 {
    font-size: clamp(44px, 11vw, 58px);
    letter-spacing: -2.8px;
  }

  .footer {
    padding: 0 24px 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-note {
    order: 3;
    max-width: 100%;
  }

  .footer-links {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 7px;
  }
}

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

  .brand-title {
    font-size: 16px;
  }

  .brand-sub {
    font-size: 6px;
    letter-spacing: 0.8px;
  }

  .nav .pill-link {
    gap: 8px;
    padding: 11px 10px;
    font-size: 10px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
