:root {
  --charcoal-1000: #0c0c0b;
  --charcoal-950: #121210;
  --charcoal-900: #181816;
  --charcoal-800: #23231f;
  --charcoal-700: #33322d;
  --stone-50: #f4f0e7;
  --stone-100: #ece6da;
  --stone-200: #d8d0c1;
  --stone-500: #8b887f;
  --copper: #b66f45;
  --copper-light: #d69b74;
  --sage: #7b8777;
  --white: #fffdf8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-pad: clamp(1.25rem, 4.5vw, 5.75rem);
  --content: 80rem;
  --line: rgba(25, 25, 22, 0.17);
}

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

html {
  scroll-behavior: smooth;
}

#visionen,
#tilmelding,
#origin-title {
  scroll-margin-top: 4.5rem;
}

body {
  margin: 0;
  background: var(--stone-50);
  color: var(--charcoal-900);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--charcoal-950);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.25rem var(--page-pad);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.13);
  transition: padding 280ms ease, background 280ms ease, backdrop-filter 280ms ease;
}

.site-header.is-scrolled {
  padding-block: 0.75rem;
  background: rgba(12, 12, 11, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  font-family: var(--serif);
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  letter-spacing: -0.03em;
}

.brand > span:last-child > span {
  opacity: 0.52;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.brand-mark svg {
  width: 1.55rem;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.brand-steam {
  stroke: var(--copper-light);
  stroke-width: 1.2;
}

.header-nav {
  display: flex;
  gap: 2.3rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.header-nav a {
  position: relative;
  color: rgba(255,255,255,0.68);
  transition: color 180ms ease;
}

.header-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  background: var(--copper-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--white);
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 2.75rem;
  padding: 0.7rem 1rem 0.7rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.52);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 180ms ease, color 180ms ease, border 180ms ease;
}

.header-cta svg,
.button svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--charcoal-950);
}

.hero {
  position: relative;
  height: 100svh;
  min-height: 47rem;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--charcoal-1000);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("assets/images/herregus-hero.jpg") 54% center / cover no-repeat;
  transform: scale(1.025);
  animation: hero-image 1.6s cubic-bezier(.2,.75,.2,1) both;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9,9,8,.96) 0%, rgba(11,11,10,.88) 31%, rgba(12,12,11,.36) 61%, rgba(12,12,11,.08) 100%),
    linear-gradient(0deg, rgba(8,8,7,.76) 0%, transparent 42%);
}

.hero::after {
  content: "H";
  position: absolute;
  right: -0.03em;
  bottom: -0.28em;
  z-index: -1;
  color: transparent;
  font-family: var(--serif);
  font-size: clamp(19rem, 42vw, 43rem);
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255,255,255,0.075);
  pointer-events: none;
}

.hero-content {
  width: min(48rem, 100%);
  padding: 8.5rem var(--page-pad) 7rem;
}

.eyebrow {
  margin: 0 0 1.35rem;
  color: var(--copper-light);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.19em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.hero-kicker span + span {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255,255,255,0.54);
}

.hero-kicker span + span::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  max-width: 8ch;
  font-size: clamp(4.5rem, 9.2vw, 9rem);
  line-height: 0.79;
  letter-spacing: -0.065em;
}

h1 em,
h2 em {
  color: var(--copper-light);
  font-weight: 400;
}

.hero-lead {
  max-width: 35rem;
  margin: 2rem 0 2.3rem;
  color: rgba(255,255,255,0.69);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3.7rem;
  padding: 0.95rem 1.4rem;
  border: 0;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-copper,
.button-submit {
  background: var(--copper);
  color: var(--white);
}

.button-copper:hover,
.button-copper:focus-visible,
.button-submit:hover,
.button-submit:focus-visible {
  background: #c57f54;
}

.text-link {
  display: inline-flex;
  gap: 0.6rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.7);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: .06em;
}

.hero-index {
  position: absolute;
  right: var(--page-pad);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,.42);
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-index span:first-child {
  color: var(--copper-light);
}

.hero-index span + span::before {
  content: "·";
  margin-right: 1rem;
}

.hero-credit {
  position: absolute;
  bottom: 2rem;
  left: var(--page-pad);
  margin: 0;
  color: rgba(255,255,255,.34);
  font-size: .6rem;
  letter-spacing: .08em;
}

