/* MAZEN · STUEN · a Danish design house room.
   The palette is the room: ivory #F4F0E8 and soft white #FAF9F6 are the walls, sand #D8C7B0 is light oak (floor, sideboard, table),
   espresso #49352C is dark wood (the one grand wall, Operaen), coal #292826 is dark cloth (ink, buttons), taupe #A99B8D only as hairlines.
   Type: Gambetta (serif, headings) + Albert Sans (text). Courier Prime only on the Skrivemaskinen paper and slips. */

@font-face { font-family: 'Gambetta'; src: url(assets/fonts/Gambetta-400.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gambetta'; src: url(assets/fonts/Gambetta-400i.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
/* the headline's face is preloaded: block it so the first paint never reflows when it arrives */
@font-face { font-family: 'Gambetta'; src: url(assets/fonts/Gambetta-500.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: block; }
@font-face { font-family: 'Gambetta'; src: url(assets/fonts/Gambetta-500i.woff2) format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Gambetta'; src: url(assets/fonts/Gambetta-600.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face {
  font-family: 'Albert Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/AlbertSans-italic-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Albert Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/AlbertSans-italic-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/AlbertSans-normal-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: block;
  src: url(assets/fonts/AlbertSans-normal-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: 'Schweiz'; src: url(assets/fonts/Schweiz-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Schweiz'; src: url(assets/fonts/Schweiz-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Schweiz'; src: url(assets/fonts/Schweiz-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Schweiz'; src: url(assets/fonts/Schweiz-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Giphurs'; src: url(assets/fonts/Giphurs-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Giphurs'; src: url(assets/fonts/Giphurs-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Giphurs'; src: url(assets/fonts/Giphurs-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Giphurs'; src: url(assets/fonts/Giphurs-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --ivory: #F4F0E8; --white: #FAF9F6; --sand: #D8C7B0; --taupe: #A99B8D; --espresso: #49352C; --coal: #292826;
  --oak-hi: color-mix(in srgb, var(--ivory) 54%, var(--sand)); --oak-lo: color-mix(in srgb, var(--espresso) 29%, var(--sand));            /* sand lit and sand in shade: the same oak, two light levels */
  --hair: rgba(169, 155, 141, .7);
  --f-serif: 'Gambetta', Georgia, 'Times New Roman', serif;
  --f-ui: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-type: 'Courier Prime', 'Courier New', monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --strip: 36px;
  --hh: 80px; --edge: 14px;
  --pad: clamp(20px, 5vw, 64px);
  --section: clamp(80px, 10vw, 144px);
  /* names the feedback widget still asks for, mapped onto the palette */
  --ink: var(--coal); --ink-2: var(--espresso); --ink-3: var(--espresso); --sheet: var(--white); --paper: var(--white);
  --blue: var(--espresso); --red-ink: var(--espresso); --f-hand: var(--f-ui);
}
html[data-font="schweiz"] { --f-ui: 'Schweiz', system-ui, sans-serif; }
html[data-font="giphurs"] { --f-ui: 'Giphurs', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 8px); background: var(--ivory); -webkit-text-size-adjust: 100%; scrollbar-color: var(--taupe) var(--ivory); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { font-family: var(--f-ui); font-size: 1.0625rem; line-height: 1.65; color: var(--coal); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden; accent-color: var(--espresso); caret-color: var(--espresso); }
[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .2em; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--espresso); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; }
.opera :focus-visible, .site-header[data-theme="dark"] :focus-visible, .video-dialog :focus-visible, .concept-strip :focus-visible { outline-color: var(--sand); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--coal); color: var(--ivory); padding: 12px 18px; border-radius: 2px; text-decoration: none; }
.skip:focus { top: 10px; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: 1312px; margin-inline: auto; padding-inline: var(--pad); }
.mail { white-space: nowrap; display: inline-block; padding-block: 11px; margin-block: -11px; }

/* ---------- type ---------- */
.h-display { font-family: var(--f-serif); font-weight: 500; font-size: clamp(2.625rem, 5.2vw, 4.5rem); line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; color: var(--espresso); }
.h-sub { font-family: var(--f-serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.005em; color: inherit; }
.sec-lede { margin-top: 24px; max-width: 62ch; font-size: 1.125rem; text-wrap: pretty; }
.sec-lede + .sec-lede { margin-top: 14px; }
.sec-lede strong { font-weight: 600; }
.sec-lede em, .fine em, .om__feat em { font-family: var(--f-serif); font-style: italic; }
.fine { font-size: .8125rem; line-height: 1.5; color: var(--espresso); text-wrap: pretty; }
.text-link { font-weight: 600; text-decoration-thickness: 1.5px; }
.link-arrow, .link-quiet { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; min-height: 44px; background: none; border: 0; padding: 0; }
.link-arrow .i { transition: transform .4s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 32px; border-radius: 2px; border: 1.5px solid transparent; font: 600 1rem/1 var(--f-ui); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--lg { min-height: 60px; padding: 0 36px; }
.btn--primary, .btn--ink { background: var(--coal); color: var(--ivory); border-color: var(--coal); }
.btn--primary:hover, .btn--ink:hover { background: var(--espresso); border-color: var(--espresso); }
.btn--line { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn--line:hover { background: var(--espresso); color: var(--ivory); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 2px; background: transparent; color: inherit; transition: background-color .3s var(--ease); }
.icon-btn:hover { background: rgba(169, 155, 141, .28); }
.icon-btn--quiet { color: var(--espresso); }

/* ---------- concept strip + header ---------- */
.concept-strip { position: relative; z-index: 70; display: flex; align-items: center; gap: 8px 14px; height: var(--strip); padding: 0 var(--pad); background: var(--espresso); color: var(--ivory); font-size: .8125rem; line-height: 1.25; }
.concept-strip > span:first-child { flex: none; }
.concept-strip__fine { min-width: 0; }
.concept-strip strong { font-weight: 600; }
.concept-strip__fine { color: var(--sand); }
.concept-strip__guide { margin-left: auto; color: var(--ivory); text-decoration: underline; }
.site-header { position: fixed; z-index: 50; top: var(--strip); left: 0; right: 0; background: var(--ivory); color: var(--coal); border-bottom: 1px solid var(--hair); transition: background-color .4s var(--ease), color .4s var(--ease); }
.site-header[data-theme="dark"] { background: var(--espresso); color: var(--ivory); border-bottom-color: rgba(216, 199, 176, .3); }
.site-header__in { display: flex; align-items: center; height: var(--hh); padding: 0 var(--pad); max-width: 1312px; margin-inline: auto; gap: 24px; }
.brand { display: block; line-height: 0; flex: none; }
.brand img, .wm-img { width: auto; height: 22px; filter: brightness(0) invert(.16); }
.site-header[data-theme="dark"] .brand img { filter: brightness(0) invert(.97); }
.nav { display: flex; gap: 44px; margin-left: auto; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-decoration: none; color: inherit; }
.nav a::before { content: ""; position: absolute; inset: 0 -12px; }
.nav a span { position: relative; padding-block: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.nav a:hover span, .nav a:focus-visible span { background-size: 100% 1px; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header[data-theme="dark"] .btn--primary { background: var(--ivory); color: var(--coal); border-color: var(--ivory); }
.menu-btn { display: none; width: auto; padding: 0 12px; gap: 8px; }
.menu-btn__t { font-size: .9375rem; font-weight: 600; letter-spacing: .04em; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--coal); color: var(--ivory); font-size: .75rem; font-weight: 600; line-height: 18px; text-align: center; }
.site-header[data-theme="dark"] .cart-count { background: var(--ivory); color: var(--coal); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- HERO: the room ---------- */
.hero { position: relative; background: var(--ivory); }
.stage { position: relative; min-height: calc(100svh - var(--strip)); background: var(--ivory); }
.stage__in { position: relative; max-width: 1312px; margin-inline: auto; padding: calc(var(--hh) + 32px) var(--pad) 0; min-height: calc(100svh - var(--strip)); display: flex; flex-direction: column; }
.typed { font-family: var(--f-serif); font-weight: 500; font-size: clamp(3rem, 5.4vw, 5.5rem); line-height: 1; letter-spacing: -.02em; color: var(--espresso); min-height: 2em; }
.typed__line { display: block; }
.js .typed { visibility: hidden; }
.js .typed.is-typing, .js .typed.is-done { visibility: visible; }
.typed.is-typing .ch { opacity: 0; }
.typed.is-typing .ch.on { opacity: 1; }
.strike { position: relative; }
.strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 54%; height: 3px; background: var(--espresso); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease) var(--x0, 0s); }
.typed.is-done .strike::after { transform: scaleX(1); }
/* zero layout width: the cursor must never push a word onto the next line while it travels */
.typed .caret { display: inline-block; position: relative; width: 0; height: .78em; margin: 0; vertical-align: -.04em; }
.typed .caret::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 3px; background: var(--espresso); animation: tw-blink 1.1s steps(1) infinite; }
.typed.is-done .caret { opacity: 0; animation: none; }

/* the set: figure behind a low oak sideboard. All sizes come from --ch (the figure's height). */
.room { --ch: clamp(240px, calc((100svh - var(--strip) - var(--hh) - 300px) / 1.39), 440px); position: relative; z-index: 2; margin-top: auto; margin-bottom: calc(-.27 * var(--ch)); padding-top: 28px; }
.room__set { position: relative; width: 100%; height: calc(1.39 * var(--ch) - var(--edge)); }
.room__fig { position: absolute; right: 3%; top: 0; width: calc(var(--ch) * .6667); height: var(--ch); isolation: isolate; background: var(--ivory); }
.room__cut { width: 100%; height: 100%; display: block; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
.hero__who { display: grid; gap: 2px; margin-top: clamp(16px, 2.4vw, 28px); color: var(--espresso); font-size: .9375rem; line-height: 1.35; }
.hero__name { font-family: var(--f-serif); font-size: 1.375rem; line-height: 1.15; }
.console { position: absolute; left: 0; right: 0; top: calc(var(--ch) - var(--edge)); height: calc(.45 * var(--ch)); }
.console__top { position: absolute; left: 0; right: 0; top: 0; height: calc(.20 * var(--ch)); background: linear-gradient(180deg, color-mix(in srgb, var(--espresso) 13%, var(--sand)), color-mix(in srgb, var(--ivory) 26%, var(--sand))); border-top: 4px solid color-mix(in srgb, var(--espresso) 36%, var(--sand)); clip-path: polygon(2.5% 0, 97.5% 0, 100% 100%, 0 100%); }
.console__top::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: color-mix(in srgb, var(--ivory) 84%, var(--sand)); z-index: 1; }
.console__top::after { content: ""; position: absolute; right: 3%; top: 0; width: min(calc((var(--ch) - var(--edge)) * 1.25), 94%); height: 55%; background: linear-gradient(180deg, rgba(41, 40, 38, .34), rgba(41, 40, 38, 0)); }
.console__front { position: absolute; left: 0; right: 0; top: calc(.20 * var(--ch)); height: calc(.10 * var(--ch)); background: linear-gradient(180deg, color-mix(in srgb, var(--espresso) 30%, var(--sand)), color-mix(in srgb, var(--espresso) 42%, var(--sand))); box-shadow: inset 0 2px 0 rgba(250, 249, 246, .6); }
.console__front::after { content: ""; position: absolute; left: 50%; top: 16%; bottom: 16%; width: 1px; background: rgba(41, 40, 38, .3); }
.console__leg { position: absolute; top: calc(.30 * var(--ch)); width: 3%; height: calc(.09 * var(--ch)); background: linear-gradient(90deg, color-mix(in srgb, var(--espresso) 60%, var(--sand)), color-mix(in srgb, var(--espresso) 77%, var(--sand))); clip-path: polygon(0 0, 100% 0, 72% 100%, 28% 100%); }
.console__leg--l { left: 5%; } .console__leg--r { right: 5%; }
.console__shadow { position: absolute; left: -3%; right: -3%; top: calc(.355 * var(--ch)); height: calc(.075 * var(--ch)); background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(41, 40, 38, .45), rgba(41, 40, 38, 0) 72%); }
.room__books { position: absolute; left: 0; right: 0; top: calc(var(--ch) - var(--edge)); height: calc(.20 * var(--ch)); --bw: calc(var(--ch) * .23); --T: calc(var(--bw) * .09); }
.floorzone { flex: 1 0 auto; position: relative; z-index: 1; margin-inline: calc(var(--pad) * -1); padding: calc(.27 * var(--ch) + 14px) var(--pad) 26px; background: linear-gradient(180deg, color-mix(in srgb, var(--espresso) 3%, var(--sand)), color-mix(in srgb, var(--espresso) 13%, var(--sand))); border-top: 1px solid var(--hair); display: grid; gap: 14px; justify-items: start; --ch: clamp(240px, calc((100svh - var(--strip) - var(--hh) - 300px) / 1.39), 440px); --edge: 14px; }
.room__hint { max-width: 46ch; font-size: .8125rem; line-height: 1.45; color: var(--espresso); }
.hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 420px; }
.hero__cta .btn { min-height: 54px; padding: 0 12px; }
.hero__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 24px; padding-block: 14px; border-bottom: 1px solid var(--hair); }
.wf { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; min-height: 44px; font-size: .9375rem; color: var(--espresso); text-decoration: none; }
.wf span:last-child { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .25em; }
.hero-follow { display: flex; align-items: center; gap: 6px; font-size: .9375rem; }
.hf-ig { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.hf-ig b { font-weight: 600; }
.hf-icons { display: inline-flex; }
.hf-ico { display: grid; place-items: center; width: 44px; height: 44px; color: var(--espresso); transition: color .3s; }
.hf-ico:hover { color: var(--coal); }

/* the books on the sideboard: real 3D objects lying on the oak, labelled montage */
.rb { position: absolute; bottom: 4%; width: var(--bw); height: calc(var(--bw) * .84); transition: transform .45s var(--ease); }
.rb--1 { left: 4%; --a: -7deg; } .rb--2 { left: calc(4% + var(--bw) * 1.32); --a: 3deg; } .rb--3 { left: calc(4% + var(--bw) * 2.64); --a: -3deg; }
.rb:hover, .rb:focus-within, .rb.is-open { z-index: 6; transform: translateY(-8px) rotate(-1.5deg); }
.rb__btn { position: absolute; inset: 0; padding: 0; border: 0; background: none; }
.rb__btn:focus-visible { outline: 2px solid var(--espresso); outline-offset: 4px; }
.rb__book { position: absolute; left: 0; top: 50%; width: 100%; height: calc(var(--bw) * 1.5); margin-top: calc(var(--bw) * -.75); transform-style: preserve-3d; transform: rotateX(62deg) rotateZ(var(--a, 0deg)); transition: transform .45s var(--ease); }
.rb:hover .rb__book, .rb__btn:focus-visible .rb__book, .rb.is-open .rb__book { transform: rotateX(62deg) rotateZ(var(--a, 0deg)) translateZ(calc(var(--T) * 1.6)); }
.rb__book .cover { position: absolute; inset: 0; width: 100%; --w: 100%; transform: translateZ(var(--T)); box-shadow: none; transition: none; border-radius: 1px; }
.rb__sh { position: absolute; inset: 4% -3% -6% 5%; background: rgba(41, 40, 38, .5); filter: blur(5px); transform: translate(calc(var(--T) * .8), calc(var(--T) * 1.4)); }
.rb__spine, .rb__edge { position: absolute; transform-origin: 0 0; }
.rb__spine { left: 0; top: 0; width: var(--T); height: 100%; background: linear-gradient(90deg, var(--board), rgba(41, 40, 38, .55)); background-color: var(--board); transform: translateZ(var(--T)) rotateY(90deg); }
.rb__edge { background: color-mix(in srgb, var(--ivory) 70%, var(--sand)); }
.rb__edge--r { left: 100%; top: 0; width: var(--T); height: 100%; transform: translateZ(var(--T)) rotateY(90deg); }
.rb__edge--f { left: 0; top: 100%; width: 100%; height: var(--T); transform: translateZ(var(--T)) rotateX(-90deg); background: linear-gradient(180deg, color-mix(in srgb, var(--ivory) 44%, var(--sand)), color-mix(in srgb, var(--ivory) 95%, var(--sand))); }
.rb__tag { position: absolute; left: 50%; margin-left: -7.5rem; bottom: calc(100% + 12px); width: 15rem; max-width: 72vw; padding: 12px 14px 12px; background: var(--white); border: 1px solid var(--taupe); border-radius: 2px; box-shadow: 0 16px 28px -16px rgba(41, 40, 38, .5); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .3s; z-index: 8; }
.rb__tag::before { content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px; margin: -5px 0 0 -5px; background: var(--white); border-right: 1px solid var(--taupe); border-bottom: 1px solid var(--taupe); transform: rotate(45deg); }
.rb__tag::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.rb:hover .rb__tag, .rb:focus-within .rb__tag, .rb.is-open .rb__tag { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.rb__t { display: block; font-family: var(--f-serif); font-size: 1.0625rem; line-height: 1.25; color: var(--espresso); }
.rb__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; }
.rb__p { font-weight: 600; font-variant-numeric: tabular-nums; }
.rb__go { min-height: 44px; padding: 0 14px; border: 1.5px solid var(--espresso); border-radius: 2px; background: var(--coal); border-color: var(--coal); color: var(--ivory); font-weight: 600; font-size: .9375rem; }
.rb__go:hover { background: var(--espresso); }
@media (prefers-reduced-motion: no-preference) {
  /* no entrance slide on the headline: the typing is the entrance, and a moving line box reads as a jump */
  .room__fig { animation: fade 1.2s var(--ease) both; }
  .rb__book { animation: settle 1.1s var(--ease) both; }
  .rb--2 .rb__book { animation-delay: .12s; } .rb--3 .rb__book { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes settle { from { opacity: 0; transform: rotateX(62deg) rotateZ(var(--a, 0deg)) translateZ(calc(var(--T) * 9)); } }

/* hero on desktop: copy on the wall, the set beside it, one oak floor under both */
@media (min-width: 901px) {
  .stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(.27 * var(--ch) + 64px); background: linear-gradient(180deg, color-mix(in srgb, var(--espresso) 3%, var(--sand)), color-mix(in srgb, var(--espresso) 13%, var(--sand))); border-top: 1px solid var(--hair); --ch: clamp(300px, calc((100svh - var(--strip) - var(--hh) - 110px) / 1.39), 520px); }
  .stage { --ch: clamp(300px, calc((100svh - var(--strip) - var(--hh) - 110px) / 1.39), 520px); }
  .room, .floorzone { --ch: clamp(300px, calc((100svh - var(--strip) - var(--hh) - 110px) / 1.39), 520px); }
  .stage__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; grid-template-areas: "copy room" "cta room"; column-gap: clamp(24px, 4vw, 64px); min-height: calc(100svh - var(--strip)); padding-top: calc(var(--hh) + 24px); padding-bottom: 64px; }
  .hero__copy { grid-area: copy; align-self: start; margin-top: 76px; }
  .room { grid-area: room; align-self: end; margin: 0; padding: 0; }
  .floorzone { display: contents; }
  .hero__cta { grid-area: cta; align-self: start; margin-top: 44px; max-width: 460px; }
  .room__hint { position: absolute; left: calc(50% + clamp(12px, 2vw, 32px)); bottom: 22px; z-index: 3; max-width: 52ch; }
}
@media (min-width: 901px) and (max-width: 1100px) { .room__hint { left: auto; right: var(--pad); max-width: 30ch; } }

/* ---------- bands ---------- */
.band { padding-block: var(--section); }
.band--ivory { background: var(--ivory); color: var(--coal); }
.band--sand { background: var(--sand); color: var(--coal); }
.band--white { background: var(--white); color: var(--coal); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head--stack { grid-template-columns: 1fr; margin-bottom: 28px; }

/* notes (Daniel) */
.note { max-width: 380px; padding: 20px 22px; border-radius: 2px; background: var(--sand); color: var(--coal); font-size: .9375rem; line-height: 1.5; }
.note[hidden] { display: none; }
.note__k { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--espresso); }
.note__lead { margin-top: 6px; font-family: var(--f-serif); font-size: 1.1875rem; font-weight: 500; line-height: 1.3; }
.note__pts { margin-top: 10px; display: grid; gap: 6px; }
.note__pts li { padding-left: 14px; position: relative; }
.note__pts li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--coal); }
.note__sig { margin-top: 10px; font-family: var(--f-serif); font-style: italic; }
.band--sand .note { background: var(--white); }
.note--stage { background: var(--sand); }
.note--hero { position: absolute; z-index: 5; left: var(--pad); top: calc(var(--hh) + 24px); }

/* ---------- OM ---------- */
.om__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.om__photo { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.om__img { display: block; width: 100%; height: auto; background: var(--sand); box-shadow: 0 1px 2px rgba(41, 40, 38, .12); }
.om__img--2 { width: 64%; justify-self: end; }
.om__lede { font-family: var(--f-serif); font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.4; color: var(--coal); text-wrap: pretty; max-width: 40ch; }
.om__body, .om__feat { margin-top: 20px; max-width: 62ch; }
.cv { margin-top: 32px; max-width: 62ch; border-top: 1px solid var(--hair); }
.cv li { display: grid; grid-template-columns: 5ch 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.cv__y { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--espresso); }
.cv em { font-family: var(--f-serif); }
.quote { margin: 40px 0 0; max-width: 46ch; }
.quote p { font-family: var(--f-serif); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--espresso); text-wrap: balance; }
.quote footer { margin-top: 12px; font-size: .9375rem; color: var(--espresso); }
/* the index: real addresses to the pieces */
.idx__h { margin-top: clamp(64px, 8vw, 112px); color: var(--espresso); }
.idx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); margin-top: 20px; border-top: 1px solid var(--espresso); }
.idx li { border-bottom: 1px solid var(--hair); }
.idx a { position: relative; display: grid; grid-template-columns: 2.5ch minmax(0, 1fr); gap: 2px 14px; align-content: start; padding: 22px 0 24px; text-decoration: none; min-height: 44px; }
.idx__n { grid-row: 1; font-family: var(--f-serif); font-size: 1.375rem; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--espresso); }
.idx__t { grid-column: 2; font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.2; color: var(--espresso); }
.idx__f { grid-column: 2; font-size: .8125rem; line-height: 1.45; color: var(--espresso); }
.idx__d { grid-column: 2; margin-top: 8px; font-size: .9375rem; line-height: 1.55; }
.idx a:hover .idx__t { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
@media (max-width: 1100px) { .idx { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .idx { grid-template-columns: 1fr; } }

/* ---------- UNIVERSET ---------- */
.universet { padding-block: clamp(72px, 8vw, 120px) clamp(48px, 6vw, 80px); }
.universet .sec-head { margin-bottom: 0; }
/* Operaen: the one grand wall (dark wood), one large hung picture */
.opera { position: relative; background: var(--espresso); color: var(--ivory); padding-block: clamp(72px, 9vw, 128px) clamp(104px, 12vw, 168px); }
.opera::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(40px, 5vw, 72px); background: var(--coal); }
.opera__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.opera__h { font-family: var(--f-serif); font-weight: 500; font-size: clamp(3.5rem, 8vw, 6rem); line-height: 1; letter-spacing: -.02em; color: var(--ivory); }
.opera__p { margin-top: 28px; font-size: 1.1875rem; color: var(--ivory); max-width: 52ch; text-wrap: pretty; }
.opera .fine { color: var(--sand); }
.opera__text > .fine { margin-top: 16px; max-width: 52ch; }
.opera__trailer { margin-top: clamp(32px, 4vw, 56px); max-width: 520px; }
.opera__trailer .fine { margin-top: 12px; }
.trailer { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 2px; overflow: hidden; background: var(--coal); color: var(--ivory); }
.trailer img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.trailer:hover img { transform: scale(1.03); }
.trailer__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: grid; place-items: center; border-radius: 50%; background: var(--ivory); color: var(--coal); transition: background-color .3s; }
.trailer__play .i { fill: currentColor; width: 26px; height: 26px; margin-left: 3px; }
.trailer:hover .trailer__play { background: var(--white); }
.opera__wall { justify-self: center; width: 100%; max-width: 600px; }
.opera__frame { padding: clamp(10px, 1.4vw, 18px); background: var(--ivory); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .6), 0 2px 0 rgba(0, 0, 0, .25); }
.opera__frame img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 40%; }
.opera__wall figcaption { margin-top: 18px; }
/* Skrivemaskinen: the table */
.skriv__photo { margin: 0 0 24px; }
.skriv__photo img { display: block; width: 100%; height: auto; background: var(--espresso); box-shadow: 0 1px 2px rgba(41, 40, 38, .12); }
.skriv__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.skriv .sec-head { grid-template-columns: 1fr; margin-bottom: 40px; }
.skriv .note { max-width: 520px; }
.machine { max-width: 680px; }
/* Unge Drømme: light and open */
.ud { padding-block: clamp(96px, 12vw, 176px); }
.ud__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); margin-bottom: clamp(56px, 7vw, 96px); }
.ud__t { font-family: var(--f-serif); font-weight: 500; font-size: clamp(2.625rem, 5.2vw, 4.5rem); line-height: 1.04; letter-spacing: -.015em; color: var(--espresso); text-wrap: balance; }
.ud__text p { max-width: 62ch; }
.ud__text p + p { margin-top: 14px; }
.ud__text .ud__lede { font-size: 1.375rem; line-height: 1.45; font-family: var(--f-serif); color: var(--coal); }
.ud__text .ud__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.episodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: start; }
.episode { display: grid; gap: 14px; text-decoration: none; color: var(--coal); }
.episode__frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 2px; background: var(--sand); }
.episode__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.episode:hover .episode__frame img { transform: scale(1.04); }
.episode__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: var(--ivory); color: var(--coal); }
.episode__play .i { fill: currentColor; width: 20px; height: 20px; margin-left: 2px; }
.episode__meta { display: flex; justify-content: space-between; gap: 12px; font-size: .9375rem; }
.episode__no { font-family: var(--f-serif); font-size: 1.25rem; color: var(--espresso); }
.episode__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--espresso); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .25em; }
.episode__cta .i { width: 14px; height: 14px; fill: currentColor; }
/* Digtvideoer */
.more { padding-block: clamp(72px, 9vw, 120px); }
.uni--poem { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(24px, 5vw, 80px); align-items: start; }
.dv__t { font-size: clamp(2rem, 3.4vw, 2.75rem); color: var(--espresso); }
.poems { border-top: 1px solid var(--espresso); }
.poem { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto auto; align-items: center; gap: 4px 28px; padding: 14px 0; border-bottom: 1px solid var(--hair); min-height: 60px; text-decoration: none; color: var(--coal); }
.poem__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--coal); border-radius: 2px; }
.poem__t { font-family: var(--f-serif); font-size: 1.375rem; line-height: 1.25; color: var(--espresso); }
.poem__m { font-size: .8125rem; color: var(--coal); }
.poem__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--espresso); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .25em; }
.poem__cta .i { width: 14px; height: 14px; fill: currentColor; }
.poem:hover .poem__t { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* ---------- Skrivemaskinen details ---------- */
.tw { --fs: 17px; --lh: 28px; --platen: 40px; --rows: 5; --cols: 30; --col: 0; --line: 0; }
.tw__window { position: relative; height: calc(var(--rows) * var(--lh) + var(--platen) + 26px); container-type: inline-size; cursor: text; z-index: 1; }
.tw__carriage { position: absolute; left: 50%; top: 0; bottom: 0; z-index: 1; font: 400 min(var(--fs), calc((100cqi - 24px) / ((var(--cols) + 4) * .6))) / var(--lh) var(--f-type); width: calc((var(--cols) + 4) * 1ch); transform: translateX(-50%); }
.tw__paper { position: absolute; left: 0; right: 0; z-index: 2; bottom: calc(var(--platen) * .5); height: calc((var(--line) + 2.2) * var(--lh) + var(--platen) * .5); overflow: hidden; background: var(--white); border-radius: 2px 2px 0 0; box-shadow: 0 6px 18px -6px rgba(41, 40, 38, .35); transition: height 320ms cubic-bezier(.6, 0, .2, 1); }
.machine:focus-within .tw__paper { box-shadow: 0 8px 22px -6px rgba(41, 40, 38, .45), 0 0 0 2px var(--espresso); }
.tw__paper .machine__perf { display: none; }
.tw__feed { position: absolute; left: 2ch; right: 2ch; bottom: 10px; }
.tw.is-feed .tw__feed { animation: tw-feed 320ms cubic-bezier(.6, 0, .2, 1); }
@keyframes tw-feed { from { transform: translateY(var(--lh)); } to { transform: none; } }
.tw__line { white-space: pre; color: var(--coal); height: var(--lh); }
.tw__line span { position: relative; top: var(--dy); opacity: var(--o); }
.tw__ph { color: var(--espresso); opacity: .8; }
.tw__caret { position: absolute; z-index: 3; bottom: calc(12px + var(--cup, 0) * var(--lh)); left: calc((2 + var(--col)) * 1ch); width: 1ch; height: 2px; background: var(--espresso); border-radius: 1px; transition: left 40ms linear; pointer-events: none; }
.tw.is-feed .tw__caret { transition: none; }
.tw.is-on .tw__caret { animation: tw-blink 1.1s steps(1) infinite; }
@keyframes tw-blink { 50% { opacity: 0; } }
.tw__guide { display: none; }
.tw__input { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; opacity: 0; resize: none; border: 0; font-size: 16px; caret-color: transparent; pointer-events: none; }
.tw__platen { position: absolute; z-index: 1; bottom: 0; left: calc((100% - 100cqi) / 2 + var(--platen) * .55); right: calc((100% - 100cqi) / 2 + var(--platen) * .55); height: var(--platen); border-radius: 999px; background: repeating-linear-gradient(to right, rgba(250, 249, 246, .05) 0 1px, transparent 1px 6px), linear-gradient(to bottom, var(--espresso) 0%, var(--coal) 50%, var(--coal) 100%); box-shadow: inset 0 1px 0 rgba(250, 249, 246, .14); }
.tw__knob { position: absolute; top: 50%; left: calc(var(--platen) * -.62); width: calc(var(--platen) * .9); height: calc(var(--platen) * .9); margin-top: calc(var(--platen) * -.45); border-radius: 50%; background: radial-gradient(circle at 38% 32%, var(--white) 0 18%, var(--ivory) 46%, var(--sand) 100%); box-shadow: 0 0 0 2px var(--coal), 0 3px 6px rgba(41, 40, 38, .3); }
.tw__knob--r { left: auto; right: calc(var(--platen) * -.62); }
.tw__lever { position: absolute; left: calc(var(--platen) * .25); top: calc(var(--platen) * -.42); width: calc(var(--platen) * 1.05); height: 5px; border-radius: 3px; background: linear-gradient(to bottom, var(--ivory), var(--taupe) 60%, var(--espresso)); transform: rotate(-24deg); transform-origin: 100% 50%; }
.tw__bail { position: absolute; z-index: 3; left: -1.2ch; right: -1.2ch; bottom: calc(var(--platen) * .5 - 5px); height: 4px; border-radius: 2px; background: linear-gradient(to bottom, var(--ivory), var(--taupe) 60%, var(--espresso)); pointer-events: none; }
.tw__bail i { position: absolute; top: -3px; width: 2.4ch; height: 10px; border-radius: 3px; background: var(--coal); }
.tw__bail i:first-child { left: 18%; } .tw__bail i:last-child { right: 18%; }
.tw__body { position: relative; z-index: 0; margin-top: calc(var(--platen) * -.5); cursor: text; }
.tw__body svg { display: block; width: 100%; height: auto; overflow: visible; }
.tw-key { transition: transform 70ms ease-out; }
.tw-key.is-down { transform: translateY(3px); transition-duration: 20ms; }
.tw-key.is-down .tw-cap { fill: var(--sand); }
.machine.is-tearing .tw__paper { animation: tear 620ms var(--ease); }
@keyframes tear { 30% { transform: translate(10px, -18px) rotate(1.2deg); opacity: .6; } 100% { transform: none; opacity: 1; } }
.machine__bar { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.machine__count { margin-right: auto; font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--espresso); }
.machine__count.is-near { color: var(--coal); font-weight: 700; }
.wall { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.slip { margin: 0; padding: 18px 18px 16px; background: var(--white); border-radius: 2px; box-shadow: 0 1px 2px rgba(41, 40, 38, .18), 0 10px 18px -12px rgba(41, 40, 38, .35); font-family: var(--f-type); font-size: .9375rem; line-height: 1.45; color: var(--coal); }
.slip.is-mine { background: var(--ivory); }
.slip blockquote { margin: 0; }
.slip__by { display: block; margin-top: 10px; font-family: var(--f-ui); font-size: .8125rem; color: var(--espresso); }
.slip.is-new { animation: rise .7s var(--ease); }
.slip-signup { margin-top: 32px; max-width: 720px; padding: 24px; border-radius: 2px; background: var(--white); display: grid; gap: 14px; }
.slip-signup[hidden] { display: none; }
.slip-signup__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
/* two films of equal standing: one column each, caption under its video */
.clips { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: start; gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(8px, 2vw, 24px); }
.story-clip { display: grid; gap: 16px; }
.story-clip__media { position: relative; overflow: hidden; border-radius: 2px; background: var(--coal); box-shadow: 0 1px 2px rgba(41, 40, 38, .1), 0 18px 34px -26px rgba(41, 40, 38, .6); }
.story-clip__v { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--coal); }
.story-clip__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: rgba(244, 240, 232, .94); color: var(--espresso); box-shadow: 0 10px 26px -12px rgba(41, 40, 38, .75); pointer-events: none; transition: opacity .3s var(--ease), scale .3s var(--ease); }
.story-clip__play svg { margin-left: 2px; }
.story-clip__media:hover .story-clip__play { scale: 1.06; }
.story-clip__dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: rgba(41, 40, 38, .74); color: var(--ivory); font-size: .75rem; font-variant-numeric: tabular-nums; letter-spacing: .03em; pointer-events: none; transition: opacity .3s var(--ease); }
.story-clip.is-playing .story-clip__play, .story-clip.is-playing .story-clip__dur { opacity: 0; }
.story-clip__cap { display: grid; gap: 8px; }
.story-clip__k { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--espresso); }
.story-clip__q { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; line-height: 1.3; color: var(--coal); text-wrap: pretty; }
.story-clip__t { margin: 0; max-width: 46ch; font-size: .9375rem; line-height: 1.55; color: var(--coal); text-wrap: pretty; }
.story-clip__fine { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--espresso); }
.letter__sheet { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); background: var(--white); border-radius: 2px; }
.letter__to { padding-bottom: 14px; border-bottom: 1px solid var(--taupe); color: var(--coal); }
.letter__to span { font-weight: 600; }
.letter__name { font-style: normal; }
.letter__from { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.letter__field { display: grid; gap: 4px; }
.letter__label { font-size: .8125rem; font-weight: 600; color: var(--espresso); }
.letter__input, .letter__text { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--espresso); border-radius: 2px; background: var(--white); color: var(--coal); font-size: 1rem; line-height: 1.5; }
.letter__text { resize: vertical; min-height: 180px; }
.letter__input:focus, .letter__text:focus, .field__input:focus { outline: 2px solid var(--espresso); outline-offset: 2px; }
.letter__input::placeholder, .letter__text::placeholder { color: var(--espresso); opacity: .8; }
.toggle-row { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; font-weight: 500; }
.toggle-row input { width: 20px; height: 20px; flex: none; accent-color: var(--espresso); margin: 0; }
.story__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }


