@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg-rgb: 248 243 234;
  --bg-tint-rgb: 231 216 194;
  --text-rgb: 34 31 27;
  --muted-rgb: 110 100 87;
  --accent-rgb: 208 138 53;
  --bg: rgb(var(--bg-rgb));
  --text: rgb(var(--text-rgb));
  --muted: rgb(var(--muted-rgb));
  --accent: rgb(var(--accent-rgb));
  --font-ui: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-lg: clamp(1.25rem, 2vw, 1.5rem);
  --fs-hero: clamp(2.25rem, 5vw, 3.5rem);
  --snow: var(--bg);
  --ice: var(--bg);
  --mist: rgb(var(--accent-rgb) / 0.18);
  --pine: var(--text);
  --ink: var(--text);
  --accent-soft: var(--accent);
  --master: rgb(var(--muted-rgb) / 0.28);
  --line: rgb(var(--text-rgb) / 0.16);
  --glass: rgb(var(--bg-rgb) / 0.72);
  --shadow-lg: 0 24px 52px rgb(var(--text-rgb) / 0.15);
  --shadow-sm: 0 10px 24px rgb(var(--text-rgb) / 0.09);
  --journey-card-width: 250px;
  --journey-card-gap: clamp(0.62rem, 1.6vw, 1.1rem);
  --bg-mid-alpha: 0.95;
  --bg-end-alpha: 0.2;
  --mountain-opacity: 0.58;
  --mountain-tint-alpha: 0.14;
  --mountain-accent-alpha: 0.28;
  --mountain-muted-alpha: 0.34;
  --mountain-ink-alpha: 0.14;
  --mist-opacity: 0.44;
  --mist-accent-alpha: 0.2;
  --ridge-saturate: 1.02;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  color: var(--ink);
  background: linear-gradient(
    180deg,
    rgb(var(--bg-rgb)) 0%,
    rgb(var(--bg-tint-rgb) / var(--bg-end-alpha)) 20%,
    rgb(var(--bg-tint-rgb) / var(--bg-end-alpha)) 100%
  );
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  isolation: isolate;
}

.atmosphere::before {
  content: "";
  position: absolute;
  left: -8vw;
  right: -8vw;
  bottom: -17vh;
  height: 75vh;
  opacity: var(--mountain-opacity);
  background:
    linear-gradient(180deg, rgb(var(--bg-rgb) / 0), rgb(var(--muted-rgb) / var(--mountain-tint-alpha))),
    radial-gradient(118% 108% at 12% 100%, rgb(var(--muted-rgb) / var(--mountain-accent-alpha)), rgb(var(--muted-rgb) / 0) 60%),
    radial-gradient(112% 106% at 52% 100%, rgb(var(--muted-rgb) / var(--mountain-muted-alpha)), rgb(var(--muted-rgb) / 0) 62%),
    radial-gradient(116% 108% at 90% 100%, rgb(var(--text-rgb) / var(--mountain-ink-alpha)), rgb(var(--text-rgb) / 0) 60%);
  clip-path: polygon(
    0% 100%,
    7% 74%,
    10% 70%,
    13% 73%,
    19% 84%,
    22% 87%,
    25% 83%,
    32% 64%,
    35% 58%,
    38% 63%,
    44% 79%,
    47% 83%,
    50% 79%,
    59% 66%,
    62% 62%,
    65% 66%,
    71% 77%,
    74% 80%,
    77% 76%,
    85% 65%,
    88% 60%,
    91% 65%,
    100% 74%,
    100% 100%
  );
  z-index: 2;
  filter: blur(0.75px) saturate(var(--ridge-saturate));
  animation: ridgeShift 28s ease-in-out infinite alternate;
}

.atmosphere::after {
  content: "";
  position: absolute;
  left: -10vw;
  right: -10vw;
  bottom: 8vh;
  height: 24vh;
  opacity: var(--mist-opacity);
  background:
    radial-gradient(120% 100% at 50% 100%, rgb(var(--bg-rgb) / 0.78), rgb(var(--bg-rgb) / 0)),
    radial-gradient(120% 100% at 50% 102%, rgb(var(--accent-rgb) / var(--mist-accent-alpha)), rgb(var(--accent-rgb) / 0) 64%);
  z-index: 1;
  filter: blur(22px);
  animation: mistDrift 18s ease-in-out infinite;
}

.aurora {
  position: absolute;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.62;
  animation: drift 16s ease-in-out infinite;
}

