/* Hallmark · shape: Visitkortet om natten as the site: home with hello, the cut-out portrait on a red plate, the "Jeg ..." rows, clients and the card; one page per world (film, dj so far); /abdul as a link page for Instagram · genre: editorial · theme: custom · job: hire · idea: "Abdul's portrait steps out of a black page onto a pomegranate-bordeaux plate, and every page beside it says plainly what he does with one button for the next step" · vibe: "red, white and black, his face first"
 * paper: oklch(13% 0.006 260) · accent: Rosso red #7D0A16, a saturated cherry-bordeaux, oklch(37.7% 0.145 24.1) for the plate, the card and bands with white on top, oklch(72% 0.16 26) for red text on black · display: Clash Display 600 · body: Switzer · hero: hello and his full name beside the cut-out portrait breaking out over the top of a red plate · nav: name, two links, one action, then a chip row to every world · footer: one line · imagery: Abdul's cut-out portrait, his footage and photos · signature: the cut-out portrait on the red plate, with a soft shadow on the plate
 * axes: dark/display-heavy/chromatic-red · posture: Committed, the red plate and card carry the colour; the accent elsewhere is a signal · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · waive 39b · the three quick actions on /abdul are 72px tiles, icon over label, like a phone's own quick actions · thumbs hit them first on Instagram */
/* Hallmark · waive 77 · the filmography holds the two credits Abdul has named so far, the table grows as titles arrive · the page links his IMDb profile */
/* Hallmark · waive 79 · /abdul ends its header after the name and runs straight into the quick actions and links below it · a link page is one column read top to bottom */
/* Hallmark · waive 83 · the Foto page is the portfolio, so the billeder carry it: bryllup, portræt, familie, konfirmation, mad and brand, each a short section with a heading · the other pages keep photos to a third */
/* Hallmark · waive 81 · the empty slots on the julefilm page wait for stills, grading frames and pictures from optagelserne that Abdul is making · they show as dashed slots only locally, and on the live site an empty slot and its section hide themselves */
/* Hallmark · waive 59 · the chip bar sits straight under the hero on purpose, so every world is one tap away · the chips are how the site is navigated */
/* Hallmark · pre-emit critique: P4 H5 E5 S5 R5 V4 · weakest: V, this is the design Abdul chose; the change is the cut-out portrait and the pages behind each row */
:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-sm: 0.875rem; --text-md: 1.0625rem; --text-lg: 1.25rem;
  --text-hello: clamp(3.25rem, 8vw, 8.5rem); --text-line: clamp(1.75rem, 3.6vw, 3.75rem); --text-section: clamp(2rem, 2.6vw + 1rem, 3.5rem); --text-lead: clamp(1.1875rem, 0.45vw + 1rem, 1.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --dur-micro: 120ms; --dur-short: 220ms;
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap: 144px;
  --z-raised: 10; --z-sticky: 200; --z-sticky-nav: 300;
  --font-display: "Clash Display", "Arial Black", ui-sans-serif, sans-serif; --font-body: "Switzer", ui-sans-serif, system-ui, sans-serif;
  --radius: 8px; --radius-pill: 999px;
  --color-paper: oklch(13% 0.006 260); --color-paper-2: oklch(17% 0.008 260); --color-paper-3: oklch(22% 0.01 260); --color-hover: oklch(22% 0.01 260);
  --color-ink: oklch(97% 0.005 80); --color-ink-2: oklch(83% 0.008 80); --color-muted: oklch(70% 0.01 80); --color-rule: oklch(30% 0.01 260);
  --color-accent: oklch(72% 0.17 45); --color-accent-ink: oklch(15% 0.03 45); --color-focus: oklch(76% 0.17 45);
  --color-btn: oklch(97% 0.005 80); --color-btn-ink: oklch(13% 0.006 260);
  --color-card: oklch(72% 0.17 45); --color-card-ink: oklch(15% 0.03 45); --color-qr-ink: oklch(15% 0.03 45); --color-qr-paper: oklch(72% 0.17 45);
  --color-photo: oklch(10% 0.006 260);
  /* Abdul's colours: Rosso red, white and black. Rosso #7D0A16, oklch(37.7% 0.145 24.1), for surfaces with white on top, a lighter red for text and lines on black */
  --color-accent: oklch(72% 0.16 26); --color-accent-ink: oklch(98% 0.005 25); --color-focus: oklch(74% 0.16 26);
  --color-panel: oklch(37.7% 0.145 24.1); --color-shadow: oklch(5% 0.03 24 / 0.65);
  --color-card: oklch(37.7% 0.145 24.1); --color-card-ink: oklch(98% 0.005 25);
  --color-qr-ink: oklch(13% 0.006 260); --color-qr-paper: oklch(98% 0.005 20);
  --radius-lg: 28px;
  --color-error: oklch(70% 0.17 27);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: 140px; scroll-behavior: smooth; }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font: 400 var(--text-md)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: 0; line-height: 0.98; text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
