:root {
  color-scheme: dark;
  --ink: #120d0c;
  --ink-soft: #1b1311;
  --paper: #f2e9dd;
  --paper-deep: #e3d6c5;
  --white: #fffaf3;
  --cream: #eaded2;
  --muted: #a99b91;
  --muted-dark: #6c5f58;
  --ember: #f47a3c;
  --ember-deep: #a63d1c;
  --peach: #ffbe83;
  --plum: #68405f;
  --line: rgba(255, 250, 243, 0.15);
  --line-dark: rgba(18, 13, 12, 0.16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --spot-x: 74%;
  --spot-y: 42%;
  --drift-x: 0px;
  --drift-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 100;
  inset: 0;
  opacity: 0.11;
  background-image:
    repeating-linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.18) 0,
      rgba(255, 255, 255, 0.18) 1px,
      transparent 1px,
      transparent 4px
    );
  content: "";
  pointer-events: none;
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 6.5rem;
  padding: 0 clamp(1.25rem, 5vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  font-size: 1rem;
  font-weight: 780;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  width: 2.2rem;
  fill: none;
  stroke: var(--peach);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.header-note,
.status,
.hero-foot,
.field-note-number,
.orbit-note {
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-note {
  margin: 0;
  color: var(--muted);
}

.status {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.7rem;
  color: var(--cream);
}

.status-dot {
  position: relative;
  width: 0.46rem;
  height: 0.46rem;
  background: var(--ember);
  border-radius: 50%;
  box-shadow: 0 0 0 0.24rem rgba(244, 122, 60, 0.12);
}

.status-dot::after {
  position: absolute;
  inset: -0.36rem;
  border: 1px solid rgba(244, 122, 60, 0.42);
  border-radius: inherit;
  content: "";
  animation: status-pulse 2.8s ease-out infinite;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr auto;
  align-items: center;
  min-height: 100vh;
  min-height: 50rem;
  padding:
    clamp(9rem, 15vh, 11rem)
    clamp(1.25rem, 7vw, 7.5rem)
    clamp(2.5rem, 5vh, 4rem);
  overflow: hidden;
  background:
    radial-gradient(
      circle at var(--spot-x) var(--spot-y),
      rgba(244, 122, 60, 0.16),
      transparent 23rem
    ),
    radial-gradient(circle at 10% 90%, rgba(104, 64, 95, 0.17), transparent 28rem),
    linear-gradient(128deg, var(--ink) 0%, #17100f 55%, #0d0908 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: 6.5rem;
  right: clamp(1.25rem, 5vw, 5.5rem);
  bottom: 0;
  left: clamp(1.25rem, 5vw, 5.5rem);
  background:
    linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.035) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(0deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.025) 50%, transparent calc(50% + 0.5px));
}

.hero::after {
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 13, 12, 0.9), transparent 58%);
}

.hero-content {
  z-index: 2;
  grid-column: 1 / span 7;
  align-self: center;
  max-width: 53rem;
  padding-bottom: 4vh;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 2rem;
  color: var(--peach);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 2.6rem;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.07em;
}

.hero h1 {
  font-size: clamp(4.6rem, 9.1vw, 9.5rem);
  line-height: 0.82;
}

.hero h1 em {
  display: block;
  color: var(--peach);
  font-weight: 400;
}

.hero-copy {
  max-width: 38rem;
  margin: clamp(2rem, 4vh, 3rem) 0 0;
  color: #d7cbc2;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
}

.notify-form {
  position: relative;
  width: min(100%, 35rem);
  margin-top: 2.2rem;
}

.notify-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  padding: 0.4rem;
  background: rgba(255, 250, 243, 0.07);
  border: 1px solid rgba(255, 250, 243, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.notify-controls:focus-within {
  background: rgba(255, 250, 243, 0.1);
  border-color: rgba(255, 190, 131, 0.68);
  box-shadow: 0 0 0 0.22rem rgba(255, 190, 131, 0.08);
}

.notify-controls input {
  min-width: 0;
  padding: 0.85rem 0.45rem 0.85rem 1rem;
  color: var(--white);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.9rem;
}

.notify-controls input::placeholder {
  color: #96877e;
}

.notify-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  min-width: 9.5rem;
  padding: 0.9rem 1.15rem 0.9rem 1.35rem;
  color: var(--ink);
  background: var(--peach);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    translate 180ms ease,
    opacity 180ms ease;
}

.notify-controls button:hover:not(:disabled) {
  background: #ffd1a6;
  translate: 0 -1px;
}

.notify-controls button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.notify-form.is-success .notify-controls {
  border-color: rgba(147, 211, 158, 0.62);
}

