/* MXL All Stars. Poster-style hero, scroll-scrubbed film sections, dark single theme by design. */
:root {
  color-scheme: dark;
  --ink: #000;
  --ink-2: #131211;
  --cream: #ebe3d3;
  --dim: #a39d91;
  --red: #d3202b;
  --gold: #c9a45c;
  --line: #34322f;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --script: "Knewave", "Brush Script MT", cursive;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--body); font-size: 16px; line-height: 1.5; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.label { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .03em; }
.dim { color: var(--dim); }
.red { color: var(--red); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); opacity: 0; transform: translateY(-100%); transition: opacity .3s, transform .3s; background: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,0)); }
.nav.on { opacity: 1; transform: none; }
.brand { font-family: var(--script); color: var(--red); font-size: 24px; text-decoration: none; line-height: 1; display: flex; align-items: baseline; gap: 8px; }
.brand span { font-family: var(--display); color: var(--cream); font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--dim); }
.nav nav a:hover { color: var(--cream); }
@media (max-width: 640px) { .nav nav { display: none; } }

.btn { display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--dim); padding: 12px 18px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--cream); transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.btn-sm { padding: 8px 14px; }
.btn-lg { padding: 18px 28px; font-size: 14px; background: var(--red); border-color: var(--red); }

/* pinned film sections */
.pin { position: relative; height: calc(var(--len) * 1svh); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--ink); }
.media { position: absolute; inset: 0; }
.media canvas, .media .cutout { position: absolute; inset: 0; width: 100%; height: 100%; }
.media .cutout { object-fit: cover; object-position: 50% 50%; z-index: 2; }
.stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 18%; background: linear-gradient(to top, var(--ink), transparent); pointer-events: none; z-index: 3; }

/* hero poster, after the FADE reference: wide heavy word, figure in front, script over the first letters.
   The portrait sits in a 16:9 box on pure black, so it can be sized and placed freely. */