.section {
  padding: clamp(5.5rem, 10vw, 9.5rem) var(--page-pad);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(25,25,22,.43);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-label span:first-child {
  color: var(--copper);
}

.section-label span + span::before {
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 1px;
  margin: 0 .8rem .18rem 0;
  background: currentColor;
  opacity: .45;
}

.vision {
  display: grid;
  grid-template-columns: minmax(8rem, .45fr) minmax(0, 1.35fr) minmax(18rem, .85fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  max-width: calc(var(--content) + (2 * var(--page-pad)));
  margin: 0 auto;
}

.vision-heading h2,
.origin-copy h2,
.signup-intro h2,
.manifesto h2 {
  font-size: clamp(3rem, 5.8vw, 5.8rem);
  line-height: .93;
  letter-spacing: -.05em;
}

.eyebrow-dark {
  color: var(--copper);
}

.vision-heading h2 em,
.origin-copy h2 em {
  color: var(--copper);
}

.vision-copy {
  align-self: end;
  padding-bottom: .55rem;
}

.vision-copy p,
.origin-copy > p:not(.eyebrow) {
  color: #69675f;
  font-size: .94rem;
  line-height: 1.85;
}

.vision-copy .vision-lead,
.origin-copy .origin-lead {
  color: var(--charcoal-800);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.5;
}

.principles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle {
  position: relative;
  min-height: 22rem;
  padding: 2.5rem clamp(1.4rem, 3vw, 2.7rem) 2.8rem;
  border-right: 1px solid var(--line);
  transition: background 250ms ease, color 250ms ease;
}

.principle:last-child {
  border-right: 0;
}

.principle:hover {
  background: var(--charcoal-900);
  color: var(--white);
}

.principle-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--copper);
  font-family: var(--serif);
  font-size: .76rem;
}

.principle-icon {
  width: 3.7rem;
  height: 3.7rem;
  display: grid;
  place-items: center;
  margin-bottom: 3.8rem;
  color: var(--copper);
  border: 1px solid rgba(182,111,69,.35);
  border-radius: 50%;
}

.principle-icon svg {
  width: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.principle h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.principle p {
  margin: 0;
  color: #757168;
  font-size: .88rem;
  line-height: 1.75;
  transition: color 250ms ease;
}

.principle:hover p {
  color: rgba(255,255,255,.62);
}

.manifesto {
  position: relative;
  min-height: 42rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(6rem, 12vw, 11rem) var(--page-pad);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(182,111,69,.18), transparent 34%),
    var(--charcoal-950);
  color: var(--white);
  text-align: center;
}

.manifesto::before,
.manifesto::after {
  content: "";
  position: absolute;
  width: min(70vw, 60rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 50%;
}

.manifesto::after {
  width: min(52vw, 44rem);
}

.manifesto > * {
  position: relative;
  z-index: 1;
}

.manifesto h2 {
  max-width: 12ch;
}

.manifesto > p:last-child {
  max-width: 39rem;
  margin: 2rem 0 0;
  color: rgba(255,255,255,.56);
  font-size: .94rem;
  line-height: 1.8;
}

.signup {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(32rem, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(5.5rem, 10vw, 9rem) max(var(--page-pad), calc((100vw - var(--content)) / 2));
  overflow: hidden;
  background: #20211e;
  color: var(--white);
}

.signup::before {
  content: "";
  position: absolute;
  top: -11rem;
  left: -14rem;
  width: 33rem;
  height: 33rem;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
  box-shadow: 0 0 0 7rem rgba(255,255,255,.018), 0 0 0 14rem rgba(255,255,255,.012);
}

.signup-intro,
.form-shell {
  position: relative;
  z-index: 1;
}

.section-label-light {
  margin-bottom: 4rem;
  color: rgba(255,255,255,.35);
}

.signup-intro h2 {
  max-width: 9ch;
}

.signup-lead {
  max-width: 31rem;
  margin: 1.8rem 0 2.4rem;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  line-height: 1.75;
}

.signup-points {
  display: grid;
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.64);
  font-size: .77rem;
}

.signup-points li {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.signup-points span {
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214,155,116,.55);
  border-radius: 50%;
  color: var(--copper-light);
  font-size: .62rem;
}

.form-shell {
  padding: clamp(1.5rem, 4vw, 3.3rem);
  background: var(--stone-50);
  color: var(--charcoal-900);
  box-shadow: 0 35px 75px rgba(0,0,0,.27);
}

.form-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.form-time {
  color: #8a867c;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: none;
}

.field {
  position: relative;
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  margin-bottom: .55rem;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .015em;
}

.field label span {
  color: var(--copper);
}

.field input {
  width: 100%;
  height: 3.35rem;
  padding: 0 .9rem;
  border: 1px solid #cdc7bb;
  border-radius: 0;
  outline: none;
  background: rgba(255,255,255,.6);
  color: var(--charcoal-900);
  font-size: .91rem;
  transition: background 180ms ease, border 180ms ease, box-shadow 180ms ease;
}

.field input::placeholder {
  color: #aaa59b;
}

.field input:focus {
  border-color: var(--copper);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(182,111,69,.12);
}

.field input[aria-invalid="true"] {
  border-color: #9f443a;
}

.field-error {
  display: block;
  min-height: .95rem;
  margin-top: .35rem;
  color: #963e34;
  font-size: .69rem;
}

.consent-field {
  position: relative;
  margin: .4rem 0 1.35rem;
}

.consent-field > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consent-field > label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: #6f6c64;
  cursor: pointer;
  font-size: .73rem;
  line-height: 1.6;
}