/* ---------- forms ---------- */
/* ---------- forms ---------- */
.field { display: grid; gap: 6px; align-content: start; }
.field__label { font-size: .8125rem; font-weight: 600; color: var(--espresso); }
.field__input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--espresso); border-radius: 2px; background: var(--white); color: var(--coal); font-size: 1rem; line-height: 1.4; appearance: none; transition: border-color .2s; }
.field__input::placeholder { color: var(--espresso); opacity: .8; }
select.field__input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2349352C' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
textarea.field__input { resize: vertical; }
.field__input[aria-invalid="true"], .letter__input[aria-invalid="true"], .letter__text[aria-invalid="true"] { border-width: 2px; }
.field__err { margin-top: 4px; font-size: .8125rem; line-height: 1.4; font-weight: 600; color: var(--espresso); }
.form-msg { font-size: .9375rem; line-height: 1.5; font-weight: 500; }
.form-msg:empty { display: none; }
.form-msg .mock { display: block; margin-top: 2px; font-size: .8125rem; font-weight: 400; color: var(--espresso); }
.form-msg.is-ok { color: var(--espresso); }
.form-msg.is-error { color: var(--coal); font-weight: 700; }
.price { font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.price s { margin-left: 8px; font-weight: 400; color: var(--espresso); }
.bundle .price s { color: var(--sand); }
.tag-new { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 2px; background: var(--espresso); color: var(--white); font-size: .75rem; font-weight: 600; }
.tag-ex { font-weight: 400; font-size: .8125rem; color: var(--espresso); }
.toggle-row .tag-ex { flex: none; white-space: nowrap; }
.stamp { display: inline-block; padding: 3px 10px; border: 1.5px solid currentColor; border-radius: 2px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--espresso); }
.stamp--paper { margin-bottom: 14px; }
.mock { font-size: .8125rem; color: var(--espresso); }