.aurora-a {
  width: 58vw;
  height: 42vw;
  left: -9vw;
  top: -14vw;
  background: radial-gradient(circle at 58% 48%, rgb(var(--accent-rgb) / 0.26), rgb(var(--accent-rgb) / 0));
}

.aurora-b {
  width: 54vw;
  height: 44vw;
  right: -6vw;
  top: 10vh;
  background: radial-gradient(circle at 44% 50%, rgb(var(--accent-rgb) / 0.2), rgb(var(--accent-rgb) / 0));
  animation-duration: 19s;
  animation-delay: -4s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(rgb(var(--text-rgb) / 0.14) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 2.4rem));
  margin-inline: auto;
  padding-top: 5.1rem;
}

.topbar {
  margin-top: 0;
  padding: 0.54rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  background: var(--glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  position: fixed;
  top: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1040px, calc(100% - 2.4rem));
  z-index: 40;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 30px;
  object-fit: contain;
  display: block;
  margin-right: -0.34rem;
}

@media (min-width: 981px) {
  .brand-mark {
    width: 46px;
    height: 38px;
  }
}

.brand span {
  display: inline-block;
  color: var(--pine);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.chip {
  padding: 0.36rem 0.62rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--pine);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, filter 180ms ease;
}

.chip:hover {
  transform: translateY(-1px);
  background: rgb(var(--bg-rgb) / 0.86);
}

.chip-solid {
  border-color: rgb(var(--accent-rgb) / 0.44);
  color: rgb(var(--bg-rgb) / 0.98);
  background: linear-gradient(180deg, rgb(var(--accent-rgb) / 0.92), rgb(var(--accent-rgb) / 0.78));
  box-shadow:
    0 10px 22px rgb(var(--accent-rgb) / 0.26),
    inset 0 1px 0 rgb(var(--bg-rgb) / 0.36);
}

.chip-solid:hover {
  transform: translateY(-1px);
  filter: brightness(1.02) saturate(1.06);
  background: linear-gradient(180deg, rgb(var(--accent-rgb) / 0.94), rgb(var(--accent-rgb) / 0.8));
  box-shadow:
    0 13px 26px rgb(var(--accent-rgb) / 0.3),
    inset 0 1px 0 rgb(var(--bg-rgb) / 0.42);
}

.chip-solid:active {
  transform: translateY(0);
  box-shadow:
    0 6px 14px rgb(var(--accent-rgb) / 0.24),
    inset 0 1px 0 rgb(var(--bg-rgb) / 0.3);
}

.chip-solid:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgb(var(--accent-rgb) / 0.2),
    0 10px 22px rgb(var(--accent-rgb) / 0.26),
    inset 0 1px 0 rgb(var(--bg-rgb) / 0.36);
}

.hero {
  min-height: calc(84svh - 110px);
  padding-block: 7.2rem 6.8rem;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  gap: clamp(1.6rem, 4.8vw, 4.8rem);
  align-items: center;
}

.hero-copy {
  padding-inline-start: clamp(1rem, 2.2vw, 2rem);
}

.eyebrow {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--pine);
  font-weight: 600;
}

.title-mobile {
  display: none;
}

h1 {
  font-size: var(--fs-hero);
  line-height: 1.06;
  max-width: 12ch;
  text-wrap: balance;
}

.hero-copy h1 {
  max-width: none;
  white-space: nowrap;
}

.lead {
  margin: 0.9rem 0 0;
  max-width: 34ch;
  line-height: 1.7;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.hero-cta {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0.54rem 0.96rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--bg);
  background: linear-gradient(132deg, rgb(var(--accent-rgb) / 0.98) 0%, rgb(var(--accent-rgb) / 0.78) 100%);
  box-shadow: 0 10px 22px rgb(var(--accent-rgb) / 0.28);
}

.btn-ghost {
  color: var(--pine);
  border-color: var(--line);
  background: rgb(var(--bg-rgb) / 0.7);
}

.hero-visual {
  --mx: 0;
  --my: 0;
  position: relative;
  width: min(620px, 100%);
  min-height: min(520px, 68vh);
  margin-block: clamp(0.85rem, 2.2vh, 1.45rem);
  isolation: isolate;
  justify-self: end;
}