.custom-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin-top: .08rem;
  border: 1px solid #9f9a90;
  background: var(--white);
  transition: background 180ms ease, border 180ms ease, box-shadow 180ms ease;
}

.custom-checkbox svg {
  width: .82rem;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scale(0);
  transition: transform 150ms ease;
}

.consent-field > input:checked + label .custom-checkbox {
  border-color: var(--copper);
  background: var(--copper);
}

.consent-field > input:checked + label .custom-checkbox svg {
  transform: scale(1);
}

.consent-field > input:focus-visible + label .custom-checkbox {
  box-shadow: 0 0 0 3px rgba(182,111,69,.18);
}

.consent-field > input[aria-invalid="true"] + label .custom-checkbox {
  border-color: #9f443a;
}

.honeypot {
  position: absolute;
  left: -5000px;
}

.form-status {
  margin: 0 0 1rem;
  padding: .9rem 1rem;
  font-size: .76rem;
  line-height: 1.5;
}

.form-status[data-state="error"] {
  color: #7c332b;
  background: #f0dbd4;
}

.form-status[data-state="success"] {
  color: #294f3d;
  background: #dce8df;
}

.button-submit {
  width: 100%;
}

.button-submit[aria-busy="true"] {
  cursor: wait;
  opacity: .8;
}

.button-loader {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.button-submit[aria-busy="true"] .button-loader {
  display: block;
}

.form-privacy {
  margin: .8rem 0 0;
  color: #8a867d;
  font-size: .64rem;
  line-height: 1.5;
  text-align: center;
}

.form-privacy button,
.footer-bottom button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.origin {
  display: grid;
  grid-template-columns: minmax(20rem, .9fr) minmax(0, 1fr);
  gap: clamp(4rem, 10vw, 9rem);
  align-items: center;
  max-width: calc(var(--content) + (2 * var(--page-pad)));
  margin: 0 auto;
}

.origin-image {
  position: relative;
  max-width: 35rem;
}

.origin-image::before {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  z-index: -1;
  border: 1px solid rgba(182,111,69,.38);
}

.origin-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.78) contrast(1.06);
}

.image-stamp {
  position: absolute;
  right: -2rem;
  bottom: 2rem;
  width: 5rem;
  height: 5rem;
  display: grid;
  place-content: center;
  gap: .15rem;
  border-radius: 50%;
  background: var(--charcoal-900);
  color: var(--white);
  font-family: var(--serif);
  text-align: center;
}

.image-stamp span:first-child {
  color: var(--copper-light);
  font-size: 1.25rem;
}

.image-stamp span:last-child {
  font-family: var(--sans);
  font-size: .48rem;
  letter-spacing: .14em;
}

.origin-copy .section-label {
  margin-bottom: 4rem;
}

.origin-copy h2 {
  max-width: 11ch;
  margin-bottom: 1.9rem;
}

.origin-copy > p:not(.eyebrow) {
  max-width: 36rem;
}

.saunakort-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  max-width: 26rem;
  margin-top: 2.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.saunakort-mark {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--charcoal-900);
  color: var(--stone-50);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.saunakort-link > span:nth-child(2) {
  font-family: var(--serif);
  font-size: 1.05rem;
}

.saunakort-link small {
  display: block;
  margin-bottom: .18rem;
  color: #868279;
  font-family: var(--sans);
  font-size: .61rem;
}

.external-arrow {
  color: var(--copper);
  transition: transform 180ms ease;
}

.saunakort-link:hover .external-arrow,
.saunakort-link:focus-visible .external-arrow {
  transform: translate(.15rem, -.15rem);
}