/* ---------- SHOP: a calm shelf ---------- */
.shop .sec-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; row-gap: 32px; }
.shop .sec-head > div:first-child, .shop .shelf-quote, .shop .note { grid-column: 1; }
.shop-life { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.shop-life__img { display: block; width: 100%; height: auto; background: var(--sand); box-shadow: 0 1px 2px rgba(41, 40, 38, .12); }
.shelf-quote { max-width: 340px; }
.shelf-quote blockquote p { font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; line-height: 1.45; color: var(--espresso); }
.shelf-quote figcaption { margin-top: 12px; font-size: .8125rem; color: var(--espresso); }
.shelf { --gap: clamp(24px, 4vw, 64px); display: grid; gap: var(--gap); }
.shelf--books { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shelf--creators { grid-template-columns: repeat(5, minmax(0, 1fr)); --gap: clamp(14px, 2vw, 28px); }
.product { display: grid; align-content: start; gap: 26px; }
.product__stand { position: relative; display: grid; align-items: end; justify-items: center; height: clamp(250px, 26vw, 380px); }
.shelf--creators .product__stand { height: clamp(150px, 17vw, 250px); }
.product__stand::after { content: ""; position: absolute; left: calc(var(--gap) / -2); right: calc(var(--gap) / -2); bottom: -16px; height: 16px; background: linear-gradient(180deg, var(--oak-hi), var(--sand)); border-top: 1px solid var(--hair); box-shadow: 0 14px 18px -12px rgba(41, 40, 38, .35); }
.product__open { position: relative; z-index: 1; display: grid; align-items: end; justify-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; }
.product__title { font-family: var(--f-serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; color: var(--espresso); text-wrap: balance; }
.shelf--creators .product__title { font-size: 1.1875rem; }
.product__meta { margin-top: 4px; font-size: .9375rem; }
.product__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.cover { position: relative; display: block; width: var(--w, 160px); aspect-ratio: 2 / 3; background: var(--c, var(--sand)); border-radius: 2px; box-shadow: 0 16px 24px -16px rgba(41, 40, 38, .55), 0 2px 4px rgba(41, 40, 38, .2); transition: transform .5s var(--ease); }
.product--book .cover { --w: min(68%, 230px); }
.shelf--creators .cover { --w: min(78%, 150px); }
.product__open:hover .cover, .product__open:focus-visible .cover { transform: translateY(-6px); }
/* the book look on every cover: spine, page edges, sheen */
.cover--flat { border-radius: 2px 4px 4px 2px; overflow: visible; }
.cover--flat img { border-radius: 2px 4px 4px 2px; }
.cover--flat::after { border-radius: 2px 4px 4px 2px; box-shadow: none; }
.book__spine { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: 9%; border-radius: 2px 0 0 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(41, 40, 38, .42) 0%, rgba(41, 40, 38, .18) 22%, rgba(250, 249, 246, .22) 42%, rgba(250, 249, 246, .04) 58%, rgba(41, 40, 38, .28) 78%, rgba(41, 40, 38, .06) 100%); }
.book__pages { position: absolute; z-index: -1; top: 1.2%; bottom: 1.2%; right: -4px; width: 6px; border-radius: 0 2px 2px 0;
  background: repeating-linear-gradient(180deg, var(--ivory) 0 1px, color-mix(in srgb, var(--sand) 60%, var(--ivory)) 1px 2px); box-shadow: 1px 0 0 rgba(41, 40, 38, .12); }
.book__sheen { position: absolute; z-index: 2; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(250, 249, 246, .16) 0%, rgba(250, 249, 246, 0) 32%, rgba(250, 249, 246, 0) 68%, rgba(250, 249, 246, .07) 100%); mix-blend-mode: screen; }
.cover--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.cover--creators { container-type: inline-size; aspect-ratio: 1 / 1.414; color: var(--cr-ink); }
.cover--creators .cover__in { position: absolute; inset: 0; padding: 12cqi 10cqi 9cqi; display: grid; grid-template-rows: 1fr auto auto 1fr auto; justify-items: center; text-align: center; }
.cr__for { grid-row: 2; font-size: 6.4cqi; letter-spacing: .02em; }
.cr__name { grid-row: 3; font-family: var(--f-serif); font-size: 12.5cqi; line-height: 1.1; margin-top: 2cqi; text-wrap: balance; }
.cr__brand { grid-row: 5; font-family: var(--f-serif); font-size: 8cqi; display: grid; gap: 1.5cqi; }
.cr__brand small { font-family: var(--f-ui); font-size: 4.6cqi; opacity: .9; }
.cover--card { aspect-ratio: 1.586 / 1; background: var(--espresso); color: var(--white); container-type: inline-size; }
.cover--card .cover__in { position: absolute; inset: 0; display: grid; place-content: center; gap: 4cqi; text-align: center; }
.cover__mark { width: 40cqi; margin-inline: auto; filter: brightness(0) invert(.97); }
.cover__deboss { font-size: 6cqi; letter-spacing: .12em; text-transform: uppercase; }
.bundle__stack { position: relative; width: 240px; height: 190px; }
.bundle__stack .cover { position: absolute; bottom: 0; --w: 96px; box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .6); }
.bundle__stack .cover:nth-child(1) { left: 0; } .bundle__stack .cover:nth-child(2) { left: 72px; z-index: 2; } .bundle__stack .cover:nth-child(3) { left: 144px; }

