/* ═══════════════════════════════════════════════════════════════════════════
   gabrieloleas.com
   One idea: most websites look closed. Every colour block is a building,
   every heading switches on like a sign.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --night: #17154A;
  --deep: #0F0D33;
  --ink: #17142E;
  --cream: #FFF5E6;
  --paper: #FFFBF3;
  --mint: #BDEBDC;
  --butter: #FFE394;
  --pink: #FFC4D0;
  --coral: #F4474F;
  --hot: #FF4F93;
  --aqua: #35EBDD;
  --gold: #FFD27A;

  --f: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-neon: "Tilt Neon", "Bricolage Grotesque", sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: clamp(1rem, .5vw + .9rem, 1.2rem);
  line-height: 1.5;
  color: var(--ink);
  background: var(--deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
[data-theme="light"] :focus-visible { outline-color: var(--ink); }
[data-theme="light"] .tag--pop :focus-visible { outline-color: var(--aqua); }
::selection { background: var(--hot); color: #1B0A1F; }

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--cream); color: var(--ink); padding: 12px 16px; border-radius: 12px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--pad), 1320px); margin-inline: auto; }

/* ── type ─────────────────────────────────────────────────────────────── */
.display {
  font-weight: 800;
  font-stretch: 80%;
  font-size: clamp(2.6rem, 6.8vw, 6.4rem);
  line-height: .92;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.display--sm { font-size: clamp(2.2rem, 4.8vw, 4.4rem); }
.lede {
  font-size: clamp(1.15rem, 1vw + .95rem, 1.6rem);
  line-height: 1.36;
  font-weight: 500;
  letter-spacing: -.012em;
  max-width: 33em;
  text-wrap: pretty;
}
.biz.is-set { font-weight: 800; background: linear-gradient(transparent 58%, rgba(255, 79, 147, .4) 0); padding: 0 .08em; }
.biz--neon.is-set { background: none; padding: 0; color: #FFE3EE; text-shadow: 0 0 14px var(--hot), 0 0 46px rgba(255, 79, 147, .85); }

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 700 1rem/1 var(--f); letter-spacing: -.01em; white-space: nowrap;
  padding: 1.08em 1.5em; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform .25s var(--out), box-shadow .25s, background-color .25s, color .25s;
}
.btn--sm { padding: .82em 1.2em; font-size: .93rem; }
.btn--lg { padding: 1.2em 1.7em; font-size: 1.08rem; }
.btn--neon { background: var(--hot); color: #1B0A1F; }
.btn--neon:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px #FFD0E2 inset, 0 0 36px 2px rgba(255, 79, 147, .7); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--hot); color: #1B0A1F; transform: translateY(-2px); }

/* ── top bar ──────────────────────────────────────────────────────────── */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px var(--pad); color: var(--cream);
  transition: background-color .3s, transform .45s var(--out), box-shadow .3s;
}
.top.is-solid { background: rgba(15, 13, 51, .9); box-shadow: 0 1px 0 rgba(255, 245, 230, .1); }
.top.is-hidden { transform: translateY(-110%); }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; }
.logo__go, .foot__go {
  font-family: var(--f-neon); font-weight: 400; line-height: 1; letter-spacing: .02em;
  color: #FFE3EE; border: 2px solid #FFD0E2; border-radius: 10px; padding: 5px 8px 3px;
  text-shadow: 0 0 8px var(--hot);
  box-shadow: 0 0 12px rgba(255, 79, 147, .75), inset 0 0 9px rgba(255, 79, 147, .5);
}
.logo__go { font-size: .95rem; }
.top__nav { display: flex; gap: clamp(16px, 2.4vw, 36px); font-weight: 600; font-size: .98rem; }
.top__nav a { text-decoration: none; opacity: .9; }
.top__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; text-decoration-color: var(--hot); }
.top__cta { background: var(--cream); color: var(--ink); }
.top__cta:hover { background: var(--hot); }
@media (max-width: 820px) { .top__nav { display: none; } }
@media (max-width: 400px) { .logo__name { display: none; } }

/* ═════════ HERO ═════════ */
.hero {
  --hero-h: max(100svh, 790px);
  --hs: min(calc((var(--hero-h) - 92px) / .79), 78vw);
  --cx: calc(47vw + var(--hs) * .312);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: var(--hero-h);
  color: var(--cream);
  background: linear-gradient(180deg, #121043 0%, #241B64 24%, #56298A 47%, #B3417F 66%, #FF7A5C 82%, #FFBB76 93%, #FFD9A0 100%);
}
.hero::after { /* keeps the copy readable where it crosses the rooftops */
  content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 62%; pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 16, 67, .62), rgba(18, 16, 67, .3) 55%, rgba(18, 16, 67, 0));
}
.hero__scene {
  position: absolute; z-index: 1; bottom: 0; left: var(--cx);
  height: var(--hs); width: calc(var(--hs) * 4);
  transform: translateX(-50%);
}
.hero__scene svg { display: block; width: 100%; height: 100%; overflow: visible; }