.journey-sun {
  position: absolute;
  left: 18vw;
  right: auto;
  top: 12vh;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgb(var(--bg-rgb) / 0.95), rgb(var(--accent-rgb) / 0.82) 58%, rgb(var(--accent-rgb) / 0) 100%);
  box-shadow: 0 0 26px rgb(var(--accent-rgb) / 0.35);
  animation: sunBreathe 4.5s ease-in-out infinite;
  z-index: 0;
  will-change: transform, opacity, box-shadow;
}

.journey-sun::after {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 999px;
  background: radial-gradient(circle, rgb(var(--accent-rgb) / 0.3) 0%, rgb(var(--accent-rgb) / 0) 72%);
  opacity: 0.36;
  animation: sunHalo 4.5s ease-in-out infinite;
  pointer-events: none;
}

.journey-trail {
  position: absolute;
  left: 52%;
  top: 12%;
  bottom: 16%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgb(var(--bg-rgb) / 0) 0%,
    rgb(var(--accent-rgb) / 0.38) 22%,
    rgb(var(--accent-rgb) / 0.12) 72%,
    rgb(var(--bg-rgb) / 0) 100%
  );
  filter: blur(0.6px);
  animation: trailGlow 9s ease-in-out infinite;
}

.halo {
  position: absolute;
  width: min(320px, 92%);
  aspect-ratio: 1;
  left: 50%;
  top: 2%;
  border-radius: 999px;
  transform: translate(-50%, 0) translate3d(calc(var(--mx) * -0.9px), calc(var(--my) * -0.9px), 0);
  background: radial-gradient(circle, rgb(var(--accent-rgb) / 0.16) 0%, rgb(var(--bg-rgb) / 0) 68%);
  filter: blur(4px);
}

.preview-stack {
  --base-x: 0px;
  position: absolute;
  width: var(--journey-card-width);
  right: 2%;
  top: 50%;
  bottom: auto;
  display: grid;
  justify-items: center;
  gap: 0.48rem;
  transform: translateX(var(--base-x)) translateY(-50%);
}

.preview-feature {
  width: 100%;
  margin: 0;
  aspect-ratio: 9 / 16;
  position: relative;
  border-radius: 20px;
  border: 1px solid rgb(var(--text-rgb) / 0.16);
  background: rgb(var(--bg-rgb) / 0.6);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: floatCard 9s ease-in-out infinite;
}

.mobile-hero-shift {
  display: none;
}

.profile.profile-mobile-hero {
  display: none;
}

.preview-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg);
}

.begin-orb {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: rgb(var(--muted-rgb) / 0.96);
  background: rgb(var(--bg-rgb) / 0.5);
  z-index: 1;
  isolation: isolate;
}

.begin-orb::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgb(var(--bg-rgb) / 0.5);
  z-index: -1;
  pointer-events: none;
  animation: speechAuraPulse 9s ease-in-out infinite;
}

.preview-caption {
  position: static;
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-align: center;
}

.journey-strip {
  margin-top: 0.1rem;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  position: relative;
  color: var(--muted);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journey-strip::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgb(var(--text-rgb) / 0.18),
    rgb(var(--accent-rgb) / 0.34),
    rgb(var(--text-rgb) / 0.18)
  );
  transform: translateY(-50%);
}

.journey-strip span {
  position: relative;
  z-index: 1;
  background: rgb(var(--bg-rgb) / 0.86);
  padding: 0 0.25rem;
}

.journey-strip span:nth-child(2) {
  color: var(--accent-soft);
}

.profile {
  margin-top: clamp(3.2rem, 8vh, 6rem);
  display: grid;
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3rem);
}

.profile-sam {
  grid-template-columns: var(--journey-card-width) minmax(280px, 40ch);
  align-items: center;
  justify-content: center;
}

.profile-master {
  margin-top: clamp(4.4rem, 10vh, 7.2rem);
  grid-template-columns: minmax(280px, 34ch) auto;
  align-items: center;
  justify-content: center;
}

.profile-visual {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  width: var(--journey-card-width);
  background: rgb(var(--bg-rgb) / 0.65);
  border: 1px solid rgb(var(--text-rgb) / 0.12);
  box-shadow: var(--shadow-lg);
  animation: floatCard 9s ease-in-out infinite;
}

.profile-sam .profile-visual {
  justify-self: start;
}

.profile-sam .profile-copy {
  justify-self: end;
  text-align: right;
}

.profile-sam .profile-copy h3,
.profile-sam .profile-copy p {
  max-width: 100%;
  margin-left: auto;
}

.profile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-copy {
  max-width: 40ch;
}