.creators { margin-top: clamp(80px, 9vw, 136px); }
.creators__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 32px; margin-bottom: 40px; padding-bottom: 16px; border-bottom: 1px solid var(--espresso); }
.creators__t { font-family: var(--f-serif); font-weight: 500; font-size: 2rem; color: var(--espresso); }
.creators__tag em { font-family: var(--f-serif); }
.bundle { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px clamp(24px, 5vw, 72px); align-items: center; margin-top: clamp(72px, 8vw, 120px); padding: clamp(28px, 4vw, 56px); border-radius: 2px; background: var(--sand); color: var(--coal); }
.bundle[hidden] { display: none; }
.bundle__copy p { margin-top: 6px; color: var(--coal); }
.bundle__copy .h-sub { font-size: 1.75rem; color: var(--espresso); }
.bundle__buy { display: grid; gap: 10px; justify-items: start; }
.bundle__buy .price { font-size: 1.5rem; }
.bundle .price s { color: var(--espresso); }
.save { color: var(--espresso); font-size: .9375rem; }
.shop .fine { margin-top: 40px; }

/* ---------- BOOKING ---------- */
.booking { display: grid; gap: clamp(40px, 5vw, 64px); }
.offers, .areas { border: 0; padding: 0; min-width: 0; }
.offers__legend { margin-bottom: 20px; padding: 0; color: var(--espresso); }
.offers__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.booking__sheet .offers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 20px; }
.booking__sheet .offer { padding: 18px 18px 20px; }
.booking__sheet .offer__t { font-size: 1.125rem; }
.offer { position: relative; display: grid; align-content: start; gap: 8px; padding: 22px 22px 24px; border: 1px solid var(--espresso); border-radius: 2px; background: var(--ivory); color: var(--coal); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.offer input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.offer__t { font-family: var(--f-serif); font-size: 1.3125rem; line-height: 1.2; font-weight: 500; color: var(--espresso); text-wrap: balance; }
.offer__d { font-size: .9375rem; line-height: 1.5; }
.offer:hover { background: var(--sand); }
.offer:has(input:checked) { background: var(--espresso); color: var(--ivory); }
.offer:has(input:checked) .offer__t { color: var(--ivory); }
.offer:has(input:checked) .offer__d { color: var(--sand); }
.offer:has(input:checked)::after { content: ""; position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; background: var(--sand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.offer:has(input:focus-visible) { outline: 2px solid var(--espresso); outline-offset: 3px; }
.areas__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.area { display: grid; align-content: start; gap: 10px; }
.area__pick { position: relative; display: grid; gap: 6px; align-content: start; cursor: pointer; }
.area__pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 2; }
.area__photo { display: block; aspect-ratio: 4 / 5; padding: 8px; background: var(--ivory); border: 1px solid var(--hair); outline: 0 solid var(--espresso); outline-offset: 3px; transition: outline-width .2s; }
.area__photo img { width: 100%; height: 100%; object-fit: cover; }
.area__pick:has(input:checked) .area__photo { outline-width: 3px; }
.area__pick:has(input:focus-visible) .area__photo { outline: 3px dashed var(--coal); }
.area__t { margin-top: 6px; font-family: var(--f-serif); font-size: 1.1875rem; line-height: 1.25; color: var(--espresso); }
.area__pick:has(input:checked) .area__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.area__d { font-size: .9375rem; line-height: 1.5; }
.area__video { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; font-size: .9375rem; font-weight: 600; color: var(--espresso); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; justify-self: start; }
.area__video .i { width: 16px; height: 16px; fill: currentColor; }
.booking__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
/* desktop: the proof travels down with the form instead of being left behind at the top */
@media (min-width: 901px) { .booking__grid .proof { position: sticky; top: calc(var(--hh) + 40px); } }
.proof { display: grid; gap: 28px; }
.proof__big { font-family: var(--f-serif); font-size: 1.5rem; line-height: 1.3; color: var(--espresso); }
.proof__big .num { display: block; font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.02em; }
.proof__quote p { font-family: var(--f-serif); font-style: italic; font-size: 1.1875rem; line-height: 1.45; }
.proof__quote footer { margin-top: 8px; font-size: .8125rem; color: var(--espresso); }
.proof__partners { font-size: .9375rem; }
.proof__label { display: block; font-weight: 600; color: var(--espresso); }
.booking__sheet { padding: clamp(24px, 3.5vw, 48px); background: var(--ivory); border-radius: 2px; display: grid; gap: 24px; }
.route { display: flex; flex-wrap: wrap; gap: 4px 10px; padding-bottom: 18px; border-bottom: 1px solid var(--hair); transition: opacity .18s; }
.route.is-swap { opacity: .3; }
.route__k { color: var(--espresso); }
.route__v { font-weight: 600; }
.booking__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field--wide { grid-column: 1 / -1; }
.booking__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* ---------- footer: light, on oak ---------- */
.site-footer { background: var(--sand); color: var(--coal); padding: clamp(64px, 8vw, 112px) 0 32px; border-top: 1px solid var(--hair); }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.site-footer__brand .wm-img { height: 28px; }
.site-footer__brand p { margin-top: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 36px; margin-top: 12px; }
.footer-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-decoration: none; }
.footer-nav a::before { content: ""; position: absolute; inset: 0 -10px; }
.footer-nav a:hover span { text-decoration: underline; text-underline-offset: .3em; }
.newsletter { display: grid; gap: 12px; align-content: start; }
.newsletter__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 8px; }
.newsletter .field__input { min-height: 56px; padding: 0 16px; }
.newsletter .btn { white-space: nowrap; }
@media (max-width: 430px) { .newsletter__row { grid-template-columns: minmax(0, 1fr); } .newsletter .btn { width: 100%; } }
.newsletter .h-sub { color: var(--espresso); }
.contacts { display: grid; gap: 16px; align-content: start; }
.contacts dt { font-size: .8125rem; color: var(--espresso); }
.contacts dd { margin: 2px 0 0; }
.contacts a { text-underline-offset: .2em; }
.tt { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; margin-top: clamp(48px, 6vw, 80px); padding-block: clamp(32px, 4vw, 48px); color: var(--ivory); }
.tt::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--coal); }
/* the mark carried across the whole strip as a printed pattern, the way the earlier concept did it */
.tt::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background-image: url(assets/tt-mark.webp); background-repeat: repeat; background-size: 72px 72px; background-position: 12px 50%; opacity: .1; pointer-events: none; }
.tt__logo { display: block; justify-self: start; }
.tt__logo img { display: block; width: clamp(200px, 22vw, 300px); height: auto; }
@media (min-width: 900px) { .tt { grid-template-columns: auto minmax(0, 1fr); column-gap: 64px; } }
.tt__h { font-family: var(--f-serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; color: var(--ivory); }
.tt__copy p { margin-top: 8px; max-width: 62ch; color: color-mix(in srgb, var(--ivory) 82%, var(--sand)); }
.tt__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.tt__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--ivory); text-underline-offset: .25em; text-decoration-color: rgba(244, 240, 232, .45); }
.tt__links a:hover { text-decoration-color: var(--ivory); }
.tt__logo:focus-visible, .tt__links a:focus-visible { outline: 2px solid var(--sand); outline-offset: 4px; }
.site-footer__base { margin-top: 40px; font-size: .8125rem; color: var(--espresso); }