.hero__content {
  position: relative; z-index: 3;
  width: min(620px, 45vw - var(--pad));
  margin-left: var(--pad);
  padding-top: clamp(88px, 11.5svh, 136px);
  padding-bottom: 110px;
}
.hero__who { font-size: clamp(1rem, .45vw + .88rem, 1.2rem); font-weight: 600; letter-spacing: -.01em; margin-bottom: .85em; }
.hero__big {
  font-weight: 800; font-stretch: 80%;
  font-size: clamp(3.2rem, 6.5vw, 6.6rem);
  line-height: .9; letter-spacing: -.022em;
  margin-bottom: .38em; text-wrap: balance;
}
.order { max-width: 480px; }
.order__label { display: block; font-weight: 600; font-size: 1.06rem; margin-bottom: .6em; }
.order__input {
  width: 100%; height: 64px; padding: 0 20px;
  border-radius: 16px; border: 2px solid rgba(255, 245, 230, .5);
  background: rgba(15, 13, 51, .6); color: var(--cream);
  font: 700 1.35rem/1 var(--f); letter-spacing: -.01em;
  outline: none;
  transition: border-color .2s, box-shadow .25s, background-color .2s;
}
.order__input::placeholder { color: rgba(255, 245, 230, .6); font-weight: 500; }
.order__input:hover { border-color: rgba(255, 245, 230, .8); }
.order__input:focus { border-color: var(--aqua); background: rgba(15, 13, 51, .82); box-shadow: 0 0 0 4px rgba(53, 235, 221, .22), 0 0 36px rgba(53, 235, 221, .4); }
.hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 20px; }
.hero__terms { font-size: .95rem; line-height: 1.3; font-weight: 600; }
.hero__terms--m { display: none; }