h2 { font-size: var(--text-section); max-width: 18ch; line-height: 1.02; }
p { margin: 0; text-wrap: pretty; }
img, video { display: block; max-width: 100%; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1.5px solid var(--color-btn); border-radius: var(--radius-pill); background: var(--color-btn); color: var(--color-btn-ink); font: 500 var(--text-md)/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-ink-2); border-color: var(--color-ink-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--quiet { background: transparent; color: currentColor; border-color: currentColor; }
.btn--quiet:hover { background: var(--color-hover); border-color: currentColor; }
.link { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; }
.link:hover { text-decoration-color: var(--color-accent); }
.fill { padding: 0 0.25em; border: 1px dashed currentColor; border-radius: 3px; opacity: 0.8; }
.textbtn { min-height: 44px; padding: 0 var(--space-sm); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-2); font: 400 var(--text-sm)/1 var(--font-body); cursor: pointer; }
.textbtn:hover { background: var(--color-hover); color: var(--color-ink); }
.textbtn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); }
.nav .container { display: flex; align-items: center; gap: var(--space-lg); min-height: 68px; }
.wordmark { font: 600 1.375rem/1 var(--font-display); color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: var(--space-lg); }
.nav__end a:not(.btn) { color: var(--color-ink-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.nav__end a:not(.btn):hover { color: var(--color-ink); }
.nav .btn { min-height: 44px; padding: 0 var(--space-md); }
.chipbar { position: sticky; top: 68px; z-index: var(--z-sticky); background: var(--color-paper); border-block: 1px solid var(--color-rule); }
.chips { display: flex; gap: var(--space-xs); padding-block: var(--space-sm); overflow-x: auto; scrollbar-width: none; }
.chips a { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); color: var(--color-ink); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out); }
.chips a:hover { background: var(--color-hover); }
.chips a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.chips a[aria-current="true"] { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }
.section { padding-top: var(--section-gap); }
.status { min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }
.people { font: 600 var(--text-section)/1.15 var(--font-display); letter-spacing: -0.01em; max-width: 30ch; text-wrap: balance; }
.people span { color: var(--color-muted); }
.foot { margin-top: var(--section-gap); padding-block: var(--space-xl) var(--space-3xl); border-top: 1px solid var(--color-rule); }
.foot .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md) var(--space-xl); font-size: var(--text-sm); color: var(--color-ink-2); }
.foot a { color: var(--color-ink-2); }
.thumbbar { display: none; }
@media (max-width: 60rem) {
  :root { --gutter: 16px; --gap-columns: 16px; --section-gap: 96px; }
  html { scroll-padding-top: 130px; }
  .nav__end a.wide, .nav .btn { display: none; }
  .thumbbar { position: fixed; inset: auto 0 0; z-index: var(--z-sticky-nav); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); padding: var(--space-xs) var(--space-md) calc(var(--space-xs) + env(safe-area-inset-bottom)); background: var(--color-paper); border-top: 1px solid var(--color-rule); }
  .thumbbar .btn--quiet { color: var(--color-ink); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .chips a { transition: none; } }
.card { aspect-ratio: 85 / 55; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr) auto; column-gap: var(--space-lg); padding: clamp(1.25rem, 3.2vw, 3rem); border-radius: clamp(10px, 1.4vw, 18px); background: var(--color-card); color: var(--color-card-ink); container-type: inline-size; }
.card__name { font: 600 clamp(1.75rem, 9cqi, 4.25rem)/0.95 var(--font-display); letter-spacing: -0.02em; }
.card__roles { align-self: center; display: grid; gap: var(--space-3xs); font: 500 clamp(0.9375rem, 2.8cqi, 1.3rem)/1.3 var(--font-body); }
.card__lines { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); font: 500 clamp(0.9375rem, 2.5cqi, 1.2rem)/1.3 var(--font-body); }
.card__lines a { color: var(--color-card-ink); text-decoration: none; }
.card__lines a:hover { text-decoration: underline; }
.card__lines a:focus-visible { outline: 2px solid var(--color-card-ink); outline-offset: 2px; }
.qr { grid-column: 2; grid-row: 1 / span 2; width: clamp(84px, 20cqi, 140px); aspect-ratio: 1 / 1; }
.qr img, .qr canvas { width: 100% !important; height: auto !important; }
@media (max-width: 60rem) { .card { grid-template-columns: minmax(0, 1fr); } .qr { display: none; } }
.card { aspect-ratio: 85 / 55; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr) auto; column-gap: var(--space-lg); padding: clamp(1.25rem, 3.2vw, 3rem); border-radius: clamp(10px, 1.4vw, 18px); background: var(--color-card); color: var(--color-card-ink); container-type: inline-size; }
.card__name { font: 600 clamp(1.75rem, 9cqi, 4.25rem)/0.95 var(--font-display); letter-spacing: -0.02em; }
.card__roles { align-self: center; display: grid; gap: var(--space-3xs); font: 500 clamp(0.9375rem, 2.8cqi, 1.3rem)/1.3 var(--font-body); }
.card__lines { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); font: 500 clamp(0.9375rem, 2.5cqi, 1.2rem)/1.3 var(--font-body); }
.card__lines a { color: var(--color-card-ink); text-decoration: none; }
.card__lines a:hover { text-decoration: underline; }
.card__lines a:focus-visible { outline: 2px solid var(--color-card-ink); outline-offset: 2px; }
.qr { grid-column: 2; grid-row: 1 / span 2; width: clamp(84px, 20cqi, 140px); aspect-ratio: 1 / 1; }
.qr img, .qr canvas { width: 100% !important; height: auto !important; }
@media (max-width: 60rem) { .card { grid-template-columns: minmax(0, 1fr); } .qr { display: none; } }

