:root {
  --porcelain: #F8F7F3;
  --stone: #EEECE5;
  --ink: #202522;
  --muted: #777C76;
  --ocean: #238E9B;
  --lagoon: #176774;
  --sand: #C5AD88;
  --line: #DDDCD5;
  --white: #FFFFFF;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --header: 82px;
  --page-max: 1760px;
  --page-pad: clamp(16px, 3vw, 80px);
  --radius: 7px;
}

@media (min-width: 861px) {
  .site-header,
  .header-inner {
    height: var(--header);
  }
}

@media (min-width: 2100px) {
  :root {
    --page-max: 2000px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  border: 0;
}

button,
input {
  font: inherit;
}

h1,
h2,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--lagoon);
  outline-offset: 3px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.kicker {
  margin: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lagoon);
}

.band {
  padding: clamp(88px, 11vh, 140px) 0;
}

.band-stone {
  background: var(--stone);
}

.band-inner {
  width: min(var(--page-max), calc(100% - 2 * var(--page-pad)));
  margin-inline: auto;
}

.display-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 5.6vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.display-title span {
  display: block;
}

.display-title-sm {
  font-size: clamp(46px, 4.6vw, 80px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--lagoon);
  border-color: var(--lagoon);
}

.btn-primary:focus-visible {
  outline-color: var(--ocean);
}

.btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--stone);
}

.arrow {
  display: inline-block;
  transform: translateY(-1px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--lagoon);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header);
  background: var(--porcelain);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-inline: var(--page-pad);
}

.brand {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  flex: 0 0 auto;
}

.brand span {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

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

.site-nav a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--lagoon);
}

.header-actions {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  min-height: calc(100vh - var(--header));
  min-height: calc(100svh - var(--header));
  background: var(--porcelain);
}

.hero-copy {
  display: flex;
  align-items: center;
  padding: 40px var(--page-pad) 48px max(var(--page-pad), calc((100vw - var(--page-max)) / 2));
}

.hero-copy-inner {
  width: min(640px, 100%);
}

.hero-title {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(68px, 6.3vw, 118px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero-title span {
  display: block;
}

.hero-title em {
  font-style: normal;
  color: var(--ocean);
}

.hero-lead {
  margin-top: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 2vw, 32px);
  line-height: 1.25;
  color: var(--ink);
}

.hero-support {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}

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

.hero-disclaimer {
  margin-top: 18px;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 100%;
}

.hero-stage {
  position: relative;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: var(--stone);
}

.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 84% 42%;
}

.hero-figure {
  position: absolute;
  left: 4%;
  bottom: 0;
  z-index: 2;
  height: 92%;
  width: auto;
  max-width: 54%;
  object-fit: contain;
  object-position: bottom left;
  pointer-events: none;
}

.hero-note {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 28px;
  width: min(220px, 36%);
  margin: 0;
  padding: 14px 16px 16px;
  background: var(--porcelain);
  border-top: 2px solid var(--sand);
  display: grid;
  gap: 8px;
}

.hero-note-caption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ink);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 520px);
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}

.story-intro .kicker,
.view-caption .kicker {
  margin-bottom: 20px;
}

.story-rule {
  width: 48px;
  height: 1px;
  background: var(--sand);
  margin-bottom: 28px;
}

.pull {
  margin: 0 0 28px;
  padding: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 2.1vw, 34px);
  line-height: 1.35;
  color: var(--ink);
}

.pull p + p {
  margin-top: 4px;
}

.prose p {
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}

.prose p + p {
  margin-top: 1em;
}

.disclosure {
  margin-top: 28px;
  padding-left: 16px;
  border-left: 2px solid var(--sand);
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.view {
  padding-top: 8px;
}

.view-caption {
  padding-bottom: 16px;
}

.view-frame {
  background: var(--stone);
}

.view-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.contract-row {
  display: grid;
  grid-template-columns: auto auto minmax(220px, 1fr) auto;
  align-items: stretch;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contract-row > div {
  padding: 28px 32px 28px 0;
}

.contract-row > div + div {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.contract-row .kicker {
  margin-bottom: 10px;
}

.contract-value {
  font-family: var(--serif);
  font-size: clamp(28px, 2vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  user-select: all;
}

.contract-address {
  font-family: var(--sans);
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.contract-action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.contract-action .btn {
  min-width: 152px;
}

.copy-status {
  min-height: 1.3em;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--lagoon);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.chart-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--lagoon);
  white-space: nowrap;
}

.chart-frame {
  height: 600px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--porcelain);
}

.chart-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--porcelain);
}