/* ---------- Unge Drømme and typewriter keep their working parts ---------- */
.letter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(72px, 9vw, 128px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--espresso); }
.letter__h { font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; color: var(--espresso); }
.letter__k { margin-top: 10px; color: var(--espresso); }
.letter__steps { margin-top: 20px; display: grid; gap: 8px; counter-reset: s; }
.letter__steps li { position: relative; padding-left: 32px; counter-increment: s; }
.letter__steps li::before { content: counter(s); position: absolute; left: 0; top: 0; font-family: var(--f-serif); font-size: 1.25rem; color: var(--espresso); }

/* ---------- dock (concept tools) ---------- */
.dock { position: fixed; z-index: 55; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); }
.koncept-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 2px; background: var(--espresso); color: var(--white); font-weight: 600; font-size: .9375rem; box-shadow: 0 8px 22px -8px rgba(41, 40, 38, .4); }
.koncept-btn:hover, .koncept-btn[aria-expanded="true"] { background: var(--coal); }
.koncept-btn__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); }
.dock-menu { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 100px); overflow: auto; overscroll-behavior: contain; padding: 12px; border-radius: 4px; background: var(--white); color: var(--coal); box-shadow: 0 18px 44px -14px rgba(41, 40, 38, .4); }
.dock-menu[hidden] { display: none; }
.dock-menu__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 4px 10px 10px; }
.dock-menu__h { font: 500 1.625rem/1.1 var(--f-serif); color: var(--espresso); }
.dock-menu__close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 2px; background: transparent; color: var(--espresso); }
.dock-menu__close:hover { background: var(--ivory); }
.dock .dock-menu .dock-item { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; justify-content: stretch; gap: 12px; width: 100%; min-height: 68px; padding: 12px 10px; margin: 0; border: 0; border-top: 1px solid var(--hair); border-radius: 0; background: transparent; color: var(--coal); font: 600 .9375rem/1.35 var(--f-ui); text-align: left; text-decoration: none; box-shadow: none; transform: none; }
.dock .dock-menu .dock-item:hover { background: var(--ivory); }
.dock .dock-menu .dock-item:focus-visible { outline: 2px solid var(--espresso); outline-offset: -2px; }
.dock .dock-menu .dock-item > svg { width: 22px; height: 22px; }
.dock .dock-menu .dock-item span { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal; }
.dock-item__copy { display: grid; gap: 3px; min-width: 0; }
.dock-item__copy small { font: 400 .8125rem/1.4 var(--f-ui); color: var(--espresso); }
.dock-item[aria-pressed]::after { content: 'Fra'; font: 600 .75rem/1 var(--f-ui); padding: 7px 8px; background: var(--ivory); color: var(--espresso); border-radius: 2px; }
.dock .dock-menu .dock-item[aria-pressed="true"] { background: var(--ivory); }
.dock-item[aria-pressed="true"]::after { content: 'Til'; background: var(--espresso); color: var(--white); }
.dock-menu__foot { padding: 14px 10px 4px; border-top: 1px solid var(--hair); font-size: .8125rem; line-height: 1.45; color: var(--espresso); }
.dock--strip { position: static; margin-left: auto; }
.dock--strip .koncept-btn { min-height: 44px; padding: 0 12px; background: transparent; border: 0; box-shadow: none; font-size: .8125rem; }
.dock--strip .koncept-btn[aria-expanded="true"] { background: var(--coal); }
.dock--strip .dock-menu { position: fixed; top: calc(var(--strip) + 8px); bottom: auto; right: 16px; max-height: calc(100dvh - var(--strip) - 24px); }
.dock--strip .dock-menu :focus-visible { outline-color: var(--espresso); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 300; transform: translate(-50%, 16px); max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 2px; background: var(--coal); color: var(--white); font-size: .9375rem; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }


/* ---------- dialogs ---------- */
dialog { color: var(--coal); }
dialog::backdrop { background: rgba(41, 40, 38, .66); }
.sheet-dialog { width: min(680px, calc(100vw - 24px)); max-height: min(92svh, 920px); margin: auto; padding: 0; border: 0; border-radius: 4px; background: var(--white); box-shadow: 0 30px 80px -24px rgba(41, 40, 38, .6); overflow: auto; overscroll-behavior: contain; }
.sheet-dialog--drawer { margin: 0 0 0 auto; width: min(500px, 100vw); height: 100svh; max-height: none; border-radius: 0; }
.sheet-dialog.is-book { width: min(1040px, calc(100vw - 24px)); }
.sheet-dialog__in { padding: 28px clamp(20px, 4vw, 40px) 36px; }
.dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dlg-title { font-family: var(--f-serif); font-weight: 500; font-size: 2rem; line-height: 1.12; letter-spacing: -.01em; color: var(--espresso); }
.dlg-sub { margin-top: 4px; font-size: .9375rem; color: var(--espresso); }
.dlg-close { flex: none; margin: -8px -10px 0 0; }
.pd { display: grid; gap: 22px; }
.pd__show { display: grid; place-items: center; padding: 28px; background: var(--sand); border-radius: 2px; }
.pd__show .cover { --w: 150px; }
.pd__show--card .cover { --w: 240px; }
.pd__desc { max-width: 62ch; }
.opt-label { display: block; margin-bottom: 8px; font-size: .8125rem; font-weight: 600; color: var(--espresso); }
.opt-label--gap { margin-top: 24px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--espresso); border-radius: 2px; font-weight: 600; font-size: .9375rem; transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--espresso); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--espresso); outline-offset: 2px; }
.line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--taupe); }
.line__k { display: grid; font-weight: 500; }
.line__sub { font-size: .8125rem; font-weight: 400; color: var(--espresso); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--espresso); border-radius: 2px; }
.qty button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; }
.qty button:hover { background: var(--ivory); }
.qty button[disabled] { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 32px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty--sm button { width: 36px; height: 36px; } .qty--sm .i { width: 16px; height: 16px; }
.dlg-actions { display: grid; gap: 12px; margin-top: 6px; }
.dlg-fine { font-size: .8125rem; color: var(--espresso); }
.dlg-fine--left { margin-top: 6px; }
.dlg-done { display: grid; gap: 12px; justify-items: start; padding-block: 12px; }
.dlg-done .dlg-title { font-size: 2.25rem; }
.dlg-done .mock { font-size: .9375rem; }
.giftopt { display: grid; gap: 12px; }
.giftopt__box { display: grid; gap: 14px; padding: 18px; background: var(--ivory); border-radius: 2px; }
.giftopt__box[hidden] { display: none; }
.giftopt__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.giftopt__fields .field--wide { grid-column: 1 / -1; }
.giftopt__fine { font-size: .8125rem; color: var(--espresso); }
.gtag { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 12px 14px; border: 1px solid var(--espresso); border-radius: 2px; background: var(--white); font-size: .9375rem; }
.gtag__msg { flex-basis: 100%; font-family: var(--f-serif); font-style: italic; }
.dedication { display: grid; gap: 12px; padding: 18px; background: var(--ivory); border-radius: 2px; }
.dedication [hidden] { display: none; }
.dedication__page { display: grid; gap: 2px; padding: 16px 18px; background: var(--white); border-radius: 2px; font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; }
.dedication__page small { font-family: var(--f-ui); font-style: normal; font-size: .8125rem; color: var(--espresso); }
.sig { font-family: var(--f-serif); font-style: italic; font-size: 1.5rem; color: var(--espresso); }
/* book dialog: his book opens in front of you; the cover swings open on its spine, the dedication you type
   is written inside it, the title page carries the book's own text; adding it folds the book shut and it flies
   into the bag (app.js) */
.sheet-dialog.is-book::backdrop { background: rgba(41, 40, 38, .82); }
.bk { --pw: min(calc((100vw - 40px) / 2), calc(34svh / 1.5)); position: relative; }
.bk__stage { position: relative; display: grid; place-items: center; padding: 6px 0 18px; }
.bk__book { position: relative; width: calc(var(--pw) * 2); height: calc(var(--pw) * 1.5); perspective: calc(var(--pw) * 6); transform: translateX(-25%); transition: transform 1100ms cubic-bezier(.2, .7, .1, 1); }
.bk.is-open .bk__book { transform: none; }
.bk__book::before { /* the shadow on the table */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -14px; height: 28px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(41, 40, 38, .45), transparent); filter: blur(4px); }
.bk__page, .bk__face { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; }
.bk__page--r { left: 50%; border-radius: 0 3px 3px 0;
  background: linear-gradient(to right, rgba(41, 40, 38, .16), rgba(41, 40, 38, 0) 9%), var(--white);
  box-shadow: 2px 1px 0 color-mix(in srgb, var(--sand) 35%, var(--white)), 4px 2px 0 color-mix(in srgb, var(--sand) 65%, var(--white)), 5px 3px 0 var(--bk-board); }