.notify-form.is-error .notify-controls {
  border-color: rgba(255, 132, 104, 0.75);
}

.notify-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  min-height: 1.2rem;
  margin-top: 0.75rem;
  padding: 0 0.6rem;
  color: #9e8f86;
  font-size: 0.61rem;
  line-height: 1.5;
}

.notify-meta p {
  margin: 0;
}

.notify-meta a {
  text-underline-offset: 0.2em;
}

.notify-status {
  color: var(--peach);
  font-weight: 720;
  text-align: right;
}

.form-trap {
  position: absolute;
  top: -10000px;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.atmosphere {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: clamp(-13rem, -7vw, -2rem);
  width: min(58vw, 58rem);
  aspect-ratio: 1;
  translate: var(--drift-x) calc(-50% + var(--drift-y));
  transition: translate 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.atmosphere::before {
  position: absolute;
  inset: 10%;
  background:
    radial-gradient(circle at 50% 49%, rgba(255, 190, 131, 0.08) 0 7%, transparent 8%),
    radial-gradient(circle at center, #261511 0 16%, #170f0e 40%, #0b0807 69%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    inset 0 0 8rem rgba(0, 0, 0, 0.78),
    0 5rem 10rem rgba(0, 0, 0, 0.42);
  content: "";
}

.atmosphere-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.ring-outer {
  inset: 0;
  border-color: rgba(255, 190, 131, 0.15);
  animation: orbit-turn 34s linear infinite;
}

.ring-outer::before,
.ring-outer::after {
  position: absolute;
  width: 0.46rem;
  aspect-ratio: 1;
  background: var(--peach);
  border-radius: 50%;
  box-shadow: 0 0 1.2rem rgba(255, 190, 131, 0.8);
  content: "";
}

.ring-outer::before {
  top: 12%;
  right: 23%;
}

.ring-outer::after {
  bottom: 8%;
  left: 31%;
  width: 0.25rem;
  opacity: 0.55;
}

.ring-middle {
  inset: 12%;
  border-color: rgba(255, 255, 255, 0.1);
}

.ring-inner {
  inset: 29%;
  border-color: rgba(244, 122, 60, 0.27);
  box-shadow:
    0 0 5rem rgba(244, 122, 60, 0.1),
    inset 0 0 5rem rgba(244, 122, 60, 0.08);
}

.ember,
.ember-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  translate: -50% -50%;
}

.ember {
  z-index: 2;
  width: 7%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 36% 32%, #ffe2bf, var(--ember) 42%, #9b2e16 78%);
  box-shadow:
    0 0 2rem rgba(244, 122, 60, 0.62),
    0 0 8rem rgba(244, 122, 60, 0.32);
  animation: ember-breathe 4s ease-in-out infinite;
}

.ember-glow {
  width: 28%;
  aspect-ratio: 1;
  background: rgba(244, 122, 60, 0.18);
  filter: blur(3rem);
}

.steam {
  position: absolute;
  z-index: 3;
  top: 25%;
  left: 50%;
  width: 13%;
  height: 26%;
  opacity: 0.32;
  border-left: 1px solid rgba(255, 250, 243, 0.68);
  border-radius: 50%;
  filter: blur(0.25px);
  transform-origin: bottom;
}

.steam-one {
  translate: -50% -45%;
  rotate: 13deg;
  animation: steam-rise 7s ease-in-out infinite;
}

.steam-two {
  translate: -8% -31%;
  rotate: -18deg;
  animation: steam-rise 8s ease-in-out 1.2s infinite;
}

.steam-three {
  translate: -93% -18%;
  rotate: 27deg;
  animation: steam-rise 9s ease-in-out 2.4s infinite;
}

.orbit-note {
  position: absolute;
  color: rgba(255, 250, 243, 0.44);
  white-space: nowrap;
}

.orbit-note-top {
  top: 14%;
  left: 4%;
  rotate: -32deg;
}

.orbit-note-bottom {
  right: 0;
  bottom: 24%;
  rotate: 35deg;
}

.field-note {
  z-index: 2;
  grid-column: 10 / -1;
  align-self: end;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  max-width: 19rem;
  margin-bottom: 5.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.field-note-number {
  color: var(--peach);
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.08em;
}

.field-note p {
  margin: 0 0 0.35rem;
  color: var(--cream);
  font-size: 0.71rem;
  font-weight: 790;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field-note div > span {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.35;
}

.hero-foot {
  z-index: 2;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  align-self: end;
  color: var(--muted);
}

.hero-foot p {
  margin: 0;
}

.hero-foot > span {
  height: 1px;
  background: var(--line);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 8rem;
  padding: 0 clamp(1.25rem, 5vw, 5.5rem);
  color: var(--muted);
  background: var(--ink);
  border-top: 1px solid var(--line);
  font-size: 0.65rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  color: var(--cream);
  font-size: 0.72rem;
}

.back-link {
  text-decoration: none;
}

.back-link span {
  margin-left: 0.6rem;
  color: var(--peach);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 1.5rem;
}

.footer-links > a {
  text-decoration: none;
}

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

.privacy-page {
  color: var(--ink);
  background: var(--paper);
}

.privacy-page::before {
  display: none;
}

.privacy-header {
  position: relative;
  color: var(--white);
  background: var(--ink);
}

.privacy-main {
  width: min(100% - 2.5rem, 72rem);
  margin: 0 auto;
  padding: clamp(8rem, 14vw, 12rem) 0 clamp(6rem, 10vw, 9rem);
}

.privacy-heading {
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line-dark);
}

.privacy-heading h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 8vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.privacy-heading > p:last-child {
  max-width: 40rem;
  margin: 2rem 0 0;
  color: var(--muted-dark);
  font-size: 1.05rem;
  line-height: 1.75;
}

.privacy-content {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: clamp(3rem, 8vw, 9rem);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.privacy-meta {
  color: var(--muted-dark);
  font-size: 0.69rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.privacy-meta p {
  margin: 0;
}

.privacy-sections {
  display: grid;
  gap: 3rem;
}

.privacy-sections section {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}

.privacy-sections section:last-child {
  border-bottom: 0;
}

.privacy-sections h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.privacy-sections p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.95rem;
  line-height: 1.8;
}

.privacy-sections p + p {
  margin-top: 1rem;
}

.privacy-sections a {
  color: var(--ember-deep);
}

.privacy-footer {
  color: var(--muted);
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 800ms ease,
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes status-pulse {
  0% {
    opacity: 0.8;
    scale: 0.45;
  }
  75%,
  100% {
    opacity: 0;
    scale: 1.35;
  }
}

@keyframes orbit-turn {
  to {
    rotate: 360deg;
  }
}

@keyframes ember-breathe {
  0%,
  100% {
    scale: 0.9;
  }
  50% {
    scale: 1.08;
  }
}

@keyframes steam-rise {
  0%,
  100% {
    opacity: 0.14;
    scale: 0.88 0.82;
  }
  50% {
    opacity: 0.42;
    scale: 1.08 1.14;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 54rem;
  }

  .hero-content {
    grid-column: 1 / span 8;
  }

  .atmosphere {
    right: -16rem;
    width: 47rem;
    opacity: 0.86;
  }

  .field-note {
    grid-column: 9 / -1;
  }

}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 5.5rem;
  }

  .header-note {
    display: none;
  }

  .status {
    font-size: 0.58rem;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: end;
    min-height: 100svh;
    min-height: 46rem;
    padding-top: 8rem;
  }

  .hero::before {
    top: 5.5rem;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(18, 13, 12, 0.96) 0 42%, transparent 78%);
  }

  .hero-content {
    margin-top: auto;
    padding: 15rem 0 0;
  }

  .hero h1 {
    font-size: clamp(4rem, 19vw, 6.3rem);
  }

  .hero-copy {
    max-width: 31rem;
    line-height: 1.65;
  }

  .atmosphere {
    top: 29%;
    right: -5.5rem;
    width: min(32rem, 112vw);
    opacity: 0.86;
  }

  .orbit-note {
    display: none;
  }

  .field-note {
    display: none;
  }

  .hero-foot {
    margin-top: 4rem;
    font-size: 0.54rem;
    letter-spacing: 0.1em;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    min-height: 7rem;
  }

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

  .privacy-content {
    grid-template-columns: 1fr;
  }

  .privacy-meta {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line-dark);
  }
}

@media (max-width: 430px) {
  .brand-mark {
    width: 2rem;
  }

  .hero-copy {
    font-size: 0.94rem;
  }

  .notify-controls {
    grid-template-columns: 1fr;
    padding: 0.45rem;
    border-radius: 1.4rem;
  }

  .notify-controls input {
    padding: 0.9rem 0.8rem;
    text-align: center;
  }

  .notify-controls button {
    width: 100%;
  }

  .notify-meta {
    display: block;
    text-align: center;
  }

  .notify-status {
    margin-top: 0.35rem !important;
    text-align: center;
  }

  .hero-foot p:last-child {
    display: none;
  }

  .hero-foot {
    grid-template-columns: auto 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .atmosphere {
    translate: 0 -50%;
  }
}