#hero { --k: 0; --rest: 84svh; --full: 100svh; --x0: 47vw; --x1: 50vw; }
/* one base colour everywhere: stages, sections and footer all sit on --ink, and the film edges are feathered into it in app.js */
#services .stage::after { display: none; }
#hero .media { --h: calc(var(--rest) + (var(--full) - var(--rest)) * var(--k)); inset: auto; bottom: 0; height: var(--h); aspect-ratio: 16 / 9; left: calc(var(--x0) + (var(--x1) - var(--x0)) * var(--k) - var(--h) * 0.8018); }
#hero .media, #hero .media canvas, #hero .media .cutout { pointer-events: none; }
#hero .media canvas { z-index: 0; }
.headline { position: absolute; left: 3vw; top: 10svh; width: 94vw; height: 44svh; z-index: 1; overflow: visible; }
.headline text { font-family: "Archivo Black", "Arial Black", Impact, sans-serif; fill: var(--cream); will-change: transform, opacity; }
.script { position: absolute; left: 5vw; top: 30svh; z-index: 4; font-family: var(--script); color: var(--red); font-size: clamp(64px, 11vw, 190px); line-height: .8; transform: rotate(-9deg); transform-origin: left center; text-shadow: 0 3px 0 rgba(0,0,0,.3); will-change: transform, opacity; }
.script svg { display: block; width: 1.9em; height: .28em; margin: .06em 0 0 .3em; overflow: visible; }
.poster-ui { position: absolute; inset: 0; z-index: 5; will-change: opacity; }
.corner { position: absolute; }
.tl { left: var(--gutter); top: 22px; }
.tc { left: 50%; top: 22px; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.tr { right: var(--gutter); top: 22px; text-align: right; }
.bl { left: var(--gutter); bottom: 6svh; display: flex; flex-direction: column; gap: 14px; }
.br { right: var(--gutter); bottom: 6svh; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.br .btn { margin: 14px 0 18px; }
.svc li { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.7; }
.tag { border-left: 1px solid var(--line); padding-left: 14px; }
.tag strong { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; }
.thumbs { display: flex; gap: 2px; }
.thumbs img { width: 56px; height: 56px; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.hours { font-family: var(--mono); font-size: 26px; font-weight: 500; line-height: 1.1; }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); color: var(--dim); }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px auto 0; background: var(--dim); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* captions pinned to scroll position */
.cap { position: absolute; z-index: 6; top: 50%; max-width: min(30rem, 42vw); opacity: 0; transform: translateY(calc(-50% + 24px)); will-change: transform, opacity; }
.cap-l { left: var(--gutter); }
.cap-r { right: var(--gutter); text-align: right; }
.cap { text-shadow: 0 2px 24px rgba(0,0,0,.75); }
.cap-big { font-family: var(--display); font-size: clamp(40px, 6.4vw, 104px); line-height: .95; text-transform: uppercase; letter-spacing: .01em; margin-top: 10px; text-wrap: balance; }
.cap-sub { color: var(--dim); margin-top: 14px; font-size: 16px; max-width: 26rem; }
.cap-r .cap-sub { margin-left: auto; }
.price { font-family: var(--mono); font-size: 22px; color: var(--gold); margin-top: 14px; }
.track { position: absolute; z-index: 6; left: 0; right: 0; top: 50%; text-align: center; font-family: var(--display); font-weight: 400; font-size: clamp(56px, 13vw, 220px); line-height: 1; text-transform: uppercase; opacity: 0; will-change: transform, opacity, letter-spacing; mix-blend-mode: difference; }
.spec-row { position: absolute; z-index: 6; left: var(--gutter); right: var(--gutter); bottom: 12svh; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spec { border-top: 1px solid var(--line); padding-top: 14px; opacity: 0; transform: translateY(24px); will-change: transform, opacity; }
.spec-k { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.spec-v { display: block; font-family: var(--display); font-size: clamp(30px, 5vw, 76px); line-height: 1; text-transform: uppercase; margin-top: 8px; }

/* static sections */
.block { padding: clamp(72px, 12vw, 160px) var(--gutter); max-width: 1320px; margin-inline: auto; }
.block h2 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 8vw, 120px); line-height: .95; text-transform: uppercase; text-wrap: balance; margin-top: 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 20px; margin-top: 48px; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .3s; }
.card:hover img { filter: none; }
.card div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }
.card h3 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; min-width: 0; }
.card span { font-family: var(--mono); font-size: 14px; color: var(--gold); }
.more { margin-top: 32px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 6vw, 80px); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-copy { min-width: 0; }
.split-copy h2 { font-size: clamp(40px, 5.6vw, 84px); }
.math { font-family: var(--mono); font-size: clamp(15px, 1.6vw, 20px); margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.math span:last-child { color: var(--gold); }
.list { margin-top: 24px; }
.list li { padding: 8px 0; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.split-copy .mono { margin-top: 16px; }
.cta { text-align: center; }
.cta .btn { margin-top: 32px; }
.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; margin-top: 72px; text-align: left; }
.places p { margin-top: 8px; }
.places .big { font-size: 20px; }
.foot { text-align: center; padding: 32px var(--gutter) 48px; }
.reveal { transform: translateY(28px); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { transform: none; }

/* portrait phones: figure sits in the lower part, headline above it */
@media (max-aspect-ratio: 1/1) {
  #hero { --rest: 61svh; --full: 100svh; --x0: 50vw; --x1: 50vw; }
  .headline { top: 12svh; height: 24svh; }
  .script { top: 27svh; left: 5vw; font-size: 22vw; }
  .bl { display: none; }
  .br .dim, .br .svc, .br > .label.red:first-child { display: none; }
  .tc { display: none; }
  .bl .thumbs, .bl .mono { display: none; }
  .bl { bottom: 13svh; }
  .br { bottom: 13svh; align-items: flex-end; text-align: right; }
  .br .btn { display: none; }
  .hours { font-size: 18px; }
  .cap { top: auto; bottom: 10svh; max-width: none; left: var(--gutter); right: var(--gutter); transform: translateY(24px); text-align: left; }
  .cap-r .cap-sub { margin-left: 0; }
  .spec-row { grid-template-columns: 1fr; gap: 12px; bottom: 8svh; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue::after { animation: none; }
  .reveal { transform: none; transition: none; }
}

/* rounded images with a warm glow behind them */
.thumbs { gap: 8px; }
.thumbs img { border-radius: 14px; box-shadow: 0 0 0 1px rgba(201,164,92,.4), 0 0 18px 1px rgba(201,164,92,.5); }
.card { position: relative; }
.card img { border-radius: 24px; box-shadow: 0 0 0 1px rgba(201,164,92,.28), 0 0 46px -4px rgba(201,164,92,.42), 0 0 110px -10px rgba(211,32,43,.28); transition: filter .3s, transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.card:hover img { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(201,164,92,.5), 0 0 60px 0 rgba(201,164,92,.6), 0 0 130px -6px rgba(211,32,43,.38); }
.card div { border-top: 0; margin-top: 16px; padding-top: 0; }
.grid { gap: 40px 28px; }
.split-media img { border-radius: 32px; box-shadow: 0 0 0 1px rgba(201,164,92,.28), 0 0 70px -6px rgba(201,164,92,.42), 0 0 160px -10px rgba(211,32,43,.3); }
@media (prefers-reduced-motion: reduce) { .card img { transition: none; } .card:hover img { transform: none; } }

.card a { display: block; text-decoration: none; }
.card a:focus-visible img { outline: 2px solid var(--red); outline-offset: 4px; }
.btn, .btn-lg { border-radius: 999px; }

/* MXL logo on a white spotlight with a red rim glow */
.brand { display: inline-flex; }
.logo-spot { --d: 54px; width: var(--d); height: var(--d); border-radius: 50%; display: grid; place-content: center; flex: none;
  background: radial-gradient(circle, #fff 0 62%, #f3ece0 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 0 22px 4px rgba(255,255,255,.45), 0 0 54px 10px rgba(211,32,43,.5); transition: box-shadow .3s, transform .3s; }
.logo-spot img { width: calc(var(--d) * .66); height: auto; display: block; }
.logo-spot.big { --d: clamp(72px, 7vw, 104px); }
.brand:hover .logo-spot { transform: scale(1.05); box-shadow: 0 0 0 1px #fff, 0 0 28px 6px rgba(255,255,255,.6), 0 0 70px 14px rgba(211,32,43,.65); }
.tl { top: 16px; }
.nav { padding-block: 10px; }

/* booking categories: four tall panels; the one you point at opens up */
.cats-block { max-width: 1560px; }
.cats { display: flex; gap: 12px; margin-top: 48px; height: clamp(440px, 72svh, 720px); }
.cat { flex: 1 1 0; min-width: 0; transition: flex-grow .6s cubic-bezier(.2,.7,.2,1); }
.cat.reveal { transform: none; clip-path: inset(100% 0 0 0 round 28px); transition: flex-grow .6s cubic-bezier(.2,.7,.2,1), clip-path .9s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 90ms); }
.cat.reveal.in { clip-path: inset(0 0 0 0 round 28px); }
.cat a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 28px; text-decoration: none; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(235,227,211,.14); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; filter: grayscale(1) contrast(1.1) brightness(.62); transform: scale(1.04); transition: filter .6s, transform 1.4s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.cat a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.35) 46%, rgba(0,0,0,.1) 100%); }
.cat a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.cat-n { position: absolute; left: 22px; top: 20px; font-size: 13px; color: var(--cream); letter-spacing: .12em; }
.cat-badge { position: absolute; right: 16px; top: 16px; max-width: calc(100% - 84px); background: var(--red); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 10px; font-weight: 700; text-align: center; animation: badge 2.6s ease-in-out infinite; }
@keyframes badge { 0%, 100% { box-shadow: 0 0 0 0 rgba(211,32,43,.55); } 50% { box-shadow: 0 0 0 9px rgba(211,32,43,0); } }
.cat-body { position: absolute; left: 22px; right: 22px; bottom: 26px; display: flex; flex-direction: column; gap: 12px; }
.cat-title { font-family: var(--display); font-size: clamp(26px, 2.5vw, 44px); line-height: .98; text-transform: uppercase; letter-spacing: .01em; color: var(--cream); text-wrap: balance; }
.cat-meta { color: var(--gold); font-size: 13px; }
.cat-go { position: absolute; right: 20px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; background: var(--cream); color: #000; font-size: 20px; opacity: 0; transform: translate(-12px, 0) rotate(-45deg); transition: opacity .35s, transform .5s cubic-bezier(.2,.7,.2,1); }
.cat-body { padding-right: 0; transition: padding-right .5s; }
@media (hover: hover) and (min-width: 861px) {
  .cats:hover .cat:not(:hover) img { filter: grayscale(1) contrast(1.05) brightness(.38); }
  .cat:hover, .cat:focus-within { flex-grow: 2.1; }
  .cat:hover img, .cat:focus-within img { filter: grayscale(0) contrast(1.05) brightness(.9); transform: scale(1.1); }
  .cat:hover a::after, .cat:focus-within a::after { transform: scaleX(1); }
  .cat:hover .cat-go, .cat:focus-within .cat-go { opacity: 1; transform: none; }
  .cat:hover .cat-body, .cat:focus-within .cat-body { padding-right: 64px; }
  .cat:hover a, .cat:focus-within a { box-shadow: inset 0 0 0 1px rgba(201,164,92,.6), 0 0 60px -8px rgba(211,32,43,.45); }
}
.cat a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
/* phones and touch: stacked, colour on, arrow always showing */
@media (max-width: 860px), (hover: none) {
  .cats { flex-direction: column; height: auto; gap: 14px; }
  .cat { flex: none; height: clamp(190px, 30svh, 260px); }
  .cat.reveal { clip-path: inset(0 100% 0 0 round 24px); }
  .cat.reveal.in { clip-path: inset(0 0 0 0 round 24px); }
  .cat a { border-radius: 24px; }
  .cat img { filter: grayscale(.25) contrast(1.05) brightness(.7); }
  .cat a::before { background: linear-gradient(to right, rgba(0,0,0,.9) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.15) 100%); }
  .cat-title { font-size: clamp(24px, 6.4vw, 34px); }
  .cat-body { bottom: 20px; padding-right: 60px; }
  .cat-go { opacity: 1; transform: none; width: 40px; height: 40px; bottom: 20px; }
  .cat a::after { transform: scaleX(1); height: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .cat, .cat.reveal, .cat img, .cat-go, .cat a::after { transition: none; }
  .cat.reveal { clip-path: none; }
  .cat-badge { animation: none; }
}
.cats { height: clamp(400px, 62svh, 640px); }
.cat:nth-child(2) img { object-position: 80% 30%; }
.cat:nth-child(4) img { object-position: 50% 8%; }
@media (max-width: 860px), (hover: none) { .cats { height: auto; } }

/* how-a-unit-works film */
.stage-note { position: absolute; z-index: 6; right: var(--gutter); bottom: 18px; font-size: 11px; opacity: .7; }
@media (max-aspect-ratio: 1/1) { .stage-note { left: var(--gutter); right: auto; bottom: 14px; } }
@media (min-aspect-ratio: 1/1) { #unit .cap { max-width: min(22rem, 26vw); } #unit .cap-big { font-size: clamp(32px, 4.2vw, 68px); } }

/* ---------- phones first: most visitors are on a phone ---------- */
a.plain { text-decoration: none; }
.hero-book, .mbar { display: none; }
.btn-sm { min-height: 44px; }
.more a { display: inline-block; padding-block: 10px; }
.cat-badge { font-size: 11px; }
@media (max-aspect-ratio: 1/1) {
  /* shorter scroll distances so the films do not feel endless under a thumb */
  #hero { --len: 300 !important; --rest: 68svh; }
  #services { --len: 320 !important; }
  #unit { --len: 560 !important; }
  /* poster: logo clear of the headline, figure larger, one clear button */
  .tl { top: 12px; }
  .logo-spot.big { --d: 56px; }
  .tr { top: 20px; }
  .headline { top: 11svh; left: 4vw; width: 92vw; height: 22svh; }
  .script { top: 24svh; font-size: 20vw; }
  .br { display: none; }
  .scroll-cue { display: none; }
  .hero-book { display: inline-flex; position: absolute; z-index: 6; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); white-space: nowrap; box-shadow: 0 10px 40px -8px rgba(211,32,43,.8); }
  .poster-ui .hero-book { pointer-events: auto; }
  /* captions sit on a dark floor so they stay readable over the film */
  .stage::after, #services .stage::after { display: block; height: 58%; background: linear-gradient(to top, #000 0%, rgba(0,0,0,.88) 34%, rgba(0,0,0,0) 100%); }
  #hero .stage::after { height: 30%; }
  .cap { bottom: calc(12svh + env(safe-area-inset-bottom, 0px)); }
  .cap-big { font-size: clamp(34px, 10.5vw, 52px); }
  .cap-sub { font-size: 15px; }
  .track { font-size: 15vw; }
  .stage-note { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .block { padding-block: 64px; }
  .block h2 { font-size: clamp(40px, 12vw, 64px); }
  .cats { margin-top: 28px; }
  .places { margin-top: 48px; gap: 22px; }
  .places .big { font-size: 22px; }
  .foot { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
  .nav { padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
  /* action bar: Book is always one thumb away */
  .mbar { display: flex; gap: 10px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, rgba(0,0,0,.96) 60%, rgba(0,0,0,0)); transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .mbar.on { transform: none; }
  .mbar .btn { flex: 1; justify-content: center; min-height: 52px; padding-inline: 14px; }
  .mbar .btn:first-child { flex: 1.5; }
  .mbar .btn:last-child { background: rgba(20,20,20,.9); border-color: rgba(235,227,211,.4); }
  .nav .btn-sm[href="book.html"] { display: none; } /* the bar already carries Book */
}
@media (prefers-reduced-motion: reduce) { .mbar { transition: none; } }
@media (max-aspect-ratio: 1/1) {
  .headline { top: 13svh; }
  .script { top: 26svh; }
  .stage-note { top: calc(76px + env(safe-area-inset-top, 0px)); bottom: auto; left: var(--gutter); right: auto; }
}

/* main logo: MXL Inc chrome wordmark, no spotlight disc; a soft red glow sits behind it */
.logo-spot { --d: 46px; width: auto; height: var(--d); border-radius: 0; background: none; box-shadow: none; position: relative; isolation: isolate; }
.logo-spot::before { content: ""; position: absolute; inset: -30% -12%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(211,32,43,.5), rgba(211,32,43,0)); filter: blur(10px); opacity: .7; transition: opacity .3s; }
.logo-spot img { height: 100%; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.logo-spot.big { --d: clamp(54px, 5vw, 78px); }
.brand:hover .logo-spot { transform: scale(1.04); box-shadow: none; }
.brand:hover .logo-spot::before { opacity: 1; }
@media (max-aspect-ratio: 1/1) { .logo-spot { --d: 40px; } .logo-spot.big { --d: 44px; } }
.logo-spot { display: inline-block; line-height: 0; }
.logo-spot img { height: var(--d); width: auto; max-width: none; }

/* footer legal links (every page) */
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 10px; }
.foot-links a { color: var(--dim); text-decoration: none; padding: 10px 2px; transition: color .2s; }
.foot-links a:hover, .foot-links a[aria-current="page"] { color: var(--cream); }
@media (max-aspect-ratio: 1/1) { .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }
/* phones: Atif larger and higher, standing in front of MAGIC so the word sits behind him */
@media (max-aspect-ratio: 1/1) {
  #hero { --rest: 86svh; }
  .headline { top: 15svh; height: 24svh; }
  .script { top: 10.5svh; left: 4vw; font-size: 18vw; }
  #hero .media .cutout { filter: drop-shadow(0 -6px 30px rgba(0,0,0,.65)); }
}
