/* Nibfern v4. Light, curated, studio-photography feel.
   One theme colour per book (Ocean teal, Winter blue, Ice navy) on pale tints, with the Ocean teal as the brand spot:
   logo, buttons, focus. Type after belgradearbor.rs: an old-style serif for display and long lines (Newsreader stands in
   for PP Editorial Old until a web licence is bought), Work Sans for labels, buttons and reading, and a condensed serif
   (Instrument Serif) for the big tone-on-tone words borrowed from the studio photos.
   Layout: 1240px column, generous vertical rhythm on an 8px grid (sections 128 / 96 / 64), cards square-cornered with a
   2px radius like printed matter. */
:root {
  --bg: #f7f9f8;
  --surface: #ffffff;
  --tint: #e9f4f2;
  --ink: #10302f;
  --ink-2: #4a6361;
  --ink-3: #7a8f8d;
  --line: rgb(16 48 47 / .12);
  --line-2: rgb(16 48 47 / .24);
  --teal: #48c1b5;        /* Quiet Ocean cover: buttons */
  --teal-deep: #2a9d91;   /* logo, links, stars, focus */
  --on-teal: #0f3433;
  --coral: #e2553f;       /* rare spot: the lionfish */
  --theme: var(--teal); --book-ink: var(--ink); --book-tint: var(--tint);
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --text: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --word: "Instrument Serif", "Bodoni 72", Didot, serif;
  --r: 2px;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header: 76px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; height: auto; }
