:root {
  --bg: #f3efe4;
  --ink: #1b2418;
  --muted: #3e4d3b;
  --dim: #5e6d58;
  --line: rgba(27, 36, 24, 0.12);
  --leaf: #1f6b3a;
  --leaf-2: #2f8a4d;
  --sun: #e39a2b;
  --water: #1d7380;
  --soil: #8a6244;
  --card: #fffaf2;
  --danger: #8d3422;
  --pad: clamp(1.1rem, 4vw, 4rem);
  --serif: "Instrument Serif", "Noto Serif", Georgia, serif;
  --sans: Outfit, system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--bg);
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: visible;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  background:
    radial-gradient(820px 420px at 100% -8%, rgba(227, 154, 43, 0.28), transparent 58%),
    radial-gradient(680px 380px at -12% 18%, rgba(31, 107, 58, 0.1), transparent 52%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #d7ecc8;
  color: var(--ink);
}

button,
input,
textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  background: var(--leaf);
  color: #f6fff4;
  padding: 0.45rem 0.75rem;
  text-decoration: none;
}

.skip:focus { top: 0.6rem; }

.hero { position: relative; }

.globe {
  position: absolute;
  z-index: 0;
  top: -8%;
  right: -14%;
  width: min(84vw, 760px);
  height: min(84vw, 760px);
  pointer-events: none;
  opacity: 0.8;
  animation: globefloat 18s ease-in-out infinite alternate;
}

@keyframes globefloat {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-2.5%, 3%, 0); }
}

.hero__grid { position: relative; z-index: 1; }

.spot {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 78%) var(--my, 12%), rgba(227, 154, 43, 0.16), transparent 46%);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sun), var(--leaf));
  pointer-events: none;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: var(--bg);
  animation: dismiss 0.6s ease 2.2s forwards;
}