.hello { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; min-height: calc(100svh - 68px - 68px); }
.hello__text { grid-column: 1 / span 7; display: grid; gap: var(--space-xl); padding-block: var(--space-xl) var(--space-3xl); }
.hello h1 { font-size: var(--text-hello); max-width: 9ch; }
.hello .lede { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 30ch; line-height: 1.45; }
.portrait { grid-column: 8 / -1; position: relative; margin: 0 calc(-1 * var(--gutter)) 0 0; align-self: stretch; min-height: 520px; background: var(--color-photo); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 22%; }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--space-md); margin-bottom: var(--space-xl); }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 16rem 13rem; gap: var(--space-lg) var(--gap-columns); align-items: center; padding-block: var(--space-lg); border-top: 1px solid var(--color-rule); }
.row:last-child { border-bottom: 1px solid var(--color-rule); }
.say { font: 600 var(--text-line)/1.06 var(--font-display); letter-spacing: -0.01em; max-width: 20ch; text-wrap: balance; }
.row__sub { margin-top: var(--space-sm); color: var(--color-ink-2); }
.row__media { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--color-photo); }
.row__media img, .row__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.row__media--type { display: grid; place-items: center; padding: var(--space-md); background: var(--color-paper-3); }
.row__media--type span { font: 600 1.75rem/1 var(--font-display); color: var(--color-accent); text-align: center; }
.row__act { justify-self: end; }
.cardwrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.cardwrap__text { grid-column: 1 / span 4; display: grid; gap: var(--space-lg); }
.card { grid-column: 6 / -1; }
@media (max-width: 60rem) {
  .hello { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .hello__text, .portrait { grid-column: 1 / -1; }
  .portrait { order: -1; margin: 0 calc(-1 * var(--gutter)); min-height: 0; aspect-ratio: 4 / 3; }
  .hello__text { padding-block: var(--space-lg) var(--space-xl); }
  .hello .actions { display: none; }
  .row { grid-template-columns: minmax(0, 1fr) 6.5rem; align-items: start; }
  .row__media { grid-column: 2; grid-row: 1; aspect-ratio: 1 / 1; }
  .row__act { grid-column: 1 / -1; justify-self: start; }
  .row__media--type span { font-size: 0.875rem; }
  .cardwrap__text, .card { grid-column: 1 / -1; }
}

.mark { width: 1.6em; height: 1.6em; flex-shrink: 0; color: var(--color-ink); }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-xs); }
.wordmark .mark { width: 34px; height: 34px; margin-block: calc(-1 * var(--space-2xs)); }
.foot__brand { display: inline-flex; align-items: center; gap: var(--space-xs); }
.foot__brand .mark { width: 24px; height: 24px; }
.bio__foot a { display: inline-flex; align-items: center; gap: var(--space-xs); }
.bio__foot .mark { width: 22px; height: 22px; }
.card__name .mark { display: block; width: 0.9em; height: 0.9em; margin-bottom: 0.2em; color: var(--color-card-ink); }
::selection { background: var(--color-panel); color: var(--color-accent-ink); }
/* The cut-out portrait on a red plate; his head breaks out over the top edge */
.cutout { position: relative; margin: 0; aspect-ratio: 4 / 5; width: 100%; isolation: isolate; }
/* A large red circle whose top sits just below eye level (eyes are 29% down the cut-out); the body ends on the circle's curve and the head breaks out over the top */
.cutout__plate { position: absolute; left: 6.25%; right: 6.25%; bottom: 0; aspect-ratio: 1 / 1; z-index: -1; border-radius: 50%; background: var(--color-panel); }
.cutout img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(-16px 20px 26px var(--color-shadow)); -webkit-mask-image: linear-gradient(var(--color-ink) 0 0), radial-gradient(closest-side at 50% 65%, var(--color-ink) 99.5%, transparent 100%); mask-image: linear-gradient(var(--color-ink) 0 0), radial-gradient(closest-side at 50% 65%, var(--color-ink) 99.5%, transparent 100%); -webkit-mask-size: 100% 65%, 100% 100%; mask-size: 100% 65%, 100% 100%; -webkit-mask-position: top, center; mask-position: top, center; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.hello .cutout { grid-column: 8 / -1; align-self: end; justify-self: end; margin-bottom: var(--space-2xl); width: min(100%, calc(min(74svh, 46rem) * 0.8)); }
.hello h1 { font-size: clamp(3rem, 6.2vw, 6.75rem); max-width: 11ch; }
@media (max-width: 60rem) {
  .hello .cutout { grid-column: 1 / -1; order: -1; height: auto; aspect-ratio: 4 / 5; max-width: 17rem; margin: var(--space-lg) auto 0; }
}

