body.quittr { --page: #000; --fg: #fff; --soft: rgba(255,255,255,.58); --line: rgba(255,255,255,.12); }

/* ---------- Hero ---------- */
.q-hero { background: #000; view-transition-name: quittr; }
.q-icon { view-transition-name: quittr-icon; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.q-icon img { width: 100%; height: 100%; }
.q-wordmark { display: block; width: 96px; height: auto; filter: brightness(0) invert(1); margin-bottom: 6px; }

.q-stage { position: absolute; z-index: 1; right: -5%; bottom: 0; height: 82%; aspect-ratio: 1200 / 1168; max-width: 48%; }
.q-stage img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: right bottom; }
.q-glow {
  position: absolute; z-index: 0; left: 23%; top: 33%; width: 78%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: conic-gradient(from 0deg, #2f6bff, #22c3ee, #5b5bff, #8a5cff, #1fb8a6, #2f6bff);
  filter: blur(80px) saturate(1.1); opacity: .32;
  animation: orb 18s linear infinite, orb-breathe 6s ease-in-out infinite alternate;
}
@keyframes orb { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes orb-breathe { from { opacity: .2; } to { opacity: .38; } }
.q-glow2 {
  position: absolute; z-index: 0; left: 24%; top: 36%; width: 62%; aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background:
    radial-gradient(40% 40% at 30% 35%, rgba(70, 90, 255, .8), transparent 70%),
    radial-gradient(38% 38% at 70% 30%, rgba(34, 195, 238, .6), transparent 70%),
    radial-gradient(40% 40% at 55% 72%, rgba(120, 80, 255, .6), transparent 70%);
  filter: blur(60px); opacity: .3;
  animation: drift 11s ease-in-out infinite alternate;
}
@keyframes drift {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  50% { transform: translate(-46%, -54%) rotate(-40deg) scale(1.12); }
  100% { transform: translate(-54%, -47%) rotate(-90deg) scale(.95); }
}

.q-headline { position: relative; z-index: 2; margin-top: auto; display: flex; align-items: flex-end; gap: clamp(36px, 3.4vw, 56px); }
.q-headline h1 { margin: 0; font-weight: 500; flex: none; }
.q-num { display: block; font-size: clamp(120px, 15vw, 240px); line-height: .78; letter-spacing: -.075em; margin-left: -.04em; }
.q-unit { display: block; margin-top: clamp(16px, 2vw, 24px); font-size: clamp(20px, 2vw, 28px); letter-spacing: -.035em; line-height: 1.1; }
.q-when { display: block; margin-top: 6px; font-size: 15px; letter-spacing: -.01em; color: var(--soft); font-weight: 400; }
.q-lede { max-width: 29ch; padding-bottom: 2px; }
.q-lede p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--soft); }
.q-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  height: 42px; padding: 0 14px 0 18px; border-radius: 99px;
  background: #fff; color: #000; font-size: 14px; font-weight: 500;
  transition: transform .3s var(--ease), background .2s;
}
.q-cta:hover { transform: translateY(-1px); background: #e9e9ee; }
.q-cta svg { width: 16px; height: 16px; }

/* ---------- Facts ---------- */
.q-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: clamp(56px, 7vw, 96px); }
.q-facts > div { padding: 4px clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.q-facts > div:first-child { border-left: 0; padding-left: 0; }
.q-facts strong { display: block; font-size: clamp(40px, 5vw, 68px); line-height: .9; font-weight: 500; letter-spacing: -.06em; }
.q-facts span { display: block; margin-top: 12px; max-width: 36ch; text-wrap: balance; font-size: 15px; line-height: 1.4; color: var(--soft); }
.q-facts small { display: block; margin-top: 4px; font-size: 12px; opacity: .7; }
.q-facts strong { display: flex; align-items: flex-end; gap: .14em; }
.q-facts .crown { width: .95em; height: auto; margin-bottom: .1em; filter: drop-shadow(0 0 14px rgba(245, 196, 81, .45)); }
.q-facts .nowrap { display: inline; white-space: nowrap; margin: 0; font-size: inherit; color: inherit; }
.q-facts .star { display: inline-block; width: 1em; height: 1em; vertical-align: -.12em; color: #f5c451; }

/* ---------- Tour ---------- */
.tour { position: relative; height: calc(100vh + (var(--n) - 1) * 36vh); }
.tour-pin {
  position: sticky; top: 0; height: 100vh;
  width: min(1180px, calc(100% - 48px)); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
}
.tour-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; max-width: 420px; }
.tour-head h2 { margin: 0; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.05; font-weight: 500; letter-spacing: -.045em; }
.tour-count { margin: 0; color: var(--soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.tour-count b { color: var(--fg); font-weight: 400; }
.tour-list { list-style: none; margin: 0; padding: 0; max-width: 420px; }
.tour-list li { border-top: 1px solid var(--line); }
.tour-list li:last-child { border-bottom: 1px solid var(--line); }
.tour-list button {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font-size: 19px; letter-spacing: -.025em; color: var(--soft); transition: color .25s;
}
.tour-list button:hover, .tour-list button[aria-selected="true"] { color: var(--fg); }
.tour-dot { width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; flex: none; transition: background .25s; }
[aria-selected="true"] .tour-dot { background: currentColor; }
.tour-desc {
  margin: 22px 0 0; max-width: 36ch; min-height: 4.8em;
  font-size: 16px; line-height: 1.5; color: var(--soft);
  animation: desc-in .4s ease both;
}
@keyframes desc-in { from { opacity: 0; } to { opacity: 1; } }
.tour-list button { padding: 11px 0; font-size: 18px; }

.tour-stage {
  position: relative; height: min(86vh, 860px); overflow: hidden;
  display: flex; justify-content: center; padding-top: 4vh;
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent);
}
.tour-stage::before {
  content: ''; position: absolute; left: 50%; top: 34%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(123, 77, 255, .5), rgba(255, 45, 111, .18) 60%, transparent);
  filter: blur(30px);
}
.tour-phone {
  position: relative; flex: none; align-self: flex-start;
  width: min(410px, 32vw);
  padding: 3.4%; border-radius: 15% / 7%; background: #000;
  box-shadow: 0 0 0 1.5px #6a6a70, 0 0 0 4px #1d1d20, 0 0 0 5px #46464c, 0 50px 120px -20px rgba(0,0,0,.9);
}
/* Screen is exactly the screenshot's shape (1206 x 2622) so nothing gets cropped */
.tour-screen { position: relative; width: 100%; aspect-ratio: 1206 / 2622; border-radius: 12.4% / 5.8%; overflow: hidden; background: #000; touch-action: pan-y; }
/* Dynamic Island, matched to where iOS draws it in the Panic Button capture */
.tour-island {
  position: absolute; z-index: 2; pointer-events: none;
  left: 34.41%; top: 1.6%; width: 31.18%; height: 4.2%;
  border-radius: 999px; background: #000;
}
.tour-screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transform: translateY(7%) scale(.985);
  transition: opacity .35s ease, transform .6s var(--ease);
}
.tour-screen img.is-before { transform: translateY(-7%) scale(.985); }
.tour-screen img.is-active { opacity: 1; transform: none; }

/* ---------- Orbs ---------- */
.orbs-copy { text-align: center; }
.orbs-copy h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.orbs-copy p { margin: 16px auto 0; max-width: 44ch; color: var(--soft); font-size: 16px; line-height: 1.55; }
.orbit { position: relative; height: clamp(440px, 50vw, 620px); margin-top: clamp(16px, 3vw, 40px); overflow-x: clip; overflow-y: visible; }
.orbit-halo {
  position: absolute; left: 50%; top: 46%; width: min(56vw, 640px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ff2d6f, #ff9a3d, #ffe25c, #3dffb0, #31b8ff, #7b4dff, #ff2d6f);
  filter: blur(120px); opacity: .32; animation: halo-spin 24s linear infinite;
}
@keyframes halo-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbit-ring {
  position: absolute; left: 50%; top: 52%; width: min(84vw, 980px); aspect-ratio: 1 / .32; transform: translate(-50%, -50%);
  border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07);
}
.orbit-core { position: absolute; z-index: 50; left: 50%; top: 44%; width: clamp(180px, 22vw, 290px); margin: 0; transform: translate(-50%, -50%); text-align: center; }
.orbit-core img { display: block; width: 100%; height: auto; animation: spin 2.5s linear infinite; filter: drop-shadow(0 0 40px rgba(123, 77, 255, .45)); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit figcaption { margin-top: 10px; font-size: 15px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.orbit figcaption span { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--soft); }
.orbit-orb { position: absolute; left: 50%; top: 52%; width: clamp(96px, 11vw, 150px); margin: 0; transform: translate(-50%, -50%); will-change: transform, opacity; }
.orbit-orb img { display: block; width: 100%; height: auto; }
.orbit-orb figcaption { position: absolute; left: 50%; top: 100%; margin-top: 2px; transform: translateX(-50%); text-align: center; opacity: 0; transition: opacity .4s; }
.orbit-orb.is-front figcaption { opacity: 1; }

/* ---------- Logo animation ---------- */
.q-logo { --w: 120px; position: relative; display: block; width: var(--w); height: calc(var(--w) * .46); margin-bottom: 6px; }
.hero-id p .q-logo, .hero-id p .q-logo-stage { opacity: 1; }
.q-logo .q-wordmark { width: 100%; height: 100%; object-fit: contain; margin: 0; }
.q-logo-stage { position: absolute; width: calc(var(--w) * 1.08); aspect-ratio: 1; left: calc(var(--w) * -.04); top: calc(var(--w) * 1.08 * -.287); pointer-events: none; }
.q-logo.is-anim .q-wordmark { visibility: hidden; }

/* ---------- Phones in a row ---------- */
.strip-head { padding-top: clamp(72px, 10vw, 128px); margin-bottom: 28px; text-align: center; }
.strip-head h2 { margin: 0; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.05; font-weight: 500; letter-spacing: -.045em; }
.strip-head + .q-strip { margin-top: 0; }
.q-strip {
  margin-top: clamp(40px, 6vw, 80px);
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.q-strip::-webkit-scrollbar { display: none; }
.q-strip.is-dragging { cursor: grabbing; }
.q-strip img { height: clamp(320px, 40vw, 560px); width: auto; max-width: none; user-select: none; -webkit-user-drag: none; }

/* ---------- Panic spotlight ---------- */
.q-spot { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.spot-copy h2 { margin: 0; font-size: clamp(34px, 4.6vw, 60px); line-height: .98; font-weight: 500; letter-spacing: -.055em; }
.spot-copy p { margin: 16px 0 0; max-width: 34ch; color: var(--soft); font-size: 17px; line-height: 1.55; }
.spot-copy strong { color: #ff5a4f; font-weight: 500; }
.tap { position: relative; display: inline-block; transform-origin: 50% 60%; }
.tap::after {
  content: ''; position: absolute; left: 50%; top: 55%; width: 1.3em; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid #ff5a4f; transform: translate(-50%, -50%) scale(.2); opacity: 0; pointer-events: none;
}
.q-spot.is-in .tap { animation: tap 3.2s cubic-bezier(.3,.7,.3,1) .4s infinite; }
.q-spot.is-in .tap::after { animation: ripple 3.2s ease-out .4s infinite; }
@keyframes tap {
  0%, 100% { transform: none; color: inherit; }
  6% { transform: scale(.86) translateY(.03em); color: #ff5a4f; }
  14% { transform: scale(1.04); color: #ff5a4f; }
  22% { transform: none; color: inherit; }
}
@keyframes ripple {
  0%, 4% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  7% { opacity: .9; }
  32%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.6); }
}
.spot-visual { position: relative; }
.spot-glow {
  position: absolute; left: 50%; top: 68%; width: 90%; height: 40%; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 50, 40, .55), rgba(255, 50, 40, 0));
  filter: blur(30px); animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
.spot-visual img {
  position: relative; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent);
}

/* ---------- Ads wall ---------- */
.meta-wall {
  position: relative; display: grid; gap: 14px; overflow: hidden;
}
.meta-wall::before, .meta-wall::after { content: ''; position: absolute; z-index: 2; top: 0; bottom: 0; width: 7%; pointer-events: none; }
.meta-wall::before { left: 0; background: linear-gradient(90deg, #000, transparent); }
.meta-wall::after { right: 0; background: linear-gradient(-90deg, #000, transparent); }
.meta-track { will-change: transform; list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 14px; width: max-content; animation: marquee 110s linear infinite; }
.is-reverse .meta-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.creative {
  --w: clamp(170px, 19vw, 260px); display: block; width: var(--w); height: calc(var(--w) * 1.25); padding: 0; border: 0; border-radius: 18px; overflow: hidden;
  background: #111; cursor: zoom-in; transition: transform .45s var(--ease);
}
.creative:hover { transform: translateY(-4px) scale(1.02); }
.creative img { display: block; width: 100%; height: 100%; object-fit: cover; }

.meta-viewer { padding: 0; border: 0; background: transparent; color: #fff; width: min(92vw, 540px); max-height: 94vh; overflow: visible; }
.meta-viewer::backdrop { background: rgba(0,0,0,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.meta-viewer img { display: block; width: 100%; max-height: calc(94vh - 72px); object-fit: contain; border-radius: 22px; background: #111; }
.meta-viewer-bar { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; font-size: 14px; }
.meta-viewer-bar button { height: 40px; min-width: 40px; padding: 0 14px; border: 0; border-radius: 99px; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.meta-viewer-bar button:hover { background: rgba(255,255,255,.24); }
.meta-viewer-bar svg { width: 16px; height: 16px; }
.meta-viewer-count { min-width: 64px; text-align: center; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.meta-viewer-close { margin-left: 8px; }

/* ---------- How it started ---------- */
.story-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.story-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: 24px; background: #111; }
.story-video { grid-column: 1; grid-row: 1; }
.story-desk { grid-column: 2; grid-row: 1 / 3; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story-photo:hover img { transform: scale(1.03); }
.story-grid > figure:nth-child(3), .story-grid > figure:nth-child(4) { aspect-ratio: 4 / 3; }
.story-grid > figure:nth-child(3) { grid-column: 1; grid-row: 2; width: calc(50% - 7px); }
.story-grid > figure:nth-child(4) { grid-column: 1; grid-row: 2; width: calc(50% - 7px); justify-self: end; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer; background: #000; }
.yt img, .yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt img { opacity: .82; transition: opacity .4s, transform 1.2s var(--ease); }
.yt:hover img { opacity: 1; transform: scale(1.02); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: #000; transition: transform .5s var(--ease); }
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.08); }
.yt-play svg { width: 30px; height: 30px; margin-left: 4px; }
.story-video figcaption { position: absolute; left: 18px; bottom: 16px; z-index: 2; padding: 7px 12px; border-radius: 99px; font-size: 13px; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.yt.is-playing + figcaption { display: none; }

/* ---------- Press ---------- */
#press { text-align: center; }
.crests { --l: clamp(48px, 5vw, 68px); display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 20px clamp(28px, 4vw, 56px); margin: 0 auto clamp(40px, 5vw, 64px); }
.crests img { width: auto; opacity: .92; }
/* sized so the laurels on all three crests come out the same height */
.crests .crest-no1 { height: calc(var(--l) * 1.649); }
.crests .crest-users { height: calc(var(--l) * 1.391); }
.crests .crest-quittr { height: calc(var(--l) * 1.143); margin-bottom: calc(var(--l) * 1.143 * -.097); }
.press-title { margin: 0 0 22px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--soft); }
.q-press { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 44px; }
.q-press li { display: grid; place-items: center; height: 56px; }
.q-press img { height: calc(var(--h) * .72); width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .7; transition: opacity .2s; }
.q-press img:hover { opacity: 1; }

/* ---------- Responsive ---------- */
@media (prefers-reduced-motion: reduce) {
  .meta-row { overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 1100px) {
  .q-headline { flex-direction: column; align-items: flex-start; gap: 22px; }
  .q-lede { max-width: 36ch; }
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-video { grid-column: 1 / -1; }
  .story-desk { grid-column: 1; grid-row: 2 / 4; }
  .story-grid > figure:nth-child(3), .story-grid > figure:nth-child(4) { grid-column: 2; width: auto; aspect-ratio: 3 / 4; }
  .story-grid > figure:nth-child(3) { grid-row: 2; }
  .story-grid > figure:nth-child(4) { grid-row: 3; }
  .yt-play { width: 60px; height: 60px; }
  .tour { height: auto; }
  .tour-pin { position: static; height: auto; display: block; }
  .tour-head { max-width: none; }
  .tour-list { display: flex; gap: 8px; max-width: none; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 0 24px; }
  .tour-list::-webkit-scrollbar { display: none; }
  .tour-list li, .tour-list li:last-child { border: 0; flex: none; }
  .tour-list button { padding: 0 14px; height: 38px; border-radius: 99px; font-size: 14px; background: rgba(255,255,255,.08); white-space: nowrap; }
  .tour-list button[aria-selected="true"] { background: #fff; color: #000; }
  .tour-dot { display: none; }
  .tour-list button { padding: 0 14px; font-size: 14px; }
  .tour-stage { height: auto; aspect-ratio: 1 / 1.25; margin-top: 24px; padding-top: 20px; }
  .tour-phone { width: min(78%, 360px); }
  .tour-copy { display: flex; flex-direction: column; }
  .tour-desc { order: 3; margin: 16px auto 0; text-align: center; font-size: 15px; min-height: 4.5em; padding: 0 8px; }
  .q-facts { grid-template-columns: 1fr; gap: 28px; }
  .orbit { height: 110vw; max-height: 520px; }
  .orbit-core { width: 40vw; }
  .orbit-orb { width: 22vw; }
  .orbit figcaption { font-size: 13px; }
  .q-spot { grid-template-columns: 1fr; gap: 8px; }
  .q-facts > div, .q-facts > div:first-child { border: 0; padding: 0; }
  .q-press { gap: 10px 28px; }
  .q-press li { height: 48px; }
}
@media (max-width: 700px) {
  .q-stage { height: 40%; max-width: none; right: -18%; }
  .q-headline { margin-top: 0; padding-top: 24px; }
  .q-num { font-size: clamp(100px, 30vw, 150px); }
  .q-unit { font-size: 20px; }
  .q-lede p { font-size: 14px; max-width: 34ch; }
  .q-cta { margin-top: 16px; }
  .q-hero .hero-inner { justify-content: flex-start; }
}
