:root {
  --fn-orange: #ff7a1a;
  --fn-red: #e6193d;
  --fn-red-deep: #c4123a;
  --fn-ink: #161318;
  --fn-charcoal: #141217;
  --fn-charcoal-2: #1c191e;
  --fn-muted: #6d6468;
  --fn-muted-dark: #c9bec2;
  --fn-offwhite: #f5f1ec;
  --fn-paper: #fbfaf7;
  --fn-white: #ffffff;
  --fn-focus: #e6193d;
  --fn-gradient: linear-gradient(152deg, #ff8d2f 0%, #f4451c 40%, #e1173c 70%, #c91846 100%);
  --fn-gradient-deep: linear-gradient(160deg, #ff7a1a 0%, #e6193d 52%, #b10f3a 100%);
  --fn-shadow: 0 30px 70px rgba(40, 8, 18, 0.32);
  --fn-shadow-soft: 0 18px 40px rgba(28, 12, 18, 0.12);
  --fn-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fn-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fn-nav: 4.5rem;
  --fn-max: 72rem;
  --fn-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --fn-radius: 2.35rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--fn-sans);
  color: var(--fn-ink);
  background: var(--fn-paper);
  line-height: 1.5;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 200;
  background: var(--fn-white);
  color: var(--fn-ink);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.25s var(--fn-ease), filter 0.25s var(--fn-ease), background 0.25s var(--fn-ease), color 0.25s var(--fn-ease);
}

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

.btn-primary {
  background: var(--fn-white);
  color: var(--fn-red-deep);
  box-shadow: 0 12px 28px rgba(80, 10, 24, 0.18);
}

.btn-secondary {
  background: transparent;
  color: var(--fn-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-on-light {
  background: var(--fn-gradient);
  color: var(--fn-white);
  box-shadow: 0 14px 28px rgba(230, 25, 61, 0.22);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--fn-ink);
  border-color: rgba(22, 19, 24, 0.18);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.85rem;
}

.stack-cta {
  margin-top: 1.6rem;
}

/* Navigation */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--fn-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--fn-gutter);
  color: var(--fn-white);
  background: transparent;
  transition: background 0.3s var(--fn-ease), color 0.3s var(--fn-ease), box-shadow 0.3s var(--fn-ease);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav.nav-solid,
.site-nav.is-open {
  background: rgba(251, 250, 247, 0.92);
  color: var(--fn-ink);
  box-shadow: 0 1px 0 rgba(22, 19, 24, 0.06);
  backdrop-filter: blur(16px);
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 1.85rem;
  z-index: 2;
}

.nav-logo img {
  height: 1.85rem;
  width: auto;
  display: block;
}

.nav-logo .logo-on-light {
  display: none;
}

.site-nav.nav-solid .logo-on-dark,
.site-nav.is-open .logo-on-dark {
  display: none;
}

.site-nav.nav-solid .logo-on-light,
.site-nav.is-open .logo-on-light {
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 2;
}

.nav-download {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
}

.site-nav.nav-solid .nav-download,
.site-nav.is-open .nav-download {
  background: var(--fn-gradient);
  color: var(--fn-white);
  box-shadow: none;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--fn-ease);
}

.site-nav.is-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-nav.is-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-menu {
  display: none;
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-right: 1.1rem;
  }

  .nav-menu a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    opacity: 0.92;
  }

  .nav-menu a:hover {
    opacity: 1;
  }
}

@media (max-width: 759px) {
  .site-nav.is-open .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    position: fixed;
    inset: 0;
    padding: calc(var(--fn-nav) + 1.5rem) var(--fn-gutter) 2rem;
    background: var(--fn-paper);
    color: var(--fn-ink);
  }

  .nav-menu a {
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -0.03em;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--fn-white);
  background: var(--fn-gradient);
  background-size: 160% 160%;
  animation: gradient-drift 28s ease-in-out infinite alternate;
  overflow: clip;
  display: flex;
  align-items: stretch;
}

.hero-grid {
  width: min(100%, 86rem);
  margin: 0 auto;
  padding: calc(var(--fn-nav) + 2.2rem) var(--fn-gutter) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: end;
}

.hero-copy,
.hero-visual,
.story-step,
.hosts-grid > *,
.closing-grid > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
  max-width: 38rem;
}

.hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.86;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 11vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  font-weight: 700;
}

.hero-support {
  margin: 1.35rem 0 0;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 22rem;
}

.hero-lede {
  margin: 1.1rem 0 0;
  max-width: 28rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.hero .cta-row {
  margin-top: 1.75rem;
}

.hero-note {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  opacity: 0.78;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 22rem;
}

.hero-device {
  width: min(78vw, 26rem);
  transform: rotate(-8deg) translateY(8%);
  filter: drop-shadow(0 36px 50px rgba(70, 8, 22, 0.38));
  will-change: translate;
}

.hero-device .shot {
  margin: 0;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    padding-bottom: 0;
  }

  .hero-copy {
    padding-bottom: 7rem;
  }

  .hero-visual {
    min-height: calc(100vh - var(--fn-nav));
    align-items: flex-end;
    justify-content: flex-end;
  }

  .hero-device {
    width: min(42vw, 30rem);
    transform: rotate(-9deg) translate(6%, 12%);
  }
}

@keyframes gradient-drift {
  from {
    background-position: 0% 40%;
  }
  to {
    background-position: 90% 60%;
  }
}

/* Shared section layout */
.section-inner {
  width: min(100%, var(--fn-max));
  margin: 0 auto;
  padding-inline: var(--fn-gutter);
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display {
  margin: 0;
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.lede {
  margin: 1.15rem 0 0;
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  line-height: 1.55;
  max-width: 34rem;
}

.muted {
  color: var(--fn-muted);
}

.on-dark {
  color: var(--fn-white);
}

.on-dark .muted,
.on-dark .lede {
  color: var(--fn-muted-dark);
}

/* Brand statement */
.statement {
  background: var(--fn-white);
  padding: clamp(4.5rem, 12vw, 9rem) 0;
  text-align: center;
}

.statement-inner {
  width: min(100%, 48rem);
  margin: 0 auto;
  padding-inline: var(--fn-gutter);
}

.statement-lead {
  margin: 0;
  color: var(--fn-muted);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.statement h2 {
  margin: 1.1rem 0 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.statement-mark {
  margin: 2rem auto 0;
  width: fit-content;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  background: var(--fn-ink);
  color: var(--fn-white);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Product shots: device screenshots in a phone-shaped frame */
.shot {
  position: relative;
  margin: 0;
  border-radius: var(--fn-radius);
  overflow: hidden;
  background: var(--fn-gradient-deep);
  box-shadow: var(--fn-shadow);
  aspect-ratio: 9 / 19.4;
}

.shot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center top;
}

.hero-device .shot img {
  object-position: center top;
}

.shot.is-fallback {
  display: grid;
  place-items: center;
  background: var(--fn-gradient-deep);
}

.shot.is-fallback img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.shot.is-fallback::after {
  content: "";
  width: 38%;
  aspect-ratio: 2 / 3;
  background: url("/assets/brand/mark.png") center / contain no-repeat;
}

.shot-pair {
  position: relative;
  min-height: 26rem;
}

.shot-pair .shot {
  width: 58%;
}

.shot-pair .shot:first-child {
  transform: rotate(-8deg) translate(-4%, 8%);
}

.shot-pair .shot:last-child {
  position: absolute;
  right: 0;
  top: 0;
  transform: rotate(7deg);
  z-index: 1;
}

/* Story / sticky product sequence */
.story-step {
  padding: clamp(4rem, 10vw, 7.5rem) 0;
  overflow-x: clip;
}

.story-step .step-shot {
  margin-top: 2.4rem;
  width: min(100%, 24rem);
}

.story-step[data-step="find"],
.story-step[data-step="yours"] {
  background: var(--fn-offwhite);
}

.story-step[data-step="people"],
.story-step[data-step="remember"] {
  background: var(--fn-charcoal);
  color: var(--fn-white);
}

.story-step[data-step="there"] {
  background: var(--fn-paper);
}

.story-stage {
  display: none;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.pills li {
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0.78;
}

.pullquote {
  margin: 1.6rem 0 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 20ch;
}

.experience-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.experience-notes span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.62;
  margin-bottom: 0.3rem;
}

.experience-notes p {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

@media (min-width: 1080px) {
  .story {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .story-stage {
    display: flex;
    grid-column: 2;
    grid-row: 1 / span 5;
    position: sticky;
    top: 0;
    height: 100vh;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
    padding-right: var(--fn-gutter);
  }

  .story-well {
    position: relative;
    width: min(100%, 26rem);
    height: min(82vh, 46rem);
  }

  .story-shot {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s var(--fn-ease), transform 0.55s var(--fn-ease);
  }

  .story-shot.is-active {
    opacity: 1;
    transform: none;
  }

  .story-shot .shot,
  .story-shot .shot-pair {
    width: min(100%, 24rem);
  }

  .story-shot .shot-pair {
    width: min(100%, 26rem);
  }

  .story-step {
    position: relative;
    isolation: isolate;
    grid-column: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-block: 6rem;
    padding-inline: var(--fn-gutter);
  }

  .story-step::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 100vw;
    background: inherit;
    z-index: -1;
  }

  .story-step .section-inner {
    width: 100%;
    margin: 0;
    padding: 0;
    max-width: 36rem;
  }

  .story-step .step-shot {
    display: none;
  }
}

/* Gallery emphasis */
.gallery-copy .display {
  font-size: clamp(2.8rem, 8vw, 6.2rem);
}

.gallery-points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 22rem;
}

.gallery-points li {
  margin: 0.35rem 0 0;
  font-size: 1.12rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}

/* Profile */
.profile-kicker {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hosts */
.hosts {
  background: var(--fn-white);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.hosts-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hosts .shot {
  width: min(100%, 24rem);
  margin-inline: auto;
}

@media (min-width: 860px) {
  .hosts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Climax */
.climax {
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--fn-white);
  background: var(--fn-gradient-deep);
  background-size: 140% 140%;
  padding: 6rem var(--fn-gutter);
}

.climax-inner {
  transform: scale(0.97);
  opacity: 0.72;
  transition: transform 1.1s var(--fn-ease), opacity 1.1s var(--fn-ease);
}

.climax.is-visible .climax-inner,
.climax.reveal.is-visible .climax-inner {
  transform: none;
  opacity: 1;
}

.climax-logo {
  height: clamp(2.4rem, 6vw, 4.2rem);
  width: auto;
  margin: 0 auto 1.4rem;
  display: block;
}

.climax-sub {
  margin: 0;
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.climax-pill {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: var(--fn-white);
  color: var(--fn-ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Closing */
.closing {
  background: var(--fn-offwhite);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.closing-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.closing .shot {
  width: min(100%, 22rem);
  margin-inline: auto;
}

.closing .display {
  font-size: clamp(2.6rem, 6.5vw, 5.6rem);
}

.find-it {
  margin: 0.85rem 0 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.available {
  margin: 1rem 0 0;
  color: var(--fn-muted);
}

@media (min-width: 860px) {
  .closing-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Footer */
.site-footer {
  background: var(--fn-white);
  border-top: 1px solid rgba(22, 19, 24, 0.08);
  padding: 2.4rem var(--fn-gutter) 2.8rem;
}

.footer-row {
  width: min(100%, var(--fn-max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.2rem 2rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-brand img {
  height: 1.55rem;
  width: auto;
}

.footer-copy {
  margin: 0;
  color: var(--fn-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.footer-links a {
  color: var(--fn-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

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

/* Motion */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--fn-ease), transform 0.7s var(--fn-ease);
}

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

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

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

  .js .reveal,
  .climax-inner,
  .hero-device,
  .story-shot {
    opacity: 1 !important;
    transform: none !important;
    translate: 0 !important;
  }

  .btn:hover {
    transform: none;
  }
}

@media (max-width: 959px) {
  .hero {
    min-height: 0;
    overflow: visible;
  }

  .hero-grid {
    align-items: start;
    padding-bottom: 2.5rem;
  }

  .hero-copy {
    padding-bottom: 0.5rem;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-device {
    width: min(72vw, 22rem);
    transform: rotate(-6deg);
  }

  .hero .cta-row {
    flex-direction: column;
    align-items: stretch;
    max-width: 22rem;
  }
}

@media (max-width: 639px) {
  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 3.35rem);
  }

  .hero-lede {
    font-size: 0.98rem;
  }

  .hero-device {
    width: min(68vw, 18.5rem);
  }

  .experience-notes {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .shot-pair {
    min-height: 20rem;
  }
}