.bk__tp { position: absolute; inset: 11% 12% 10% 14%; display: flex; flex-direction: column; align-items: flex-start; }
.bk__tp-a { margin: 0; font: 400 calc(var(--pw) * .032)/1.2 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.bk__tp-t { margin: calc(var(--pw) * .03) 0 0; font: 500 calc(var(--pw) * .085)/1.02 var(--f-serif); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.bk__rule { display: block; width: 22%; height: 1px; margin: calc(var(--pw) * .06) 0; background: var(--espresso); }
.bk__blurb { margin: 0; font: 400 calc(var(--pw) * .036)/1.5 var(--f-serif); color: var(--ink-2); text-wrap: pretty; hyphens: auto; }
.bk__cover { position: absolute; z-index: 2; left: 50%; top: 0; bottom: 0; width: 50%; transform-origin: 0 50%; transform-style: preserve-3d; transform: rotateY(0deg); transition: transform 1100ms cubic-bezier(.45, .05, .15, 1) 120ms; }
.bk.is-open .bk__cover { transform: rotateY(-180deg); }
.bk__face { inset: 0; width: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.bk__face--front { border-radius: 0 3px 3px 0; box-shadow: 0 10px 26px -12px rgba(41, 40, 38, .6); }
.bk__face--front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk__face--front::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 7%; background: linear-gradient(90deg, rgba(41, 40, 38, .35), rgba(250, 249, 246, .12) 45%, rgba(41, 40, 38, .18)); }
/* inside of the cover: the board's colour as a thin edge around the flyleaf */
.bk__face--back { transform: rotateY(180deg); border-radius: 3px 0 0 3px; background: var(--bk-board); padding: 2.5% 0 2.5% 2.5%; display: block; }
.bk__face--back::before { content: ""; position: absolute; inset: 2.5% 0 2.5% 2.5%; border-radius: 2px 0 0 2px;
  background: linear-gradient(to left, rgba(41, 40, 38, .16), rgba(41, 40, 38, 0) 9%), var(--white); }
.bk__ded, .bk__sig { position: relative; margin: 0; font-family: var(--f-hand); color: var(--blue); }
.bk__ded { margin: 34% 14% 0 16%; font-size: calc(var(--pw) * .075); line-height: 1.15; transform: rotate(-3deg); overflow-wrap: anywhere; }
.bk__sig { margin: 5% 0 0 34%; font-size: calc(var(--pw) * .09); transform: rotate(-4deg); }
/* the blur toward the middle */
.bk__veil { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 600ms ease 700ms;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(250, 249, 246, .18);
  -webkit-mask-image: linear-gradient(to bottom, transparent 40%, var(--coal) 100%); mask-image: linear-gradient(to bottom, transparent 40%, var(--coal) 100%); }
.bk.is-open .bk__veil { opacity: 1; }
.bk__panel { position: relative; z-index: 4; margin-top: -34px; padding-top: 18px; background: linear-gradient(to bottom, rgba(250, 249, 246, 0), var(--paper) 30px); }
.bk__panel .dlg-head { margin-top: 0; }
@media (min-width: 900px) {
  .sheet-dialog.is-book { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; background: transparent; border-radius: 0; overflow: hidden; box-shadow: none; }
  .sheet-dialog.is-book[open] { animation: none; }
  .is-book .sheet-dialog__in { padding: 0; height: 100%; }
  .bk { --pw: min(44vw, calc(86dvh / 1.5)); height: 100%; display: grid; place-items: center; }
  .bk__stage { grid-area: 1 / 1; padding: 0; }
  .bk__veil { -webkit-mask-image: linear-gradient(to right, transparent 16%, var(--coal) 36%, var(--coal) 64%, transparent 84%); mask-image: linear-gradient(to right, transparent 16%, var(--coal) 36%, var(--coal) 64%, transparent 84%); }
  .bk__panel { grid-area: 1 / 1; z-index: 4; width: min(400px, calc(var(--pw) * .82)); max-height: calc(var(--pw) * 1.5 - 56px); overflow: auto; overscroll-behavior: contain;
    margin: 0; padding: 24px 26px 24px; background: var(--paper); border-radius: 4px;
    box-shadow: 0 2px 4px rgba(41, 40, 38, .12), 0 24px 48px -18px rgba(41, 40, 38, .55);
    opacity: 0; transform: translateY(10px); transition: opacity 500ms var(--ease) 800ms, transform 500ms var(--ease) 800ms; }
  .bk.is-open .bk__panel { opacity: 1; transform: none; }
  .is-book .dedication__page { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bk__book, .bk__cover, .bk__veil, .bk__panel { transition: none !important; }
}

/* The cover closes before the book moves into the bag. */
.bk.is-closing .bk__book, .bk.is-closing .bk__cover { transition-duration: 560ms; transition-delay: 0ms; }
.bk.is-closing .bk__veil, .bk.is-closing .bk__panel { transition: opacity 180ms ease, transform 180ms ease; transition-delay: 0ms; opacity: 0; }
.bk-fly { position: fixed; z-index: 2147483000; object-fit: cover; border-radius: 2px 4px 4px 2px; pointer-events: none; transform-origin: 50% 50%;
  box-shadow: 0 18px 30px -12px rgba(41, 40, 38, .55); will-change: transform; }
.bk__ded, .bk__sig { font-family: var(--f-serif); font-style: italic; color: var(--espresso); }
.cart-items { display: grid; }
.ci { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--taupe); align-items: start; }
.ci .cover { --w: 56px; box-shadow: 0 4px 10px -4px rgba(41, 40, 38, .5); }
.ci .cover > *:not(img) { display: none; }
.ci__t { font-family: var(--f-serif); font-size: 1.1875rem; line-height: 1.25; color: var(--espresso); }
.ci__m { margin: 2px 0 8px; font-size: .8125rem; }
.ci__r { display: grid; justify-items: end; gap: 6px; }
.ci__rm { display: grid; place-items: center; width: 44px; height: 44px; margin: -6px -10px -10px 0; border: 0; background: transparent; color: var(--espresso); border-radius: 2px; }
.ci__rm:hover { background: var(--ivory); }
.cart-empty { display: grid; gap: 14px; justify-items: start; padding-block: 24px; }
.addon { display: grid; grid-template-columns: auto 38px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: 18px; padding: 14px; background: var(--ivory); border-radius: 2px; cursor: pointer; }
.addon input { width: 20px; height: 20px; accent-color: var(--espresso); }
.addon .cover { --w: 38px; } .addon .cover > *:not(img) { display: none; }
.addon__t { display: block; font-weight: 600; } .addon__d { display: block; font-size: .9375rem; }
.delivery { margin-top: 20px; padding: 0; border: 0; display: grid; gap: 8px; }
.delivery legend { padding: 0; margin-bottom: 8px; font-size: .8125rem; font-weight: 600; color: var(--espresso); }
.radio-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 10px 14px; border: 1px solid var(--espresso); border-radius: 2px; cursor: pointer; }
.radio-row:has(input:checked) { background: var(--ivory); border-width: 2px; padding: 9px 13px; }
.radio-row input { width: 20px; height: 20px; accent-color: var(--espresso); }
.radio-row small { display: block; font-size: .8125rem; }
.pickup-ev { display: grid; gap: 10px; padding: 14px; background: var(--ivory); border-radius: 2px; }
.mail-line { margin-top: 18px; }
.ship-bar { margin-top: 18px; font-size: .9375rem; }
.ship-bar__track { margin-top: 8px; height: 4px; background: var(--sand); border-radius: 2px; overflow: hidden; }
.ship-bar__fill { height: 100%; background: var(--espresso); transform-origin: left; transition: transform .5s var(--ease); }
.cart-foot { margin-top: 24px; display: grid; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 18px; font-weight: 700; }
.total .price { font-size: 1.5rem; }
.express { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.express button { min-height: 52px; border: 1px solid var(--espresso); border-radius: 2px; background: var(--white); font-weight: 600; }
.express button:hover { background: var(--espresso); color: var(--white); }
.cfg-q { margin-bottom: 20px; }
.cfg-group { margin: 24px 0 0; padding: 0; border: 0; }
.cfg-group legend { padding: 0; }
.sw { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--taupe); cursor: pointer; }
.sw input { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.sw__track { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--white); border: 1.5px solid var(--espresso); transition: background-color .2s; }
.sw__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--espresso); transition: transform .3s var(--ease), background-color .2s; }
.sw input:checked + .sw__track { background: var(--espresso); }
.sw input:checked + .sw__track::after { transform: translateX(18px); background: var(--white); }
.sw input:focus-visible + .sw__track { outline: 2px solid var(--espresso); outline-offset: 3px; }
.sw__t { font-size: .9375rem; line-height: 1.4; }
.cfg-notes { margin-top: 24px; }
.cfg-paper { margin-top: 24px; padding: 18px; background: var(--ivory); border-radius: 2px; }
.cfg-draft { margin: 8px 0 0; font: .875rem/1.55 var(--f-ui); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--coal); }
.cfg-actions { margin-top: 20px; }
/* while a film runs, the page behind it must not scroll away underneath */
html.is-video-open { overflow: hidden; }
/* the film opens like a screen lowering in a dark room: the room dims, the frame arrives, the film runs */
.video-dialog { width: min(1120px, 96vw); max-width: none; max-height: 96svh; padding: 0; border: 0; border-radius: 6px; background: var(--coal); color: var(--white); overflow: hidden; opacity: 1; transform: none; transition: opacity .28s var(--ease), transform .42s cubic-bezier(.2, .7, .1, 1); }
.video-dialog::backdrop { background: rgba(24, 23, 22, .9); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); opacity: 1; transition: opacity .32s var(--ease), backdrop-filter .32s var(--ease); }
@starting-style { .video-dialog[open] { opacity: 0; transform: translateY(16px) scale(.975); } .video-dialog[open]::backdrop { opacity: 0; backdrop-filter: blur(0); } }
.video-dialog.is-closing { opacity: 0; transform: translateY(8px) scale(.99); pointer-events: none; }
.video-dialog.is-closing::backdrop { opacity: 0; backdrop-filter: blur(0); }
.video-dialog__in { position: relative; display: grid; grid-template-rows: auto 1fr auto; }
.video-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 6px 6px 6px 22px; border-bottom: 1px solid rgba(250, 249, 246, .08); }
.video-dialog__title { margin: 0; font-size: .9375rem; letter-spacing: .01em; color: var(--sand); }
.video-dialog__close { flex: none; color: var(--white); }
.video-dialog__close:hover { background: rgba(250, 249, 246, .14); }
.video-dialog__close .i { width: 22px; height: 22px; stroke-width: 2; }
.video-dialog__frame { position: relative; aspect-ratio: 16 / 9; background: #141312 center / cover no-repeat; overflow: hidden; }
.video-dialog__frame iframe, .video-dialog__frame > div { width: 100%; height: 100%; border: 0; display: block; }
/* the still from the film holds the frame until the player has a picture of its own */
.video-dialog__still { position: absolute; inset: 0; z-index: 1; background: center / cover no-repeat; transition: opacity .5s var(--ease); }
.video-dialog__still.is-gone { opacity: 0; pointer-events: none; }
.video-dialog__fallback { margin: 0; padding: 14px 22px 16px; border-top: 1px solid rgba(250, 249, 246, .08); font-size: .8125rem; letter-spacing: .01em; color: rgba(216, 199, 176, .82); }
.video-dialog__fallback a { color: rgba(250, 249, 246, .92); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(250, 249, 246, .3); transition: color .25s var(--ease), text-decoration-color .25s var(--ease); }
.video-dialog__fallback a:hover { color: var(--white); text-decoration-color: currentColor; }
@media (max-width: 700px) {
  .video-dialog { width: 100vw; max-height: 100svh; margin: auto 0 0; border-radius: 0; }
  .video-dialog__in { padding-bottom: env(safe-area-inset-bottom); }
  .video-dialog__bar { padding-left: 18px; min-height: 52px; }
  .video-dialog__fallback { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-dialog, .video-dialog::backdrop { transition: opacity .18s linear; }
  .video-dialog { transform: none; }
  @starting-style { .video-dialog[open] { transform: none; } }
  .video-dialog.is-closing { transform: none; }
  .video-dialog__still { transition: none; }
}
.menu-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ivory); color: var(--coal); }
.menu-dialog__in { display: flex; flex-direction: column; min-height: 100%; padding: 20px var(--pad) 32px; }
.menu-dialog__top { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.menu-dialog nav { display: grid; margin-block: 24px auto; }
.menu-dialog nav a { display: flex; align-items: center; min-height: 64px; border-bottom: 1px solid var(--hair); font-family: var(--f-serif); font-size: 2.25rem; text-decoration: none; color: var(--espresso); }
.menu-dialog nav a.menu-sub { font-family: var(--f-ui); font-size: 1.0625rem; font-weight: 600; color: var(--coal); }
.menu-dialog__cta { margin-top: 32px; width: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .shelf--creators { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .offers__list, .areas__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bundle { grid-template-columns: 1fr; justify-items: start; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .om__grid, .opera__in, .ud__head, .uni--poem, .skriv__grid, .letter, .booking__grid { grid-template-columns: 1fr; }
  .sec-head, .shop .sec-head { grid-template-columns: 1fr; }
  .shop-life { grid-column: 1; grid-row: auto; }
  .om__photo { max-width: 460px; }
  .episodes { grid-template-columns: 1fr; gap: 32px; }
  .shelf--books { grid-template-columns: 1fr; --gap: 40px; row-gap: 44px; }
  .opera__wall { order: -1; max-width: 480px; }
  .note { max-width: none; }
  .note--hero { position: static; margin: 12px var(--pad) 0; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .site-header__actions { margin-left: auto; }
  .site-header__in { gap: 12px; }
}
@media (max-width: 760px) {
  :root { --hh: 64px; --strip: 48px; }
  .concept-strip { padding-block: 4px; font-size: .75rem; }
  .concept-strip .concept-strip__guide, .cs-long, .cs-name { display: none; }
  .brand { display: flex; align-items: center; min-height: 44px; min-width: 44px; }
  .brand img { height: 18px; }
  .header-book { display: none; }
  .stage__in { padding-top: calc(var(--hh) + 28px); }
  .typed { font-size: 3rem; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 0; }
  .hero-follow { width: 100%; justify-content: space-between; }
  .offers__list, .booking__sheet .offers__list { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .areas__list { grid-template-columns: 1fr 1fr; gap: 14px; }
  .booking__fields, .letter__from, .giftopt__fields, .slip-signup__row, .newsletter__row { grid-template-columns: 1fr; }
  .clips { grid-template-columns: 1fr; gap: 24px; }
  .wall { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .tt { grid-template-columns: 1fr; }
  .tt__logo { max-width: 200px; }
  .bk { grid-template-columns: 1fr; }
  .bk__stage { position: static; padding: 24px; }
  .bk__book { width: 150px; }
  .sheet-dialog { width: 100vw; max-height: 94svh; margin: auto 0 0; border-radius: 4px 4px 0 0; }
  .sheet-dialog--drawer { margin: 0; height: 100svh; max-height: none; border-radius: 0; }
  .dlg-title { font-size: 1.625rem; }
  .menu-dialog nav a { font-size: 1.875rem; }
  .shelf--creators { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* books: one calm row per book, standing on its own shelf */
  .product--book { grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: center; }
  .product--book .product__stand { height: 160px; }
  .product--book .cover { --w: 100%; }
  .product--book .product__stand::after { left: -8px; right: -8px; }
  .poem { grid-template-columns: 96px minmax(0, 1fr) auto; column-gap: 16px; }
  .poem__img { grid-column: 1; grid-row: 1 / span 2; }
  .poem__t { grid-column: 2; grid-row: 1; }
  .poem__m { grid-column: 2; grid-row: 2; }
  .poem__cta { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 400px) { .areas__list { gap: 10px; } .area__t { font-size: 1.0625rem; } .typed { font-size: 2.75rem; } }
@media (max-width: 640px), (pointer: coarse) {
  .letter__help a { display: inline-block; min-height: 44px; min-width: 44px; line-height: 44px; padding-inline: 4px; }
  .concept-strip a:not(.concept-strip__guide), .concept-strip button { display: inline-flex; align-items: center; min-height: 44px; }
  .toggle-row input[type="checkbox"] { width: 44px; height: 44px; flex: none; margin: 0; }
}
.dock--strip .koncept-btn { min-height: 44px; }
.clips .story-clip__v { height: auto; }

/* hit areas on pseudo-elements so visible gaps stay equal */
.brand, .concept-strip__guide, .letter__help a { position: relative; }
.brand::before, .concept-strip__guide::before { content: ""; position: absolute; inset: -12px -8px; }
.letter__help a::before { content: ""; position: absolute; inset: -14px -6px; }
.shop .fine { max-width: 70ch; }


/* the wordmark link keeps a 44px target at every width */
.brand { display: flex; align-items: center; min-height: 44px; min-width: 44px; line-height: 0; }

/* ---------- the room: Mazen's book photograph leaning on the sideboard, his books standing in front ---------- */
.room__fig { top: auto; bottom: calc(var(--ch) * .39); right: 3%; height: auto; width: min(calc((var(--ch) - var(--edge)) * 1.25), 94%); aspect-ratio: 1199 / 959; box-sizing: border-box; padding: 0; border: calc(var(--ch) * .012) solid var(--espresso); background: var(--sand); box-shadow: 0 2px 3px rgba(41, 40, 38, .16), 0 28px 40px -26px rgba(41, 40, 38, .55); }
.room__cut { mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; object-fit: cover; object-position: 50% 50%; }
.hero__name { white-space: nowrap; }
@media (max-width: 600px) { .hero__name { font-size: 1.125rem; } .hero__who { font-size: .8125rem; } }
.rb { bottom: 12%; height: calc(var(--bw) * 1.5); }
.rb--1 { --a: -2deg; } .rb--2 { --a: 1.5deg; } .rb--3 { --a: -1deg; }
.rb__book { top: 0; margin-top: 0; height: 100%; transform-style: flat; transform-origin: 50% 100%; transform: rotate(var(--a, 0deg)); }
.rb:hover .rb__book, .rb__btn:focus-visible .rb__book, .rb.is-open .rb__book { transform: rotate(var(--a, 0deg)) translateY(-6px); }
.rb__book .cover { transform: none; box-shadow: inset 4px 0 6px -4px rgba(41, 40, 38, .45), 0 1px 2px rgba(41, 40, 38, .25); }
.rb__spine, .rb__edge { display: none; }
.rb__sh { inset: auto -8% -5% -8%; height: 9%; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(41, 40, 38, .42), rgba(41, 40, 38, 0) 72%); filter: none; transform: none; }
@media (prefers-reduced-motion: no-preference) { .rb__book { animation-name: stand; } }
@keyframes stand { from { opacity: 0; transform: rotate(var(--a, 0deg)) translateY(-14px); } }

/* Operaen, the grand wall: the house fills the right half to the edge, the title gets the room */
@media (min-width: 901px) {
  .opera { padding-block: 0; }
  .opera__in { min-height: min(calc(100svh - var(--hh)), 980px); grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .opera__text { grid-column: 1; padding-block: clamp(72px, 7vw, 104px) clamp(104px, 9vw, 136px); }
  .opera__trailer { max-width: 440px; }
  .opera__h { font-size: clamp(4.5rem, 10vw, 9rem); }
  .opera__wall { position: absolute; top: 0; right: 0; bottom: clamp(40px, 5vw, 72px); width: 46vw; max-width: none; justify-self: auto; }
  .opera__frame { height: 100%; padding: 0; background: none; box-shadow: none; }
  .opera__frame img { height: 100%; aspect-ratio: auto; object-position: 55% 45%; }
  .opera__wall figcaption { position: absolute; left: clamp(16px, 2vw, 28px); top: 100%; margin-top: 0; line-height: clamp(40px, 5vw, 72px); z-index: 1; }
}

/* Operaen sits in koksgrå: the house's red and blue carry the colour; the header button steps back to an outline */
.opera { background: var(--coal); }
.site-header[data-theme="dark"] { background: var(--coal); }
.site-header[data-theme="dark"] .btn--primary { background: transparent; color: var(--ivory); border-color: rgba(244, 240, 232, .7); }
.site-header[data-theme="dark"] .btn--primary:hover { background: var(--ivory); color: var(--coal); border-color: var(--ivory); }

/* phone: the first book sits near the left edge, so its label opens from the book's left side, arrow still on the book */
@media (max-width: 600px) { .rb--1 .rb__tag { left: -6px; margin-left: 0; } .rb--1 .rb__tag::before { left: calc(var(--bw) / 2 + 6px); } }

/* no lone last word under a film */
.clips .story-clip__t { text-wrap: pretty; }
/* wide screens: each film with its caption beside it, the pair filling the row */
@media (min-width: 1280px) {
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clips .story-clip { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px; align-items: start; }
  .clips .story-clip__cap { margin-top: 0; }
}
