/* =====================================================================
   ATRI — atrihq.com stylesheet
   ---------------------------------------------------------------------
   HOW TO TWEAK
   • Colours, fonts:   edit the variables in :root just below.
   • Text sizes:       see "TYPE" (.h-hero, .h-sec, .lede …).
   • Section spacing:  .sec { padding } (120px desktop, 80px phone).
   • Phone layout:     the @media (max-width:734px) block near the end.
   Everything else is grouped by page section, in page order.
   Fonts: the system stack, so Apple devices show SF Pro natively.
   ===================================================================== */
:root {
  --white: #ffffff;
  --gray: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --black: #000000;
  --dusk: #1d1d1f;
  --rule: #d2d2d7;
  --new: #b64400;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--white);
}
.site {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-width: 0;
}
.site a {
  color: inherit;
  text-decoration: none;
}
.site p {
  margin: 0;
}
.site h1,
.site h2,
.site h3 {
  margin: 0;
  font-weight: 600;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
}
.wide {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 22px;
}
.narrow {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 22px;
}
.center {
  text-align: center;
}
.sec {
  padding: 120px 0;
}
.sec-gray {
  background: var(--gray);
}

/* type */
.eyebrow {
  font-size: 21px;
  line-height: 1.19;
  font-weight: 600;
  letter-spacing: 0.011em;
  color: var(--ink-2);
}
.new {
  color: var(--new);
}
.h-hero {
  font-size: 80px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.h-sec {
  font-size: 56px;
  line-height: 1.07;
  letter-spacing: -0.005em;
  font-weight: 600;
}
.h-mid {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 600;
}
.h-card {
  font-size: 24px;
  line-height: 1.17;
  letter-spacing: 0.009em;
  font-weight: 600;
}
.lede {
  font-size: 21px;
  line-height: 1.38;
  letter-spacing: 0.011em;
  font-weight: 400;
  color: var(--ink);
}
.lede-2 {
  font-size: 21px;
  line-height: 1.38;
  letter-spacing: 0.011em;
  color: var(--ink-2);
}
.muted {
  color: var(--ink-2);
}
.small {
  font-size: 14px;
  line-height: 1.43;
  letter-spacing: -0.016em;
}
.tiny {
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.grad {
  color: var(--ink-2);
}
.grad b {
  color: var(--ink);
  font-weight: 600;
}

/* the mark */
.mark {
  display: block;
  width: 16px;
  height: 16px;
  color: var(--ink);
}

/* buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 980px;
  background: var(--blue);
  color: #fff !important;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 400;
  letter-spacing: -0.022em;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn:hover {
  background: var(--blue-hover);
}
.btn-sm {
  min-height: 28px;
  padding: 4px 12px;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: -0.01em;
}
.btn-ghost {
  background: transparent;
  color: var(--blue) !important;
  box-shadow: inset 0 0 0 1px var(--blue);
}
.btn-ghost:hover {
  background: var(--blue);
  color: #fff !important;
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  color: var(--link) !important;
  font-size: 17px;
  letter-spacing: -0.022em;
}
.link:hover {
  text-decoration: underline !important;
}
.link::after {
  content: "\203A";
  font-size: 1.15em;
  line-height: 1;
  margin-left: 3px;
  position: relative;
  top: -1px;
}
.link-lg {
  font-size: 21px;
  letter-spacing: 0.011em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 36px;
}
.on-dark .link {
  color: var(--link-dark) !important;
}

/* global nav (scrolls away) */
.gnav {
  position: relative;
  z-index: 40;
  height: 44px;
  background: rgba(250, 250, 252, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.gnav-in {
  max-width: 1024px;
  margin: 0 auto;
  height: 44px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.gnav-links {
  display: flex;
  flex: 1;
  justify-content: space-around;
  max-width: 640px;
  margin-left: 40px;
}
.gnav-links a {
  font-size: 12px;
  line-height: 44px;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.gnav-links a:hover,
.gnav-links a[aria-current] {
  opacity: 1;
}
.home-mark {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 8px;
  margin-left: -8px;
}
.menu-btn {
  display: none;
  background: none;
  border: 0;
  font: 400 12px/1 var(--font);
  color: var(--ink);
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  cursor: pointer;
}

/* local nav (sticks) */
.lnav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 52px;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.lnav.is-stuck {
  border-bottom-color: rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.8);
}
.lnav-in {
  max-width: 1024px;
  margin: 0 auto;
  height: 52px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lnav-title {
  font-size: 21px;
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: 0.011em;
  white-space: nowrap;
}
.lnav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.lnav-right a.lnav-link {
  font-size: 12px;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0.8;
}
.lnav-right a.lnav-link:hover,
.lnav-right a.lnav-link[aria-current] {
  opacity: 1;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 0 22px 32px;
  overflow-y: auto;
}
.overlay-top {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.overlay-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
}
.overlay-links a {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.007em;
  color: var(--ink);
}
.overlay .btn {
  margin-top: auto;
  width: 100%;
}

/* hero */
.hero {
  padding: 88px 0 0;
  text-align: center;
}
.hero .h-hero {
  max-width: 900px;
  margin: 12px auto 0;
}
.hero .lede-2 {
  max-width: 680px;
  margin: 20px auto 0;
}
.hero .actions {
  margin-top: 32px;
}
.hero-card {
  max-width: 760px;
  margin: 72px auto 0;
  padding: 0 22px;
}

/* enquiry card */
.enq {
  background: var(--white);
  border-radius: 18px;
  text-align: left;
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}
.enq-head {
  padding: 20px 28px 16px;
  border-bottom: 1px solid #e8e8ed;
  display: grid;
  gap: 4px;
}
.enq-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-2);
}
.enq-row b {
  color: var(--ink);
  font-weight: 600;
}
.enq-subj {
  font-size: 17px;
  font-weight: 600;
}
.enq-body {
  padding: 20px 28px 28px;
  font-size: 17px;
  line-height: 1.6;
  color: #333336;
}
.enq-body p + p {
  margin-top: 12px;
}
.mk {
  position: relative;
  background-image: linear-gradient(var(--blue), var(--blue));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 2px;
  animation: underline 0.5s var(--ease) forwards;
  cursor: default;
}
.mk:nth-of-type(1) {
  animation-delay: 0.7s;
}
.mk:nth-of-type(2) {
  animation-delay: 1.1s;
}
.mk:nth-of-type(3) {
  animation-delay: 1.5s;
}
.mk:nth-of-type(4) {
  animation-delay: 1.9s;
}
.mk:nth-of-type(5) {
  animation-delay: 2.3s;
}
@keyframes underline {
  to {
    background-size: 100% 2px;
  }
}
.mk::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translate(-50%, 4px);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 5px 10px;
  border-radius: 980px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.mk:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.card-note {
  margin-top: 16px;
  text-align: center;
}

/* story */
.story {
  background: var(--black);
  color: #f5f5f7;
  transition:
    background-color 0.9s var(--ease),
    color 0.9s var(--ease);
}
.story.bg-dusk {
  background: var(--dusk);
}
.story.bg-ivory {
  background: var(--white);
  color: var(--ink);
}
.story .s-sub {
  color: #a1a1a6;
  transition: color 0.9s;
}
.story.bg-ivory .s-sub {
  color: var(--ink-2);
}
.story .hl {
  font-style: normal;
  color: #f5f5f7;
  font-weight: 600;
  transition: color 0.9s;
}
.story.bg-ivory .hl {
  color: var(--ink);
}
.story .eyebrow {
  color: #a1a1a6;
  transition: color 0.9s;
}
.story.bg-ivory .eyebrow {
  color: var(--ink-2);
}
.story-open {
  padding: 120px 0 40px;
  text-align: center;
}
.story-open .h-sec {
  max-width: 820px;
  margin: 12px auto 0;
}
.story-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}
.scenes {
  display: flex;
  flex-direction: column;
}
.scene {
  min-height: min(80vh, 680px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
  opacity: 0.35;
  transition: opacity 0.6s var(--ease);
}
.scene.is-active {
  opacity: 1;
}
.scene h3 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  margin-top: 8px;
}
.scene p.s-sub {
  margin-top: 16px;
  font-size: 21px;
  line-height: 1.38;
  letter-spacing: 0.011em;
  max-width: 440px;
}
.s-clock {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: #2997ff;
  transition: color 0.9s;
}
.story.bg-ivory .s-clock {
  color: var(--new);
}
.m-stage {
  display: none;
}
.stage-col {
  position: sticky;
  top: min(12vh, 104px);
  padding: 40px 0;
}
.frame {
  background: var(--gray);
  border-radius: 28px;
  overflow: hidden;
  color: var(--ink);
}
.frame-bar {
  height: 48px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.frame-clock {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.frame-disc {
  font-size: 12px;
  font-weight: 600;
  color: var(--new);
}
.frame-body {
  position: relative;
  height: 460px;
}
.layer {
  position: absolute;
  inset: 0;
  padding: 12px 28px 28px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
  pointer-events: none;
}
.layer.on {
  opacity: 1;
  transform: none;
}
.story-close {
  padding: 120px 0;
  text-align: center;
}
.story-close .actions {
  margin-top: 28px;
}

/* bento */
.sec-head {
  margin-bottom: 56px;
}
.sec-head .lede-2 {
  max-width: 720px;
  margin-top: 16px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.tile {
  background: var(--white);
  border-radius: 28px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 340px;
}
.tile-main {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  min-height: 420px;
  padding: 56px;
}
.tile-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tile-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--new);
  letter-spacing: -0.01em;
}
.tile-name {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
}
.tile-main .tile-name {
  font-size: 56px;
  line-height: 1.07;
}
.tile-short {
  font-size: 21px;
  line-height: 1.24;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.011em;
}
.tile .body {
  color: var(--ink-2);
  margin-top: 6px;
}
.mini {
  background: var(--gray);
  border-radius: 18px;
  padding: 20px 22px;
}
.mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.mini-row:last-of-type {
  border-bottom: 0;
}
.mini-row span:first-child {
  color: var(--ink-2);
}
.mini-approve {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

/* feature grid (house rules, gulf) */
.feat-head {
  max-width: 860px;
  margin: 0 auto 56px;
  text-align: center;
}
.feat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.feat-card {
  background: var(--gray);
  border-radius: 28px;
  padding: 40px 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feat-card .num {
  font-size: 17px;
  font-weight: 600;
  color: var(--new);
}
.feat-card p {
  color: var(--ink-2);
}
.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  text-align: center;
}
.trio p.big {
  font-size: 28px;
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: 0.007em;
}

/* dark band */
.band {
  background: var(--black);
  color: #f5f5f7;
  padding: 120px 0;
  text-align: center;
}
.band .band-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 32px;
  color: #f5f5f7;
}
.band .eyebrow {
  color: #a1a1a6;
}
.band .h-sec {
  margin-top: 10px;
}
.band .lede-2 {
  color: #a1a1a6;
  max-width: 680px;
  margin: 20px auto 0;
}
.band .actions {
  margin-top: 32px;
}

/* pages */
.page-hero {
  padding: 100px 0 0;
  text-align: center;
}
.page-hero .h-hero {
  max-width: 900px;
  margin: 12px auto 0;
}
.page-hero .lede-2 {
  max-width: 700px;
  margin: 20px auto 0;
}
.page-hero .actions {
  margin-top: 32px;
}
.tl {
  background: var(--white);
  border-radius: 28px;
  padding: 8px 40px;
}
.tl-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid #e8e8ed;
  align-items: baseline;
}
.tl-row:last-child {
  border-bottom: 0;
}
.tl-day {
  font-size: 14px;
  font-weight: 600;
  color: var(--new);
}
.tl-row p {
  color: var(--ink-2);
}
.tl-note {
  margin-top: 24px;
  text-align: center;
}

/* form */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
  text-align: left;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.016em;
}
.req {
  color: var(--ink-2);
  font-weight: 400;
}
.input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #d2d2d7;
  background: #fff;
  font: 400 17px/1.24 var(--font);
  letter-spacing: -0.022em;
  color: var(--ink);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
textarea.input {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}
.input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 125, 250, 0.3);
}
.select {
  position: relative;
}
.select .input {
  padding-right: 44px;
  cursor: pointer;
}
.select svg {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--ink-2);
}
.help {
  font-size: 12px;
  line-height: 1.33;
  color: var(--ink-2);
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.43;
  color: var(--ink-2);
}
.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue);
  flex: none;
}
.consent a {
  color: var(--link);
}
.form .btn {
  align-self: center;
  margin-top: 12px;
  min-width: 240px;
}
.thanks {
  margin-top: 40px;
  padding: 48px 32px;
  background: var(--gray);
  border-radius: 28px;
  text-align: center;
}
.thanks p {
  margin-top: 12px;
}