.profile-copy h3 {
  margin: 0 0 0.52rem;
  font-size: var(--fs-lg);
  line-height: 1.12;
}

.profile-copy p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.72;
  color: var(--muted);
  max-width: 38ch;
}

.profile-master .profile-copy {
  justify-self: start;
  max-width: 34ch;
  text-align: left;
}

.profile-visual-group {
  width: fit-content;
  max-width: 100%;
  justify-self: end;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, var(--journey-card-width));
  gap: var(--journey-card-gap);
}

.master-card {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid rgb(var(--text-rgb) / 0.12);
  background: rgb(var(--bg-rgb) / 0.65);
  box-shadow: var(--shadow-lg);
  animation: floatCard 9s ease-in-out infinite;
}

.master-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (min-width: 768px) {
  .preview-feature,
  .profile-visual,
  .master-card {
    opacity: 0;
    visibility: hidden;
    animation: none;
    transition: opacity 1000ms ease;
  }

  .preview-feature.is-loaded,
  .profile-visual.is-loaded,
  .master-card.is-loaded {
    opacity: 1;
    visibility: visible;
  }
}

.waitlist {
  margin: clamp(3.8rem, 8vh, 5.4rem) auto 3.8rem;
  max-width: min(940px, 100%);
  min-height: clamp(370px, 40vw, 430px);
  padding: clamp(1.2rem, 2.2vw, 1.75rem) clamp(1.05rem, 2.1vw, 1.65rem);
  border: 1px solid rgb(var(--text-rgb) / 0.13);
  border-radius: 22px;
  background: rgb(var(--bg-rgb) / 0.52);
  backdrop-filter: blur(18px) saturate(1.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.04);
  box-shadow:
    0 14px 34px rgb(var(--text-rgb) / 0.1),
    inset 0 1px 0 rgb(var(--bg-rgb) / 0.82);
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(1.05rem, 2.2vw, 1.7rem);
  align-items: stretch;
}

.waitlist h2 {
  margin-top: 0.14rem;
  font-size: var(--fs-lg);
  line-height: 1.16;
}

.waitlist p {
  max-width: 60ch;
  margin: 0.3rem auto 0.42rem;
  color: var(--muted);
  line-height: 1.45;
  font-size: var(--fs-sm);
}

.waitlist-copy {
  width: 100%;
  max-width: 30ch;
  justify-self: center;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waitlist-copy .eyebrow {
  margin-bottom: 0.3rem;
}

.waitlist-form {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto auto auto 1fr auto auto auto;
  gap: 0.5rem;
  min-height: 100%;
}

.field {
  display: grid;
  gap: 0.24rem;
}

.field span {
  font-weight: 600;
  font-size: var(--fs-xs);
  color: rgb(var(--text-rgb) / 0.7);
  letter-spacing: 0.03em;
}

.field em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.68;
}

.field input {
  width: 100%;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgb(var(--text-rgb) / 0.15);
  background: rgb(var(--bg-rgb) / 0.76);
  color: var(--pine);
  font: inherit;
  font-size: var(--fs-sm);
  padding: 0.52rem 0.68rem;
  outline: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.field input::placeholder {
  color: rgb(var(--muted-rgb) / 0.56);
}

.field input:focus {
  border-color: rgb(var(--accent-rgb) / 0.46);
  background: rgb(var(--bg-rgb) / 0.9);
  box-shadow: 0 0 0 2px rgb(var(--accent-rgb) / 0.15);
}

.waitlist-form .field:nth-of-type(1) {
  grid-row: 2;
}

.waitlist-form .field:nth-of-type(2) {
  grid-row: 3;
}

.waitlist-form .field:nth-of-type(3) {
  grid-row: 4;
}

.waitlist-form .btn {
  grid-row: 6;
  margin-top: 0;
  align-self: flex-start;
  min-width: 182px;
  min-height: 40px;
  padding: 0.48rem 0.9rem;
}

.waitlist-form .btn-primary {
  border-color: rgb(var(--accent-rgb) / 0.44);
  background: linear-gradient(180deg, rgb(var(--accent-rgb) / 0.92), rgb(var(--accent-rgb) / 0.78));
  box-shadow:
    0 10px 24px rgb(var(--accent-rgb) / 0.26),
    inset 0 1px 0 rgb(var(--bg-rgb) / 0.36);
  color: rgb(var(--bg-rgb) / 0.98);
  letter-spacing: 0.005em;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.waitlist-form .btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.02) saturate(1.06);
  box-shadow:
    0 13px 28px rgb(var(--accent-rgb) / 0.3),
    inset 0 1px 0 rgb(var(--bg-rgb) / 0.42);
}