/* Home: Abdul's story as a short timeline */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.story__head { grid-column: 1 / span 4; display: grid; gap: var(--space-sm); align-content: start; }
.story__head h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); }
.story__list { grid-column: 6 / -1; list-style: none; margin: 0; padding: 0; }
.story__list li { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: var(--space-md); align-items: baseline; padding-block: var(--space-md); border-top: 1px solid var(--color-rule); }
.story__list li:last-child { border-bottom: 1px solid var(--color-rule); }
.story__list b { font: 600 var(--text-lg)/1.2 var(--font-display); color: var(--color-accent); font-variant-numeric: tabular-nums; }
.story__list span { font-size: var(--text-lead); line-height: 1.45; }
@media (max-width: 60rem) {
  .story__head, .story__list { grid-column: 1 / -1; }
  .story__list li { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .story__list span { font-size: var(--text-md); }
}

/* Håbløst: the two awards set large */
.awards { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); }
.awards li { font: 600 clamp(1.5rem, 2.4vw, 2.25rem)/1.1 var(--font-display); color: var(--color-accent); }
/* Julefilm: the premiere page */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.datecard { grid-column: 8 / -1; display: grid; align-content: end; gap: var(--space-sm); min-height: 24rem; padding: var(--space-xl); border-radius: var(--radius-lg); background: var(--color-panel); color: var(--color-accent-ink); }
.datecard__big { font: 600 clamp(6rem, 12vw, 11rem)/0.8 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.datecard__when { font: 600 var(--text-section)/1.1 var(--font-display); }
.tale { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.tale__head { grid-column: 1 / span 5; display: grid; gap: var(--space-lg); }
.tale__head h2 { font-size: clamp(2.25rem, 3.6vw, 4rem); }
.tale__turn { font: 600 clamp(1.5rem, 2.2vw, 2.25rem)/1.15 var(--font-display); color: var(--color-accent); text-wrap: balance; }
.tale__body { grid-column: 7 / -1; display: grid; gap: var(--space-md); font-size: var(--text-lead); line-height: 1.5; max-width: 60ch; }
.stat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); align-items: end; }
.stat__big { grid-column: 1 / span 6; font: 600 clamp(4.5rem, 10vw, 9rem)/0.85 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat__text { grid-column: 7 / -1; display: grid; gap: var(--space-sm); }
.stat__text p:first-child { font: 600 clamp(1.5rem, 2.4vw, 2.5rem)/1.15 var(--font-display); text-wrap: balance; }
.stat__text p:last-child { color: var(--color-muted); font-size: var(--text-sm); }
.ask__p { grid-column: 1 / span 7; font-size: var(--text-lead); line-height: 1.45; }
.ask .status { grid-column: 1 / -1; min-height: 1lh; }
.thanks { margin-top: var(--space-xl); display: grid; gap: var(--space-xs); color: var(--color-ink-2); max-width: 60ch; }
@media (max-width: 60rem) {
  .datecard { grid-column: 1 / -1; min-height: 0; padding: var(--space-lg); }
  .tale__head, .tale__body, .stat__big, .stat__text, .ask__p { grid-column: 1 / -1; }
  .phero .actions .btn--quiet[data-ics] { display: inline-flex; }
}

/* Julefilm: slots, stills, BTS and the before/after slider */
.slot { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--color-photo); }
.slot img, .slot video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot.is-empty { display: grid; place-items: center; padding: var(--space-md); border: 2px dashed var(--color-rule); background: var(--color-paper-2); }
.slot.is-empty::after { content: attr(data-slot); color: var(--color-ink-2); font-size: var(--text-sm); text-align: center; }
.slot.is-empty > * { display: none; }
.slot--wide { border-radius: var(--radius-lg); }
.tale__poster { grid-column: 1 / span 4; aspect-ratio: 2 / 3; }
.tale:has(.tale__poster) .tale__head { grid-column: 6 / -1; }
.tale:has(.tale__poster) .tale__body { grid-column: 6 / -1; }
.tale:has(.tale__poster[hidden]) .tale__head { grid-column: 1 / span 5; }
.tale:has(.tale__poster[hidden]) .tale__body { grid-column: 7 / -1; }
.tale:has(.tale__poster:not([hidden])) { grid-template-rows: auto 1fr; }
.tale:has(.tale__poster:not([hidden])) .tale__poster { grid-row: 1 / span 2; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.shots--bts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shots--bts .slot { aspect-ratio: 3 / 2; }
.grades { display: grid; gap: var(--space-lg); }
.ba { aspect-ratio: 16 / 9; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 2px; margin-left: -1px; background: var(--color-ink); pointer-events: none; }
.ba.is-empty::before { display: none; }
.ba__tag { position: absolute; top: var(--space-sm); z-index: 2; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); pointer-events: none; }
.ba__tag--before { left: var(--space-sm); } .ba__tag--after { right: var(--space-sm); }
.ba__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.kit--making { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 48rem; }
.kit--making dt { font: 400 var(--text-sm)/1.3 var(--font-body); color: var(--color-muted); }
.kit--making dd { font: 600 var(--text-lg)/1.25 var(--font-display); color: var(--color-ink); }
@media (max-width: 60rem) {
  .tale__poster, .tale:has(.tale__poster) .tale__head, .tale:has(.tale__poster) .tale__body { grid-column: 1 / -1; grid-row: auto; }
  .tale__poster { max-width: 20rem; }
  .shots, .shots--bts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kit--making { grid-template-columns: minmax(0, 1fr); }
}

/* Julefilm: the film itself, one big screen with one big play button */
.player { background: var(--color-photo); }
.player video { object-fit: contain; background: var(--color-photo); }
.player__play { position: absolute; inset: 0; margin: auto; z-index: 2; width: clamp(72px, 9vw, 120px); height: clamp(72px, 9vw, 120px); display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--color-panel); color: var(--color-accent-ink); cursor: pointer; transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.player__play svg { width: 42%; height: 42%; margin-left: 6%; }
.player__play:hover { transform: scale(1.06); }
.player__play:active { transform: scale(0.97); }
.player__play:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.player.is-playing .player__play { display: none; }
.slot.is-soon { display: grid; place-items: center; padding: var(--space-lg); border: 0; background: var(--color-paper-2); }
.slot.is-soon::after { content: attr(data-soon); font: 600 clamp(1.5rem, 3vw, 2.75rem)/1.15 var(--font-display); color: var(--color-ink); text-align: center; text-wrap: balance; }
@media (prefers-reduced-motion: reduce) { .player__play { transition: none; } .player__play:hover, .player__play:active { transform: none; } }
/* The phone bar holds one action now: Skriv til mig */
.thumbbar { grid-template-columns: minmax(0, 1fr); }
/* Chips: one row of pages that wraps instead of scrolling sideways */
.chips { flex-wrap: wrap; overflow-x: visible; }
@media (max-width: 60rem) { .chipbar { position: static; } }
/* Chips: the current page */
.chips a[aria-current="page"] { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }

/* Sub-pages */
.phero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; padding-block: var(--space-2xl) var(--space-3xl); }
.phero__text { grid-column: 1 / span 6; display: grid; gap: var(--space-xl); }
.phero h1 { font-size: clamp(2.75rem, 5vw, 5.25rem); max-width: 13ch; }
.phero .lede { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 34ch; line-height: 1.45; }
.phero__media { grid-column: 7 / -1; color: var(--color-ink); position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--color-photo); }
.phero__media--tall { grid-column: 8 / span 4; justify-self: center; aspect-ratio: 9 / 16; width: 100%; max-height: 72svh; height: auto; }
.phero__media img, .phero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vpause { position: absolute; right: var(--space-sm); bottom: var(--space-sm); z-index: var(--z-raised); min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 0; border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); cursor: pointer; }
.vpause:hover { background: var(--color-paper-3); }
.vpause:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.vpause svg { width: 16px; height: 16px; }
.row--clip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.row--clip .row__media { aspect-ratio: 16 / 9; }
.row--clip .row__media--tall { aspect-ratio: 4 / 5; max-width: 20rem; justify-self: end; width: 100%; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: var(--space-xs); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 600 var(--text-lg)/1 var(--font-display); color: var(--color-accent); }
.steps b { font: 600 var(--text-lg)/1.2 var(--font-display); }
.steps span { color: var(--color-ink-2); }
.formats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.formats > div { display: grid; gap: var(--space-sm); padding: var(--space-lg); border-radius: var(--radius); background: var(--color-paper-2); }
.formats dt { font: 600 clamp(2.25rem, 4vw, 3.5rem)/1 var(--font-display); }
.formats dd { margin: 0; color: var(--color-ink-2); }
.shape { border: 2px solid var(--color-accent); border-radius: 4px; }
.shape--wide { width: 64px; height: 36px; } .shape--tall { width: 27px; height: 48px; } .shape--feed { width: 38px; height: 48px; }
.ask { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; padding: var(--space-2xl); border-radius: var(--radius-lg); background: var(--color-panel); color: var(--color-accent-ink); }
.ask h2 { grid-column: 1 / span 7; }
.ask .actions { grid-column: 8 / -1; justify-content: flex-end; }
.ask .btn { background: var(--color-accent-ink); border-color: var(--color-accent-ink); color: var(--color-panel); }
.ask .btn:hover { background: var(--color-paper-3); border-color: var(--color-paper-3); color: var(--color-ink); }
.ask .btn--quiet { background: transparent; color: var(--color-accent-ink); border-color: var(--color-accent-ink); }
.ask .btn--quiet:hover { background: var(--color-accent-ink); color: var(--color-panel); }
.ask .btn:focus-visible { outline-color: var(--color-accent-ink); }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-sm); }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--color-photo); }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: var(--space-sm); bottom: var(--space-sm); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); }
.g-a { grid-column: span 7; aspect-ratio: 4 / 3; } .g-b { grid-column: span 5; aspect-ratio: 4 / 5; grid-row: span 2; } .g-c { grid-column: span 7; aspect-ratio: 16 / 9; }
.kit { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.kit > div { padding-top: var(--space-md); border-top: 1px solid var(--color-rule); display: grid; gap: var(--space-2xs); }
.kit dt { font: 600 var(--text-section)/1 var(--font-display); }
.kit dd { margin: 0; color: var(--color-ink-2); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); max-width: 52rem; }
.field { display: grid; gap: var(--space-xs); }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--text-sm); color: var(--color-ink-2); }
.field input, .field select, .field textarea { min-height: 52px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--radius); background: var(--color-paper-2); color: var(--color-ink); font: 400 var(--text-md)/1.4 var(--font-body); }
.field textarea { min-height: 8rem; padding-block: var(--space-sm); resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -1px; }
.field input:disabled { opacity: 0.55; cursor: not-allowed; }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.form__help { grid-column: 1 / -1; min-height: 1lh; color: var(--color-ink-2); font-size: var(--text-sm); }
.films { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.film { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-lg); align-items: end; padding: var(--space-lg); border-radius: var(--radius-lg); background: var(--color-paper-2); }
.film:has(.film__poster[hidden]) { grid-template-columns: minmax(0, 1fr); }
.film--new { background: var(--color-panel); color: var(--color-accent-ink); }
.film__date { color: var(--color-accent-ink); }
.film--new .film__badge { background: var(--color-accent-ink); color: var(--color-panel); }
.film--new .fill { border-color: currentColor; }
.film__poster { position: relative; margin: 0; aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden; background: var(--color-photo); }
.film__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__body { display: grid; gap: var(--space-md); align-content: end; min-height: 18rem; }
.film__badge { justify-self: start; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-panel); color: var(--color-accent-ink); font-size: var(--text-sm); font-weight: 500; }
.film h3 { font: 600 clamp(1.75rem, 2.6vw, 2.75rem)/1.02 var(--font-display); }
.film__text { font-size: var(--text-lead); line-height: 1.45; max-width: 30ch; }
.film__role { font-size: var(--text-sm); }
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: center; }
.intro__photo { grid-column: 1 / span 5; position: relative; margin: 0; aspect-ratio: 2 / 3; max-height: 82svh; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-photo); }
.intro__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.intro__body { grid-column: 7 / -1; display: grid; gap: var(--space-lg); }
.intro__body h2 { font-size: clamp(2.25rem, 3.6vw, 4rem); }
.intro__lead { font-size: var(--text-lead); line-height: 1.45; max-width: 40ch; }
.intro__body > p:not(.intro__lead) { color: var(--color-ink-2); max-width: 52ch; }
.film__date { display: none; }
.film--new:has(.film__poster[hidden]) { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.film--new:has(.film__poster[hidden]) .film__date { display: block; font: 600 clamp(5rem, 13vw, 12rem)/0.8 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.film--feature h3 { font-size: clamp(2.5rem, 5vw, 4.75rem); }
.film--feature { grid-column: 1 / -1; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: center; }
.films:has(.film--feature) { grid-template-columns: minmax(0, 1fr); }
.crew { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm) var(--space-lg); }
.crew div { display: grid; gap: var(--space-3xs); }
.crew dt { font-size: var(--text-sm); color: var(--color-muted); }
.crew dd { margin: 0; font-weight: 500; }
.bts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); }
.bts figure { position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--color-photo); }
.bts img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bts .bts__a { grid-column: span 2; grid-row: span 2; }
.bts:not(:has(figure:not(.bts__a):not([hidden]))) { grid-template-columns: minmax(0, 1fr); }
.bts:not(:has(figure:not(.bts__a):not([hidden]))) .bts__a { aspect-ratio: 16 / 9; }
.bts figcaption { position: absolute; left: var(--space-sm); bottom: var(--space-sm); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); }
.ytboard { grid-column: 7 / -1; display: grid; gap: var(--space-sm); padding: var(--space-xl); border-radius: var(--radius-lg); background: var(--color-panel); color: var(--color-accent-ink); container-type: inline-size; }
.ytboard__big { font: 600 clamp(3rem, 15cqi, 7rem)/0.9 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.ytboard__label { font-size: var(--text-lead); }
.ytboard__row { margin: var(--space-lg) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: var(--space-md) var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--color-accent-ink); }
.ytboard__row div { display: grid; gap: var(--space-3xs); }
.ytboard__row dt { font: 600 clamp(1.5rem, 6.5cqi, 2.5rem)/1 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ytboard__row dd { margin: 0; font-size: var(--text-sm); }
.ytboard__src { font-size: var(--text-sm); margin-top: var(--space-sm); }
.vids { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.vid { display: grid; gap: var(--space-sm); color: var(--color-ink); text-decoration: none; }
.vid__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--color-photo); }
.vid__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid b { font-weight: 500; font-size: var(--text-lg); line-height: 1.5; text-align: right; }
.vid small { color: var(--color-accent); font-size: var(--text-md); font-weight: 500; }
.vid:hover b { text-decoration: underline; text-decoration-color: var(--color-accent); }
.vid:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius); }
.miles { display: grid; gap: var(--space-xl); min-height: 260px; align-content: center; }
.mile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-md) var(--gap-columns); align-items: center; }
.mile__label b { display: block; font: 600 var(--text-section)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.mile__label span { color: var(--color-ink-2); }
.mile__bar { height: 72px; border-radius: var(--radius); background: var(--color-paper-3); overflow: hidden; }
.mile__bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--v)); background: var(--color-ink-2); }
.mile--now .mile__bar i { background: var(--color-panel); }
.silver { position: relative; margin: var(--space-2xl) 0 0; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-photo); }
.silver img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.credits { width: 100%; border-collapse: collapse; }
.credits th { text-align: left; font-weight: 400; font-size: var(--text-sm); color: var(--color-muted); padding: 0 var(--space-md) var(--space-sm) 0; }
.credits td { padding: var(--space-lg) var(--space-md) var(--space-lg) 0; border-top: 1px solid var(--color-rule); vertical-align: baseline; }
.credits td:first-child { color: var(--color-muted); width: 6rem; font-variant-numeric: tabular-nums; }
.credits .t { font: 600 clamp(1.25rem, 1.6vw + 0.5rem, 2.25rem)/1.05 var(--font-display); }
.credits .t a { white-space: nowrap; }
.credits .note { color: var(--color-accent); }
.imdb-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; padding-block: var(--space-2xl) var(--space-3xl); }
.imdb-hero__text { grid-column: 1 / span 7; display: grid; gap: var(--space-xl); }
.imdb-hero h1 { font-size: clamp(2.75rem, 5vw, 5.25rem); max-width: 12ch; }
.imdb-hero .lede { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 36ch; line-height: 1.45; }
.imdb-hero .cutout { grid-column: 9 / -1; max-width: 24rem; justify-self: end; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.facts > div { padding-top: var(--space-md); border-top: 1px solid var(--color-rule); display: grid; gap: var(--space-2xs); }
.facts dt { font: 600 var(--text-section)/1 var(--font-display); }
.facts dd { margin: 0; color: var(--color-ink-2); }
@media (max-width: 60rem) {
  .films { grid-template-columns: minmax(0, 1fr); }
  .intro__photo, .intro__body { grid-column: 1 / -1; }
  .ytboard { grid-column: 1 / -1; padding: var(--space-lg); }
  .vids { grid-template-columns: minmax(0, 1fr); }
  .mile { grid-template-columns: minmax(0, 1fr); }
  .intro__photo { max-height: none; aspect-ratio: 4 / 5; }
  .film--feature { grid-template-columns: minmax(0, 1fr); }
  .film--new:has(.film__poster[hidden]) { grid-template-columns: minmax(0, 1fr); }
  .film--new:has(.film__poster[hidden]) .film__date { order: -1; font-size: 5rem; }
  .crew { grid-template-columns: minmax(0, 1fr); }
  .bts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .film { grid-template-columns: minmax(0, 1fr); }
  .film__body { min-height: 0; }
  .imdb-hero__text, .imdb-hero .cutout { grid-column: 1 / -1; }
  .imdb-hero .cutout { order: -1; max-width: 15rem; justify-self: start; }
  .credits thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .credits tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); padding-block: var(--space-md); border-top: 1px solid var(--color-rule); }
  .credits td { border: 0; padding: 0; }
  .credits .t { font-size: clamp(1.125rem, 5.6vw, 1.75rem); }
  .facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 60rem) {
  .phero { min-height: 0; padding-block: var(--space-xl); }
  .phero__text, .phero__media, .phero__media--tall, .ask h2, .ask .actions { grid-column: 1 / -1; }
  .phero__media--tall { max-width: 20rem; max-height: none; }
  .phero .actions .btn--quiet { display: none; }
  .row--clip { grid-template-columns: minmax(0, 1fr); }
  .row--clip .row__media, .row--clip .row__media--tall { grid-column: 1; grid-row: auto; justify-self: stretch; max-width: none; }
  .steps, .formats, .kit { grid-template-columns: minmax(0, 1fr); }
  .ask { padding: var(--space-lg); }
  .ask .actions { justify-content: flex-start; }
  .g-a, .g-b, .g-c { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .form { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .vpause { transition: none; } }
/* Foto: jump pills, a column grid that keeps each photo's own shape, and a viewer */
.jump { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-2xl); }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.jump a:hover { background: var(--color-paper-3); }
.jump a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.shoot { scroll-margin-top: var(--space-3xl); }
.shoot + .shoot { margin-top: var(--space-3xl); }
.shoot h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); }
.pics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: var(--space-sm); }
.pic { display: block; position: relative; aspect-ratio: 2 / 3; align-self: stretch; border-radius: var(--radius); overflow: hidden; background: var(--color-photo); cursor: zoom-in; }
.pic--l { grid-column: span 2; aspect-ratio: 4 / 3; }
.pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pic:hover { box-shadow: 0 0 0 2px var(--color-ink-2); }
.pic:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.lb { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--color-paper); color: var(--color-ink); }
.lb::backdrop { background: var(--color-paper); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lb__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--gutter); }
.lb__count { color: var(--color-ink-2); font-variant-numeric: tabular-nums; }
.lb__btns { display: flex; gap: var(--space-xs); }
.lb button { min-width: 48px; min-height: 48px; display: grid; place-items: center; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.lb button:hover { background: var(--color-hover); }
.lb button:active { background: var(--color-paper-3); }
.lb button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.lb button svg { width: 20px; height: 20px; }
.lb__fig { margin: 0; display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter) var(--gutter); }
.lb__fig img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius); }
@media (max-width: 60rem) { .pics { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shoot + .shoot { margin-top: var(--space-2xl); } }
@media (prefers-reduced-motion: reduce) { .jump a, .lb button { transition: none; } }

/* Apps: a home screen of every app on the red plate, then the apps as cards */
.homescreen { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg) var(--space-md); padding: var(--space-xl); border-radius: var(--radius-lg); background: var(--color-panel); }
.homescreen img, .homescreen .soon { width: 100%; aspect-ratio: 1 / 1; height: auto; }
.homescreen .ios { border-radius: 22.5%; }
.homescreen .soon { display: grid; place-items: center; border: 2px dashed var(--color-accent-ink); border-radius: 22.5%; color: var(--color-accent-ink); font-size: var(--text-sm); text-align: center; line-height: 1.2; padding: var(--space-2xs); }
.apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.apps--mac { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-md); align-items: center; height: 100%; padding: var(--space-md); border-radius: var(--radius); background: var(--color-paper-2); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.app:hover { background: var(--color-paper-3); }
.app:active { background: var(--color-hover); }
.app:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.app img { width: 88px; height: 88px; }
.apps--mac .app img { width: 64px; height: 64px; }
.app .ios { border-radius: 22.5%; }
.app__txt { display: grid; gap: var(--space-3xs); }
.app b { font: 600 var(--text-lg)/1.2 var(--font-display); }
.app span { color: var(--color-ink-2); }
.app small { color: var(--color-accent); font-size: var(--text-sm); font-weight: 500; }
.apps--ios .app { padding: var(--space-lg); }
.apps--ios b { font-size: clamp(1.375rem, 1.6vw + 0.5rem, 1.75rem); }
.deal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-lg) var(--gap-columns); align-items: end; padding: var(--space-2xl); border-radius: var(--radius-lg); background: var(--color-panel); color: var(--color-accent-ink); }
.deal h2 { grid-column: 1 / span 7; font-size: clamp(2.25rem, 4.2vw, 4.25rem); }
.deal .actions { grid-column: 8 / -1; justify-content: flex-end; }
.deal dl { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); padding-top: var(--space-lg); border-top: 1px solid var(--color-accent-ink); }
.deal dl div { display: grid; gap: var(--space-3xs); }
.deal dt { font: 600 clamp(1.5rem, 2.4vw, 2.5rem)/1 var(--font-display); }
.deal dd { margin: 0; }
.deal .btn { background: var(--color-accent-ink); border-color: var(--color-accent-ink); color: var(--color-panel); }
.deal .btn:hover { background: var(--color-paper-3); border-color: var(--color-paper-3); color: var(--color-ink); }
.deal .btn--quiet { background: transparent; color: var(--color-accent-ink); border-color: var(--color-accent-ink); }
.deal .btn--quiet:hover { background: var(--color-accent-ink); color: var(--color-panel); }
.deal .btn:focus-visible { outline-color: var(--color-accent-ink); }
@media (max-width: 60rem) {
  .homescreen { grid-column: 1 / -1; padding: var(--space-lg); gap: var(--space-md) var(--space-sm); }
  .apps, .apps--mac { grid-template-columns: minmax(0, 1fr); }
  .app img { width: 64px; height: 64px; }
  .apps--mac .app img { width: 56px; height: 56px; }
  .deal { padding: var(--space-lg); }
  .deal h2, .deal .actions { grid-column: 1 / -1; }
  .deal .actions { justify-content: flex-start; }
  .deal dl { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .app { transition: none; } }

/* Aladin: tall TikTok covers and the guest list */
.vids--tall .vid__img { aspect-ratio: 9 / 16; }
.vids--tall { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-lg) var(--space-sm); }
.vids--tall .vid b { text-align: left; font-size: var(--text-md); line-height: 1.35; }
.vids--tall .vid small { font-size: var(--text-sm); }
.rule { display: grid; gap: var(--space-lg); padding: var(--space-2xl); border-radius: var(--radius-lg); background: var(--color-paper-2); }
.rule h2 { color: var(--color-accent); font-size: var(--text-lg); }
.rule__big { font: 600 clamp(2rem, 4.4vw, 4.5rem)/1.05 var(--font-display); max-width: 20ch; text-wrap: balance; }
.rule__small { color: var(--color-ink-2); font-size: var(--text-lead); }
.src { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); }
.names { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.names > div { padding-top: var(--space-md); border-top: 1px solid var(--color-rule); display: grid; gap: var(--space-sm); align-content: start; }
.names dt { color: var(--color-muted); font-size: var(--text-sm); }
.names dd { margin: 0; font: 600 clamp(1.5rem, 2.4vw, 2.25rem)/1.2 var(--font-display); text-wrap: balance; }
@media (max-width: 60rem) {
  .vids--tall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .names { grid-template-columns: minmax(0, 1fr); }
  .rule { padding: var(--space-lg); }
}

/* /abdul: a link page for Instagram, phone first */
.bio-page { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem) minmax(0, 1fr); gap: var(--space-2xl); align-items: start; padding: var(--space-2xl) var(--gutter); }
.bio { grid-column: 2; display: grid; gap: var(--space-lg); padding: var(--space-xl) var(--space-lg); border-radius: 32px; background: var(--color-paper-2); }
.bio__head { display: grid; gap: var(--space-lg); justify-items: center; }
.bio__mark { display: grid; place-items: center; min-width: 44px; min-height: 44px; color: var(--color-ink); border-radius: var(--radius); }
.bio__mark .mark { width: 40px; height: 40px; }
.bio__mark:hover { color: var(--color-accent); }
.bio__mark:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.bio .cutout { width: 15rem; margin-top: calc(-1 * var(--space-md)); }