/* faq */
.faq {
  border-top: 1px solid var(--rule);
}
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 21px;
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: 0.011em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--blue);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary svg {
  transform: rotate(45deg);
}
.faq .ans {
  padding: 0 48px 28px 0;
  color: var(--ink-2);
}

/* about */
.story-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.founders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.founder {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.photo {
  aspect-ratio: 4/3;
  background: #e8e8ed;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.founder-info {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.founder-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--new);
}
.founder-info p.bio {
  color: var(--ink-2);
  margin-top: 6px;
}
.ph {
  background: #fff4e5;
  color: var(--new);
  border-radius: 4px;
  padding: 0 4px;
}

/* footer */
.footer {
  background: var(--gray);
  padding: 20px 0 24px;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}
.footer .wrap {
  max-width: 1024px;
}
.foot-note {
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--rule);
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 20px 0 28px;
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-h {
  color: var(--ink);
  font-weight: 600;
}
.foot-col a {
  color: #424245;
}
.foot-col a:hover {
  text-decoration: underline;
}
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 12px;
  color: var(--ink);
}

/* missing */
.missing {
  min-height: min(100vh, 700px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 22px;
}
.missing .lede-2 {
  margin-top: 16px;
}
.missing .link {
  margin-top: 12px;
}

/* reveal */
.rv {
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}
.rv-on .rv:not(.in) {
  opacity: 0;
  transform: translateY(16px);
}

@media (max-width: 1068px) {
  .h-hero {
    font-size: 64px;
  }
  .h-sec {
    font-size: 48px;
  }
  .tile-main {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 833px) {
  .gnav-links {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
  }
  .lnav-right a.lnav-link {
    display: none;
  }
  .trio {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 734px) {
  .wrap,
  .wide,
  .narrow,
  .gnav-in,
  .lnav-in,
  .story-grid,
  .hero-card {
    padding-left: 16px;
    padding-right: 16px;
  }
  .sec,
  .band,
  .story-close {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .h-hero {
    font-size: 48px;
    line-height: 1.08;
  }
  .h-sec {
    font-size: 40px;
    line-height: 1.1;
  }
  .h-mid,
  .tile-name,
  .tile-main .tile-name {
    font-size: 32px;
    line-height: 1.125;
  }
  .lede,
  .lede-2,
  .eyebrow {
    font-size: 19px;
    line-height: 1.42;
  }
  .lnav-title {
    font-size: 19px;
  }
  .hero {
    padding-top: 56px;
  }
  .page-hero {
    padding-top: 64px;
  }
  .hero-card {
    margin-top: 48px;
  }
  .enq-head,
  .enq-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  .enq-body {
    font-size: 15px;
  }
  .story-open {
    padding: 80px 0 24px;
  }
  .story-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .stage-col {
    display: none;
  }
  .scene {
    min-height: 0;
    opacity: 1;
    padding: 40px 0;
  }
  .scene h3 {
    font-size: 32px;
  }
  .scene .s-clock {
    order: 0;
  }
  .scene .m-stage {
    order: 1;
  }
  .scene h3 {
    order: 2;
  }
  .scene .s-sub {
    order: 3;
  }
  .m-stage {
    display: block;
    margin: 16px 0 24px;
  }
  .m-stage .frame {
    border-radius: 18px;
  }
  .m-stage .frame-body {
    height: auto;
    min-height: 420px;
    padding: 18px 14px;
    display: flex;
    align-items: center;
  }
  .bento,
  .feat,
  .founders {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile-main {
    grid-column: auto;
    padding: 32px 24px;
    min-height: 0;
  }
  .tile,
  .feat-card {
    padding: 32px 24px;
    min-height: 0;
    border-radius: 18px;
  }
  .tl {
    padding: 4px 20px;
    border-radius: 18px;
  }
  .tl-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .thanks {
    padding: 36px 20px;
  }
  .faq summary {
    font-size: 19px;
  }
  .faq .ans {
    padding-right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  .mk {
    background-size: 100% 2px;
  }
  .rv-on .rv:not(.in) {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================================
   STORY STAGE — the little screens inside "How it works"
   Each scene's markup lives once, in index.html, inside .stage-col.
   On phones, site.js copies each scene next to its text.
   ===================================================================== */
.st {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.st-stack {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.st-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow:
    0 24px 60px -30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}
.st-stack > .st-card {
  max-width: none;
}
.st-flat {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.st-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-2);
}
.st-meta b {
  color: var(--ink);
  font-weight: 600;
}
.st-title {
  margin-top: 8px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}
.st-big {
  font-size: 24px;
  line-height: 28px;
  font-weight: 600;
}
.st-hr {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 14px 0;
}
.st-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 23px;
  color: #3a3a3d;
}
.st-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
}
.st-label.blue {
  color: var(--link);
}
.st-mark {
  border-bottom: 1.5px solid var(--blue);
}
.st-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.st-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--gray);
  font-size: 13px;
  font-weight: 600;
}
.st-chip small {
  font-size: 10px;
  font-weight: 600;
  color: var(--link);
}
.st-chip.st-missing {
  background: #fff;
  border: 1px dashed var(--blue);
  color: var(--ink-2);
}
.st-rows {
  margin-top: 16px;
}
.st-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 14px;
}
.st-row:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.st-rows.open .st-row:first-child {
  border-top: 0;
}
.st-rows.open .st-row:last-child {
  border-bottom: 0;
}
.st-dim {
  color: var(--ink-2);
}
.st-blue {
  color: var(--link);
}
.st-ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--link);
}
.st-ok svg {
  width: 12px;
  height: 12px;
}
.st-foot {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-2);
}
.st-btns {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.st-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.st-pill.dark {
  background: var(--ink);
  color: #fff;
}
.st-pill.ghost {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.st-pill.soft {
  background: var(--gray);
  color: var(--ink);
}
/* scene 3: October calendar. Bar heights are set inline in index.html */
.st-cal {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(31, minmax(0, 1fr));
  gap: 3px;
  align-items: end;
  height: 96px;
}
.st-cal i {
  display: block;
  border-radius: 3px;
  background: #d2d2d7;
}
.st-cal i.group {
  background: var(--blue);
}
.st-days {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(31, minmax(0, 1fr));
  gap: 3px;
  font-size: 9px;
  color: var(--ink-2);
  text-align: center;
}
.st-legend {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-2);
}
.st-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.st-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #d2d2d7;
}
.st-legend i.group {
  background: var(--blue);
}
/* scene 6: room-block pickup bar */
.st-pickup {
  position: relative;
  margin-top: 16px;
  height: 10px;
  border-radius: 980px;
  background: var(--gray);
}
.st-pickup .fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 980px;
  background: var(--blue);
}
.st-pickup .cutoff {
  position: absolute;
  top: -6px;
  bottom: -6px;
  width: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.st-cutoff-label {
  position: relative;
  height: 18px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-2);
}
.st-cutoff-label span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}
.st-note {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 113, 227, 0.08);
  font-size: 13px;
  line-height: 19px;
  color: var(--link);
}
/* scenes 7 and 8: side-by-side cards */
.st-pair {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.st-pair > * {
  flex: 1 1 170px;
  min-width: 0;
}
.st-memory {
  background: var(--gray);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.st-memory small {
  display: block;
  font-size: 11px;
  color: var(--ink-2);
}
.st-memory b {
  font-weight: 600;
}
.st-faded {
  opacity: 0.6;
}
.st-arrow {
  flex: 0 0 28px !important;
  width: 28px;
  height: 14px;
  margin: 0 auto;
  color: var(--blue);
}
.st-ring {
  box-shadow:
    0 24px 60px -30px rgba(0, 0, 0, 0.35),
    0 0 0 1.5px var(--blue);
}
.st-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.st-center {
  text-align: center;
  font-size: 13px;
  color: var(--ink-2);
}
.st-tag {
  align-self: center;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 980px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

/* =====================================================================
   FORM STATES
   ===================================================================== */
.overlay[hidden],
.thanks[hidden],
.form-error[hidden] {
  display: none;
}
.form-error {
  color: #b3261e;
  text-align: center;
}
.form-error a {
  color: var(--link);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: default;
}