.waitlist-form .btn-primary:active {
  transform: translateY(0);
  box-shadow:
    0 6px 14px rgb(var(--accent-rgb) / 0.24),
    inset 0 1px 0 rgb(var(--bg-rgb) / 0.3);
}

.waitlist-form .btn-primary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgb(var(--accent-rgb) / 0.2),
    0 10px 24px rgb(var(--accent-rgb) / 0.26),
    inset 0 1px 0 rgb(var(--bg-rgb) / 0.36);
}

.waitlist-form .btn[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.form-note {
  grid-row: 8;
  align-self: end;
  margin: 0;
  padding-top: 0.16rem;
  font-size: var(--fs-xs);
  color: rgb(var(--muted-rgb) / 0.82);
}

.form-message {
  grid-row: 7;
  align-self: end;
  margin: 0;
  min-height: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
}

.form-message:not(:empty) {
  min-height: 1.1rem;
}

.form-message.is-success {
  color: var(--accent);
}

.form-message.is-error {
  color: var(--text);
}

.footer {
  padding: 3rem 0 2.2rem;
  text-align: center;
  color: rgb(var(--muted-rgb) / 0.88);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(2.2vw, 1.8vh, 0) scale(1.06);
  }
}

@keyframes breath {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.038);
  }
}

@keyframes ridgeShift {
  0% {
    transform: translateX(-1vw) translateY(0);
  }
  100% {
    transform: translateX(1.2vw) translateY(-1.2vh);
  }
}

@keyframes mistDrift {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.42;
  }
  50% {
    transform: translateX(2.4vw);
    opacity: 0.54;
  }
}

@keyframes sunBreathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.93;
    box-shadow: 0 0 24px rgb(var(--accent-rgb) / 0.31);
  }
  50% {
    transform: scale(1.072);
    opacity: 1;
    box-shadow: 0 0 46px rgb(var(--accent-rgb) / 0.56);
  }
}

@keyframes sunHalo {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.58;
  }
}

@keyframes trailGlow {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes speechAuraPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.6);
    opacity: 0.1;
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@media (max-width: 980px) and (min-width: 768px) {
  :root {
    --journey-card-width: 210px;
  }

  .site-shell {
    width: min(1100px, calc(100% - 1.4rem));
  }

  .topbar {
    width: min(1100px, calc(100% - 1.4rem));
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 4.6rem;
    gap: 2rem;
  }

  .hero-copy {
    text-align: center;
    padding-inline-start: 0;
  }

  .hero-copy h1 {
    max-width: 12ch;
    white-space: normal;
  }

  h1,
  .lead {
    margin-inline: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    width: min(520px, 100%);
    min-height: min(380px, 56vh);
    margin-block: clamp(1rem, 2.6vh, 1.7rem);
    justify-self: center;
  }

  .journey-sun {
    left: 16vw;
    right: auto;
    top: 11vh;
  }

  .preview-stack {
    right: 50%;
    --base-x: 50%;
    width: var(--journey-card-width);
  }

  .preview-caption {
    white-space: nowrap;
  }

  .journey-strip {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    width: max-content;
  }

  .profile,
  .profile-sam,
  .profile-master {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .profile-copy,
  .profile-master .profile-copy {
    max-width: 44ch;
    margin-inline: auto;
    text-align: center;
  }

  .profile-sam .profile-copy {
    text-align: right;
  }

  .profile-sam .profile-visual,
  .profile-visual-group {
    justify-self: center;
  }

  .profile-visual-group {
    width: fit-content;
    max-width: 100%;
  }

  .waitlist {
    grid-template-columns: 1fr;
    max-width: min(720px, 100%);
    align-items: start;
  }

  .waitlist-copy {
    max-width: 44ch;
    padding-right: 0;
  }

  .waitlist-form .btn {
    align-self: stretch;
    min-width: 0;
  }
}

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

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

@media (max-width: 640px) {
  .topbar {
    padding: 0.64rem 0.7rem;
    gap: 0.56rem;
  }

  .brand span {
    display: inline-block !important;
    letter-spacing: 0.12em;
  }

  .top-actions {
    gap: 0.45rem;
  }

  .chip {
    padding: 0.34rem 0.58rem;
    letter-spacing: 0.06em;
  }
}