a { color: var(--ink); text-decoration-color: rgb(42 157 145 / .5); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--teal-deep); text-decoration-color: var(--teal-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 300; font-variation-settings: "opsz" 72; text-wrap: balance; margin: 0; line-height: 1.04; letter-spacing: -.015em; }
h2 { font-size: clamp(36px, 2.6vw + 20px, 60px); }
h3 { font-size: 26px; font-weight: 400; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; }
::selection { background: var(--teal); color: var(--on-teal); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--on-teal); padding: 8px 12px; z-index: 60; }
.skip:focus { left: 12px; }
.eyebrow { font: 500 12.5px/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow a { color: inherit; }
.lede { text-wrap: pretty; font-family: var(--display); font-weight: 300; font-size: clamp(21px, .6vw + 18px, 26px); line-height: 1.4; color: var(--ink-2); max-width: 34ch; font-variation-settings: "opsz" 36; }
.fine { font-size: 14px; color: var(--ink-3); }
.note { font-size: 14px; color: var(--ink-3); margin-top: 16px; }
.h1 { font-size: clamp(44px, 3.6vw + 24px, 84px); line-height: 1; }
.display { font-size: clamp(56px, 6vw + 22px, 128px); line-height: .96; letter-spacing: -.025em; }
.text-link { font: 500 13px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 10px; }
.text-link::after { content: ""; width: 26px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.text-link:hover { color: var(--teal-deep); }
.text-link:hover::after { width: 40px; }

/* Big tone-on-tone words, after the studio photos */
.bigword { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); font-family: var(--word); font-weight: 400; font-size: var(--word-size, clamp(150px, 24vw, 400px)); line-height: .8; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; color: var(--theme); opacity: .16; pointer-events: none; user-select: none; z-index: 0; transition: opacity .6s var(--ease); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); }
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgb(247 249 248 / .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.bar.solid { border-bottom-color: var(--line); }
.bar-in { max-width: 1240px; margin: 0 auto; padding: 0 var(--gut-r) 0 var(--gut); height: var(--header); display: flex; align-items: center; gap: 32px; }
.brand { color: var(--teal-deep); display: block; margin-right: auto; line-height: 0; }
.brand .wm { width: 104px; height: auto; display: block; }
.brand:hover { color: var(--teal-deep); }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font: 500 12.5px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; position: relative; padding-block: 8px; color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--teal-deep); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.bar-end { display: flex; align-items: center; gap: 10px; }
.region { font: 500 11.5px/1 var(--text); letter-spacing: .12em; text-decoration: none; border: 1px solid var(--line-2); border-radius: 999px; height: 40px; padding: 0 14px; display: inline-flex; align-items: center; color: var(--ink-2); }
.bag-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: 0 8px 0 16px; cursor: pointer; font: 500 12.5px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--ink); transition: background .2s, color .2s; }
.us .bag-btn { padding: 0 18px; }
.bag-btn:hover { background: var(--ink); color: var(--bg); }
.bag-count { min-width: 22px; height: 22px; border-radius: 999px; background: var(--teal); color: var(--on-teal); font-size: 12px; letter-spacing: 0; display: inline-grid; place-items: center; padding: 0 6px; font-variant-numeric: tabular-nums; }
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 35% { transform: scale(1.4); } }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; position: relative; }
.menu-btn span:not(.vh) { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.menu { background: var(--bg); border-top: 1px solid var(--line); padding: 8px var(--gut-r) 28px var(--gut); }
.menu nav { display: grid; }
.menu a { font-family: var(--display); font-weight: 300; font-size: 34px; text-decoration: none; padding-block: 10px; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .nav { display: none; } .menu-btn { display: inline-block; } .region { display: none; } .bar-in { gap: 12px; } .brand .wm { width: 88px; } }

.geo { background: var(--ink); color: var(--bg); font-size: 14px; }
.geo .wrap { display: flex; gap: 14px; align-items: center; justify-content: center; padding-block: 9px; flex-wrap: wrap; text-align: center; }
.geo a { color: var(--teal); font-weight: 600; }
.geo button { border: 0; background: transparent; cursor: pointer; text-decoration: underline; color: var(--bg); opacity: .8; }

main { outline: none; display: block; overflow-x: clip; }
body { overflow-x: clip; }
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section.first { padding-top: clamp(24px, 3vw, 48px); }
.section:not(.band):not(.reviews):not(.shelf-sec) + .section:not(.band):not(.shelf-sec) { padding-top: 0; }
.band { background: var(--surface); }
.band.tinted { background: var(--book-tint); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(40px, 4vw, 64px); max-width: 62ch; }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; }
.section-head.row { display: flex; max-width: none; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head.row > div:not(.car-arrows) { display: grid; gap: 16px; max-width: 58ch; }
.crumbs { padding-block: 24px 0; font-size: 13px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--ink-2); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--teal); background: var(--teal); color: var(--on-teal); border-radius: 999px; padding: 17px 30px; font: 500 13px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; will-change: transform; }
.btn:hover { color: var(--on-teal); background: #3cb4a8; border-color: #3cb4a8; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-block { width: 100%; }
.btn.added { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn .tick { display: inline-block; width: 12px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translate(1px, -2px); }
.cta-row { display: flex; gap: 14px 24px; flex-wrap: wrap; align-items: center; }
.text-btn { border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 6px; color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 9px 16px; font: 500 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Preloader: the wordmark fills with teal as the page loads, then flies to the header */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: none; place-items: center; }
.js .preloader { display: grid; }
.js.intro-done .preloader { display: none; }
/* No scrolling the page behind the intro: it should open on the hero. */
.js:not(.intro-done) body.intro:not(.ready) { overflow: hidden; }
.pl-in { display: grid; justify-items: center; gap: 22px; }
.pl-mark { position: relative; width: min(190px, 46vw); color: rgb(42 157 145 / .16); line-height: 0; }
.pl-mark .wm { width: 100%; height: auto; }
.pl-fill { position: absolute; inset: 0; color: var(--teal-deep); clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
.pl-num { font: 500 12px/1 var(--text); letter-spacing: .06em; color: var(--ink-3); font-variant-numeric: tabular-nums; min-width: 4ch; text-align: center; transition: opacity .3s; }
.preloader.leaving { background: transparent; transition: background .7s var(--ease) .15s; }
.preloader.leaving .pl-num { opacity: 0; }
.js:not(.intro-done) .intro .bar .brand { opacity: 0; }
.js:not(.intro-done) .intro .bar .brand.shown { opacity: 1; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 4vw, 64px) clamp(72px, 8vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero-copy { display: grid; gap: 28px; position: relative; z-index: 1; }
/* The mask that slides each line in must clear the tallest ascender and the deepest descender. */
.hero .hl { display: block; overflow: hidden; padding: .1em 0 .3em; margin: -.1em 0 -.3em; }
.hero .hl > span { display: inline-block; }
.js .hero .hl > span, .js .hero .rise { transform: translateY(105%); opacity: 0; }
.js .hero .rise { transform: translateY(18px); }
.ready .hero .hl > span, .ready .hero .rise { transform: none; opacity: 1; transition: transform 1.2s var(--ease), opacity 1s var(--ease); }
.ready .hero .hl:nth-child(2) > span { transition-delay: .12s; }
.ready .hero .hl:nth-child(3) > span { transition-delay: .24s; }
.ready .hero .rise.d1 { transition-delay: .35s; } .ready .hero .rise.d2 { transition-delay: .5s; } .ready .hero .rise.d3 { transition-delay: .65s; }
.hero-film { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); }
.hero-film img, .hero-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-film img { opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 8s linear; }
.hero-film img.on { opacity: 1; transform: scale(1); }
.js .hero-film { clip-path: inset(100% 0 0 0); }
.ready .hero-film { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease) .2s; }
.film-cap { position: absolute; left: 16px; bottom: 16px; font: 500 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgb(16 48 47 / .55); padding: 7px 10px; border-radius: 999px; z-index: 2; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-film { aspect-ratio: 4 / 4.4; } }

/* Shelf carousel: three books, the middle one largest */
.shelf-sec { --theme: var(--teal); background: var(--book-tint); transition: background .8s var(--ease); overflow: hidden; }
.shelf-sec .section-head.row { position: relative; z-index: 1; }
.shelf-sec .bigword { top: 42%; --word-size: min(calc(150vw / var(--letters, 5)), 600px); }
.car-arrows { display: flex; gap: 10px; }
.car-arrows button { width: 54px; height: 54px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; color: var(--ink); }
.car-arrows button:hover { background: var(--ink); color: var(--bg); }
.carousel { position: relative; z-index: 1; height: var(--car-h, 640px); touch-action: pan-y; }
.slide { position: absolute; left: 50%; top: 0; width: var(--card-w, 34%); transform: translateX(calc(-50% + var(--x, 0%))) scale(var(--s, 1)); transform-origin: 50% 34%; transition: transform .9s var(--ease), opacity .6s var(--ease); }
.slide[data-pos="0"] { --x: 0%; --s: 1; z-index: 3; }
.slide[data-pos="-1"] { --x: -106%; --s: .76; z-index: 2; }
.slide[data-pos="1"] { --x: 106%; --s: .76; z-index: 2; }
.slide[data-pos="-2"], .slide[data-pos="2"] { opacity: 0; pointer-events: none; --s: .6; }
.slide[data-pos="-2"] { --x: -200%; } .slide[data-pos="2"] { --x: 200%; }
.slide:not([data-pos="0"]) .book-meta { opacity: .0; transition: opacity .4s; }
.slide[data-pos="0"] .book-meta { opacity: 1; transition: opacity .6s .3s; }
@media (max-width: 760px) { .carousel { --card-w: 64%; } .slide[data-pos="-1"] { --x: -100%; --s: .8; } .slide[data-pos="1"] { --x: 100%; --s: .8; } }
.car-foot { display: none; justify-content: center; margin-top: 28px; position: relative; z-index: 1; }
@media (max-width: 760px) { .section-head .car-arrows { display: none; } .car-foot { display: flex; } }

/* Book cards */
.book { display: grid; gap: 20px; align-content: start; }
.book-stage { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; background: var(--book-tint); overflow: hidden; padding: 13% 15%; }
.book-stage .bigword { --word-size: calc(250cqw / var(--letters, 5)); top: 30%; opacity: .2; }
.book-stage { container-type: inline-size; }
.cover { position: relative; z-index: 1; width: 100%; aspect-ratio: 8.5 / 11; object-fit: cover; box-shadow: inset 6px 0 6px -6px rgb(0 0 0 / .25), 0 1px 1px rgb(0 0 0 / .12), 0 26px 40px -22px rgb(16 48 47 / .55); transition: transform .7s var(--ease); }
.hands { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
@media (hover: hover) { .book-stage:hover .hands, .book-stage:focus-visible .hands { opacity: 1; transform: scale(1); } .book-stage:hover .cover { transform: translateY(-6px); } }
.book-meta { display: grid; gap: 8px; text-align: center; justify-items: center; }
.book-meta h3 { font-size: clamp(28px, 1.4vw + 18px, 40px); font-weight: 300; }
.book-meta h3 a { text-decoration: none; }
.book-meta .sub { color: var(--ink-2); font-size: 16px; max-width: 36ch; }
.price { font-weight: 500; font-variant-numeric: tabular-nums; font-size: 17px; }
.price .from { font-weight: 400; color: var(--ink-3); font-size: 14px; }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 28px; }
.shelf .book-meta { text-align: left; justify-items: start; }

/* Colour it, cut it out, hang it */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.split-copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-content: center; }
@media (max-width: 600px) { .text-link { white-space: normal; } }
.split-copy > p { color: var(--ink-2); max-width: 52ch; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 520px) { .steps3 { grid-template-columns: minmax(0, 1fr); } }
.steps3 li { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-2); }
.steps3 svg { width: 52px; height: 52px; color: var(--teal-deep); }
.steps3 strong { font-family: var(--display); font-weight: 400; font-size: 22px; }
.steps3 span { color: var(--ink-2); font-size: 15px; }
.reveal-wrap { margin: 0; display: grid; gap: 14px; }
.reveal-wrap figcaption { font-size: 14px; color: var(--ink-3); }
.reveal { position: relative; --x: 50%; user-select: none; -webkit-user-select: none; touch-action: pan-y; overflow: hidden; background: #fff; padding: 6% 6% 13%; box-shadow: 0 30px 60px -40px rgb(16 48 47 / .5); }
/* Line and colour share one box the size of the drawing, so the clip, the handle and both pictures use the same coordinates. */
.reveal .rv { position: relative; aspect-ratio: 900 / 1117; }
.reveal .rv img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.reveal .top { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.reveal .handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; margin-left: -.5px; background: var(--ink); pointer-events: none; }
.reveal .knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 999px; background: var(--teal); box-shadow: 0 6px 18px rgb(16 48 47 / .3); transition: transform .25s var(--ease); }
.reveal .knob::before, .reveal .knob::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-left: 2px solid var(--on-teal); border-bottom: 2px solid var(--on-teal); }
.reveal .knob::before { left: 13px; transform: translateY(-50%) rotate(45deg); }
.reveal .knob::after { right: 13px; transform: translateY(-50%) rotate(-135deg); }
.reveal:hover .knob, .reveal.dragging .knob { transform: scale(1.12); }
.reveal input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.reveal input:focus-visible ~ .handle .knob { outline: 3px solid var(--ink); outline-offset: 3px; }
.reveal-tags { position: absolute; inset: auto 12px 12px; display: flex; justify-content: space-between; pointer-events: none; }
.reveal-tags .t-col { opacity: clamp(0, calc((var(--xn, 50) - 14) / 10), 1); transition: opacity .2s; }
.reveal-tags .t-line { opacity: clamp(0, calc((86 - var(--xn, 50)) / 10), 1); transition: opacity .2s; }
.reveal-tags span { font: 500 11px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; background: rgb(255 255 255 / .9); color: var(--ink); padding: 7px 10px; border-radius: 999px; }