.panel { position: absolute; z-index: 4; left: var(--pad); bottom: clamp(40px, 5svh, 56px); display: flex; gap: 10px; }
.panel__btn {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 15px;
  border-radius: 13px; border: 1.5px solid rgba(255, 245, 230, .34);
  background: rgba(15, 13, 51, .78); color: var(--cream);
  font: 600 .92rem/1 var(--f); cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.panel__btn:hover { border-color: var(--aqua); box-shadow: 0 0 22px rgba(53, 235, 221, .35); }
.panel__k { opacity: .7; }
.panel__v { font-weight: 700; min-width: 6.6em; text-align: left; }
.switch { position: relative; width: 44px; height: 24px; border-radius: 99px; background: rgba(255, 245, 230, .22); transition: background-color .25s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); transition: transform .3s var(--out), background-color .25s, box-shadow .25s; }
[aria-checked="true"] .switch { background: rgba(255, 79, 147, .5); }
[aria-checked="true"] .switch i { transform: translateX(20px); background: #FFE3EE; box-shadow: 0 0 14px 2px var(--hot); }

@media (max-width: 999px) {
  .hero {
    --hero-h: max(100svh, 760px);
    --lift: 96px;
    --copy-h: calc(172px + 1.8 * clamp(2.9rem, 12.6vw, 5rem));
    --hs: min(calc((var(--hero-h) - var(--lift) - var(--copy-h)) / .778), 152vw);
    --cx: 50%;
  }
  .hero::after { inset: 0 0 auto 0; width: auto; height: 44%; background: linear-gradient(180deg, rgba(18, 16, 67, .55), rgba(18, 16, 67, 0)); }
  .hero__scene { bottom: var(--lift); }
  .hero__content { display: flex; flex-direction: column; min-height: var(--hero-h); width: min(100% - 2 * var(--pad), 560px); margin-inline: auto; padding: 84px 0 96px; }
  .hero__who { font-size: min(1.05rem, 4.1vw); }
  .hero__big { font-size: clamp(2.9rem, 12.6vw, 5rem); margin-bottom: 0; }
  .hero__terms--m { display: block; margin-top: .9em; }
  .hero__terms--d { display: none; }
  .hero__order { margin-top: auto; }
  .order { max-width: none; }
  .order__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .order__input { height: 58px; font-size: 1.2rem; background: rgba(15, 13, 51, .88); }
  .hero__cta { margin-top: 10px; }
  .hero__cta .btn { width: 100%; }
  .panel { left: 50%; bottom: 40px; transform: translateX(-50%); }
  .panel__btn { height: 42px; }
}

/* ── the street (SVG drawn by scene.js) ───────────────────────────────── */
.scene {
  --fa: #D58FA9; --fa2: #E2A2B8; --trim: #F4DDD6; --accent: #8FD0C5; --base: #3A2E63; --glass: #2A2356;
  --neon: #FF4F93; --neon-core: #FFE3EE; --neon2: #3FF0E0; --neon2-core: #E4FFFB;
}
.scene[data-facade="seafoam"] { --fa: #79BBB4; --fa2: #90CBC3; --trim: #F3E9D9; --accent: #F0A2B3; }
.scene[data-facade="butter"] { --fa: #DEBE8B; --fa2: #E9CD9D; --trim: #F7EBD8; --accent: #E38979; }

.scene .f-body { fill: var(--fa); }
.scene .f-body2 { fill: var(--fa2); }
.scene .f-trim { fill: var(--trim); }
.scene .f-accent { fill: var(--accent); }
.scene .f-body, .scene .f-body2, .scene .f-trim, .scene .f-accent { transition: fill .7s var(--ease); }
.scene .f-flute { fill: #1B1650; opacity: .22; }
.scene .f-base { fill: var(--base); }
.scene .f-step { fill: #B9A8BF; }
.scene .f-chrome { fill: #EDE8F6; }
.scene .w-glass { fill: var(--glass); }
.scene .w-bar { fill: var(--trim); }
.scene .w-bar-s { stroke: var(--trim); stroke-width: 3; }
.scene .frame rect, .scene .frame path { fill: #1A1548; stroke: #1A1548; }
.scene .frame__thin { opacity: .5; }

.scene .star { fill: #FFF5E6; }
.scene .star--tw { animation: twinkle 4.5s ease-in-out infinite; animation-delay: var(--d); }
.scene .clouds ellipse { fill: #FF9D8C; opacity: .3; }
.scene .far { fill: #3B2A75; opacity: .6; }
.scene .far-win { fill: #FFD9A0; opacity: .5; }
.scene .dead { font: 700 15px var(--f); font-stretch: 80%; letter-spacing: .05em; fill: rgba(255, 245, 230, .28); }
.scene .palm { fill: #110E33; }
.scene .palm__sway { transform-origin: 0 0; animation: sway 7s ease-in-out infinite alternate; }
.scene .lamp rect, .scene .lamp path { fill: #140F3A; stroke: #140F3A; }
.scene .lamp__bulb { fill: #FFEBBD; }
.scene .cat, .scene .kerbside { fill: #0F0C2E; }
.scene .car__go { transform: translateX(-1400px); animation: drive 27s linear 5s infinite; }
.scene .car__body { fill: #110D33; }
.scene .car__glass { fill: #3A2F73; }
.scene .car__wheel { fill: #090720; }
.scene .car__hub { fill: #4A3F7E; }
.scene .car__head { fill: #FFF0C2; }
.scene .car__tail { fill: #FF4D5E; }
.scene .car__pool { fill: #FFE9B0; opacity: .16; }
.scene .spill ellipse { fill: #FFC978; opacity: .5; }
.scene .pave { fill: #4A3F7E; }
.scene .kerb { fill: #2A2358; }
.scene .road-more { fill: #0F0C2B; }
.scene .dash { fill: #FFE9B8; opacity: .13; }

/* everything that only shows with the lights on */
.scene .lit { opacity: 0; transition: opacity .45s var(--ease); }
.scene.is-on .lit { opacity: 1; }
.scene.is-on .lit--dim { opacity: .3; }
.scene.is-on .lit--neon { transition-delay: .5s; }
.scene.is-on .lit--win { transition-delay: .85s; transition-duration: .8s; }
.scene.is-on .lit--up { transition-delay: 1.15s; transition-duration: .8s; }
.scene.is-on .lit--refl { opacity: .85; transition-delay: .9s; transition-duration: 1.2s; }
.scene .inside rect, .scene .inside circle { fill: #B5642B; opacity: .5; }
.scene .inside path { fill: #B5642B; stroke: #B5642B; stroke-width: 2.5; opacity: .5; }

.scene .tube-off rect { fill: #4A3E7A; }
.scene .tube-off path, .scene .tube-off circle { fill: none; stroke: #4A3E7A; stroke-width: 4; }
.scene .tube--1 rect { fill: var(--neon-core); }
.scene .tube--1 path { stroke: var(--neon-core); stroke-width: 4; stroke-linejoin: round; }
.scene .tube--2 rect { fill: var(--neon2-core); }
.scene .tube--2 circle { stroke: var(--neon2-core); stroke-width: 4; }
.scene .open-off rect { stroke: #4A3E7A; stroke-width: 3; }
.scene .open-off text { fill: #4A3E7A; font: 400 26px var(--f-neon); }
.scene .open-on rect { stroke: var(--neon-core); stroke-width: 3; }
.scene .open-on text { fill: var(--neon2-core); font: 400 26px var(--f-neon); }

.scene .sign__off text { fill: #3D326E; }
.scene .board { display: none; }
.scene[data-sign="marquee"] .board { display: block; }
.scene[data-sign="marquee"] .frame__thin { display: none; }
.scene .board__panel { fill: #171243; stroke: #2B2460; stroke-width: 3; }
.scene .bulbs-off .bulb { fill: #4A3E7A; }
.scene .bulbs-on .bulb { fill: var(--neon-core); }
.scene.is-on .bulbs-on .bulb--a { animation: chase-bulb .9s steps(1, end) infinite; }
.scene.is-on .bulbs-on .bulb--b { animation: chase-bulb .9s steps(1, end) -.45s infinite; }
.scene .sign__on { opacity: 0; transition: opacity .2s; }
.scene.is-on .sign__on { opacity: 1; }
.scene .sign__on text { fill: var(--neon-core); }
.scene .sign__halo ellipse { fill: var(--neon); opacity: .36; }
.scene .sign__measure { fill: none; stroke: none; pointer-events: none; }
.scene .sign__on tspan.f { animation: neon-on .8s steps(1, end) both; animation-delay: var(--d, 0s); }
.scene .sign__on tspan.b { animation: neon-blink .65s steps(1, end) both; }

@keyframes neon-on { 0% { fill-opacity: .04; } 9% { fill-opacity: 1; } 15% { fill-opacity: .08; } 24% { fill-opacity: .85; } 31% { fill-opacity: .15; } 45%, 100% { fill-opacity: 1; } }
@keyframes neon-blink { 0% { fill-opacity: 1; } 12% { fill-opacity: .2; } 24% { fill-opacity: 1; } 40% { fill-opacity: .35; } 55%, 100% { fill-opacity: 1; } }
@keyframes chase-bulb { 0%, 100% { opacity: 1; } 50% { opacity: .22; } }
@keyframes drive { 0% { transform: translateX(-1400px); } 46%, 100% { transform: translateX(2700px); } }
@keyframes twinkle { 0%, 100% { opacity: .9; } 50% { opacity: .2; } }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.9deg); } }

/* nothing on the street moves while it is off screen */
.scene.is-away * { animation-play-state: paused !important; }

/* the same building as a daylight drawing, for the explainer */
.scene--diagram { --fa: #FFB6C4; --fa2: #FFC8D3; --trim: #FFFBF3; --accent: #62CDBB; --base: #2A2358; --glass: #2A2358; }
.scene--diagram .shade { display: none; }
.scene--diagram .frame rect, .scene--diagram .frame path, .scene--diagram .pave { fill: var(--ink); stroke: var(--ink); }
.scene--diagram .f-trim { stroke: var(--ink); stroke-width: 2.5; }
.scene--diagram .f-body, .scene--diagram .f-body2 { stroke: var(--ink); stroke-width: 2.5; }
.scene--diagram .sign__off text { fill: var(--ink); }
.scene--diagram .tube-off rect { fill: var(--ink); opacity: .3; }
.scene--diagram .tube-off path, .scene--diagram .tube-off circle { stroke: var(--ink); opacity: .3; }
.scene--diagram .open-off rect { stroke: #6E67A0; }
.scene--diagram .open-off text { fill: #6E67A0; }
.scene--diagram .sign__halo { display: none; }
.scene--diagram .sign__on { filter: none; }
.scene--diagram .frame__thin { opacity: .16; }
.scene--diagram[data-facade="seafoam"] { --fa: #A5E3D6; --fa2: #BDEBDC; --trim: #FFFBF3; --accent: #FF8FA3; }
.scene--diagram[data-facade="butter"] { --fa: #FFDC8A; --fa2: #FFE7A8; --trim: #FFFBF3; --accent: #F4474F; }
.scene--diagram .board__panel { fill: var(--ink); stroke: var(--ink); }
.scene--diagram[data-sign="marquee"] .sign__off text { fill: var(--cream); }
.scene--diagram .bulbs-off .bulb { fill: #8A84B5; }
.scene--diagram .mark { fill: none; stroke: var(--coral); stroke-width: 6; stroke-dasharray: 16 11; stroke-linecap: round; opacity: 0; transition: opacity .3s; }
.scene--diagram[data-hl="sign"] .mark--sign,
.scene--diagram[data-hl="window"] .mark--window,
.scene--diagram[data-hl="door"] .mark--door { opacity: 1; animation: march 1.2s linear infinite; }
.scene--diagram[data-hl="sign"] .sign__on { opacity: 1; }
.scene--diagram[data-hl="sign"] .sign__on text { fill: var(--hot); }
.scene--diagram[data-hl="sign"] .sign__off { opacity: 0; }
.scene--diagram[data-hl="window"] .lit--w,
.scene--diagram[data-hl="door"] .lit--d { opacity: 1; transition-delay: 0s; }
@keyframes march { to { stroke-dashoffset: -27; } }

/* ═════════ COLOUR BLOCKS (each one rises like a parapet) ═════════ */
.block {
  --step: 14px; --s1: 92px; --s2: 168px;
  position: relative; overflow-x: clip;
  padding: clamp(92px, 11vw, 176px) 0 clamp(84px, 10vw, 160px);
  margin-top: calc(var(--step) * -2);
  clip-path: polygon(
    0 calc(var(--step) * 2), calc(50% - var(--s2)) calc(var(--step) * 2), calc(50% - var(--s2)) var(--step),
    calc(50% - var(--s1)) var(--step), calc(50% - var(--s1)) 0, calc(50% + var(--s1)) 0, calc(50% + var(--s1)) var(--step),
    calc(50% + var(--s2)) var(--step), calc(50% + var(--s2)) calc(var(--step) * 2), 100% calc(var(--step) * 2), 100% 100%, 0 100%);
}
@media (max-width: 600px) { .block { --step: 10px; --s1: 54px; --s2: 100px; } }
.block--cream { background: var(--cream); }
.block--night { background: var(--night); color: var(--cream); }
.block--mint { background: var(--mint); }
.block--butter { background: var(--butter); }
.block--pink { background: var(--pink); }

.sechead { display: grid; gap: clamp(18px, 2.4vw, 34px); max-width: 1080px; margin-bottom: clamp(48px, 7vw, 104px); }
.sechead--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; max-width: none; }

/* headings switch on like signs */
.js [data-split] .w { display: inline-block; opacity: .13; }
.js [data-split] .biz.w { display: inline; }
.js [data-split].is-in .w { animation: flick-on .62s steps(1, end) both; animation-delay: var(--d, 0s); }
@keyframes flick-on { 0% { opacity: .13; } 12% { opacity: 1; } 20% { opacity: .25; } 34% { opacity: 1; } 44% { opacity: .5; } 56%, 100% { opacity: 1; } }

/* ═════════ SIGN / WINDOW / DOOR ═════════ */
.parts__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 104px);
  grid-template-areas: "fig head" "fig list"; align-items: start;
}
.parts__head { grid-area: head; display: grid; gap: clamp(18px, 2.4vw, 30px); }
.parts__fig { grid-area: fig; align-self: stretch; }
.parts__list { grid-area: list; }
.parts__stick { position: sticky; top: clamp(84px, 11vh, 120px); }
.parts__diagram { width: 100%; aspect-ratio: 660 / 640; }
.parts__diagram svg { display: block; width: 100%; height: 100%; }
.parts__key { display: flex; justify-content: center; gap: 10px; margin-top: 14px; font-weight: 700; font-size: .95rem; }
.parts__key li { padding: .5em 1.05em; border-radius: 99px; border: 2.5px solid var(--ink); transition: background-color .3s, color .3s; }
.parts__key li.is-on { background: var(--ink); color: var(--cream); }

.part { padding: clamp(44px, 9vh, 96px) 0 0; transition: opacity .4s; }
.js .part { opacity: .32; }
.js .part.is-on { opacity: 1; }
.part .part__stat { max-width: none; font-weight: 800; font-stretch: 76%; font-size: clamp(4.4rem, 10vw, 9rem); line-height: .82; letter-spacing: -.045em; color: var(--coral); }
.part h3 { font-weight: 800; font-stretch: 82%; font-size: clamp(1.7rem, 2.6vw, 2.5rem); letter-spacing: -.03em; margin: .45em 0 .3em; }
.part p { max-width: 29em; font-size: 1.08em; }
.part .part__src { font-size: .82rem; margin-top: 1em; opacity: .75; }
.parts__close { margin-top: clamp(48px, 8vh, 90px); font-weight: 800; font-stretch: 82%; font-size: clamp(1.7rem, 2.8vw, 2.7rem); line-height: 1.02; letter-spacing: -.03em; max-width: 16em; }

@media (max-width: 880px) {
  .parts__grid { display: block; }
  .parts__head { margin-bottom: 20px; }
  .parts__fig { position: sticky; top: 58px; z-index: 2; margin-inline: calc(var(--pad) * -1); padding: 8px var(--pad) 10px; background: var(--cream); box-shadow: 0 16px 18px -10px var(--cream); }
  .parts__stick { position: static; }
  .parts__diagram { width: auto; height: min(36svh, 300px); margin-inline: auto; }
  .parts__key { margin-top: 6px; font-size: .85rem; }
  .part { padding-top: 46px; }
}

/* ═════════ WORK ═════════ */
.case {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .9fr);
  gap: clamp(28px, 5vw, 84px); align-items: center;
  margin-bottom: clamp(76px, 10vw, 150px);
}
.case--flip { grid-template-columns: minmax(0, .9fr) minmax(0, 1.55fr); }
.case--flip .case__visual { order: 2; }
.case__visual { position: relative; padding: 0 7% 7% 0; }
.case--flip .case__visual { padding: 0 0 7% 7%; }
.device--desk { overflow: hidden; border-radius: 14px; background: #0C0A2B; box-shadow: 0 0 0 1px rgba(255, 245, 230, .16), 0 44px 90px -34px rgba(0, 0, 0, .8); }
.device__bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: #221D5E; }
.device__dots { display: flex; gap: 6px; }
.device__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 245, 230, .3); }
.device__url { flex: 0 1 300px; margin-inline: auto; padding: 5px 12px; border-radius: 8px; background: rgba(255, 245, 230, .1); color: rgba(255, 245, 230, .82); font-size: .78rem; font-weight: 600; text-align: center; }
.device__spacer { width: 42px; }
.shot { position: relative; overflow: hidden; aspect-ratio: 16 / 10; container-type: size; background: #EFE7DA; }
.shot img { width: 100%; height: auto; transform: translate3d(0, calc(var(--p, 0) * -1 * (100% - 100cqh)), 0); will-change: transform; }
.device--phone {
  position: absolute; right: 0; bottom: 0; width: 24%;
  padding: clamp(4px, .5vw, 7px); border-radius: clamp(14px, 2vw, 28px);
  background: #0A0824; box-shadow: 0 0 0 1px rgba(255, 245, 230, .22), 0 30px 60px -20px rgba(0, 0, 0, .85);
}
.case--flip .device--phone { right: auto; left: 0; }
.device--phone .shot { aspect-ratio: 9 / 19; border-radius: clamp(10px, 1.6vw, 22px); }
.device__island { position: absolute; z-index: 2; top: clamp(8px, 1vw, 14px); left: 50%; width: 30%; height: clamp(5px, .62vw, 9px); border-radius: 99px; background: #0A0824; transform: translateX(-50%); }
.case__title { font-weight: 800; font-stretch: 78%; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: .92; letter-spacing: -.04em; }
.case__what { font-size: 1.1em; margin: .65em 0 1.2em; max-width: 27em; }
.case__facts { display: grid; gap: 14px; margin-bottom: 1.5em; }
.case__facts dt { font-size: .84rem; font-weight: 700; color: var(--gold); }
.case__facts dd { font-weight: 600; }
.link { font-weight: 700; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2.5px; text-decoration-color: var(--hot); transition: color .2s; }
.link:hover { color: var(--hot); }
.link[target="_blank"]::after, .also a::after { content: " ↗"; }
.also { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.also__h { font-weight: 800; color: var(--gold); }
.also ul { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.also a { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: rgba(255, 245, 230, .4); }
.also a:hover { text-decoration-color: var(--hot); color: #FFE3EE; }
@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; }
  .case--flip .case__visual { order: 0; }
}

/* ═════════ ABOUT ═════════ */
.about__grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.about__fig { padding: 20px; max-width: 420px; justify-self: center; width: 100%; }
.about__arch {
  position: relative; display: grid; place-items: center; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px; background: var(--night);
  box-shadow: 0 0 0 7px var(--mint), 0 0 0 10px var(--ink), 0 0 0 17px var(--mint), 0 0 0 20px var(--ink);
}
.about__arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about__mono { font-family: var(--f-neon); font-size: clamp(5rem, 13vw, 10.5rem); line-height: 1; color: #FFE3EE; text-shadow: 0 0 12px var(--hot), 0 0 42px var(--hot), 0 0 96px var(--hot); }
.about__copy { display: grid; gap: clamp(16px, 2vw, 26px); }
.about__copy > p:not(.lede) { max-width: 34em; font-size: 1.08em; }
.about__facts { display: grid; gap: 10px; margin-top: .4em; }
.about__facts li { position: relative; padding-left: 1.7em; }
.about__facts li::before { content: ""; position: absolute; left: 0; top: .42em; width: .72em; height: .72em; border-radius: 50%; background: var(--coral); }
@media (max-width: 820px) { .about__grid { grid-template-columns: 1fr; } .about__fig { max-width: 300px; } }

/* ═════════ PRICES ═════════ */
.rail { height: 9px; border-radius: 99px; background: var(--ink); }
.tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); align-items: start; }
.tag {
  position: relative; margin-top: 58px;
  padding: 66px clamp(20px, 2.3vw, 36px) clamp(24px, 2.6vw, 38px);
  background: var(--paper); border: 3px solid var(--ink); border-radius: 28px;
  box-shadow: 10px 12px 0 rgba(23, 20, 46, .16);
  transform-origin: 50% -58px;
  transition: transform .7s var(--out);
}
.tag::before { content: ""; position: absolute; left: 50%; top: -61px; width: 3px; height: 92px; margin-left: -1.5px; background: var(--ink); }
.tag__hole { position: absolute; z-index: 1; left: 50%; top: 20px; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--butter); border: 3px solid var(--ink); }
.tag:hover { transform: rotate(-1.4deg); }
.tag:nth-child(2):hover { transform: rotate(1.2deg); }
.js .tag[data-reveal]:not(.is-in) { transform: rotate(5deg); }
.js .tag[data-reveal]:nth-child(2):not(.is-in) { transform: rotate(-4deg); }
.tag--pop { background: var(--ink); color: var(--cream); }
.tag__name { text-align: center; font-weight: 800; font-stretch: 82%; font-size: clamp(1.55rem, 2.2vw, 2.15rem); letter-spacing: -.03em; }
.tag__price { text-align: center; font-weight: 800; font-stretch: 78%; font-size: clamp(3.6rem, 6.2vw, 5.8rem); line-height: .9; letter-spacing: -.015em; margin: .2em 0 .12em; }
.tag__price small { display: block; font-size: .2em; font-weight: 700; font-stretch: 100%; letter-spacing: 0; margin-bottom: .5em; }
.tag--pop .tag__price { color: var(--gold); }
.tag__price small.per { margin: .5em 0 0; }
.tag__price--word { font-size: clamp(2.7rem, 4.6vw, 4.2rem); line-height: 1; margin: .34em 0 .24em; }
.tag__for a { font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.tag__time { text-align: center; font-weight: 700; }
.tag__line { font-weight: 700; font-size: 1.1em; line-height: 1.25; letter-spacing: -.01em; margin: 1.3em 0 .9em; text-wrap: balance; }
.tag ul { display: grid; gap: .5em; font-size: .97em; }
.tag li { position: relative; padding-left: 1.35em; }
.tag li::before { content: "+"; position: absolute; left: 0; font-weight: 800; color: var(--coral); }
.tag--pop li::before { color: var(--gold); }
.tag__for { margin-top: 1.3em; padding-top: 1.1em; border-top: 2px dashed rgba(23, 20, 46, .3); font-size: .93em; }
.tag--pop .tag__for { border-top-color: rgba(255, 245, 230, .32); }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 52px); margin-top: clamp(44px, 6vw, 84px); font-size: 1.05em; }
.extras p { max-width: 30em; }
.extras a { font-weight: 700; text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (max-width: 920px) { .tags, .extras { grid-template-columns: 1fr; } .tag { max-width: 520px; width: 100%; justify-self: center; } }

/* ═════════ PROCESS (the marquee board) ═════════ */
.board { position: relative; padding: clamp(30px, 3.6vw, 50px) clamp(26px, 3.4vw, 48px); border-radius: 26px; background: #13102E; color: var(--cream); box-shadow: 0 0 0 3px var(--ink), 12px 14px 0 rgba(23, 20, 46, .28); }
.board__bulbs i { position: absolute; pointer-events: none; }
.board__bulbs i::before, .board__bulbs i::after { content: ""; position: absolute; inset: 0; }
.board__bulbs i:nth-child(odd) { left: 26px; right: 26px; height: 14px; }
.board__bulbs i:nth-child(even) { top: 26px; bottom: 26px; width: 14px; }
.board__bulbs i:nth-child(1) { top: 7px; } .board__bulbs i:nth-child(3) { bottom: 7px; }
.board__bulbs i:nth-child(2) { right: 7px; } .board__bulbs i:nth-child(4) { left: 7px; }
.board__bulbs i:nth-child(odd)::before { background: radial-gradient(circle at 25% 50%, #FFE9A8 0 3px, transparent 4px) 0 0 / 44px 100% round; }
.board__bulbs i:nth-child(odd)::after { background: radial-gradient(circle at 75% 50%, #FFE9A8 0 3px, transparent 4px) 0 0 / 44px 100% round; }
.board__bulbs i:nth-child(even)::before { background: radial-gradient(circle at 50% 25%, #FFE9A8 0 3px, transparent 4px) 0 0 / 100% 44px round; }
.board__bulbs i:nth-child(even)::after { background: radial-gradient(circle at 50% 75%, #FFE9A8 0 3px, transparent 4px) 0 0 / 100% 44px round; }
.board__bulbs i::before { animation: bulbs 1s steps(1, end) infinite; }
.board__bulbs i::after { animation: bulbs 1s steps(1, end) -.5s infinite; }
@keyframes bulbs { 0%, 100% { opacity: 1; filter: drop-shadow(0 0 4px #FFC65C); } 50% { opacity: .28; filter: none; } }
.board__rows li {
  display: grid; grid-template-columns: minmax(110px, .42fr) minmax(170px, .8fr) minmax(0, 2fr);
  gap: 6px clamp(16px, 3vw, 52px); align-items: center;
  padding: clamp(18px, 2.2vw, 30px) clamp(10px, 1.6vw, 24px);
  border-bottom: 2px solid rgba(255, 245, 230, .13);
  transition: opacity .5s;
}
.board__rows li:last-child { border-bottom: 0; }
.board__day { font-weight: 700; color: var(--gold); }
.board__name { font-weight: 800; font-stretch: 76%; font-size: clamp(2.4rem, 4.8vw, 4.4rem); line-height: .88; letter-spacing: -.02em; text-transform: uppercase; transition: color .4s, text-shadow .4s; }
.board__text { max-width: 33em; }
.js .board__rows li { opacity: .34; }
.js .board__rows li.is-on { opacity: 1; }
.js .board__rows li.is-on .board__name { color: #FFF3CF; text-shadow: 0 0 22px rgba(255, 198, 92, .6); }
@media (max-width: 760px) { .board__rows li { grid-template-columns: 1fr; } }

/* ═════════ ALWAYS ═════════ */
.perf { padding: .72em 1.15em; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 700; font-size: .95rem; }
.tenets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 4vw, 60px) clamp(24px, 4vw, 68px); }
.tenets li::before {
  content: ""; display: block; width: 58px; height: 19px; margin-bottom: 18px;
  background: linear-gradient(var(--coral) 0 0) 0 0 / 100% 4px no-repeat, linear-gradient(var(--coral) 0 0) 0 7.5px / 100% 4px no-repeat, linear-gradient(var(--coral) 0 0) 0 15px / 100% 4px no-repeat;
}
.tenets h3 { font-weight: 800; font-stretch: 82%; font-size: clamp(1.5rem, 2.2vw, 2.1rem); letter-spacing: -.03em; margin-bottom: .3em; }
@media (max-width: 900px) { .tenets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tenets { grid-template-columns: 1fr; } }

/* ═════════ FAQ ═════════ */
.faq { margin-top: 0; padding-top: 0; clip-path: none; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.faq__grid > h2 { position: sticky; top: 110px; }
.q { border-bottom: 2.5px solid var(--ink); }
.q:first-child { border-top: 2.5px solid var(--ink); }
.q summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 1.05em 0; cursor: pointer; list-style: none; font-weight: 700; font-size: clamp(1.15rem, 1.5vw, 1.45rem); letter-spacing: -.02em; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after {
  content: ""; flex: none; width: 20px; height: 20px;
  background: linear-gradient(var(--ink) 0 0) 50% 50% / 100% 3px no-repeat, linear-gradient(var(--ink) 0 0) 50% 50% / 3px 100% no-repeat;
  transition: transform .35s var(--out);
}
.q[open] summary::after { transform: rotate(45deg); }
.q summary:hover { color: var(--coral); }
.q__a { padding: 0 0 1.3em; max-width: 38em; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .q::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--out), content-visibility .4s allow-discrete; }
  .q[open]::details-content { block-size: auto; }
}
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__grid > h2 { position: static; } }

/* ═════════ START ═════════ */
.start__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.start__copy { display: grid; gap: clamp(16px, 2vw, 26px); justify-items: start; }
.opensign {
  display: inline-grid; place-items: center; rotate: -3deg; margin: 6px 0 clamp(14px, 2.4vw, 34px) 6px;
  padding: .2em .62em .1em; border: 4px solid #FFE3EE; border-radius: .4em;
  font-family: var(--f-neon); font-size: clamp(3.4rem, 8vw, 7.2rem); line-height: 1; color: #E4FFFB;
  text-shadow: 0 0 10px var(--aqua), 0 0 34px var(--aqua), 0 0 84px var(--aqua);
  box-shadow: 0 0 14px var(--hot), 0 0 50px rgba(255, 79, 147, .8), inset 0 0 14px var(--hot), inset 0 0 44px rgba(255, 79, 147, .5);
  animation: hum 7s steps(1, end) infinite;
}
@keyframes hum { 0%, 100% { opacity: 1; } 41% { opacity: .72; } 42% { opacity: 1; } 43% { opacity: .55; } 44% { opacity: 1; } 78% { opacity: .85; } 79% { opacity: 1; } }
.start__alt a { font-weight: 700; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--hot); }
.ticket {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: clamp(22px, 3vw, 42px); border-radius: 26px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 0 0 3px var(--ink), 14px 16px 0 rgba(0, 0, 0, .38);
}
.ticket__head { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px dashed rgba(23, 20, 46, .3); font-weight: 800; }
.ticket__head span:last-child { font-weight: 600; opacity: .7; }
.field { grid-column: 1 / -1; display: grid; gap: 7px; min-width: 0; border: 0; padding: 0; }
.field--half { grid-column: span 1; }
.field label, .field legend { font-weight: 700; font-size: .95rem; padding: 0; }
.opt { font-weight: 500; font-size: .86em; opacity: .65; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; padding: 14px; border-radius: 12px; border: 2px solid rgba(23, 20, 46, .28); background: #fff;
  font: 600 1.05rem/1.3 var(--f); color: var(--ink); outline: none; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(53, 235, 221, .5); }
.field [aria-invalid="true"] { border-color: #C8102E; background: #FFF4F4; }
.field ::placeholder { color: rgba(23, 20, 46, .45); font-weight: 500; }
.picks { display: block; }
.picks legend { margin-bottom: 9px; }
.pick { display: inline-block; margin: 0 6px 8px 0; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-block; padding: .62em 1.02em; border-radius: 99px; border: 2px solid rgba(23, 20, 46, .28); font-weight: 600; font-size: .95rem; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.pick span:hover { border-color: var(--ink); }
.pick input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pick input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.ticket__send { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.ticket__note { flex: 1 1 200px; font-size: .9rem; line-height: 1.35; }
.ticket__note.is-error { color: #C8102E; font-weight: 700; }
.ticket__note.is-ok { font-weight: 700; }
@media (max-width: 940px) { .start__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field--half { grid-column: 1 / -1; } }

/* ═════════ FOOTER ═════════ */
.foot { position: relative; background: var(--deep); color: var(--cream); padding: clamp(44px, 6vw, 76px) 0 clamp(96px, 9vw, 110px); }
.foot__sig {
  margin: 0 0 clamp(28px, 5vw, 64px); padding: 0 var(--pad); text-align: center; white-space: nowrap;
  font-family: "Yellowtail", var(--f-neon); font-size: clamp(3.4rem, 13.5vw, 12rem); line-height: 1.15;
  color: #FFE3EE; text-shadow: 0 0 10px var(--hot), 0 0 38px var(--hot), 0 0 100px rgba(255, 79, 147, .8);
  animation: hum 9s steps(1, end) 2s infinite;
}
.foot__row { display: grid; grid-template-columns: minmax(0, 1.5fr) auto auto; gap: 32px clamp(32px, 7vw, 110px); align-items: start; }
.foot__brand { display: grid; gap: 18px; justify-items: start; max-width: 26em; }
.foot__go { font-size: 1.5rem; }
.foot__nav { display: grid; gap: 9px; }
.foot__nav a { text-decoration: none; font-weight: 600; }
.foot__nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--hot); }
.foot__meta { display: grid; gap: 14px; justify-items: start; font-size: .93rem; }
.foot__motion { padding: .55em 1em; border-radius: 99px; border: 2px solid rgba(255, 245, 230, .32); background: none; font-weight: 600; font-size: .88rem; cursor: pointer; }
.foot__motion:hover { border-color: var(--aqua); }
@media (max-width: 760px) { .foot__row { grid-template-columns: 1fr; } }

/* ── the follow-you pill ─────────────────────────────────────────────── */
.pill {
  position: fixed; z-index: 40; left: 50%; bottom: 16px;
  display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 24px);
  padding: 9px 9px 9px 20px; border-radius: 999px;
  background: var(--deep); color: var(--cream); text-decoration: none; font-weight: 600; font-size: .95rem;
  box-shadow: 0 0 0 2px rgba(255, 245, 230, .2), 0 14px 44px -8px rgba(0, 0, 0, .6);
  transform: translate(-50%, 160%); transition: transform .55s var(--out);
}
.pill[hidden] { display: none; }
.pill.is-in { transform: translate(-50%, 0); }
.pill > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill .biz { font-weight: 800; background: none; padding: 0; color: #FFE3EE; }
.pill b { flex: none; padding: .68em 1.05em; border-radius: 99px; background: var(--hot); color: #1B0A1F; white-space: nowrap; }
@media (max-width: 520px) { .pill > span { display: none; } .pill { padding: 7px; } }

/* ═════════ motion off (system setting or the footer switch) ═════════ */
.no-motion { scroll-behavior: auto; }
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
.no-motion.js [data-split] .w { opacity: 1; }
.no-motion .shot img { transform: none; }
.no-motion .car { display: none; }
.no-motion.js .tag[data-reveal]:not(.is-in) { transform: none; }