.chart-foot {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 24px;
  margin-top: 18px;
}

.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 440px);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.community-copy .display-title {
  margin-bottom: 12px;
}

.giant {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 8vw, 148px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.community-support {
  margin: 24px 0 28px;
  max-width: 28ch;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
}

.community-photo {
  margin: 0;
}

.community-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
}

.site-footer {
  background: var(--porcelain);
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.footer-ticker {
  margin-top: 4px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.footer-center {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--lagoon);
}

.footer-disclaimer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-kicker,
  .hero-title,
  .hero-lead,
  .hero-support,
  .hero-actions,
  .hero-disclaimer,
  .hero-note {
    animation: rise 0.8s ease both;
  }

  .hero-kicker { animation-delay: 0.05s; }
  .hero-title { animation-delay: 0.12s; }
  .hero-lead { animation-delay: 0.24s; }
  .hero-support { animation-delay: 0.32s; }
  .hero-actions { animation-delay: 0.46s; }
  .hero-disclaimer { animation-delay: 0.56s; }
  .hero-banner { animation: soften 0.9s ease both; }
  .hero-figure { animation: soften 0.9s ease 0.16s both; }
  .hero-note { animation-delay: 0.5s; }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soften {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1100px) {
  .hero-title {
    font-size: clamp(60px, 6vw, 88px);
  }

  .hero-figure {
    max-width: 48%;
  }

  .hero-note {
    right: 16px;
    bottom: 16px;
    width: min(190px, 38%);
  }
}

@media (max-height: 760px) and (min-width: 861px) {
  .hero {
    min-height: 640px;
  }

  .hero-title {
    font-size: 64px;
  }

  .hero-lead {
    margin-top: 16px;
    font-size: 24px;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-figure {
    height: 88%;
  }
}

@media (max-width: 860px) {
  .header-inner {
    height: auto;
    min-height: var(--header);
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand,
  .header-actions {
    flex: 0 1 auto;
  }

  .header-actions {
    margin-left: auto;
  }

  .site-nav {
    order: 3;
    flex: 1 0 100%;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-top: 8px;
  }

  .js .site-header {
    height: var(--header);
  }

  .js .header-inner {
    flex-wrap: nowrap;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    padding: 8px 0 12px;
    background: var(--porcelain);
    border-bottom: 1px solid var(--line);
  }

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

  .js .site-nav a {
    padding: 14px var(--page-pad);
    font-size: 14px;
    letter-spacing: 0.12em;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 48px var(--page-pad) 12px;
  }

  .hero-stage {
    height: min(70svh, 128vw, 620px);
    min-height: 420px;
  }

  .hero-banner {
    object-position: 78% 40%;
  }

  .hero-figure {
    left: 50%;
    height: 96%;
    max-width: 78%;
    transform: translateX(-50%);
    object-position: bottom center;
  }

  .hero-note {
    position: static;
    width: auto;
    margin: 16px var(--page-pad) 8px;
    padding: 14px 0 0;
    background: transparent;
  }

  .story-grid,
  .community-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .community-photo {
    max-width: 440px;
  }

  .footer-center,
  .footer-links {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .chart-frame {
    height: 420px;
  }

  .section-head,
  .chart-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-label {
    margin: 0;
  }

  .contract-row {
    grid-template-columns: 1fr;
  }

  .contract-row > div {
    padding: 22px 0;
  }

  .contract-row > div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .view-frame img {
    height: 62vw;
    min-height: 210px;
    object-fit: cover;
    object-position: 16% center;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .chart-frame {
    height: 520px;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .giant {
    font-size: clamp(42px, 13vw, 64px);
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 34px;
    height: 34px;
  }

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

  .header-actions .btn {
    min-height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }

  .display-title {
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero-title {
    font-size: 60px;
  }
}

@media (max-width: 860px) and (max-height: 520px) {
  .hero-stage {
    height: 340px;
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