/* Papers (SA) */
.papers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 700px) { .papers { grid-template-columns: minmax(0, 1fr); } }
.paper { background: var(--surface); border: 1px solid var(--line); padding: 36px; display: grid; gap: 12px; align-content: start; }
.paper h3 { font-size: 32px; font-weight: 300; }
.paper p { color: var(--ink-2); }
.paper .eyebrow { color: var(--teal-deep); }

/* Instagram-style wall */
.ig { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .ig { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ig-tile { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--tint); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ig-tile:hover img { transform: scale(1.05); }
.ig-over { position: absolute; inset: 0; display: grid; align-content: end; gap: 4px; padding: 14px; text-align: left; background: linear-gradient(to top, rgb(16 48 47 / .75), transparent 55%); opacity: 0; transition: opacity .3s; color: #fff; }
.ig-tile:hover .ig-over, .ig-tile:focus-visible .ig-over { opacity: 1; }
.ig-handle { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.ig-cap { font-size: 13px; opacity: .85; }
.tagrow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.community-note { margin: 0 0 20px; color: var(--ink-2); }
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgb(247 249 248 / .96); display: grid; place-items: center; padding: 24px; animation: fade .25s; }
.lightbox figure { margin: 0; display: grid; justify-items: center; }
.lightbox img { max-height: 84vh; width: auto; box-shadow: 0 30px 80px rgb(16 48 47 / .3); }
.lightbox p { color: var(--ink-2); margin-top: 14px; text-align: center; }
.lightbox button { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); }
@keyframes fade { from { opacity: 0; } }

/* Gift */
.gift { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.gift > div { display: grid; gap: 24px; align-content: center; }
.gift p { color: var(--ink-2); max-width: 50ch; }
.gift-img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .gift { grid-template-columns: minmax(0, 1fr); } }
.gift > div > .btn, .rv-sum .btn, .aside .btn, .split-copy .btn { justify-self: start; }
.reveal-in { clip-path: inset(10% 0 0 0); opacity: 0; transition: clip-path 1.2s var(--ease), opacity 1.2s var(--ease); }
.reveal-in.seen { clip-path: inset(0 0 0 0); opacity: 1; }

/* Product */
.product { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 4vw, 72px); padding-block: 24px clamp(72px, 8vw, 120px); align-items: start; }
@media (max-width: 900px) { .product { grid-template-columns: minmax(0, 1fr); } }
/* The gallery stays in view beside the buy box. When it is taller than the window it scrolls on its own, so the thumbnails are always reachable. */
.gallery { display: grid; grid-auto-rows: max-content; gap: 14px; align-content: start; align-self: start; position: sticky; top: calc(var(--header) + 24px); --stage-pad: clamp(28px, 3vw, 52px); --stage-h: clamp(380px, calc(100svh - var(--header) - 250px), 720px); }
@media (max-width: 900px), (max-height: 640px) { .gallery { position: static; --stage-h: auto; } .stage img.shot, .stage img.shot.photo { max-height: 660px; } .stage .reveal { width: min(100%, 440px); } }
.stage-wrap { position: relative; }
.stage-arrow { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgb(255 255 255 / .72); color: var(--ink); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; box-shadow: 0 6px 18px -8px rgb(16 48 47 / .35); transition: background .2s, transform .2s var(--ease); }
.stage-arrow:hover { background: #fff; transform: scale(1.06); }
.stage-arrow:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.stage-arrow.prev { left: 14px; } .stage-arrow.next { right: 14px; }
@media (max-width: 600px) { .stage-arrow { width: 34px; height: 34px; margin-top: -17px; } .stage-arrow.prev { left: 6px; } .stage-arrow.next { right: 6px; } .stage-arrow svg { width: 18px; height: 18px; } }
.stage { position: relative; overflow: hidden; background: var(--book-tint); padding: var(--stage-pad, clamp(32px, 8%, 80px)); display: grid; place-items: center; height: var(--stage-h, auto); min-height: 380px; box-sizing: border-box; scroll-margin-top: calc(var(--header) + 16px); container-type: inline-size; }
.stage .bigword { --word-size: calc(270cqw / var(--letters, 5)); top: 28%; opacity: .2; }
.stage > *:not(.bigword) { position: relative; z-index: 1; }
.stage img.shot { max-height: calc(var(--stage-h) - 2 * var(--stage-pad)); width: auto; aspect-ratio: 8.5 / 11; object-fit: cover; box-shadow: inset 6px 0 6px -6px rgb(0 0 0 / .25), 0 30px 50px -26px rgb(16 48 47 / .6); background: #fff; animation: swap .45s var(--ease); }
.stage img.shot.plate { box-shadow: 0 24px 50px -30px rgb(16 48 47 / .5); }
.stage img.shot.photo { aspect-ratio: auto; max-width: 100%; max-height: calc(var(--stage-h) - 2 * var(--stage-pad)); box-shadow: none; }
.stage .reveal { width: min(100%, calc((var(--stage-h) - 2 * var(--stage-pad)) / 1.3)); animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }
.thumbs { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 40px 6px 2px; scrollbar-width: thin; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
.thumb { flex: 0 0 88px; border: 1px solid var(--line); background: var(--surface); padding: 5px; cursor: pointer; display: grid; gap: 6px; align-content: start; scroll-snap-align: start; transition: border-color .2s; }
.thumb .ti { display: block; aspect-ratio: 8.5 / 11; overflow: hidden; background: var(--tint); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .cap { font-size: 11px; color: var(--ink-3); text-align: left; line-height: 1.25; }
.thumb[aria-pressed="true"] { border-color: var(--ink); }
.info { display: grid; gap: 22px; }
.info .sub { color: var(--ink-2); font-size: 17px; }
.info .lede { max-width: none; }
.rating { display: inline-flex; gap: 10px; align-items: center; color: var(--teal-deep); text-decoration: none; font-size: 14px; }
.rating span { color: var(--ink-2); }
.stars { display: inline-flex; gap: 2px; color: var(--teal-deep); vertical-align: middle; }
.buy { display: grid; gap: 18px; padding: 28px; border: 1px solid var(--line-2); background: var(--surface); }
.editions { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.editions legend { font: 500 12.5px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; color: var(--ink-2); }
.ed { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; border: 1px solid var(--line); padding: 15px 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.ed input { margin: 0; width: 18px; height: 18px; accent-color: var(--teal-deep); }
.ed:hover { border-color: var(--line-2); }
.ed:has(input:checked) { border-color: var(--ink); background: var(--tint); }
.ed b { display: block; font-weight: 500; }
.ed .for { font-size: 14px; color: var(--ink-2); }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.price.big { font-family: var(--display); font-weight: 300; font-size: 38px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
.stepper button { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; font-size: 18px; border-radius: 999px; color: var(--ink); }
.stepper button:hover { background: var(--tint); }
.stepper output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; display: inline-block; }
.stepper output.tick { animation: tick .25s var(--ease); }
@keyframes tick { from { transform: translateY(-5px); opacity: .3; } }
.blurb { display: grid; gap: 14px; color: var(--ink-2); max-width: 62ch; }
.rows details { border-top: 1px solid var(--line); padding-block: 18px; }
.rows details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font: 500 13px/1.4 var(--text); letter-spacing: .12em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); flex: none; margin-right: 4px; }
details[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
details > *:not(summary) { margin-top: 14px; color: var(--ink-2); }
details[open] > *:not(summary) { animation: swap .35s var(--ease); }
details ul { padding-left: 18px; display: grid; gap: 4px; margin-bottom: 0; }
ul.subj { columns: 2; display: block; padding-left: 18px; }
ul.subj a { color: var(--ink-2); }

/* Reviews */
.reviews { border-top: 1px solid var(--line); }
.rv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(36px, 6vw, 104px); }
@media (max-width: 760px) { .rv { grid-template-columns: minmax(0, 1fr); } }
.rv-sum { display: grid; gap: 16px; align-content: start; }
.rv-sum p { color: var(--ink-2); }
.rv-score { font-family: var(--display); font-weight: 300; font-size: 72px; line-height: 1; color: var(--ink) !important; }
.rv-list { list-style: none; margin: 0; padding: 0; }
.rv-list li { padding-block: 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.rv-list li:last-child { border-bottom: 1px solid var(--line); }
.rv-head { display: flex; gap: 12px; align-items: center; }
.rv-empty { color: var(--ink-3); }

/* Colour guide */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 32px; scroll-margin-top: calc(var(--header) + 16px); }
.search { margin-left: auto; }
.search input { background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 18px; min-width: 240px; color: var(--ink); }
@media (max-width: 640px) { .search { margin-left: 0; width: 100%; } .search input { width: 100%; } }
.lib-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 36px 20px; }
@media (max-width: 600px) { .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; } }
.lib-card a { display: grid; gap: 10px; text-decoration: none; color: var(--ink); }
.lib-img { display: block; aspect-ratio: 8.5 / 11; background: #fff; overflow: hidden; padding: 7%; box-shadow: inset 0 0 0 1px var(--line); }
.lib-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--ease); }
.lib-card a:hover img { transform: scale(1.04); }
.lib-name { font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.15; }
.lib-book { font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; }
.lib { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 104px); padding-block: 24px clamp(72px, 8vw, 120px); align-items: start; }
@media (max-width: 860px) { .lib { grid-template-columns: minmax(0, 1fr); } }
.lib-visual { position: sticky; top: calc(var(--header) + 24px); align-self: start; }
@media (max-width: 860px) { .lib-visual { position: static; } }
.lib-text { display: grid; gap: 20px; align-content: start; }
.lib-text > p { color: var(--ink-2); max-width: 60ch; }
.lib-text h2 { font-size: 30px; margin-top: 12px; }
.h1-sub { display: block; font: 500 13px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-top: 16px; }
.sci { font-family: var(--display); font-style: italic; color: var(--ink-3) !important; font-size: 19px; }
.pencils { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pencils li { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 13px; font-size: 14px; color: var(--ink-2); }
.lib-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.lib-grid.mini { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
.lib-grid.mini .lib-name { font-size: 18px; }
.soon-list { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 12px; color: var(--ink-2); max-width: 80ch; }
.soon-list h2 { font-size: 28px; color: var(--ink); }
.pn { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 12px; font-size: 15px; }
.pn a { text-decoration: none; color: var(--ink-2); }

/* Journal */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 48px 28px; }
.posts a { display: grid; gap: 12px; text-decoration: none; color: var(--ink); }
.posts img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 50%; width: 100%; }
.posts strong { font-family: var(--display); font-weight: 300; font-size: 28px; line-height: 1.12; }
.posts span:last-child { color: var(--ink-2); font-size: 15px; }
.post { max-width: 780px; padding-block: 24px clamp(72px, 8vw, 120px); display: grid; gap: 36px; }
.post header { display: grid; gap: 18px; }
/* Article pictures are shown whole, so the book or frame is never cropped. */
.post-hero { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; height: auto; }
.prose { display: grid; gap: 18px; color: var(--ink-2); max-width: 66ch; }
.prose h2 { font-size: 34px; color: var(--ink); margin-top: 20px; }
.prose h3 { font-size: 23px; color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .callout { font-family: var(--display); font-weight: 300; font-size: 23px; line-height: 1.45; color: var(--ink); border-left: 2px solid var(--teal); padding-left: 22px; }

/* Forms */
.page-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
@media (max-width: 860px) { .page-grid { grid-template-columns: minmax(0, 1fr); } }
.page-grid > div { display: grid; gap: 24px; }
.aside { background: var(--surface); border: 1px solid var(--line); padding: 28px; display: grid; gap: 12px; }
.aside h2 { font-size: 24px; }
.aside h2:not(:first-child) { margin-top: 18px; }
.form { display: grid; gap: 22px; position: relative; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
legend { font-family: var(--display); font-weight: 300; font-size: 28px; margin-bottom: 4px; padding: 0; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 560px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 7px; align-content: start; }
.field label, .field legend { font: 500 12px/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.field .hint { font-size: 13px; color: var(--ink-3); }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], select, textarea {
  width: 100%; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--surface); height: 52px; margin: 0; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea { height: auto; min-height: 150px; padding: 12px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal-deep); outline: none; box-shadow: 0 0 0 3px rgb(72 193 181 / .3); }
.field input, .field select, .field textarea { scroll-margin-top: 120px; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #c2412b; animation: shake .3s; }
@keyframes shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.err { color: #b33a26; font-size: 13px; }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; color: var(--ink-2); }
.check input { margin: 0; width: 18px; height: 18px; accent-color: var(--teal-deep); flex: none; }
.form-error { color: #b33a26; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.rate-in { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rate-in input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-in label { cursor: pointer; color: var(--ink-3); transition: color .15s, transform .15s; }
.rate-in label .stars { color: inherit; }
.rate-in label:hover, .rate-in label:hover ~ label, .rate-in input:checked ~ label { color: var(--teal-deep); }
.rate-in label:hover { transform: scale(1.1); }
.rate-in label svg path { fill: currentColor; }
.rate-in input:focus-visible + label { outline: 2px solid var(--teal-deep); outline-offset: 2px; }
.sent { background: var(--tint); border: 1px solid rgb(42 157 145 / .4); padding: 22px; display: grid; gap: 6px; }

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgb(16 48 47 / .3); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--surface); border-left: 1px solid var(--line); z-index: 51; display: grid; grid-template-rows: auto 1fr auto;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px);
  transform: translateX(104%); transition: transform .45s var(--ease), visibility 0s .45s; visibility: hidden; }
.drawer.on { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 30px; }
.drawer-body { overflow: auto; padding: 6px 24px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); align-items: start; }
.line:last-child { border-bottom: 0; }
.line img { aspect-ratio: 8.5 / 11; object-fit: cover; box-shadow: 0 6px 14px -6px rgb(16 48 47 / .4); }
.line h3 { font-size: 20px; }
.line .small { font-size: 14px; color: var(--ink-3); display: block; }
.line .stepper { margin-top: 10px; }
.line .end { display: grid; justify-items: end; gap: 8px; }
.remove { font-size: 14px; }
.totals { display: grid; gap: 6px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .grand { font-weight: 600; font-size: 18px; padding-top: 8px; border-top: 1px solid var(--line); }
.free { display: grid; gap: 6px; font-size: 13px; color: var(--ink-3); }
.meter { height: 2px; background: var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--teal-deep); width: var(--p, 0%); transition: width .6s var(--ease); }
.empty { padding-block: 32px; color: var(--ink-2); display: grid; gap: 14px; justify-items: start; }

/* Checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; padding-block: 32px 104px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: minmax(0, 1fr); } }
.slip { position: sticky; top: calc(var(--header) + 24px); background: var(--surface); border: 1px solid var(--line); padding: 26px; display: grid; gap: 14px; }
.slip .line { grid-template-columns: 48px minmax(0, 1fr) auto; padding-block: 10px; }
.slip .line h3 { font-size: 18px; }
.mini-sum { display: none; }
@media (max-width: 900px) { .slip { display: none; } .mini-sum { display: block; background: var(--surface); border: 1px solid var(--line); padding: 14px 18px; } .mini-sum .line { grid-template-columns: 44px minmax(0, 1fr) auto; } }
.thanks { padding-block: 64px 112px; display: grid; gap: 22px; max-width: 680px; }
.steps { display: grid; gap: 10px; padding: 0; margin: 8px 0 0; list-style: none; counter-reset: s; color: var(--ink-2); }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; counter-increment: s; }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--teal-deep); display: grid; place-items: center; font-size: 13px; color: var(--teal-deep); }

/* Gift guide, FAQ */
.gift-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .gift-picks { grid-template-columns: minmax(0, 1fr); } }
.gift-pick { display: grid; gap: 20px; align-content: start; }
@media (max-width: 900px) { .gift-pick { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; } }
.gift-pick-text { display: grid; gap: 10px; }
.gift-pick-text p:not(.eyebrow):not(.price) { color: var(--ink-2); font-size: 16px; }
.gift-pick h3 a { text-decoration: none; }
.faq summary { font-family: var(--display); font-weight: 300; font-size: 23px; letter-spacing: 0; text-transform: none; }