.site-footer {
  padding: clamp(3.5rem, 7vw, 6rem) var(--page-pad) 1.4rem;
  background: var(--charcoal-1000);
  color: var(--white);
}

.footer-main,
.footer-bottom {
  max-width: var(--content);
  margin-inline: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.brand-footer {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.footer-main > p {
  color: rgba(255,255,255,.42);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

.footer-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(255,255,255,.28);
  color: var(--copper-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.11);
  color: rgba(255,255,255,.38);
  font-size: .65rem;
}

.footer-bottom nav {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom a:hover,
.footer-bottom button:hover {
  color: var(--white);
}

.privacy-dialog {
  width: min(40rem, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 0;
  background: var(--stone-50);
  color: var(--charcoal-900);
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
}

.privacy-dialog::backdrop {
  background: rgba(8,8,7,.82);
  backdrop-filter: blur(5px);
}

.dialog-inner {
  position: relative;
  padding: clamp(1.6rem, 6vw, 3.8rem);
}

.dialog-inner h2 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 6vw, 3.7rem);
  line-height: .98;
  letter-spacing: -.04em;
}

.dialog-inner > p:not(.eyebrow) {
  color: #6d6960;
  font-size: .82rem;
  line-height: 1.75;
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid #cec8bc;
  border-radius: 50%;
  background: transparent;
  color: var(--charcoal-900);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.5rem;
}

.button-dialog {
  margin-top: 1rem;
  background: var(--charcoal-900);
  color: var(--white);
}

.reveal.will-reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--delay, 0ms);
}

.reveal.will-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-image {
  from { opacity: 0; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1.025); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .header-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr 1fr;
  }

  .hero-media {
    background-position: 59% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9,9,8,.96) 0%, rgba(11,11,10,.8) 48%, rgba(12,12,11,.15) 100%),
      linear-gradient(0deg, rgba(8,8,7,.74) 0%, transparent 45%);
  }

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

  .vision > .section-label {
    grid-column: 1 / -1;
    margin-bottom: 2.5rem;
  }

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

  .signup-intro {
    max-width: 40rem;
  }

  .section-label-light {
    margin-bottom: 2.8rem;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main > p {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding-top: .9rem;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .brand-mark svg {
    width: 1.3rem;
  }

  .header-cta {
    min-height: 2.5rem;
    padding-inline: .9rem;
  }

  .header-cta svg {
    display: none;
  }

  .hero {
    min-height: 44rem;
    align-items: end;
  }

  .hero-media {
    background-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(8,8,7,.98) 0%, rgba(10,10,9,.76) 52%, rgba(10,10,9,.08) 100%),
      linear-gradient(90deg, rgba(9,9,8,.72), transparent 90%);
  }

  .hero-content {
    padding-top: 8rem;
    padding-bottom: 6.5rem;
  }

  h1 {
    font-size: clamp(4.25rem, 22vw, 6rem);
  }

  .hero-lead {
    margin-block: 1.4rem 1.75rem;
    font-size: .94rem;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-index {
    display: none;
  }

  .hero-credit {
    bottom: 1.3rem;
  }

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

  .vision-heading,
  .vision-copy {
    grid-column: 1;
  }

  .vision-heading {
    margin-bottom: 2rem;
  }

  .vision-heading h2,
  .origin-copy h2,
  .signup-intro h2,
  .manifesto h2 {
    font-size: clamp(3rem, 14vw, 4.25rem);
  }

  .principles {
    grid-template-columns: 1fr;
    margin-top: 3.5rem;
  }

  .principle {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle:last-child {
    border-bottom: 0;
  }

  .principle-icon {
    margin-bottom: 2rem;
  }

  .manifesto {
    min-height: 39rem;
  }

  .manifesto::before {
    width: 38rem;
  }

  .manifesto::after {
    width: 27rem;
  }

  .signup {
    gap: 3rem;
  }

  .form-shell {
    margin-inline: -.35rem;
  }

  .form-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
  }

  .origin {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }

  .origin-image {
    width: calc(100% - 1.3rem);
  }

  .image-stamp {
    right: -1.3rem;
  }

  .origin-copy .section-label {
    margin-bottom: 2.7rem;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .footer-main {
    gap: 2.2rem;
  }

  .footer-cta {
    justify-self: start;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .footer-bottom nav {
    flex-wrap: wrap;
    gap: .9rem 1.2rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal.will-reveal {
    opacity: 1;
    transform: none;
  }
}
