/* Homepage. Radial field, large type, alternating hardware plates. */

.hero-stage {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  background:
    radial-gradient(ellipse at 30% 38%, rgba(255, 255, 255, 0.06), transparent 42%),
    radial-gradient(ellipse at 58% 46%, #4a4a4a, #000 70%);
  overflow: hidden;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at var(--lx, 32%) var(--ly, 40%), rgba(255, 255, 255, 0.16), transparent 46%);
  pointer-events: none;
}

.wrap {
  width: min(1140px, calc(100% - 60px));
  margin: 0 auto;
}

.wrap-narrow {
  width: min(740px, calc(100% - 60px));
  margin: 0 auto;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 2rem;
  padding: calc(var(--nav-h) + 1.25rem) 0 3.5rem;
}

.kicker {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--kicker);
}

.hero-stage .kicker {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.hero-stage h1 {
  margin: 0 0 1.15rem;
  max-width: 12em;
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 4.15rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.lead {
  margin: 0 0 1rem;
  font-size: 1.175rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted);
}

.hero-stage .lead {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 1.8rem;
}

.text-link {
  color: rgba(255, 255, 255, 0.85);
  text-underline-offset: 0.28em;
}

.text-link:hover {
  color: #fff;
}

.hero-visual {
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.hero-float {
  width: min(100%, 560px);
  transform-style: preserve-3d;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 2.1rem 0 0;
  padding: 1.05rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 36rem;
}

.hero-facts li {
  display: grid;
  gap: 0.12rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}

.band {
  padding: 6.5rem 0;
  scroll-margin-top: 88px;
}

.band-ash {
  background: #f4f5f6;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  align-items: center;
}

.feature-copy {
  order: 1;
}

.feature-visual {
  order: 2;
  padding: 0.5rem 0 1rem;
}

.feature-copy h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.feature-copy .lead:last-of-type {
  margin-bottom: 0;
}

a.mark {
  color: inherit;
  text-decoration: none;
  margin-left: 0.2em;
}

a.mark:hover {
  color: var(--ink-strong);
}

.fine {
  margin: 0.9rem 0 0;
  color: var(--kicker);
  font-size: 0.9rem;
  line-height: 1.6;
}

.tier-out {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.tier-out a {
  color: var(--ink);
  text-decoration: none;
}

.tier-out a:hover {
  color: #000;
}

.frame {
  position: relative;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #111;
  aspect-ratio: 4 / 3;
  box-shadow: 0 28px 60px rgba(17, 17, 17, 0.14);
  contain: inline-size;
}

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

.frame-hero {
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  outline: 1px solid rgba(255, 255, 255, 0.14);
  transform-style: preserve-3d;
  transition: transform 0.22s var(--ease);
}

.pair {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

.frame-tall {
  aspect-ratio: 16 / 10;
}

.pair-copy {
  max-width: 40rem;
  margin-top: 1.7rem;
}

.pair-copy h2 {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.frame-wide {
  aspect-ratio: 16 / 10;
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.22) 50%, transparent 62%);
  transform: translateX(-130%);
  pointer-events: none;
}

.bleed {
  position: relative;
  min-height: min(84vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  scroll-margin-top: 88px;
}

.bleed-media,
.bleed-scrim {
  position: absolute;
  inset: 0;
}

.bleed-media img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  transform: scale(1.08);
}

.bleed-scrim {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.08) 52%, rgba(0, 0, 0, 0.2) 100%);
}

.bleed-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 3.4rem;
}

.bleed h2 {
  margin: 0 0 0.7rem;
  max-width: 12em;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.bleed .kicker,
.bleed .lead,
.bleed a.mark {
  color: rgba(255, 255, 255, 0.86);
}

.bleed a.mark:hover {
  color: #fff;
}

.use-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
}

.use-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.use-list span {
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

#access h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.tier-head h2 {
  margin: 0 0 1.6rem;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.tier {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}

.tier-name {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 400;
}

.tier-spec {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tier-price {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.15rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.tier-price span {
  font-size: 1.85rem;
  letter-spacing: -0.03em;
}

.tier-unit {
  font-size: 0.95rem;
  color: var(--muted);
}

.faq-item {
  padding: 1.3rem 0 1.15rem;
  border-top: 1px solid var(--line);
}

.faq-item h2 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.faq-item p {
  margin: 0;
}

@media (min-width: 900px) {
  .pair {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1rem;
    align-items: stretch;
  }

  .feature-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4.5rem;
  }

  .feature-row .feature-visual {
    order: 1;
  }

  .feature-row .feature-copy {
    order: 2;
  }

  .feature-row.is-flip .feature-visual {
    order: 2;
  }

  .feature-row.is-flip .feature-copy {
    order: 1;
  }
}

@media (max-width: 899px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: calc(var(--nav-h) + 2.2rem);
    padding-bottom: 2.5rem;
  }

  .hero-visual {
    order: 2;
  }

  .band {
    padding: 4.25rem 0;
  }

  .bleed {
    min-height: 72vh;
  }

  .use-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .wrap,
  .wrap-narrow,
  .footer-row {
    width: min(1140px, calc(100% - 40px));
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.will-reveal .hero-stage [data-reveal="load"]:not(.is-in) {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(6px);
  }

  html.will-reveal [data-reveal="scroll"]:not(.is-in) {
    opacity: 0;
    transform: translateY(20px);
  }

  [data-reveal] {
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
    transition-delay: var(--d, 0ms);
  }

  html.will-reveal [data-reveal].is-in {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .hero-float {
    animation: machine-float 7.5s ease-in-out infinite alternate;
  }

  .feature-visual .frame img,
  .frame-wide img,
  .pair .frame img {
    animation: ken 26s ease-in-out infinite alternate;
    transform-origin: 50% 45%;
  }

  html.will-reveal [data-reveal="scroll"]:not(.is-in) .frame,
  html.will-reveal .frame[data-reveal="scroll"]:not(.is-in) {
    clip-path: inset(10% 7%);
  }

  html.will-reveal [data-reveal].is-in .frame,
  html.will-reveal .frame[data-reveal].is-in {
    clip-path: inset(0);
    transition: clip-path 0.85s var(--ease), opacity 0.7s var(--ease), transform 0.5s var(--ease), filter 0.7s var(--ease), box-shadow 0.5s var(--ease);
  }

  html.will-reveal .frame[data-reveal].is-in {
    transition-delay: var(--d, 0ms);
  }

  html.will-reveal [data-reveal].is-in .frame::after,
  html.will-reveal .frame[data-reveal].is-in::after {
    animation: sheen 0.9s var(--ease) 0.12s both;
  }

  .feature-visual .frame:hover {
    transform: translateY(-8px);
  }
}

@keyframes machine-float {
  from { transform: translateY(8px); }
  to { transform: translateY(-10px); }
}

@keyframes ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes sheen {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}