.bio__name { text-align: center; display: grid; gap: var(--space-xs); }
.bio__name h1 { font-size: clamp(2rem, 7vw, 2.5rem); }
.bio__name p { color: var(--color-ink-2); }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); }
.quick a, .quick button { display: grid; justify-items: center; gap: var(--space-2xs); min-height: 72px; padding: var(--space-sm) var(--space-2xs); border: 1px solid var(--color-rule); border-radius: 18px; background: var(--color-paper); color: var(--color-ink); font: 500 var(--text-sm)/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.quick a:hover, .quick button:hover { background: var(--color-paper-3); }
.quick a:active, .quick button:active { transform: translateY(1px); }
.quick a:focus-visible, .quick button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.quick svg { width: 22px; height: 22px; color: var(--color-accent); }
.feature { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--color-photo); color: var(--color-ink); text-decoration: none; }
.feature video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature span { position: absolute; left: var(--space-sm); bottom: var(--space-sm); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-paper); font-size: var(--text-sm); font-weight: 500; }
.feature:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }
.links a { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: var(--space-md); min-height: 68px; padding: var(--space-xs); padding-right: var(--space-md); border-radius: 18px; background: var(--color-paper); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.links a:hover { background: var(--color-paper-3); }
.links a:active { transform: translateY(1px); }
.links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.links b { display: block; font-weight: 500; }
.links small { display: block; color: var(--color-ink-2); font-size: var(--text-sm); }
.thumb { position: relative; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--color-panel); color: var(--color-accent-ink); display: grid; place-items: center; font: 600 1.125rem/1 var(--font-display); }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.links .is-main { background: var(--color-panel); color: var(--color-accent-ink); }
.links .is-main small { color: var(--color-accent-ink); }
.links .is-main .thumb { background: var(--color-accent-ink); color: var(--color-panel); }
.links .is-main:hover { background: var(--color-ink); color: var(--color-paper); }
.links .is-main:hover small { color: var(--color-ink-2); }
.bio__foot { text-align: center; font-size: var(--text-sm); color: var(--color-ink-2); }
.bio__foot a { color: var(--color-ink); }
.scan p { width: 14rem; max-width: 100%; }
.scan { grid-column: 3; position: sticky; top: var(--space-2xl); display: grid; gap: var(--space-md); justify-items: start; max-width: 14rem; padding-top: var(--space-2xl); color: var(--color-ink-2); }
.scan .qr { width: 160px; padding: var(--space-sm); border-radius: 16px; background: var(--color-qr-paper); }
.card .qr { padding: var(--space-xs); border-radius: 10px; background: var(--color-qr-paper); }
@media (max-width: 60rem) {
  .bio-page { grid-template-columns: minmax(0, 1fr); padding: var(--space-md) var(--space-md) var(--space-2xl); gap: 0; }
  .bio { grid-column: 1; padding: var(--space-md) 0; background: transparent; }
  .scan { display: none; }
}