/* Footer */
.foot { background: var(--teal-deep); color: #fff; }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 88px var(--gut-r) 28px var(--gut); display: grid; gap: 64px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 980px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
.foot-brand { display: grid; gap: 22px; align-content: start; justify-items: start; }
.foot-logo { color: #fff; line-height: 0; }
.foot-logo .wm { width: 128px; height: auto; }
.foot-brand p { font-family: var(--display); font-weight: 300; font-size: 24px; line-height: 1.3; max-width: 24ch; }
.foot h2, .foot .foot-h { font: 600 11.5px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #fff; opacity: .78; margin-bottom: 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; line-height: 1.35; }
.foot ul li { text-wrap: balance; }
.foot ul a { text-decoration: none; color: #fff; }
.foot ul a:hover { text-decoration: underline; text-underline-offset: 4px; }
.muted-ft { color: var(--ink-3); font-size: 14px; }
.foot .muted-ft { color: #fff; opacity: .72; }
.foot .social a, .foot .social .soon { color: #fff; border-color: rgb(255 255 255 / .5); }
.foot .social a:hover { color: #fff; border-color: #fff; }
.social { display: flex !important; gap: 8px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.social a, .social .soon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); transition: border-color .2s, color .2s, transform .2s var(--ease); }
.social a:hover { border-color: var(--teal-deep); color: var(--teal-deep); transform: translateY(-2px); }
.social .soon { opacity: .4; cursor: default; }
.foot-bottom { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; font-size: 12.5px; color: #fff; border-top: 1px solid rgb(255 255 255 / .3); padding-top: 18px; }
.foot-bottom a { color: #fff; }

.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 999px; z-index: 80; font-size: 14px; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-in { clip-path: none; opacity: 1; }
  .js .hero .hl > span, .js .hero .rise { transform: none; opacity: 1; }
  .js .hero-film { clip-path: none; }
  .js .preloader { display: none; }
  .js:not(.intro-done) .intro .bar .brand { opacity: 1; }
}
.carousel .book-stage { background: transparent; }
.carousel .book-stage .bigword { display: none; }

@container (max-width: 380px) { .book-stage .bigword { display: none; } }
@media (max-width: 600px) {
  .buy { border: 0; padding: 0; background: transparent; }
  .ed { grid-template-columns: auto minmax(0, 1fr); }
  .ed .price { grid-column: 2; }
}
.paper-ico { width: 44px; height: 44px; color: var(--teal-deep); }
.rv-empty-line { color: var(--ink-2); text-align: center; padding-block: 8px; }
.order-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: o; }
.order-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; counter-increment: o; padding-top: 18px; border-top: 1px solid var(--line-2); color: var(--ink-2); }
.order-steps li::before { content: counter(o, decimal-leading-zero); font-family: var(--display); font-size: 26px; line-height: 1; color: var(--teal-deep); }
.order-steps strong { color: var(--ink); font-weight: 500; display: block; }
.foot-legal { display: flex; gap: 10px 24px; flex-wrap: wrap; }
.shelf-sec .section-head.row > div:not(.car-arrows) { max-width: none; }
@media (max-width: 600px) { .text-link { line-height: 1.6; } }

/* ---------- region question ---------- */
.locale { position: fixed; inset: 0; z-index: 90; display: grid; place-items: end center; padding: 0 16px 24px; background: rgb(16 48 47 / 0); transition: background .5s var(--ease); }
.locale.on { background: rgb(16 48 47 / .22); }
.locale-card { pointer-events: auto; width: min(520px, 100%); background: var(--surface, #fff); color: var(--ink); padding: 26px 28px 22px; border-radius: 18px; box-shadow: 0 30px 80px -30px rgb(16 48 47 / .55), 0 0 0 1px rgb(16 48 47 / .06); transform: translateY(24px); opacity: 0; transition: transform .6s var(--ease), opacity .4s var(--ease); }
.locale.on .locale-card { transform: none; opacity: 1; }
.locale-card h2 { font-size: clamp(24px, 3vw, 30px); margin: 6px 0 8px; }
.locale-card p:not(.eyebrow) { margin: 0 0 18px; color: var(--ink-2, var(--ink)); }
.locale-row { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.locale-row .text-btn { padding: 6px 0; }
.locale-card:focus { outline: none; }
.slogan { font-family: var(--display, inherit); font-style: italic; font-size: 20px; }
@media (max-width: 560px) { .locale-card { padding: 20px 20px 16px; } .locale-card h2 { font-size: 22px; } .locale-card p:not(.eyebrow) { font-size: 15px; margin-bottom: 14px; } }

/* Shelf: side books grow to full size on hover so every preview is the same size; the title sits close under the book. */
@media (min-width: 761px) { .carousel { --card-w: 30%; } }
.carousel .book-stage { aspect-ratio: 900 / 1165; padding: 0; overflow: visible; }
.carousel .book-stage .hands { transform: none; box-shadow: 0 26px 40px -22px rgb(16 48 47 / .55); }
.carousel .book-stage .cover { width: 100%; height: 100%; }
@media (hover: hover) { .slide[data-pos="-1"]:hover, .slide[data-pos="1"]:hover { --s: 1; z-index: 4; } }
.carousel .book-meta { margin-top: 22px; }
.hero .display { font-size: clamp(46px, 4.4vw + 16px, 96px); }
.prose .updated { margin-top: 28px; }
.see-all { justify-self: start; margin-top: 4px; }

/* Shelf hover: the in-hands photo and the cover share one box, so nothing peeks out; side books grow quickly. */
.carousel .book-stage:hover .cover { transform: none; }
.carousel .book-stage .hands { inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
@media (hover: hover) { .slide[data-pos="-1"]:hover, .slide[data-pos="1"]:hover { transition: transform .35s var(--ease), opacity .3s; } }
/* Tablets and small laptops: the gallery picture never outgrows the screen. */
@media (max-width: 1180px) { .gallery .stage img.shot, .gallery .stage img.shot.photo { max-height: min(560px, 62svh); } .gallery .stage .reveal { width: min(100%, 380px, calc(62svh / 1.3)); } .gallery .stage { height: auto; } }
@media (max-width: 900px) { .gallery .stage img.shot, .gallery .stage img.shot.photo { max-height: min(460px, 50svh); } }

.related { border-top: 1px solid var(--line); }
.related .section-head.row { align-items: end; }
/* Header: the Amazon button never wraps; the menu takes over before the links run out of room. */
.bag-btn, .nav a { white-space: nowrap; }
@media (max-width: 1180px) { .nav { gap: 20px; } .nav a { letter-spacing: .08em; font-size: 12px; } }
@media (max-width: 1180px) { .region { display: none; } }
@media (max-width: 860px) { .nav { display: none; } .bar-in { gap: 12px; } }
.menu-btn { display: inline-block; }
@media (max-width: 420px) { .us .bag-btn { padding: 0 14px; letter-spacing: .08em; font-size: 11.5px; } }
/* Shelf on phones: arrows sit beside the heading. */
@media (max-width: 760px) {
  .shelf-sec .section-head.row { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
  .shelf-sec .section-head .car-arrows { display: flex; flex: none; }
  .shelf-sec .section-head .car-arrows button { width: 44px; height: 44px; }
  .shelf-sec .car-foot { display: none; }
}
@media (max-width: 760px) {
  .shelf-sec .section-head.row { display: flex !important; flex-wrap: nowrap; }
  .shelf-sec .section-head.row > div:not(.car-arrows) { flex: 1 1 auto; min-width: 0; }
  .shelf-sec .section-head h2 { font-size: clamp(28px, 7.4vw, 40px); }
}

.post-hero.about-img { aspect-ratio: auto; object-fit: initial; }
/* v6: keep big visuals inside the viewport on small desktops and tablets */
.band .reveal-wrap { width: min(100%, calc((100svh - var(--header, 80px) - 120px) * .74), 620px); justify-self: center; margin-inline: auto; }
.gift-img { max-height: calc(100svh - var(--header, 80px) - 80px); width: auto; max-width: 100%; justify-self: center; }
@media (max-width: 860px) { .gift-img { width: min(100%, 520px); max-height: none; } .band .reveal-wrap { width: min(100%, 460px); } }
/* v6 mobile pass (critic) */
.lib-preview > li:nth-child(n+9) { display: none; }
@media (min-width: 900px) { .lib-preview > li:nth-child(n+9) { display: block; } .lib-preview > li:nth-child(n+13) { display: none; } }
.see-more { margin-top: 28px; display: flex; justify-content: center; }
@media (max-width: 600px) {
  .stage-arrow { width: 44px; height: 44px; margin-top: -22px; background: rgb(255 255 255 / .9); }
  .thumb .cap { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .thumbs { scroll-padding-inline: 20px; }
  .bag-btn { font-size: 12px; letter-spacing: .08em; padding-inline: 14px; min-height: 44px; }
  .eyebrow, .fine, .reveal-wrap figcaption { font-size: 13px; }
  .crumbs li:last-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .crumbs ol { flex-wrap: nowrap; overflow: hidden; } .crumbs li { flex: none; } .crumbs li:last-child { flex: 1 1 auto; min-width: 0; }
  .foot a { display: inline-block; padding-block: 6px; text-wrap: balance; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .gift-picks > * { grid-template-columns: 1fr !important; align-items: start; }
}
@media (max-width: 400px) { .bag-btn { padding-inline: 12px; font-size: 11px; } }
.foot .social a, .foot-social a { min-width: 44px; min-height: 44px; }
@media (max-width: 520px) { .gift-pick { grid-template-columns: 1fr; align-items: start; } .gift-pick img { width: 100%; } }
.sa-alt { margin-top: 16px; } .sa-alt a { white-space: nowrap; }
/* v7: remaining mobile and tablet pass */
.rv-empty { display: none; }
.foot .social a, .foot .social .soon { border-color: rgb(255 255 255 / .85); width: 44px; height: 44px; }
@media (max-width: 600px) {
  .shelf-sec .bigword { display: none; }
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 32px; }
  .steps3 strong { font-size: 20px; } .steps3 span { font-size: 16px; }
}
@media (min-width: 601px) and (max-width: 1024px) {
  .section { padding-block: 88px; }
  body { font-size: 17px; }
  .steps3 span { font-size: 16px; }
  .eyebrow { font-size: 12.5px; }
  .split, .two-col { gap: 40px; }
}
@media (min-width: 521px) and (max-width: 860px) { .steps3 { grid-template-columns: minmax(0, 1fr); gap: 0; } .steps3 li { grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; padding-block: 18px; } .steps3 svg { grid-row: span 2; } }
/* v7b: critic round 2 */
@media (min-width: 700px) and (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; }
  .hero-film { aspect-ratio: 4 / 5; }
  .hero .display { font-size: clamp(40px, 6vw, 56px); }
  .gift { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .gift-img { width: 100%; max-height: none; }
}
@media (max-width: 699px) { .hero-film { aspect-ratio: 4 / 4; max-height: 62svh; } }
.foot-bottom, .foot-legal { align-items: baseline; line-height: 1.5; }
.foot-bottom > * , .foot-legal > * { font-size: 12.5px; line-height: 1.5; }
.foot-top a { display: inline-block; padding-block: 7px; }
.foot-top li { line-height: 1.3; }
.foot-top .soon { display: inline-block; padding-block: 10px; opacity: .7; font-size: inherit; }
@media (max-width: 600px) { .foot-top { column-gap: 16px; } .foot-top a { white-space: normal; text-wrap: balance; } }
p, li, figcaption, .eyebrow { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
@media (max-width: 767px) { .related .section-head.row .btn { order: 3; } .related .section-head.row { display: flex; flex-direction: column; align-items: flex-start; } }
.rows > details:last-child { border-bottom: 0; }
@media (max-width: 480px) { .gifts-hero h1, .page-head h1 { font-size: clamp(34px, 9vw, 44px); } }
.foot .social a, .foot .social .soon { display: grid !important; place-items: center; padding: 0 !important; width: 44px; height: 44px; }
#shelf-h .nw { white-space: nowrap; }
@media (max-width: 600px) { #shelf-h { font-size: clamp(26px, 7.4vw, 34px); } }
@media (max-width: 600px) {
  .shelf-sec .section-head.row { position: relative; display: block; }
  .shelf-sec .section-head.row > div:not(.car-arrows) { max-width: none; }
  .shelf-sec .car-arrows { position: absolute !important; right: 0; bottom: -4px; }
  #shelf-h { font-size: clamp(26px, 7.2vw, 32px); }
}
@media (max-width: 600px) { #shelf-h { line-height: 1.15; } .shelf-sec .car-arrows { bottom: 0; gap: 8px; } .shelf-sec .car-arrows button { width: 44px; height: 44px; } }
@media (max-width: 400px) { .shelf-sec .car-arrows { bottom: -8px; } }

/* v9: guide pages (gift finder, recipient guides), tables, upcoming books */
.guide-head { display: grid; gap: 16px; max-width: 72ch; }
.guide-head .lede { font-size: 20px; }
.answer { font-family: var(--display); font-weight: 300; font-size: 22px; line-height: 1.5; color: var(--ink); border-left: 2px solid var(--teal); padding-left: 22px; max-width: 66ch; }
.finder { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.finder .chip { text-transform: none; letter-spacing: 0; font-size: 14px; }
.prose table, .tbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td, .tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.prose th, .tbl th { font: 600 12px/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.soon-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
@media (max-width: 900px) { .soon-cards { grid-template-columns: minmax(0, 1fr); } }
.soon-card { border: 1px solid var(--line); border-radius: 2px; padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--surface, #fff); }
.soon-card h3 { font-size: 26px; color: var(--ink); }
.soon-card p { color: var(--ink-2); font-size: 16px; }
.soon-card .tag { font: 600 11px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep, #2a9d91); }
.guide-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.guide-sec { display: grid; gap: 18px; }
.guide-sec h2 { font-size: 34px; color: var(--ink); }
.prose h3 { margin-top: 14px; }
@media (min-width: 861px) { .foot .social { gap: 6px; flex-wrap: nowrap; } .foot .social a, .foot .social .soon { width: 40px !important; height: 40px !important; min-width: 40px; min-height: 40px; } }
/* tables stack as labelled cards on phones */
@media (max-width: 640px) {
  .tbl-wrap table, .tbl-wrap tbody, .tbl-wrap tr, .tbl-wrap td, .prose table, .prose table tbody, .prose table tr, .prose table td { display: block; width: 100%; }
  .tbl-wrap thead, .prose table thead { display: none; }
  .tbl-wrap tr, .prose table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tbl-wrap td, .prose table td { border: 0; padding: 3px 0; }
  .tbl-wrap td:first-child, .prose table td:first-child { font-weight: 600; color: var(--ink); padding-bottom: 6px; }
  .tbl-wrap td[data-label]:not(:first-child)::before, .prose table td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; font: 600 11px/1.6 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
}
.gift-picks.n1 { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.gift-picks.n1 .gift-pick { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: 32px; }
.gift-picks.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .gift-picks.n2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .gift-picks.n1 .gift-pick { grid-template-columns: 1fr; } }
.soon-cards.n1 { grid-template-columns: minmax(0, 560px); }
.soon-cards.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .soon-cards.n2 { grid-template-columns: minmax(0, 1fr); } }
.posts .post-tile { display: flex; align-items: flex-end; aspect-ratio: 3 / 2; width: 100%; padding: 20px; background: var(--tint, #e9f4f2); color: var(--ink); font-family: var(--display); font-weight: 300; font-size: 26px; line-height: 1.15; }
.guide-body > .guide-head, .guide-body > .guide-sec { max-width: 1040px; }
/* v10: review consent sits in its own row with the form's field rhythm */
.form .check, form .check { margin-top: 16px; }
.rate-in label svg { display: block; }

/* v11: full-site review fixes (23 Oct 2026) */
/* journal tiles for posts without a photo */
.posts .post-tile { position: relative; display: grid; align-content: space-between; gap: 12px; aspect-ratio: 3 / 2; width: 100%; padding: 22px 24px; background: var(--tile, var(--teal-deep)); color: #fff; }
.posts .post-tile::after { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgb(255 255 255 / .55); pointer-events: none; }
.posts .post-tile .pt-eyebrow { font: 600 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.posts .post-tile .pt-title { font-family: var(--display); font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; max-width: 14ch; }
/* tables that are short lists of numbers stay tables on phones */
@media (max-width: 640px) {
  .tbl-wrap.tbl-keep table { display: table; } .tbl-wrap.tbl-keep thead { display: table-header-group; }
  .tbl-wrap.tbl-keep tbody { display: table-row-group; } .tbl-wrap.tbl-keep tr { display: table-row; padding: 0; }
  .tbl-wrap.tbl-keep td { display: table-cell; width: auto; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
  .tbl-wrap.tbl-keep td::before { content: none !important; }
}
.tbl-keep td:last-child, .tbl-keep th:last-child { text-align: right; padding-right: 0; }
/* gift pick cards: titles and buttons line up, real tap target */
.gift-pick-text .eyebrow { min-height: 2.7em; display: flex; align-items: flex-end; }
@media (max-width: 900px) { .gift-pick-text .eyebrow { min-height: 0; } }
.btn-sm { padding: 11px 20px; min-height: 44px; font-size: 12px; }
.guide-body > .guide-sec:has(.gift-picks), .guide-body > .guide-sec:has(.soon-cards) { max-width: none; }
.gift-picks.n2 { max-width: 900px; }
/* phone type sizes for intros */
@media (max-width: 600px) { .answer { font-size: 18.5px; padding-left: 16px; } .prose .callout { font-size: 19px; padding-left: 16px; } .guide-head .lede, .post .lede { font-size: 18px; } }
/* article column: one right edge */
.post .prose, .post header .lede { max-width: none; }
/* tablet gutters */
@media (min-width: 700px) and (max-width: 1100px) { :root { --gut: max(36px, env(safe-area-inset-left, 0px)); --gut-r: max(36px, env(safe-area-inset-right, 0px)); } }
/* book pages: two columns from tablet up */
@media (min-width: 760px) and (max-width: 900px) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* books shelf: three across on tablet */
@media (min-width: 700px) and (max-width: 1100px) { .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
/* "From the color guide": full rows only */
.lib-grid.lib-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lib-preview > li:nth-child(n+9) { display: none; }
@media (min-width: 600px) { .lib-grid.lib-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lib-preview > li:nth-child(n+9) { display: block; } .lib-preview > li:nth-child(n+10) { display: none; } }
@media (min-width: 1100px) { .lib-grid.lib-preview { grid-template-columns: repeat(5, minmax(0, 1fr)); } .lib-preview > li:nth-child(n+10) { display: block; } .lib-preview > li:nth-child(n+11) { display: none; } }
/* empty reviews section on book pages sits closer to what follows */
.section.reviews + .section { padding-top: 0; }
/* colour reference page on tablet */
@media (min-width: 600px) and (max-width: 860px) { .lib { grid-template-columns: minmax(0, 1fr); } .lib-visual { max-width: 520px; margin-inline: auto; width: 100%; } .lib-grid.mini { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lib-text .see-all { margin-top: 8px; }
.lib-text h2 { margin-top: 12px; }
/* rating stars: 44 px targets */
.rate-in label { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.rate-in { gap: 0; margin-left: -9px; }
.lib-img { background: #fff; }
/* v12: the Nibfern wall */
.ig-badge { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 6px 10px; border-radius: 999px; background: rgb(255 255 255 / .9); color: var(--ink); font: 600 10px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.community-note { font: 600 12px/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 8px 0 16px; }
#wall-form input[type=file], #contact-form input[type=file] { padding: 12px; border: 1px dashed var(--line-2); background: var(--surface, #fff); width: 100%; font: inherit; }
#send .lede { margin-bottom: 24px; }
#f-w-consent { margin-top: 8px; }
.field label.check { text-transform: none; letter-spacing: 0; font: 400 15px/1.5 var(--text); color: var(--ink-2); margin: 0; }
/* v13: wall form consents and aside list */
.consents { display: grid; gap: 12px; margin-top: 8px; }
.consents .field, .consents .check, #f-w-consent { margin: 0; }
.love-list { margin: -4px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.cf-turnstile { margin: 4px 0 8px; min-height: 65px; }
