.home { overflow-x: clip; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: #0a0a0c; isolation: isolate; }
.hero-still, .hero-still img, .hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-still img { object-fit: cover; object-position: 50% 46%; }
.hero canvas { touch-action: pan-y; opacity: 0; transition: opacity .3s; }
.hero.gl canvas { opacity: 1; }
.hero.gl .hero-still { visibility: hidden; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to top, #0a0a0c 0, #0a0a0ce0 16%, #0a0a0c00 58%),
  linear-gradient(to right, #0a0a0ce6 0, #0a0a0c66 28%, #0a0a0c00 50%),
  linear-gradient(to bottom, #0a0a0cb3 0, #0a0a0c00 18%); }
.hero-copy { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(40px, 8vh, 96px); pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero h1 { font-size: clamp(60px, 10.6vw, 190px); line-height: .88; width: fit-content; pointer-events: none; }
.hero h1 span { display: block; }
.hero p { max-width: 31em; margin-top: 26px; font-size: clamp(17px, 1.35vw, 20px); color: #dededa; pointer-events: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; width: fit-content; }
.hero-cap { position: absolute; right: var(--gut); bottom: clamp(40px, 8vh, 96px); margin: 0 !important; display: grid; gap: 2px; text-align: right; font: 400 13px/1.5 var(--mono) !important; color: var(--dim) !important; }
.hero-cap b { font-weight: 400; color: var(--gold-2); }
.lens-tag { position: absolute; left: 0; top: 0; padding: 7px 12px; border-radius: 99px; background: #0a0a0ccc; font: 400 12px/1.3 var(--mono); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .4s; will-change: transform; }
.lens-tag.on { opacity: 1; }
.lens-tag b { font-weight: 400; color: var(--gold-2); margin-right: .7em; }

/* Statement */
.say { padding: clamp(110px, 18vw, 260px) var(--gut); }
.say p { max-width: 21em; margin: 0 auto; font: 400 clamp(32px, 4.7vw, 76px)/1.14 var(--serif); letter-spacing: -.01em; text-wrap: pretty; }
.say .w { opacity: .16; transition: opacity .5s; }
.say .w.on { opacity: 1; }

/* Restore */
.restore { --tint: #2b200a; position: relative; height: 420vh; background: var(--tint); transition: background-color 1s; }
.restore::before, .restore::after { content: ""; position: absolute; inset: 0 0 auto; height: 30vh; background: linear-gradient(var(--bg), #0a0a0c00); pointer-events: none; }
.restore::after { inset: auto 0 0; background: linear-gradient(#0a0a0c00, var(--bg)); }
.restore-pin { position: sticky; top: 0; z-index: 1; height: 100svh; min-height: 560px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(32px, 7vw, 130px); padding: 88px max(var(--gut), (100vw - 1560px) / 2) 48px; }
.restore-text { max-width: 640px; justify-self: end; width: 100%; }
.restore h2 { font-size: clamp(44px, 6.2vw, 104px); }
.stages { position: relative; margin-top: clamp(28px, 5vh, 64px); display: grid; }
.stages li { display: grid; grid-template-rows: auto 0fr; padding: 13px 0; border-top: 1px solid #f6f6f12e; opacity: .5; transition: grid-template-rows .6s var(--ease), opacity .4s; }
.stages li.on { grid-template-rows: auto 1fr; opacity: 1; }
.stages h3 { margin: 0; font: 600 18px/1.4 var(--sans); }
.stages li.on h3 { color: var(--gold-2); }
.stages p { overflow: hidden; min-height: 0; color: #e2e2dc; max-width: 30em; }
.plate { position: relative; height: min(76svh, 900px); aspect-ratio: 3/4; box-shadow: 0 40px 120px #0009; }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate-line { position: absolute; left: -14px; right: -14px; height: 2px; background: var(--gold-2); box-shadow: 0 0 24px 3px #e9b949a6; opacity: 0; }
.corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--gold); }
.c1 { left: -14px; top: -14px; border-right: 0; border-bottom: 0; } .c2 { right: -14px; top: -14px; border-left: 0; border-bottom: 0; }
.c3 { left: -14px; bottom: -14px; border-right: 0; border-top: 0; } .c4 { right: -14px; bottom: -14px; border-left: 0; border-top: 0; }

/* Erase */
.erase { padding: clamp(100px, 13vw, 200px) var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); grid-template-rows: auto 1fr; gap: 24px clamp(32px, 6vw, 110px); max-width: 1640px; margin: 0 auto; }
.erase h2 { font-size: clamp(64px, 9vw, 160px); }
.erase-head { align-self: end; }
.erase-head p { margin-top: 24px; font-size: clamp(18px, 1.5vw, 22px); max-width: 22em; }
.erase-foot { grid-column: 1; display: grid; gap: 22px; justify-items: start; align-content: start; color: var(--dim); max-width: 26em; }
.erase-stage { grid-column: 2; grid-row: 1 / 3; position: relative; aspect-ratio: 1200/1088; border-radius: 28px; overflow: hidden; background: var(--surface); }
.erase-stage img, .erase-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.erase-stage canvas { touch-action: none; cursor: none; }
.hint-stroke { position: absolute; left: 63%; top: 48%; width: 5.4%; height: 46%; border: 2px dashed var(--gold-2); border-radius: 99px; pointer-events: none; animation: breathe 1.8s ease-in-out infinite alternate; transition: opacity .4s; }
.touched .hint-stroke { opacity: 0; animation: none; }
@keyframes breathe { from { opacity: .95 } to { opacity: .35 } }
.erase-done { position: absolute; left: 50%; bottom: 24px; transform: translate(-50%, 20px); padding: 10px 20px; border-radius: 99px; background: #0a0a0cd9; color: var(--gold-2); font-weight: 600; font-size: 15px; opacity: 0; transition: opacity .4s, transform .5s var(--ease); pointer-events: none; white-space: nowrap; }
.done .erase-done { opacity: 1; transform: translate(-50%, 0); }

/* Looks */
.looks { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #0a0a0c; }
.looks-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity .9s; }
.looks-view img.on { opacity: 1; }
.looks-ui { position: absolute; inset: auto 0 0; padding: 22vh 0 max(36px, env(safe-area-inset-bottom)); background: linear-gradient(#0a0a0c00, #0a0a0cc7 58%, #0a0a0c); }
.looks h2 { padding: 0 var(--gut); font-size: clamp(42px, 7.4vw, 128px); }
.look-name { display: block; color: var(--gold); }
.strip { display: flex; gap: 10px; margin-top: 28px; padding: 6px var(--gut); overflow-x: auto; scrollbar-width: none; scroll-padding: 0 var(--gut); }
.strip::-webkit-scrollbar { display: none; }
.strip button { flex: 0 0 auto; width: 84px; padding: 0; border: 0; background: none; color: #cfcfca; font: 500 13px/1.3 var(--sans); cursor: pointer; text-align: left; }
.strip img { width: 84px; height: 84px; object-fit: cover; border-radius: 18px; margin-bottom: 8px; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .25s, transform .35s var(--ease); }
.strip button:hover img { transform: translateY(-4px); }
.strip [aria-pressed=true] { color: var(--gold-2); }
.strip [aria-pressed=true] img { outline-color: var(--gold); }

/* Credits */
.credits { padding: clamp(110px, 15vw, 220px) var(--gut); text-align: center; }
.credits h2 { font-size: clamp(34px, 3.6vw, 56px); color: var(--gold); margin-bottom: clamp(36px, 5vw, 72px); }
.credits dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 40px); align-items: baseline; padding: 5px 0; opacity: .28; transition: opacity .35s; }
.credits dl > div.on { opacity: 1; }
.credits dt { text-align: right; font: 400 clamp(30px, 4.6vw, 72px)/1.08 var(--serif); letter-spacing: -.01em; }
.credits dd { text-align: left; font-size: clamp(15px, 1.4vw, 20px); color: var(--dim); }
.credits-end { margin-top: clamp(44px, 6vw, 90px); color: var(--dim); }

/* Screens */
.screens { padding: clamp(40px, 6vw, 90px) 0 clamp(90px, 12vw, 180px); text-align: center; overflow: hidden; }
.screens h2, .screens .lead { padding: 0 var(--gut); }
.lead { max-width: 34em; margin: 22px auto 0; color: var(--dim); font-size: clamp(17px, 1.4vw, 20px); }
.phones { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 52px); margin-top: clamp(56px, 7vw, 110px); padding: 0 var(--gut); }
.phone { flex: 0 1 340px; padding: 10px; border-radius: clamp(34px, 4.4vw, 58px); background: #24242b; box-shadow: inset 0 0 0 1.5px #4a4a54, 0 50px 110px #000c; will-change: transform; }
.phone img { width: 100%; height: auto; border-radius: clamp(25px, 3.7vw, 48px); }
.p2 { flex-basis: 380px; z-index: 1; }

/* Privacy */
.stay { background: var(--gold); color: var(--ink); padding: clamp(80px, 11vw, 170px) var(--gut); transition: background-color .6s, color .6s; }
.stay-in { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.stay h2 { font-size: clamp(56px, 8.6vw, 152px); line-height: .92; }
.stay p { max-width: 30em; margin-top: 28px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 500; }
.stay .small { color: inherit; font-size: 15px; }
.air { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding: 12px 14px 12px 20px; border: 0; border-radius: 22px; background: #1a1206; color: var(--text); font: 600 18px/1 var(--sans); cursor: pointer; }
.air svg { width: 26px; height: 26px; fill: var(--gold-2); transition: transform .6s var(--ease); }
.air i { width: 62px; height: 36px; margin-left: 34px; border-radius: 99px; background: #4b4435; position: relative; transition: background .3s; }
.air i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 30px; height: 30px; border-radius: 50%; background: #fff; transition: transform .4s var(--ease); }
.air[aria-checked=true] i { background: #ff9f0a; }
.air[aria-checked=true] i::after { transform: translateX(26px); }
.air[aria-checked=true] svg { transform: translate(3px, -5px) rotate(-14deg); }
.stay :focus-visible { outline-color: #1a1206; }
.stay.offline { background: #14110a; color: var(--text); }
.stay.offline :focus-visible { outline-color: var(--gold-2); }
.stay.offline .air { background: #2a2416; }
.stay.offline h2 { color: var(--gold); }
.tiles-box { border-radius: 34px; overflow: hidden; background: #0a0a0c; }
.tiles-box canvas { width: 100%; height: auto; aspect-ratio: 1; }
.tiles-read { display: flex; justify-content: space-between; gap: 12px; padding: 16px 22px; font: 400 13px/1.4 var(--mono); color: var(--dim); }
.tiles-read b { font-weight: 400; color: var(--gold-2); font-variant-numeric: tabular-nums; }

/* Pro */
.pro { padding: clamp(100px, 13vw, 200px) var(--gut); max-width: 1320px; margin: 0 auto; }
.table-wrap { margin: clamp(40px, 5vw, 72px) 0 24px; }
.pro table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: clamp(15px, 1.3vw, 19px); }
.pro th, .pro td { padding: 20px 16px 20px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); font-weight: 500; }
.pro thead th { font: 400 clamp(30px, 3.4vw, 52px)/1 var(--serif); }
.pro tbody th { color: var(--dim); }
.pro td:last-child { color: var(--gold-2); font-weight: 600; }
.pro .small { max-width: 48em; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px clamp(32px, 6vw, 110px); padding: 0 var(--gut) clamp(100px, 12vw, 180px); max-width: 1640px; margin: 0 auto; }
.faq h2 { font-size: clamp(42px, 5vw, 80px); }
details { border-bottom: 1px solid var(--line-2); }
summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 26px/1 var(--serif); color: var(--gold); transition: transform .3s var(--ease); }
[open] > summary::after { transform: rotate(45deg); }
details p { padding: 0 48px 26px 0; color: var(--dim); max-width: 40em; }

/* End */
.end { padding: clamp(110px, 14vw, 220px) var(--gut); text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.end h2 { font-size: clamp(50px, 8.6vw, 150px); max-width: 9em; margin: 34px auto 44px; }
.end .small { margin-top: 20px; }
.end-window { position: relative; width: clamp(200px, 22vw, 330px); aspect-ratio: 1; margin: 0 auto; border: clamp(8px, 1vw, 14px) solid var(--gold); border-radius: 31%; overflow: hidden; background: #000; }
.end-window img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 40%; transform: scale(1.35); }
.end-window i { position: absolute; background: var(--gold); border-radius: 26%; width: 12%; height: 12%; left: 13%; top: 13%; }
.end-window i:nth-of-type(2) { left: auto; top: auto; right: 13%; bottom: 13%; }
.end-window i:nth-of-type(3) { left: 50%; top: 50%; width: 36%; height: 36%; border-radius: 50%; background: none; border: clamp(8px, 1vw, 14px) solid var(--gold); transform: translate(-50%, -50%); }

@media (max-width: 860px) {
  .hero-scrim { background: linear-gradient(to top, #0a0a0c 6%, #0a0a0ceb 34%, #0a0a0c00 66%), linear-gradient(to bottom, #0a0a0cb3 0, #0a0a0c00 16%); }
  .hero h1 { font-size: clamp(58px, 17.6vw, 120px); }
  .hero p { margin-top: 18px; }
  .hero-cta { margin-top: 22px; }
  .hero-copy { bottom: max(28px, env(safe-area-inset-bottom)); }
  .hero-cap { display: none; }
  .restore-pin { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; gap: 20px; padding: 82px var(--gut) 22px; justify-items: center; }
  .restore-text { display: contents; }
  .restore h2 { order: 0; justify-self: start; font-size: clamp(38px, 11vw, 64px); }
  .plate { order: 1; height: auto; max-width: 100%; align-self: center; width: min(100%, calc((100svh - 350px) * .75)); min-width: 180px; }
  .stages { order: 2; margin: 0; width: 100%; min-height: 128px; align-self: end; }
  .stages li { grid-area: 1 / 1; grid-template-rows: auto 1fr; opacity: 0; border: 0; padding: 0; }
  .stages li.on { opacity: 1; }
  .stages p { font-size: 16px; }
  .erase { grid-template-columns: 1fr; grid-template-rows: none; }
  .erase-stage { grid-column: 1; grid-row: auto; border-radius: 22px; }
  .hint-stroke { width: 8%; left: 62%; }
  .credits dl > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .credits dt, .credits dd { text-align: center; }
  .phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 60px; gap: 16px; }
  .phones::-webkit-scrollbar { display: none; }
  .phone { flex: 0 0 min(72vw, 320px); scroll-snap-align: center; transform: none !important; border-radius: 44px; box-shadow: inset 0 0 0 1.5px #4a4a54; }
  .phone img { border-radius: 35px; }
  .stay-in, .faq { grid-template-columns: 1fr; }
  .air i { margin-left: 18px; }
  .pro th, .pro td { padding: 16px 10px 16px 0; }
  .tiles-read { padding: 14px 16px; font-size: 12px; }
}
@media (max-height: 620px) and (min-width: 861px) { .stages li.on p { font-size: 15px; } .restore h2 { font-size: 44px; } }