.loader.is-done {
  animation: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.loader__mark {
  width: 3px;
  height: 0;
  border-radius: 99px;
  background: linear-gradient(var(--leaf-2), var(--leaf));
  animation: rise 0.9s ease forwards;
}

.loader p {
  margin: 0;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
}

@keyframes rise { to { height: 64px; } }

@keyframes dismiss {
  to { opacity: 0; visibility: hidden; }
}

.nav,
main,
.footer { position: relative; z-index: 1; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--pad);
  background: rgba(243, 239, 228, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.logo {
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  font-size: 0.95rem;
}

.logo span { color: var(--leaf); }

.nav__links {
  display: flex;
  gap: 1.35rem;
}

.nav__links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav__links a:hover { color: var(--leaf); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.time {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--dim);
}

.time span {
  color: var(--leaf);
  margin-right: 0.3rem;
  font-weight: 500;
}

.nav__cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav__cta,
.btn--ghost {
  border: 1px solid rgba(31, 107, 58, 0.35);
  background: transparent;
  color: var(--leaf);
}

.nav__cta:hover,
.btn--ghost:hover {
  background: rgba(31, 107, 58, 0.08);
}

.btn--solid {
  border: 0;
  background: var(--leaf);
  color: #f4fff6;
}

.btn--solid:hover { background: #18562e; }

.btn:disabled { opacity: 0.65; cursor: wait; }

.wrap {
  width: min(1120px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  grid-template-areas:
    "copy scene"
    "follow scene";
  column-gap: clamp(1.8rem, 4vw, 4rem);
  row-gap: 0.35rem;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 2rem 0 3.4rem;
}

.hero__copy { grid-area: copy; }

.hero__follow { grid-area: follow; }

.kicker {
  margin: 0 0 0.85rem;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, .light h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero h1 {
  position: relative;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.hero h1 > span { display: block; }

.hero h1 em,
.pull p,
.thanks strong,
.lost h1,
.define__word,
.equation em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hero h1 em { color: var(--leaf); }

.lede {
  max-width: 40rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.65;
}

.lede em { font-style: italic; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.scene {
  grid-area: scene;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: #101612;
  box-shadow: 0 28px 70px rgba(28, 40, 24, 0.18);
}

.scene__frame {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

.scene__move {
  position: absolute;
  inset: -8%;
  transition: transform 0.7s cubic-bezier(.16, 1, .3, 1);
}

.scene__move.is-scroll { transition: none; }

.scene__move picture {
  display: block;
  width: 100%;
  height: 100%;
}

.scene__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
  transform: scale(1.06);
  animation: roomdrift 26s ease-in-out infinite alternate;
}

.scene__sheen,
.scene__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene__sheen {
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.22) 48%, transparent 60%);
  transform: translateX(-130%);
  animation: roomsheen 8.5s ease-in-out infinite;
}

.scene__shade {
  background:
    linear-gradient(180deg, rgba(16, 22, 18, 0.08), transparent 28%),
    linear-gradient(transparent 46%, rgba(8, 14, 10, 0.78));
}

.scene figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: #f3fff6;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

@keyframes roomdrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-2.2%, -1.2%, 0); }
}

@keyframes roomsheen {
  0%, 18% { transform: translateX(-130%); }
  55%, 100% { transform: translateX(130%); }
}

.band { padding: clamp(3.4rem, 7vw, 5.5rem) 0; }

.band--tight { padding-top: 0; }

h2 {
  max-width: 16ch;
  font-size: clamp(2.15rem, 4.4vw, 3.5rem);
}

.define {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.2rem;
  align-items: stretch;
  margin-top: 2rem;
}

.define article,
.phases,
.signal-form,
.thanks,
.light {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.define article { padding: 1.4rem 1.35rem 1.5rem; }

.define__word {
  margin: 0;
  color: var(--leaf);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 0.9;
}

.define__pos {
  margin: 0.55rem 0 0.8rem;
  color: var(--water);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.define article p:last-child {
  margin: 0;
  color: var(--muted);
}

.define__join {
  align-self: center;
  margin: 0;
  color: var(--sun);
  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 1;
}

.equation {
  margin: 1.8rem 0 0;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.15;
}

.equation em { color: var(--leaf); }

.origin__grid,
.status__grid,
.inquire__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: start;
}

.pull { margin: 0.2rem 0 0; }

.pull p {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.12;
}

.pull footer {
  margin-top: 0.9rem;
  color: var(--soil);
  font-family: "Noto Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
}

.lights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.light {
  padding: 1.25rem 1.2rem 1.35rem;
  border-top-width: 4px;
}

.light--water { border-top-color: var(--water); }
.light--sun { border-top-color: var(--sun); }
.light--leaf { border-top-color: var(--leaf); }
.light--soil { border-top-color: var(--soil); }

.light span {
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.light--water span { color: var(--water); }
.light--sun span { color: #a56a12; }
.light--leaf span { color: var(--leaf); }
.light--soil span { color: var(--soil); }

.light h3 {
  margin: 0.8rem 0 0.55rem;
  font-size: 1.55rem;
  font-family: var(--sans);
  font-style: normal;
}

.light p {
  margin: 0;
  color: var(--muted);
}

.quiet {
  max-width: 44rem;
  margin: 1.4rem 0 0;
  color: var(--dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

.hold__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.9fr);
  gap: clamp(1.8rem, 5vw, 4.5rem);
  align-items: center;
}

.shaft {
  justify-self: end;
  width: min(100%, 22rem);
  padding: 1.5rem 1.35rem 1.2rem 1.15rem;
  border-radius: 32px;
  background:
    radial-gradient(90% 36% at 50% 0%, rgba(227, 154, 43, 0.22), transparent 58%),
    linear-gradient(180deg, #1c2620 0%, #121814 42%, #0c100e 100%);
  color: #f4efe4;
  box-shadow: 0 28px 70px rgba(28, 40, 24, 0.22);
}

.shaft ol {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0 0.2rem 1.15rem;
  border-left: 1px solid rgba(227, 154, 43, 0.55);
}

.shaft li {
  position: relative;
  display: grid;
  gap: 0.15rem;
  padding: 0.72rem 0 0.72rem 0.85rem;
}

.shaft li::before {
  content: "";
  position: absolute;
  left: -1.15rem;
  top: 1.05rem;
  width: 7px;
  height: 7px;
  margin-left: -3px;
  border-radius: 50%;
  background: #e7c27a;
  box-shadow: 0 0 0 4px rgba(18, 24, 20, 1);
}

.shaft li:first-child::before { background: rgba(244, 239, 228, 0.35); }

.shaft li span {
  color: rgba(244, 239, 228, 0.5);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shaft li em {
  color: #f4efe4;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
}

.shaft p {
  margin: 0.85rem 0 0.15rem;
  color: rgba(244, 239, 228, 0.42);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phases {
  margin: 0;
  padding: 0.4rem 1.2rem 0.7rem;
  list-style: none;
}

.phases li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.phases li:first-child { border-top: 0; }

.phases .num,
.phases .tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.phases li.now .num,
.phases li.now .tag,
.phases li.done .tag { color: var(--leaf); }

.phases strong { font-weight: 600; }

.phases p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.signal-form,
.thanks { padding: 1.25rem 1.25rem 1.35rem; }

.field { margin-top: 1rem; }

.field label,
.pills legend {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--dim);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid rgba(27, 36, 24, 0.2);
  border-radius: 0;
  background: transparent;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--leaf);
}

::placeholder { color: rgba(94, 109, 88, 0.7); }

.pills {
  margin: 1.1rem 0 0;
  padding: 0;
  border: 0;
}

.pills div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pills label { position: relative; }

.pills input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.pills span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.85rem;
  border: 1px solid rgba(27, 36, 24, 0.16);
  border-radius: 999px;
  background: #fff;
}

.pills label:has(input:checked) span {
  background: var(--leaf);
  border-color: var(--leaf);
  color: #f4fff6;
}

.pills label:focus-within span {
  outline: 2px solid var(--leaf);
  outline-offset: 2px;
}

.signal-form .btn {
  width: 100%;
  margin-top: 1.25rem;
}

.form-error {
  margin: 0 0 0.4rem;
  color: var(--danger);
  font-size: 0.9rem;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.thanks strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--leaf);
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.thanks p { margin: 0; color: var(--muted); }

.footer {
  padding: 2.2rem var(--pad) 2rem;
  border-top: 1px solid var(--line);
  color: var(--dim);
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  align-items: end;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer small,
.footer__meta span,
.footer__meta a {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
}

.footer__meta { text-align: right; }

.footer__meta a { color: var(--leaf); }

.lost {
  display: grid;
  align-content: center;
  min-height: 100svh;
  gap: 0.8rem;
}

.lost h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--ink);
}

.gate {
  width: min(26rem, calc(100% - 2.2rem));
  min-height: calc(100svh - 68px);
  padding-bottom: 12vh;
}

.gate form { margin-top: 0.4rem; }

.gate .btn { margin-top: 1.35rem; }

.hero h1 > .sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.swap {
  display: inline-block;
  -webkit-perspective: 900px;
  perspective: 900px;
}

.swap__slot {
  display: inline-grid;
  vertical-align: baseline;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  border-bottom: 3px solid rgba(31, 107, 58, 0.35);
  animation: slotline 6.8s ease-in-out infinite;
}

.swap__sim,
.swap__cem {
  grid-area: 1 / 1;
  transform-origin: 50% 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.swap__sim { animation: simout 6.8s cubic-bezier(.65, 0, .35, 1) infinite; }

.swap__cem {
  color: var(--leaf);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  opacity: 0;
  animation: cemin 6.8s cubic-bezier(.65, 0, .35, 1) infinite;
}

.swap__note {
  position: relative;
  min-height: 1.5em;
  margin: 0.9rem 0 0;
  color: var(--leaf);
  font-weight: 500;
}

.swap__note-a,
.swap__note-b {
  display: block;
  animation: notea 6.8s ease-in-out infinite;
}

.swap__note-b {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  animation-name: noteb;
}

@keyframes simout {
  0%, 32% { opacity: 1; transform: rotateX(0deg) translate3d(0, 0, 0); }
  44%, 78% { opacity: 0; transform: rotateX(82deg) translate3d(0, -0.42em, 0); }
  90%, 100% { opacity: 1; transform: rotateX(0deg) translate3d(0, 0, 0); }
}

@keyframes cemin {
  0%, 32% { opacity: 0; transform: rotateX(-82deg) translate3d(0, 0.42em, 0) scale(0.96); text-shadow: none; }
  44% { opacity: 1; transform: rotateX(0deg) translate3d(0, 0, 0) scale(1.07); text-shadow: 0 0 26px rgba(31, 107, 58, 0.45); }
  52%, 78% { opacity: 1; transform: rotateX(0deg) translate3d(0, 0, 0) scale(1); text-shadow: none; }
  90%, 100% { opacity: 0; transform: rotateX(-82deg) translate3d(0, 0.42em, 0) scale(0.96); text-shadow: none; }
}

@keyframes simfade {
  0%, 32% { opacity: 1; }
  44%, 78% { opacity: 0; }
  90%, 100% { opacity: 1; }
}

@keyframes cemfade {
  0%, 32% { opacity: 0; }
  44%, 78% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

@keyframes slotline {
  0%, 32% { border-bottom-color: rgba(31, 107, 58, 0.35); }
  44%, 78% { border-bottom-color: var(--leaf); }
  90%, 100% { border-bottom-color: rgba(31, 107, 58, 0.35); }
}

@keyframes notea {
  0%, 32% { opacity: 1; }
  44%, 78% { opacity: 0; }
  90%, 100% { opacity: 1; }
}

@keyframes noteb {
  0%, 32% { opacity: 0; }
  44%, 78% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

.pips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.5rem;
  margin-top: 0.35rem;
}

.pips button {
  appearance: none;
  margin: 0;
  padding: 0.1rem 0;
  border: 0;
  background: transparent;
  color: rgba(27, 36, 24, 0.28);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  cursor: pointer;
}

.pips button[data-pip="water"].is-on { color: var(--water); }
.pips button[data-pip="energy"].is-on { color: #a56a12; }
.pips button[data-pip="land"].is-on { color: #6a4328; }
.pips button[data-pip="farming"].is-on { color: var(--leaf); }
.pips button[data-pip="sustain"].is-on { color: var(--soil); }

.pip-stage {
  min-height: 5.6rem;
  margin-top: 1rem;
}

.pip-stage p {
  max-width: 16ch;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  line-height: 1.15;
}

.pip-stage p.is-in {
  animation: linein 0.65s cubic-bezier(.16, 1, .3, 1);
}

@keyframes linein {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

.beats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.beats li {
  padding: 1.05rem 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.beats li:first-child { border-color: rgba(31, 107, 58, 0.4); }

.beats span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--leaf);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero__grid,
  .origin__grid,
  .status__grid,
  .inquire__grid,
  .hold__grid,
  .define { grid-template-columns: 1fr; }

  .hero__grid {
    grid-template-areas:
      "copy"
      "scene"
      "follow";
    min-height: auto;
    align-items: start;
    row-gap: 1.15rem;
  }

  .define__join { justify-self: center; }

  h2 { max-width: 18ch; }
}

@media (max-width: 860px) {
  .globe {
    top: -3%;
    right: -38%;
    width: 120vw;
    height: 120vw;
    opacity: 0.7;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
    background:
      radial-gradient(90vw 42vh at 88% 0%, rgba(227, 154, 43, 0.42), transparent 62%),
      radial-gradient(70vw 36vh at -10% 22%, rgba(31, 107, 58, 0.16), transparent 58%),
      var(--bg);
  }

  .nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: max(0.4rem, env(safe-area-inset-top)) 1rem 0.4rem;
  }

  .logo {
    flex: 0 0 auto;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .nav__links {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding: 0;
    min-width: 0;
  }

  .nav__links a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .nav__right { flex: 0 0 auto; }

  .nav__cta {
    min-height: 34px;
    padding: 0 0.7rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .time { display: none; }

  .shaft { justify-self: stretch; width: 100%; }

  .hero__grid { padding: 1.15rem 0 2.2rem; }

  .hero h1 { font-size: clamp(2.45rem, 11.4vw, 3.35rem); }

  .hero__rest { max-width: 11ch; }

  .swap__note {
    min-height: 2.8em;
    max-width: 28ch;
  }

  .swap__note-b { right: 0; }

  .scene {
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(28, 40, 24, 0.24);
  }

  .scene__frame { aspect-ratio: 4 / 5; }

  .scene__photo {
    object-position: 58% 42%;
    animation-name: roomdrift-m;
    animation-duration: 16s;
  }

  .scene__sheen { animation-duration: 6.2s; }

  .lede { font-size: 1.02rem; }

  .hero__actions .btn { flex: 1; }

  .pips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.1rem 0.8rem;
  }

  .pips button {
    min-height: 48px;
    text-align: left;
    font-size: clamp(1.9rem, 9vw, 2.45rem);
  }

  .pip-stage { min-height: 7.2rem; }

  .pip-stage p {
    max-width: 18ch;
    font-size: clamp(1.55rem, 6.4vw, 2.05rem);
  }

  .beats,
  .lights,
  .phases li { grid-template-columns: 1fr; }

  .phases .tag { justify-self: start; }

  .beats { gap: 0.65rem; }

  .beats li { font-size: 1.12rem; }

  .field input,
  .field textarea,
  .pills span { font-size: 16px; }

  .pills span { min-height: 44px; }

  .footer {
    padding-bottom: max(1.6rem, env(safe-area-inset-bottom));
  }

  .footer__grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__grid,
  .footer__meta { text-align: left; }
}

@media (max-width: 400px) {
  .nav__links { gap: 0.45rem; }
  .nav__links a,
  .nav__cta { font-size: 0.74rem; }
  .nav__cta { padding: 0 0.55rem; }
}

@keyframes roomdrift-m {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.22) translate3d(-3.2%, -2.4%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .swap__sim { animation-name: simfade; }
  .swap__cem { animation-name: cemfade; }
  .globe { animation: none; }
  .pip-stage p.is-in { animation: none; }
  .scene__photo { animation-duration: 48s; }
  .scene__sheen { animation-duration: 14s; }
  .js .reveal { opacity: 1; transform: none; }
}
