/* ==========================================================================
   AKYLAI — Journal N°01
   A fashion journal about the home: porcelain, shells, stars, flowers.
   Layout reads as a magazine issue: cover → editor's letter → contents →
   Reels (night edition) → cover story → still life → services → about → back cover.
   ========================================================================== */

:root {
  color-scheme: light;
  /* paper & ink */
  /* palette from the Linadelika photos: porcelain, marble, cobalt "Исландия" mug, powder, dried rose, gold */
  --paper: #f4f1ec;   /* Фарфор */
  --milk: #fbfaf7;    /* Молоко */
  --paper-2: #ebe6de;
  --paper-3: #dcd9d4; /* Мрамор */
  --ink: #1e1d22;     /* Графит */
  --ink-2: #4a4750;
  --ink-3: #6e6a66;   /* Прожилка — captions, 4.8:1 */
  --rule: rgba(30, 29, 34, 0.16);
  --marble: #dcd9d4;
  --cobalt: #1d5a9b;  /* Кобальт */
  --cobalt-soft: #dde7f2;
  --pink: #ebcfcf;    /* Пудра */
  --pink-deep: #9c2b40; /* Роза — price tags */
  --gold: #b48a5a;    /* ornaments & 3D only, never text */
  --night: #15161b;
  --night-2: #1d1e25;
  --night-ink: #f1ece4;

  /* type: Didone masthead + italic feelings + Russian-made grotesk, all with Cyrillic */
  --f-mast: "Oranienbaum", "Prata", "Bodoni 72", "Didot", serif;
  --f-serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --f-sans: "Onest", "Helvetica Neue", Arial, sans-serif;
  --f-hand: "Caveat", "Bradley Hand", cursive;

  --gutter: clamp(16px, 3.2vw, 44px);
  --maxw: 1440px;
  --bar-h: 56px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 8px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(16px, 0.35vw + 14.6px, 18px) / 1.6 var(--f-sans);
  font-feature-settings: "liga", "kern";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--pink); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: lining-nums tabular-nums; }

/* paper grain over everything (pure CSS/SVG, ~0 KB) */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: 0.22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .1  0 0 0 0 .08  0 0 0 0 .06  0 0 0 .35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* shared type helpers */
.kicker {
  font: 500 11px/1.2 var(--f-sans);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0;
}
.kicker .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.6; }
.folio {
  font: 500 11px/1 var(--f-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
}
.display {
  font-family: var(--f-mast); font-weight: 400; line-height: 0.86; letter-spacing: -0.02em; margin: 0;
}
.ital { font-family: var(--f-serif); font-style: italic; font-weight: 500; }
.hand { font-family: var(--f-hand); font-weight: 500; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.star-ico { width: 0.8em; height: 0.8em; display: inline-block; vertical-align: -0.05em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 500 14px/1 var(--f-sans); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--cobalt); border-color: var(--cobalt); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.bar.is-scrolled { border-bottom-color: var(--rule); }
.bar.is-night { background: color-mix(in srgb, var(--night) 78%, transparent); color: var(--night-ink); }
.bar.is-night .btn { border-color: var(--night-ink); color: var(--night-ink); }
.bar.is-night .btn:hover { background: var(--night-ink); color: var(--night); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 13px/1 var(--f-sans); letter-spacing: 0.14em; text-transform: uppercase; justify-self: start; }
.brand svg { width: 18px; height: 18px; color: var(--gold); transition: transform 0.8s var(--ease); }
.brand:hover svg { transform: rotate(144deg); }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav a { font: 500 12px/1 var(--f-sans); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.bar-right { justify-self: end; display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; font: 600 12px/1 var(--f-sans); letter-spacing: 0.12em; border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; }
.lang button { padding: 9px 11px; opacity: 0.45; transition: opacity 0.2s, background-color 0.2s; }
.lang button[aria-pressed="true"] { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); }
.bar .btn { min-height: 36px; padding: 0 16px; font-size: 12px; }
@media (max-width: 899px) {
  .bar { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .bar .btn--tg-text { display: none; }
}

/* ==========================================================================
   COVER
   ========================================================================== */
.cover {
  position: relative; min-height: 100svh; overflow: hidden;
  padding: calc(var(--bar-h) + 10px) var(--gutter) 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  grid-template-areas:
    "meta meta meta"
    "mast mast mast"
    "left face right"
    "foot foot foot";
  column-gap: var(--gutter);
  background:
    radial-gradient(60% 50% at 50% 58%, #fbf8f3 0%, transparent 70%),
    radial-gradient(40% 35% at 85% 20%, color-mix(in srgb, var(--pink) 35%, transparent), transparent 70%),
    radial-gradient(35% 30% at 10% 85%, color-mix(in srgb, var(--cobalt-soft) 80%, transparent), transparent 70%),
    var(--paper);
}
.cover-meta {
  grid-area: meta; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 8px 0 10px; border-bottom: 1px solid var(--rule);
}
.cover-meta .folio { color: var(--ink-2); }
.masthead {
  grid-area: mast; position: relative; z-index: 1;
  font-family: var(--f-mast); font-weight: 400; text-transform: uppercase;
  font-size: clamp(88px, 23.6vw, 400px); line-height: 0.8; letter-spacing: -0.035em;
  text-align: center; margin: 0.06em 0 0; white-space: nowrap;
  color: var(--ink);
}
.masthead .ch { display: inline-block; will-change: transform; }
.cover-face {
  /* spans the masthead row too, so her head sits in front of the letters like a magazine cover */
  grid-column: 2; grid-row: 2 / 4; position: relative; z-index: 3; margin: 0;
  align-self: end; justify-self: center;
  height: min(74svh, 860px); aspect-ratio: 1000 / 1334;
}
.cover-face img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 40px rgba(40, 30, 20, 0.14)); }
.cover-face .face-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(to bottom, transparent, var(--paper) 92%); }
.cover-3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.cover-objects { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.cover-objects img { position: absolute; width: var(--w, 120px); height: auto; animation: floaty var(--d, 7s) ease-in-out infinite alternate; }
@keyframes floaty { from { transform: translate3d(0, -8px, 0) rotate(var(--r0, -6deg)); } to { transform: translate3d(0, 10px, 0) rotate(var(--r1, 6deg)); } }

.cover-left, .cover-right { position: relative; z-index: 5; align-self: end; padding-bottom: 6vh; display: grid; gap: 22px; }
.cover-left { grid-area: left; }
.cover-right { grid-area: right; justify-items: start; }
.cl { margin: 0; display: grid; gap: 4px; max-width: 26ch; }
.cl b { font: 400 clamp(46px, 5.4vw, 92px)/0.9 var(--f-mast); letter-spacing: -0.02em; }
.cl span { font: 500 italic clamp(17px, 1.3vw, 21px)/1.25 var(--f-serif); color: var(--ink-2); }
.cl .cl-short { display: none; }
.cl small { font: 500 10.5px/1.3 var(--f-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.cover-title { margin: 0; font: 400 clamp(36px, 3.9vw, 64px)/0.95 var(--f-mast); letter-spacing: -0.01em; text-wrap: balance; }
.cover-title em { font: italic 500 0.92em/1 var(--f-serif); letter-spacing: 0; }
.cover-sub { margin: -8px 0 0; font: 600 12px/1.3 var(--f-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cobalt); display: flex; align-items: center; gap: 8px; }
.cover-proof { margin: 0; max-width: 34ch; color: var(--ink-2); }
.cover-proof a { text-decoration-color: var(--pink-deep); text-underline-offset: 3px; }
.cover-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.avail { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1.3 var(--f-sans); letter-spacing: 0.06em; color: var(--ink-2); }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: #3c9a5f; box-shadow: 0 0 0 4px color-mix(in srgb, #3c9a5f 20%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, #3c9a5f 5%, transparent); } }
.cover-foot {
  grid-area: foot; position: relative; z-index: 5;
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  border-top: 1px solid var(--rule); padding-top: 12px;
}
.barcode { display: flex; align-items: end; gap: 12px; }
.barcode svg { height: 34px; width: auto; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.scroll-cue span:last-child { display: inline-block; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-3px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(6px); opacity: 0; } }
.sticker {
  position: absolute; z-index: 6; width: 112px; height: 112px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; padding: 12px;
  background: var(--pink); color: var(--ink);
  font: 600 11px/1.15 var(--f-sans); letter-spacing: 0.06em; text-transform: uppercase;
  transform: rotate(-12deg);
  box-shadow: 0 10px 24px rgba(185, 74, 107, 0.18);
}
.sticker b { display: block; font: 400 30px/0.9 var(--f-mast); letter-spacing: -0.01em; text-transform: none; margin-bottom: 4px; }
.sticker--for { right: 5%; top: 26%; background: var(--cobalt); color: #fff; }
.sticker--for[hidden] { display: none; }

@media (max-width: 899px) {
  .cover {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto;
    grid-template-areas: "meta" "mast" "face" "right" "foot";
    padding-bottom: 96px;
  }
  .cover-meta .folio:nth-child(n+3) { display: none; }
  .masthead { font-size: 25vw; margin-top: 0.12em; }
  .cover-face { grid-area: face; grid-column: auto; grid-row: auto; height: auto; width: min(78vw, 400px); margin-top: -12vw; }
  .cover-left { position: absolute; z-index: 6; inset: auto 0 0 0; padding: 0; pointer-events: none; grid-area: face; display: block; }
  .cover-left .cl { position: absolute; width: 96px; height: 96px; border-radius: 50%; place-content: center; text-align: center; padding: 8px; background: var(--paper); box-shadow: 0 8px 22px rgba(40, 30, 20, 0.12); gap: 0; }
  .cover-left .cl b { font-size: 25px; }
  .cover-left .cl span { display: none; }
  .cover-left .cl b { white-space: nowrap; }
  .cover-left .cl .cl-short { display: block; margin-top: 4px; font: 600 9px/1.15 var(--f-sans); letter-spacing: 0.06em; text-transform: uppercase; font-style: normal; }
  .cover-left .cl small { display: none; }
  .cover-left .cl:nth-child(1) { left: calc(var(--gutter) - 4px); bottom: 26%; transform: rotate(-9deg); }
  .cover-left .cl:nth-child(2) { right: calc(var(--gutter) - 4px); bottom: 40%; transform: rotate(8deg); background: var(--pink); }
  .cover-right { padding: 0; margin-top: -4px; gap: 16px; }
  .cover-foot { margin-top: 28px; }
  .barcode .folio:last-child { display: none; }
  .sticker--for { top: calc(var(--bar-h) + 150px); bottom: auto; right: auto; left: calc(var(--gutter) - 4px); width: 92px; height: 92px; font-size: 9px; }
  .sticker--for b { font-size: 20px; overflow-wrap: anywhere; }
}

/* ==========================================================================
   Marquee ribbon
   ========================================================================== */
.ribbon { background: var(--ink); color: var(--paper); overflow: hidden; border-block: 1px solid var(--ink); position: relative; z-index: 2; }
.ribbon--pink { background: var(--pink); color: var(--ink); }
.ribbon-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ribbon-track > span { display: inline-flex; align-items: center; gap: 22px; padding: 14px 11px; font: 500 13px/1 var(--f-sans); letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.ribbon-track svg { width: 14px; height: 14px; color: var(--gold); }
.ribbon--pink .ribbon-track svg { color: var(--ink); }
.ribbon-track em { font: italic 500 20px/1 var(--f-serif); letter-spacing: 0; text-transform: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Section scaffolding (magazine pages)
   ========================================================================== */
.page { position: relative; padding-block: clamp(72px, 11vw, 160px); }
.page-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.page-head .page-no { font: 400 clamp(56px, 8vw, 128px)/0.8 var(--f-mast); letter-spacing: -0.03em; }
.page-head h2 { margin: 0; font: 400 clamp(40px, 6.4vw, 104px)/0.9 var(--f-mast); letter-spacing: -0.02em; }
.page-head h2 em { font: italic 500 0.9em/1 var(--f-serif); letter-spacing: -0.01em; }
.page-head .page-note { text-align: right; max-width: 30ch; font: 500 italic 18px/1.3 var(--f-serif); color: var(--ink-2); margin: 0; }
.page-head .kicker { grid-column: 1 / -1; order: -1; padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 10px; justify-content: space-between; }
@media (max-width: 699px) {
  .page-head { grid-template-columns: auto 1fr; }
  .page-head .page-note { grid-column: 1 / -1; text-align: left; }
}

/* ==========================================================================
   Editor's letter — the gougoucore-style statement
   ========================================================================== */
.edito { padding-block: clamp(64px, 10vw, 150px) clamp(48px, 8vw, 110px); }
.statement {
  margin: 0;
  font: 500 clamp(26px, 4.7vw, 76px)/1.02 var(--f-sans);
  letter-spacing: -0.02em; text-transform: uppercase;
  text-align: justify; text-align-last: left; hyphens: manual;
}
.statement em, .statement .orn {
  font-family: var(--f-mast); font-style: normal; font-weight: 400;
  letter-spacing: -0.01em; font-size: 1.1em; line-height: 0.9; text-transform: none;
}
.statement .ital { font-size: 1.08em; text-transform: none; letter-spacing: -0.01em; }
.statement .inline-img { display: inline-block; vertical-align: middle; width: 1.9em; height: 0.92em; border-radius: 999px; overflow: hidden; margin: -0.1em 0.06em 0; transform: translateY(-0.04em); }
.statement .inline-img img { width: 100%; height: 100%; object-fit: cover; }
.statement .inline-star { display: inline-block; width: 0.72em; height: 0.72em; color: var(--gold); vertical-align: 0.02em; }
.statement .w { display: inline-block; }
.edito-foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.signature { font: 500 clamp(40px, 5vw, 64px)/1 var(--f-hand); color: var(--cobalt); transform: rotate(-4deg); margin: 0; }
.edito-facts { display: flex; gap: clamp(18px, 4vw, 56px); flex-wrap: wrap; margin: 0; }
.edito-facts div { display: grid; gap: 2px; }
.edito-facts dt { font: 500 11px/1.2 var(--f-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.edito-facts dd { margin: 0; font: 500 italic 20px/1.3 var(--f-serif); }

/* ==========================================================================
   Contents (sommaire)
   ========================================================================== */
.contents ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.contents li { border-bottom: 1px solid var(--rule); }
.contents a {
  display: grid; grid-template-columns: 70px minmax(0, 1.3fr) minmax(0, 1fr) 60px; align-items: center; gap: 18px;
  padding: 18px 4px; text-decoration: none; position: relative;
  transition: padding 0.5s var(--ease), background-color 0.4s;
}
.contents a:hover { padding-inline: 18px; background: var(--paper-2); }
.contents .c-no { font: 500 13px/1 var(--f-sans); letter-spacing: 0.1em; color: var(--ink-3); }
.contents .c-title { font: 400 clamp(30px, 3.6vw, 56px)/1 var(--f-mast); letter-spacing: -0.01em; }
.contents .c-title em { font: italic 500 0.9em/1 var(--f-serif); }
.contents .c-desc { font: 500 italic 18px/1.3 var(--f-serif); color: var(--ink-2); }
.contents .c-page { font: 500 13px/1 var(--f-sans); text-align: right; letter-spacing: 0.08em; }
.peek { position: fixed; left: 0; top: 0; z-index: 70; width: 220px; aspect-ratio: 4 / 5; pointer-events: none; overflow: hidden; border-radius: 120px 120px 6px 6px; opacity: 0; transform: translate(-50%, -50%) scale(0.85); transition: opacity 0.3s, transform 0.4s var(--ease); box-shadow: 0 24px 50px rgba(30, 20, 10, 0.25); }
.peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.peek img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 699px) {
  .contents a { grid-template-columns: 38px minmax(0, 1fr) 40px; }
  .contents .c-desc { grid-column: 2 / 3; font-size: 16px; }
  .contents .c-page { grid-row: 1; grid-column: 3; }
}

/* ==========================================================================
   REELS — night edition (motion-first grid, like the reference)
   ========================================================================== */
.night { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; }
.night .kicker, .night .folio { color: color-mix(in srgb, var(--night-ink) 70%, transparent); }
.night .page-head .kicker { border-color: rgba(239, 233, 223, 0.18); }
.night .page-head .page-note { color: color-mix(in srgb, var(--night-ink) 75%, transparent); }
.night-stars { position: absolute; inset: 0; pointer-events: none; }
.night-stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff6df; opacity: 0.6; animation: twinkle var(--t, 3s) ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: 0.1; transform: scale(0.6); } to { opacity: 0.9; transform: scale(1.2); } }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { font: 500 12px/1 var(--f-sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(239, 233, 223, 0.3); }
.chip[aria-pressed="true"] { background: var(--night-ink); color: var(--night); }
.reel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(239, 233, 223, 0.16); border: 1px solid rgba(239, 233, 223, 0.16); }
.reel { position: relative; margin: 0; background: var(--night); display: flex; flex-direction: column; }
.reel--feature { grid-column: span 2; grid-row: span 2; }
.reel-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--night-2); }
.reel--feature .reel-media { aspect-ratio: auto; flex: 1; min-height: 100%; }
.reel-media video, .reel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter 0.6s; }
.reel:hover .reel-media video { transform: scale(1.04); }
.reel-views { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; background: rgba(15, 16, 22, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 600 12px/1 var(--f-sans); letter-spacing: 0.04em; color: #fff; }
.reel-views svg { width: 14px; height: 14px; }
.reel figcaption { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 12px 14px 14px; border-top: 1px solid rgba(239, 233, 223, 0.16); }
.reel .r-no { font: 400 22px/1 var(--f-mast); }
.reel .r-title { font: 500 italic 18px/1.2 var(--f-serif); }
.reel .r-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 10px; font: 500 10.5px/1.3 var(--f-sans); letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--night-ink) 62%, transparent); }
.reel .r-role { color: var(--pink); }
.reel-feature-quote { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; font: 400 clamp(54px, 6vw, 96px)/0.85 var(--f-mast); color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35); letter-spacing: -0.02em; }
.reel-feature-quote small { display: block; font: 600 12px/1.3 var(--f-sans); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 10px; text-shadow: none; }
.reel-note { margin: 18px 0 0; font: 500 12px/1.5 var(--f-sans); letter-spacing: 0.04em; color: color-mix(in srgb, var(--night-ink) 58%, transparent); max-width: 80ch; }
@media (max-width: 1099px) { .reel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel--feature { grid-column: 1 / -1; grid-row: auto; }
  .reel--feature .reel-media { aspect-ratio: 4 / 5; }
  .reel .r-title { font-size: 16px; }
  .reel figcaption { padding: 10px; }
}

/* ==========================================================================
   COVER STORY — the Linadelika case
   ========================================================================== */
.case-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.case-lede { margin: 0; font: 500 clamp(24px, 2.4vw, 36px)/1.22 var(--f-serif); text-wrap: pretty; }
.case-lede::first-letter { float: left; font: 400 5.2em/0.78 var(--f-mast); padding: 0.04em 0.08em 0 0; color: var(--cobalt); }
.case-body { display: grid; gap: 18px; color: var(--ink-2); }
.case-body p { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin-block: clamp(40px, 6vw, 80px); }
.fact { padding: 22px 18px 20px; display: grid; gap: 8px; align-content: start; }
.fact + .fact { border-left: 1px solid var(--rule); }
.fact b { font: 400 clamp(40px, 4.6vw, 84px)/0.9 var(--f-mast); letter-spacing: -0.03em; white-space: nowrap; }
.fact span { font: 500 italic 18px/1.25 var(--f-serif); color: var(--ink-2); }
.fact small { font: 500 10.5px/1.3 var(--f-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 899px) {
  .case-intro { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
.did { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.did li { list-style: none; padding: 20px 20px 22px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 34px 1fr; gap: 8px; }
.did li::before { content: counter(did, decimal-leading-zero); counter-increment: did; font: 500 12px/1.7 var(--f-sans); color: var(--ink-3); letter-spacing: 0.08em; }
.did { counter-reset: did; padding: 0; margin: 0; }
.did b { display: block; font: 600 12px/1.4 var(--f-sans); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
@media (max-width: 899px) { .did { grid-template-columns: minmax(0, 1fr); } }

/* horizontal gallery (pinned on desktop, swipe on touch) */
.hgal { margin-top: clamp(48px, 7vw, 100px); position: relative; }
.hgal-track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); width: max-content; align-items: end; }
.hgal-item { margin: 0; width: clamp(240px, 26vw, 420px); flex: none; }
.hgal-item:nth-child(3n+2) { width: clamp(220px, 21vw, 340px); }
.hgal-item:nth-child(4n+3) .hgal-img { border-radius: 999px 999px 4px 4px; }
.hgal-img { overflow: hidden; border-radius: 4px; background: var(--paper-3); aspect-ratio: 4 / 5; }
.hgal-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hgal-item figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font: 500 italic 17px/1.25 var(--f-serif); }
.hgal-item figcaption span:last-child { font: 500 10.5px/1.6 var(--f-sans); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.hgal-title { flex: none; width: clamp(260px, 30vw, 460px); align-self: center; padding-right: 2vw; }
.hgal-title p { margin: 0; font: 400 clamp(44px, 5vw, 84px)/0.9 var(--f-mast); letter-spacing: -0.02em; }
.hgal-title p em { font: italic 500 0.9em/1 var(--f-serif); }
.hgal-title .hand { display: block; margin-top: 14px; font-size: 28px; color: var(--pink-deep); transform: rotate(-3deg); }
.credit { margin-top: 18px; font: 500 11px/1.5 var(--f-sans); letter-spacing: 0.06em; color: var(--ink-3); }
@media (hover: none), (max-width: 899px) {
  .hgal { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hgal::-webkit-scrollbar { display: none; }
  .hgal-item, .hgal-title { scroll-snap-align: start; }
  .hgal-item { width: 72vw; }
  .hgal-item:nth-child(3n+2) { width: 62vw; }
  .hgal-title { width: 80vw; }
}

/* ==========================================================================
   STILL LIFE — shells, stars, flowers
   ========================================================================== */
.still { background: var(--paper-2); }
.chapter { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: end; }
.chapter + .chapter { margin-top: clamp(80px, 12vw, 180px); }
.ch-title { grid-column: 1 / span 5; align-self: start; position: relative; }
.ch-title .ch-no { font: 500 11px/1 var(--f-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 14px; }
.ch-title h3 { margin: 0; font: 400 clamp(60px, 9vw, 150px)/0.82 var(--f-mast); letter-spacing: -0.03em; }
.ch-title h3 em { display: block; font: italic 500 0.5em/1.1 var(--f-serif); letter-spacing: 0; color: var(--cobalt); margin-top: 0.15em; }
.ch-title p { margin: 22px 0 0; max-width: 34ch; color: var(--ink-2); }
.ch-obj { position: absolute; right: 0; top: -10px; width: clamp(90px, 11vw, 170px); pointer-events: none; }
.ph { margin: 0; position: relative; }
.ph .ph-img { overflow: hidden; background: var(--paper-3); border-radius: 3px; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph figcaption { margin-top: 10px; font: 500 10.5px/1.5 var(--f-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; gap: 10px; }
.ph figcaption em { font: italic 500 16px/1.2 var(--f-serif); letter-spacing: 0; text-transform: none; color: var(--ink); }
.ph--arch .ph-img { border-radius: 999px 999px 3px 3px; }
.ph--round .ph-img { border-radius: 50%; }
.ph--shell .ph-img { clip-path: url(#shellClip); border-radius: 0; }
.ph--a { grid-column: 7 / span 6; }
.ph--a .ph-img { aspect-ratio: 4 / 5; }
.ph--b { grid-column: 1 / span 4; }
.ph--b .ph-img { aspect-ratio: 4 / 5; }
.ph--c { grid-column: 6 / span 3; transform: translateY(-20%); }
.ph--c .ph-img { aspect-ratio: 1; }
.ph--d { grid-column: 9 / span 4; }
.ph--d .ph-img { aspect-ratio: 3 / 4; }
.chapter--rev .ch-title { grid-column: 8 / span 5; order: 2; }
.chapter--rev .ph--a { grid-column: 1 / span 6; order: 1; }
.chapter--rev .ph--b { grid-column: 8 / span 4; order: 3; }
.pull { grid-column: 1 / -1; margin: clamp(30px, 5vw, 70px) 0 0; font: 500 italic clamp(28px, 3.6vw, 56px)/1.1 var(--f-serif); text-align: center; text-wrap: balance; }
.pull::before, .pull::after { content: "✶"; font-style: normal; color: var(--gold); font-size: 0.5em; vertical-align: 0.4em; margin: 0 0.6em; }
@media (max-width: 899px) {
  .chapter { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ch-title, .chapter--rev .ch-title { grid-column: 1 / -1; order: 0; }
  .ph--a, .chapter--rev .ph--a { grid-column: 1 / -1; order: 1; }
  .ph--b { grid-column: 1 / span 3; order: 2; }
  .ph--c { grid-column: 4 / span 3; transform: none; order: 3; }
  .ph--d { grid-column: 2 / span 4; order: 4; }
  .ch-obj { width: 92px; top: 0; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: svc; }
.svc li { border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; padding: 26px 4px; align-items: baseline; position: relative; }
.svc li::before { counter-increment: svc; content: "0" counter(svc); font: 500 13px/1 var(--f-sans); letter-spacing: 0.1em; color: var(--ink-3); }
.svc h3 { margin: 0; font: 400 clamp(32px, 3.8vw, 60px)/0.95 var(--f-mast); letter-spacing: -0.01em; }
.svc h3 em { font: italic 500 0.88em/1 var(--f-serif); }
.svc p { margin: 0; color: var(--ink-2); }
.svc .tools { display: block; margin-top: 8px; font: 500 11px/1.4 var(--f-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--cobalt); }
@media (max-width: 699px) { .svc li { grid-template-columns: 34px minmax(0, 1fr); } .svc p { grid-column: 2; } }

.ai-note { margin-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding: clamp(24px, 4vw, 48px); background: var(--ink); color: var(--paper); border-radius: 4px; position: relative; overflow: hidden; }
.webgl-live .ai-note { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr) minmax(200px, 280px); }
.ai-note h3 { margin: 0; font: 400 clamp(40px, 4.6vw, 72px)/0.9 var(--f-mast); }
.ai-note h3 em { font: italic 500 0.9em/1 var(--f-serif); color: var(--pink); }
.ai-note p { margin: 0 0 14px; color: color-mix(in srgb, var(--paper) 82%, transparent); }
.ai-note canvas { display: none; }
.webgl-live .ai-note canvas { display: block; grid-column: 3; grid-row: 1; width: 100%; aspect-ratio: 1; align-self: center; cursor: grab; }
@media (max-width: 899px) { .ai-note { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 100px); align-items: center; }
.polaroid { position: relative; margin: 0 auto; width: min(100%, 420px); background: #fbf9f5; padding: 14px 14px 64px; box-shadow: 0 30px 60px rgba(40, 30, 20, 0.18), 0 2px 6px rgba(40, 30, 20, 0.08); transform: rotate(-3deg); }
.polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font: 500 30px/1 var(--f-hand); color: var(--ink-2); }
.tape { position: absolute; width: 120px; height: 34px; background: color-mix(in srgb, var(--pink) 70%, transparent); top: -14px; left: 50%; transform: translateX(-50%) rotate(4deg); mix-blend-mode: multiply; }
.about-text h2 { margin: 0 0 22px; font: 400 clamp(48px, 6vw, 96px)/0.88 var(--f-mast); letter-spacing: -0.02em; }
.about-text h2 em { font: italic 500 0.88em/1 var(--f-serif); color: var(--cobalt); }
.about-text p { margin: 0 0 16px; max-width: 54ch; }
.spec { margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.spec div { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font: 500 10.5px/1.3 var(--f-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.spec dd { margin: 0; font: 500 18px/1.35 var(--f-serif); }
@media (max-width: 899px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Back cover — contact
   ========================================================================== */
.back { background: var(--cobalt); color: #f6f1ea; overflow: hidden; position: relative; }
.back .kicker { color: rgba(246, 241, 234, 0.75); }
.back-title { margin: 18px 0 0; font: 400 clamp(64px, 14vw, 240px)/0.8 var(--f-mast); letter-spacing: -0.04em; }
.back-title a { text-decoration: none; display: inline-block; }
.back-title em { font: italic 500 0.86em/1 var(--f-serif); letter-spacing: -0.02em; }
.back-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid rgba(246, 241, 234, 0.25); padding-top: 24px; }
.back-row h3 { margin: 0 0 10px; font: 500 11px/1.2 var(--f-sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246, 241, 234, 0.7); }
.back-row a, .back-row button { font: 500 22px/1.35 var(--f-serif); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(246, 241, 234, 0.45); display: inline-block; text-align: left; }
.back-row a:hover, .back-row button:hover { text-decoration-color: currentColor; }
.back-row p { margin: 0; font-size: 18px; color: rgba(246, 241, 234, 0.8); }
.back .btn { border-color: #f6f1ea; color: #f6f1ea; }
.back .btn:hover { background: #f6f1ea; color: var(--cobalt); }
.back-glyph { position: absolute; right: -6vw; bottom: -10vw; width: 46vw; max-width: 700px; color: rgba(246, 241, 234, 0.08); pointer-events: none; }
@media (max-width: 899px) { .back-row { grid-template-columns: minmax(0, 1fr); } }

.colophon { background: var(--ink); color: rgba(246, 241, 234, 0.72); padding: 26px 0 calc(26px + env(safe-area-inset-bottom, 0px)); font: 500 11.5px/1.6 var(--f-sans); letter-spacing: 0.04em; }
.colophon .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.colophon p { margin: 0; max-width: 80ch; }

/* mobile sticky contact bar */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 65; display: none; gap: 8px; padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); transform: translateY(140%); transition: transform 0.5s var(--ease); }
.dock.is-on { transform: none; }
.dock a { flex: 1; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font: 600 13px/1 var(--f-sans); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--paper); }
.dock a:first-child { background: var(--paper); color: var(--ink); }
.dock svg { width: 16px; height: 16px; }
@media (max-width: 899px) { .dock { display: flex; } }

/* star cursor (fine pointers only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; width: 26px; height: 26px; margin: -13px 0 0 -13px; color: var(--ink); mix-blend-mode: difference; display: none; }
.cursor svg { width: 100%; height: 100%; color: #fff; transition: transform 0.5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* reveal defaults (JS adds .is-in; without JS everything is visible) */
.js .rv { opacity: 0; transform: translateY(28px); }
.js .rv.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .mask-up { clip-path: inset(100% 0 0 0); }
.js .mask-up.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.3s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .rv, .js .mask-up { opacity: 1; transform: none; clip-path: none; }
  .ribbon-track { animation: none; }
}

/* ==========================================================================
   Additions: stickers, stat tile, anatomy, prices, lab, scallop reveal
   ========================================================================== */
.sticker--price { left: 6%; top: 30%; background: var(--pink); }
.sticker--price b { font-style: italic; font-family: var(--f-serif); font-weight: 600; font-size: 34px; }
.statement .ital { color: var(--cobalt); font-weight: 500; }
.hello { margin: 0 0 18px; font: 500 italic clamp(28px, 3.2vw, 48px)/1.1 var(--f-serif); color: var(--cobalt); }
.hello b { font: 400 1.05em/1 var(--f-mast); font-style: normal; color: var(--ink); }
@media (max-width: 899px) {
  .sticker--price { display: none; }
  .sticker--price b { font-size: 24px; }
}

.reel--text { background: var(--pink); color: var(--ink); padding: 18px; justify-content: space-between; position: relative; overflow: hidden; }
.rt-num { margin: 0; font: 400 clamp(54px, 6vw, 96px)/0.85 var(--f-mast); letter-spacing: -0.03em; }
.rt-num small { font: italic 500 0.45em/1 var(--f-serif); letter-spacing: 0; }
.rt-label { margin: 0; font: 500 italic 19px/1.25 var(--f-serif); max-width: 18ch; position: relative; z-index: 1; }
.rt-star { position: absolute; right: -18%; bottom: -14%; width: 75%; height: auto; aspect-ratio: 1; color: color-mix(in srgb, var(--pink-deep) 22%, transparent); }
@media (max-width: 699px) { .reel--text { grid-column: 1 / -1; min-height: 200px; } }
.reel video[data-tap]::after { content: ""; }
.play-badge { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(15, 16, 22, 0.15); color: #fff; font: 600 12px/1 var(--f-sans); letter-spacing: 0.12em; text-transform: uppercase; }
.play-badge span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 16, 22, 0.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 20px; }

/* anatomy of the 1.4M Reel */
.anatomy { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 110px); align-items: start; margin-top: clamp(64px, 9vw, 140px); }
.anat-phone { position: relative; width: min(100%, 340px); justify-self: center; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: var(--night); box-shadow: 0 0 0 10px var(--ink), 0 40px 80px rgba(30, 20, 10, 0.28); }
.anat-phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.anat-text h3 { margin: 10px 0 26px; font: 400 clamp(44px, 5.4vw, 88px)/0.9 var(--f-mast); letter-spacing: -0.02em; }
.anat-text h3 em { font: italic 500 0.88em/1 var(--f-serif); color: var(--cobalt); }
.anat-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.anat-step { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.anat-t { font: 400 26px/1 var(--f-mast); color: var(--pink-deep); }
.anat-step b { display: block; font: 600 12px/1.4 var(--f-sans); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.anat-step p { margin: 0; color: var(--ink-2); }
.anat-note { margin: 22px 0 0; font-size: 34px; color: var(--pink-deep); transform: rotate(-3deg); transform-origin: left; }
@media (min-width: 900px) { .anat-phone { position: sticky; top: calc(var(--bar-h) + 40px); } }
@media (max-width: 899px) { .anatomy { grid-template-columns: minmax(0, 1fr); } .anat-phone { width: min(70vw, 300px); } }

/* prices & pull cite */
.ph .price { font: 600 12px/1 var(--f-sans); letter-spacing: 0.06em; color: #fff; background: var(--pink-deep); padding: 6px 8px 5px; border-radius: 2px; transform: rotate(-3deg); align-self: start; }
.pull-cite { grid-column: 1 / -1; margin: 8px 0 0; text-align: center; font: 500 11px/1.3 var(--f-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.ch-obj:not([src]) { display: none; }

/* lab */
.lab-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.lab-item { margin: 0; background: var(--paper); }
.lab-item .lab-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-3); position: relative; }
.lab-item video, .lab-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lab-item figcaption { padding: 12px 14px 16px; display: grid; gap: 4px; }
.lab-item .r-no { font: 400 22px/1 var(--f-mast); }
.lab-item .lab-title { font: 500 italic 19px/1.2 var(--f-serif); }
.lab-item .lab-meta { font: 500 10.5px/1.4 var(--f-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 899px) { .lab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* scalloped reveal for photos (porcelain rim edge) */
@property --rv { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.js .scallop {
  -webkit-mask-image: linear-gradient(#000 0 0), radial-gradient(circle at 50% 0, #000 70%, transparent 71%);
  -webkit-mask-size: 100% var(--rv), 36px 18px;
  -webkit-mask-position: 0 0, 0 var(--rv);
  -webkit-mask-repeat: no-repeat, repeat-x;
  mask-image: linear-gradient(#000 0 0), radial-gradient(circle at 50% 0, #000 70%, transparent 71%);
  mask-size: 100% var(--rv), 36px 18px;
  mask-position: 0 0, 0 var(--rv);
  mask-repeat: no-repeat, repeat-x;
}
.js .scallop.is-in { --rv: 102%; transition: --rv 1.4s var(--ease); }
@media (prefers-reduced-motion: reduce) { .js .scallop { -webkit-mask: none; mask: none; } }

/* ==========================================================================
   INDEX — full-bleed photo with big type links (like a fashion house index)
   ========================================================================== */
.index { position: relative; min-height: 100svh; color: #fff; overflow: hidden; background: var(--night); }
.index-bg { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; }
.index-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(0,0,0,0) 35%, rgba(0,0,0,.3)), linear-gradient(to bottom, rgba(0,0,0,.34), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 58%, rgba(0,0,0,.42)); }
.index-inner { position: relative; z-index: 1; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--bar-h) + 18px) var(--gutter) clamp(26px, 4vw, 48px); }
.index-top { display: flex; justify-content: space-between; }
.index-label { font: 500 12px/1 var(--f-sans); letter-spacing: 0.04em; }
.index-mid { align-self: start; padding-top: clamp(10px, 3vh, 34px); }
.index-row { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: clamp(14px, 2.6vw, 44px); row-gap: 2px; }
.index-bottom { display: grid; gap: 2px; }
.ix { color: #fff; text-decoration: none; display: inline-flex; align-items: baseline; gap: 10px; text-shadow: 0 2px 26px rgba(0,0,0,.28); }
.ix b { font: 500 clamp(30px, 4.7vw, 76px)/1.04 var(--f-sans); letter-spacing: -0.045em; transition: letter-spacing .5s var(--ease); }
.ix small { font: 400 clamp(11px, 0.95vw, 14px)/1 var(--f-sans); white-space: nowrap; opacity: .92; }
.ix:hover b, .ix:focus-visible b { font-family: var(--f-serif); font-style: italic; letter-spacing: -0.01em; }
.index-blurb { max-width: 640px; margin: 18px auto 0; text-align: center; font: 400 clamp(12px, 1.05vw, 14.5px)/1.42 var(--f-sans); text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.index-blurb sup { font-size: 0.68em; }
@media (max-width: 699px) { .ix { gap: 6px; } .index-row { column-gap: 14px; } }

/* ==========================================================================
   STRATEGY — ring binder (sheets flip up over the rings on desktop)
   ========================================================================== */
.strategy { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 90px); align-items: center; margin-top: clamp(56px, 8vw, 120px); min-height: 0; }
.strat-text h3 { margin: 10px 0 18px; font: 400 clamp(44px, 5.4vw, 88px)/0.9 var(--f-mast); letter-spacing: -0.02em; }
.strat-text h3 em { font: italic 500 0.88em/1 var(--f-serif); color: var(--cobalt); }
.strat-text p { margin: 0 0 14px; color: var(--ink-2); max-width: 40ch; }
.strat-count b { font: 400 30px/1 var(--f-mast); color: var(--ink); }
.binder-book { display: flex; flex-direction: column; gap: 14px; }
.b-sheet { display: contents; }
.b-face { position: relative; margin: 0; overflow: hidden; border-radius: 3px; background: var(--milk); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 10px 30px rgba(30, 20, 10, 0.1); }
.b-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.4), rgba(255,255,255,0) 38%, rgba(255,255,255,.16) 62%, rgba(255,255,255,0) 80%); }
.b-img { aspect-ratio: 16 / 10; background: var(--paper-3); }
.b-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease); }
.b-img:hover img { filter: grayscale(0); }
.b-txt { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr auto auto; gap: 10px 16px; padding: 52px 6% 18px; min-height: 300px; font: 500 12px/1.65 var(--f-sans); letter-spacing: 0.14em; text-transform: uppercase; }
.b-strip { position: absolute; left: 0; right: 0; top: 0; height: 30px; background: linear-gradient(#fdfdfb, #eeeeea); border-bottom: 1px solid rgba(0,0,0,.08); display: flex; justify-content: space-around; align-items: center; padding: 0 12%; }
.b-strip i { width: 11px; height: 11px; border-radius: 50%; background: #b9b9b4; box-shadow: inset 0 1px 2px rgba(0,0,0,.35); }
.b-no { grid-column: 1; grid-row: 1; }
.b-title { grid-column: 2; grid-row: 1; text-align: right; }
.b-list { grid-column: 1; grid-row: 3; align-self: end; list-style: none; margin: 0; padding: 0; }
.b-eq { grid-column: 2; grid-row: 3; align-self: end; margin: 0; text-align: right; }
.b-eq i { font-style: italic; }
.b-ref { grid-column: 1 / -1; grid-row: 4; padding-top: 10px; border-top: 1px solid var(--rule); font: italic 500 15px/1.3 var(--f-serif); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.b-summary { grid-template-columns: 1fr; }
.b-summary .b-sum { grid-row: 3; margin: 0; font: 400 clamp(22px, 2.2vw, 32px)/1.15 var(--f-mast); letter-spacing: -0.01em; text-transform: none; }
.b-rings { display: none; }
@media (max-width: 899px) { .strategy { grid-template-columns: minmax(0, 1fr); } .b-txt { font-size: 11px; padding-inline: 18px; } }

.binder-book.is-3d { position: relative; display: block; width: min(100%, 640px, calc((100svh - 150px) * 0.8)); aspect-ratio: 0.8; justify-self: center; }
.binder-book.is-3d .b-top, .binder-book.is-3d .b-bottom { position: absolute; left: 0; right: 0; height: calc(50% - 12px); min-height: 0; }
.binder-book.is-3d .b-top { top: 0; }
.binder-book.is-3d .b-bottom { top: calc(50% + 12px); }
.binder-book.is-3d .b-sheet { display: block; position: absolute; left: 0; right: 0; top: calc(50% + 12px); height: calc(50% - 12px); transform-origin: 50% -12px; transform-style: preserve-3d; transform: perspective(2600px) rotateX(var(--r, 0deg)); will-change: transform; }
.binder-book.is-3d .b-sheet .b-face { position: absolute; inset: 0; min-height: 0; aspect-ratio: auto; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.binder-book.is-3d .b-sheet .b-back { transform: rotateX(180deg); }
.binder-book.is-3d .b-sheet .b-face::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: rgba(20, 18, 16, calc(var(--sh, 0) * 0.28)); }
.binder-book.is-3d .b-rings { display: flex; position: absolute; z-index: 999; left: 9%; right: 9%; top: 50%; height: 0; justify-content: space-between; pointer-events: none; }
.b-rings i { width: 18px; height: 52px; margin-top: -26px; border-radius: 12px; border: 3.5px solid #9fa3aa; border-left-color: #d9dce2; border-right-color: #6f737b; box-shadow: 0 2px 4px rgba(0,0,0,.25); }

/* ==========================================================================
   JOURNAL — the feed as a magazine you flip through
   ========================================================================== */
.journal { position: relative; padding-block: clamp(56px, 8vw, 110px) clamp(40px, 6vw, 80px); background: var(--paper-2); }
.journal-head { display: grid; gap: 6px; margin-bottom: clamp(18px, 3vw, 34px); }
.journal-head .kicker { justify-content: space-between; border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.journal-head .folio b { font-weight: 600; color: var(--ink); }
.journal-hint { margin: 0; font-size: 24px; color: var(--pink-deep); }
.book { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 6px var(--gutter) 18px; }
.book::-webkit-scrollbar { display: none; }
.leaf { display: contents; }
.pg { position: relative; flex: 0 0 min(82vw, 420px); aspect-ratio: 4 / 5; scroll-snap-align: center; overflow: hidden; background: var(--milk); box-shadow: 0 14px 34px rgba(30, 20, 10, 0.14); border-radius: 2px; }
.pg-folio { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 12px; display: flex; justify-content: space-between; font: 500 9.5px/1 var(--f-sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.pg-photo img, .pg-vellum .pg-under { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0)); }
.pg-photo .pg-folio { color: rgba(255,255,255,.85); }
.pg-cap { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 32px; margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: #fff; font: 500 10.5px/1.3 var(--f-sans); letter-spacing: 0.1em; text-transform: uppercase; }
.pg-cap em { font: italic 500 22px/1.1 var(--f-serif); letter-spacing: 0; text-transform: none; }

/* tracing paper over a photo; lifts like the reference when hovered */
.vellum { position: absolute; inset: 7% 8% 10% 8%; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 9%; background: rgba(250, 248, 244, 0.74); backdrop-filter: blur(7px) saturate(0.85); -webkit-backdrop-filter: blur(7px) saturate(0.85); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 16px 34px rgba(0,0,0,.14); transform-origin: 0 50%; transition: transform 1.2s var(--ease), box-shadow 1.2s var(--ease); }
.vellum::after { content: ""; position: absolute; right: 0; bottom: 0; width: 60px; height: 60px; background: linear-gradient(135deg, rgba(255,255,255,0) 50%, rgba(235,232,226,.95) 50%, #fff 75%); box-shadow: -2px -2px 6px rgba(0,0,0,.06); }
.vellum p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.vellum .vellum-title { font: 400 clamp(34px, 3.4vw, 54px)/0.92 var(--f-mast); color: var(--ink); letter-spacing: -0.02em; }
.vellum .vellum-title em { font: italic 500 0.9em/1 var(--f-serif); color: var(--cobalt); }
.vellum .vellum-credit { font: 500 10px/1.3 var(--f-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
@media (hover: hover) { .pg-vellum:hover .vellum { transform: perspective(1500px) rotateY(-46deg); box-shadow: 30px 20px 50px rgba(0,0,0,.18); } }

/* scrapbook: cut-out photos, tape, a receipt */
.pg-scrap { background: #efe8dc; }
.cutout { position: absolute; margin: 0; filter: drop-shadow(0 8px 14px rgba(40, 30, 20, 0.22)); }
.cutout img { width: 100%; display: block; clip-path: polygon(2% 1%, 12% 3%, 25% 0%, 38% 2%, 52% 0%, 66% 3%, 79% 1%, 93% 2%, 100% 6%, 98% 20%, 100% 36%, 97% 52%, 100% 68%, 98% 84%, 99% 98%, 85% 100%, 70% 97%, 55% 100%, 40% 98%, 26% 100%, 12% 97%, 0% 99%, 2% 82%, 0% 66%, 3% 50%, 0% 34%, 2% 18%); }
.cutout--me { left: 8%; top: 6%; width: 50%; transform: rotate(-4deg); }
.cutout--me img { aspect-ratio: 3 / 4; object-fit: cover; }
.cutout--rose { right: 7%; top: 34%; width: 33%; transform: rotate(7deg); }
.cutout--rose img { aspect-ratio: 1; object-fit: cover; }
.tape { position: absolute; z-index: 2; width: 74px; height: 22px; background: rgba(236, 222, 196, 0.78); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.tape--a { left: 34%; top: -10px; transform: rotate(-6deg); }
.tape--b { left: 28%; top: -9px; transform: rotate(8deg); background: rgba(235, 207, 207, 0.8); }
.scrap-note { position: absolute; right: 9%; top: 12%; margin: 0; font-size: 26px; color: var(--cobalt); transform: rotate(-6deg); }
.receipt { position: absolute; left: 11%; bottom: 9%; width: 46%; padding: 12px 12px 20px; background: #fdfcf7; transform: rotate(-2.5deg); font: 500 9.5px/1.55 "SF Mono", Menlo, Consolas, "Roboto Mono", monospace; letter-spacing: 0.04em; color: #2b2a2e; box-shadow: 0 8px 16px rgba(40,30,20,.16);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 12px 100%; }
.receipt p { margin: 0; display: flex; justify-content: space-between; gap: 8px; }
.receipt p:first-child { display: block; text-align: center; margin-bottom: 4px; }
.receipt .rc-line { border-top: 1px dashed #77757a; margin: 6px 0; }
.receipt .rc-total { display: block; text-align: center; font-weight: 700; }

/* handwritten diary page on ruled paper */
.pg-diary { --lh: 30px; background-color: #fbf9f3; background-image: linear-gradient(to right, transparent 44px, rgba(156,43,64,.35) 44px, rgba(156,43,64,.35) 45px, transparent 45px), repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--lh) - 1px), rgba(29,90,155,.17) calc(var(--lh) - 1px), rgba(29,90,155,.17) var(--lh)); background-position: 0 14px; padding: 18px 7% 40px 58px; }
.diary-date { margin: 0; height: var(--lh); line-height: var(--lh); font-size: 24px; color: var(--pink-deep); }
.diary-text { font-size: 21px; line-height: var(--lh); color: #283058; }
.diary-text p { margin: 0 0 var(--lh); }
.diary-text .diary-sign { text-align: right; margin: 0; }
@media (max-width: 899px) { .pg-diary { --lh: 25px; aspect-ratio: auto; padding-left: 52px; } .diary-text { font-size: 17.5px; } }

/* two products on one page */
.pg-duo { display: grid; grid-template-rows: 1fr 1fr; gap: 6%; padding: 7% 8% 12%; background: var(--milk); }
.pg-duo figure { margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 8px; min-height: 0; }
.pg-duo figure:nth-child(2) { width: 78%; justify-self: end; }
.pg-duo img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.pg-duo figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pg-duo figcaption em { font: italic 500 18px/1.1 var(--f-serif); }
.pg-duo .price { font: 600 11px/1 var(--f-sans); color: #fff; background: var(--pink-deep); padding: 6px 8px 5px; border-radius: 2px; transform: rotate(-3deg); white-space: nowrap; }

/* end of the insert */
.pg-end { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 12%; background: var(--cobalt); color: #f6f1ea; }
.pg-end .kicker { color: rgba(246,241,234,.75); }
.pg-end .end-big { margin: 0; font: 400 clamp(90px, 10vw, 170px)/0.8 var(--f-mast); letter-spacing: -0.04em; }
.pg-end .end-text { margin: 0; max-width: 26ch; font: italic 500 22px/1.2 var(--f-serif); }
.pg-end .btn { border-color: #f6f1ea; color: #f6f1ea; }
.pg-end .btn:hover { background: #f6f1ea; color: var(--cobalt); }
.pg-end .pg-folio { color: rgba(246,241,234,.7); }

/* desktop: a real spread, pages turn around the spine */
.book.is-3d { display: block; position: relative; overflow: visible; padding: 0; margin: 0 auto; width: min(94vw, calc((100svh - 210px) * 1.6)); aspect-ratio: 8 / 5; }
.book.is-3d::before { content: ""; position: absolute; inset: 2% 1% -2%; background: rgba(30, 20, 10, .2); filter: blur(28px); z-index: 0; }
.book.is-3d .pg { position: absolute; top: 0; width: 50%; height: 100%; aspect-ratio: auto; flex: none; border-radius: 0; box-shadow: none; }
.book.is-3d .base-left { left: 0; border-radius: 3px 0 0 3px; }
.book.is-3d .base-right { left: 50%; border-radius: 0 3px 3px 0; }
.book.is-3d .leaf { display: block; position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: 0 50%; transform-style: preserve-3d; transform: perspective(2800px) rotateY(var(--r, 0deg)); will-change: transform; }
.book.is-3d .leaf .pg { left: 0; width: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.book.is-3d .leaf .back { transform: rotateY(180deg); }
.book.is-3d .base-left::after, .book.is-3d .leaf .back::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(to left, rgba(0,0,0,.2), rgba(0,0,0,0) 9%); }
.book.is-3d .base-right::after, .book.is-3d .leaf .front::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(to right, rgba(0,0,0,.2), rgba(0,0,0,0) 9%); }
.book.is-3d .leaf .pg > .pg-shade { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: rgba(20, 18, 16, calc(var(--sh, 0) * 0.3)); }
.book.is-3d .pg-diary { padding-left: 64px; }

/* ==========================================================================
   PRESS PASS on a lanyard (About)
   ========================================================================== */
.badge-wrap { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: calc(-1 * clamp(72px, 11vw, 160px)); }
.lanyard { width: 26px; height: clamp(150px, 20vw, 240px); background: var(--cobalt); position: relative; overflow: hidden; box-shadow: inset 3px 0 0 rgba(255,255,255,.12), inset -3px 0 0 rgba(0,0,0,.15); }
.lanyard::before { content: "AKYLAI ✶ AKYLAI ✶ AKYLAI ✶ AKYLAI ✶"; position: absolute; left: 50%; top: 0; transform: translateX(-50%); writing-mode: vertical-rl; font: 600 10px/26px var(--f-sans); letter-spacing: 0.3em; color: rgba(255,255,255,.85); white-space: nowrap; }
.badge { position: relative; width: min(340px, 84vw); margin-top: -4px; transform-origin: 50% -200px; animation: swing 4.6s ease-in-out infinite alternate; }
@keyframes swing { from { transform: rotate(-2.4deg); } to { transform: rotate(2.4deg); } }
.badge-ring { position: absolute; z-index: 3; left: 50%; top: -22px; width: 30px; height: 40px; margin-left: -15px; border-radius: 50%; border: 4px solid #a9adb5; border-top-color: #e3e6ea; border-bottom-color: #7b7f87; box-shadow: 0 2px 4px rgba(0,0,0,.25); }
.badge-sleeve { position: relative; padding: 50px 14px 14px; border-radius: 18px; background: linear-gradient(160deg, rgba(255,255,255,.82), rgba(255,255,255,.4) 42%, rgba(255,255,255,.66)); border: 1px solid rgba(150, 160, 178, 0.55); box-shadow: 0 34px 60px rgba(30, 20, 10, 0.2), inset 0 0 0 5px rgba(255,255,255,.45); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.badge-sleeve::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.55), rgba(255,255,255,0) 30%, rgba(255,255,255,0) 64%, rgba(255,255,255,.28) 72%, rgba(255,255,255,0) 86%); }
.badge-holes { position: absolute; left: 0; right: 0; top: 16px; display: flex; justify-content: center; align-items: center; gap: 26px; }
.badge-holes i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid rgba(140,150,165,.7); background: rgba(255,255,255,.5); }
.badge-holes b { width: 70px; height: 14px; border-radius: 8px; border: 1.5px solid rgba(140,150,165,.7); background: rgba(255,255,255,.5); }
.badge-card { position: relative; background: #f6f0e4; padding: 18px 18px 14px; color: #121114; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.bc-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.bc-title { margin: 0; font: 800 clamp(36px, 4vw, 46px)/0.84 var(--f-sans); letter-spacing: -0.05em; }
.bc-drop { font: 500 11px/1 "SF Mono", Menlo, Consolas, monospace; padding-top: 18px; }
.bc-sub { margin: 10px 0 0; padding: 6px 0; border-top: 1.5px dashed #121114; border-bottom: 1.5px dashed #121114; display: flex; justify-content: space-between; align-items: center; font: 600 10px/1 var(--f-sans); letter-spacing: 0.06em; }
.bc-sub i { font: 500 20px/1 var(--f-hand); font-style: normal; background: #121114; color: #f6f0e4; padding: 0 8px 2px; border-radius: 3px; transform: rotate(-3deg); }
.bc-photo { display: block; width: 58%; aspect-ratio: 3 / 4; object-fit: cover; margin: 16px auto 14px; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.bc-fields { margin: 0; }
.bc-fields div { display: grid; grid-template-columns: 84px 1fr; align-items: end; border-bottom: 1.5px dashed #121114; padding-top: 8px; }
.bc-fields dt { font: 600 9.5px/2.4 var(--f-sans); letter-spacing: 0.08em; }
.bc-fields dd { margin: 0; font-size: 27px; line-height: 1.05; color: #18172a; }
.bc-foot { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-top: 14px; }
.bc-foot small { font: 600 7.5px/1.35 "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.04em; max-width: 58%; }
.bc-foot b { font: 500 34px/0.9 var(--f-sans); letter-spacing: -0.04em; }
@media (max-width: 899px) { .badge-wrap { margin-top: -40px; } }
@media (prefers-reduced-motion: reduce) { .badge { animation: none; } }

/* running folio, like the page numbers at the bottom of a magazine */
.runfolio { position: fixed; right: 12px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; z-index: 55; display: none; gap: 14px; font: 500 10.5px/1 var(--f-sans); letter-spacing: 0.16em; text-transform: uppercase; color: #fff; mix-blend-mode: difference; pointer-events: none; }
@media (min-width: 900px) { .runfolio { display: flex; } }

/* ==========================================================================
   PAPER NOTES & STITCHED PATCH — frames for captions and texts
   ========================================================================== */
.note { position: relative; color: var(--ink); background: center / 100% 100% no-repeat; filter: drop-shadow(0 10px 14px rgba(30, 20, 10, 0.14)); transform: rotate(var(--tilt, -1deg)); }
.note--torn { background-image: url(../assets/img/deco/note-1.webp); padding: 46px 30px 32px; }
.note--pink { background-image: url(../assets/img/deco/note-2.webp); padding: 44px 30px 30px; --tilt: 1.2deg; }
.note--yellow { background-image: url(../assets/img/deco/note-3.webp); padding: 50px 24px 26px; --tilt: -3deg; }
.note--grey { background-image: url(../assets/img/deco/note-4.webp); padding: 48px 28px 28px; --tilt: 1.5deg; }
.note--kraft { background-image: url(../assets/img/deco/note-5.webp); padding: 34px 36px 30px; color: #f7f0e3 !important; --tilt: -1.5deg; }
.note--white { background-image: url(../assets/img/deco/note-6.webp); padding: 50px 30px 30px; --tilt: -1.2deg; }
.note--patch { background: none; border: 46px solid transparent; border-image: url(../assets/img/deco/patch.webp) 96 fill / 46px round; padding: 4px 8px; --tilt: 0.6deg; filter: drop-shadow(0 12px 18px rgba(30, 20, 10, 0.16)); }
.note p, .note dd, .note dt { color: inherit; }
.note-facts { padding: 40px 34px 26px; }
.note-facts .edito-facts dt { color: var(--ink-2); }
.ch-note { margin-top: 22px; max-width: 380px; }
.ch-note p { margin: 0 !important; color: var(--ink) !important; }
.strat-note { max-width: 440px; }
.strat-note p { color: var(--ink) !important; }
.reel-note.note { max-width: 400px; margin-top: 28px; letter-spacing: 0.02em; font-size: 12.5px; line-height: 1.55; }
.anat-note.note { display: inline-block; font-size: 30px; line-height: 1.05; color: var(--pink-deep); width: 230px; text-align: center; }
.case-body.note--patch .kicker { color: var(--ink-2); }
.back .back-row .note { color: var(--ink); --tilt: -1.4deg; }
.back .back-row .note:nth-child(2) { --tilt: 1.6deg; }
.back .back-row .note:nth-child(3) { --tilt: -0.6deg; }
.back .back-row .note h3 { color: var(--ink-3); }
.back .back-row .note a, .back .back-row .note button { color: var(--ink); text-decoration-color: rgba(30,29,34,.35); }
.back .back-row .note p { color: var(--ink-2); }
.back .back-row { border-top: 0; gap: clamp(18px, 3vw, 40px); }
@media (max-width: 899px) { .note { --tilt: 0deg; } .note--patch { border-width: 34px; border-image-width: 34px; } }

/* ==========================================================================
   FLOWERS — cut-out stickers that glint and sparkle under the pointer
   ========================================================================== */
.deco { position: absolute; z-index: 7; display: block; width: var(--s, 80px); aspect-ratio: var(--ar, 1); background: var(--img) center / contain no-repeat; transform: rotate(var(--r, 0deg)); transition: transform 0.7s var(--ease), filter 0.6s var(--ease); filter: drop-shadow(0 6px 10px rgba(30, 20, 10, 0.18)); cursor: pointer; }
.deco::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(115deg, rgba(255,255,255,0) 36%, rgba(255,255,255,.9) 47%, rgba(255,244,210,.95) 53%, rgba(255,255,255,0) 64%) 130% 0 / 300% 100% no-repeat; -webkit-mask: var(--img) center / contain no-repeat; mask: var(--img) center / contain no-repeat; }
.deco:hover, .deco.is-glint { transform: rotate(calc(var(--r, 0deg) + 9deg)) scale(1.09); filter: drop-shadow(0 8px 14px rgba(30, 20, 10, 0.2)) drop-shadow(0 0 12px rgba(255, 238, 196, 0.8)) saturate(1.15) brightness(1.04); }
.deco:hover::after, .deco.is-glint::after { opacity: 1; animation: glint 1.1s var(--ease) forwards; }
@keyframes glint { from { background-position: 130% 0; } to { background-position: -40% 0; } }
.deco--desk { display: none; }
@media (min-width: 900px) and (hover: hover) { .deco--desk { display: block; } }
@media (max-width: 899px) { .deco { width: calc(var(--s, 80px) * 0.72); } }
.night .deco { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5)); }
.deco--tuck { z-index: 4; }
.deco--leaf { position: absolute; right: 2%; bottom: -40px; z-index: 2; }
@media (max-width: 899px) { .deco--leaf { position: relative; right: auto; bottom: auto; margin: -10px auto 0; width: 150px; } }
.sparkles { position: fixed; inset: 0; z-index: 120; pointer-events: none; overflow: hidden; }
.sparkle { position: absolute; left: 0; top: 0; width: 14px; height: 14px; color: #fff3c8; filter: drop-shadow(0 0 4px rgba(255, 236, 170, 0.95)); }
.sparkle svg { width: 100%; height: 100%; display: block; }
.about { position: relative; }
#about { position: relative; overflow: visible; }

/* ==========================================================================
   COWHIDE COVERS for the magazine and the binder
   ========================================================================== */
.pg-cover { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; background: #e8e3da url(../assets/img/deco/cowhide-cover.webp) center / cover no-repeat; }
.pg-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.12), rgba(0,0,0,0) 40%, rgba(0,0,0,.12)); pointer-events: none; }
.cover-label { width: min(74%, 330px); text-align: center; --tilt: -2deg; }
.cover-label .kicker { justify-content: center; }
.cover-label-title { margin: 10px 0 8px; font: 400 clamp(32px, 3.3vw, 50px)/0.92 var(--f-mast); letter-spacing: -0.02em; }
.cover-label-title em { font: italic 500 0.9em/1 var(--f-serif); color: var(--cobalt); }
.cover-label-sub { margin: 0; font: 500 10px/1.3 var(--f-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.cover-open { position: relative; z-index: 2; font-size: 22px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.book:not(.is-3d) .cover-open { display: none; }
.book.is-3d { transform: translateX(calc(var(--closed, 0) * -25%)); }
.b-cover { display: grid; place-items: center; background: #e8e3da url(../assets/img/deco/cowhide-wide.webp) center / cover no-repeat; min-height: 260px; }
.b-cover-label { width: min(70%, 320px); text-align: center; }
.b-cover-label .kicker { justify-content: center; }
.b-cover-title { margin: 8px 0 6px; font: 400 clamp(30px, 2.8vw, 42px)/0.92 var(--f-mast); letter-spacing: -0.02em; text-transform: none; }
.b-cover-title em { font: italic 500 0.9em/1 var(--f-serif); color: var(--cobalt); }
.b-cover-sub { margin: 0; font: 500 10px/1.3 var(--f-sans); letter-spacing: 0.14em; color: var(--ink-3); }
.binder-book.is-3d { transform: translateY(calc(var(--closed, 0) * -25%)); }
.binder-book.is-3d .b-cover { min-height: 0; }

/* one photo across two pages (like the eye / cowhide spreads) */
.pg-spread { background: var(--paper-3) url(../assets/img/lina/lina_38.webp) no-repeat; background-size: 200% auto; }
.pg-spread--l { background-position: 0% 50%; }
.pg-spread--r { background-position: 100% 50%; }
.spread-cap { position: absolute; z-index: 3; left: 18%; top: 50%; font: 600 11px/1 var(--f-sans); letter-spacing: 0.32em; color: var(--ink); text-shadow: 0 0 10px rgba(255,255,255,.8); }
.pg-spread .pg-folio { color: rgba(30,29,34,.7); }
.book.is-3d::before { left: calc(var(--closed, 0) * 50% + 1%); }
.note-facts { max-width: 400px; padding: 46px 34px 30px; }
.note-facts .edito-facts { flex-direction: column; gap: 12px; }
.edito-foot { align-items: center; }
.sparkle { filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 6px rgba(255, 214, 140, 0.7)); }
.back .back-row .note { min-height: 190px; padding-top: 54px; }
@media (min-width: 900px) { .deco--leaf { bottom: 40px; right: 3%; } }

/* Kraft note, drawn in CSS so it stays sharp at any size and the text always sits on the paper */
.note--kraft {
  padding: 26px 30px 28px;
  border-radius: 2px;
  color: #fbf6ec !important;
  filter: none;
  background-color: #806a58;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.55' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 0.95  0 0 0 0 0.85  0 0 0 0.16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.08  0 0 0 0 0.05  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 90% at 30% 20%, rgba(255, 240, 220, 0.1), rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.1));
  background-size: 220px 220px, 160px 160px, 100% 100%, 100% 100%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 -18px 30px rgba(0, 0, 0, 0.08), 0 16px 34px rgba(0, 0, 0, 0.45);
  --tilt: -1deg;
}
.note--kraft::before, .note--kraft::after {
  content: ""; position: absolute; width: 96px; height: 28px; pointer-events: none;
  background-color: rgba(247, 233, 206, 0.9);
  background-image: linear-gradient(90deg, rgba(255,255,255,.35), rgba(255,255,255,0) 30%, rgba(0,0,0,.04) 70%, rgba(255,255,255,.2));
  clip-path: polygon(2% 8%, 9% 0, 18% 6%, 92% 2%, 100% 10%, 97% 34%, 100% 56%, 96% 78%, 100% 100%, 84% 94%, 8% 100%, 0 88%, 4% 62%, 0 40%, 3% 22%);
}
.note--kraft::before { top: -10px; right: -26px; transform: rotate(38deg); }
.note--kraft::after { bottom: -10px; left: -26px; transform: rotate(38deg); }
.reel-note.note--kraft { max-width: 430px; margin-top: 34px; margin-left: 12px; font: 500 13.5px/1.6 var(--f-sans); letter-spacing: 0.01em; }
@media (max-width: 699px) { .reel-note.note--kraft { margin-left: 8px; margin-right: 8px; } }

/* ==========================================================================
   SITE BACKGROUND — a blossoming tree seen from below, fixed behind every page
   ========================================================================== */
html { background: var(--paper); }
body { background: transparent; }
.site-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.site-bg img { position: absolute; left: 0; top: 0; width: 100%; height: 118%; object-fit: cover; object-position: 38% 30%; transform: translate3d(0, calc(var(--bgp, 0) * -15%), 0); will-change: transform; }
.site-bg::after { content: ""; position: absolute; inset: 0; background: rgba(244, 241, 236, 0.22); }

/* the cover shows the tree most: washed at the sides (text), open behind the portrait */
.cover {
  background:
    radial-gradient(40% 35% at 85% 20%, rgba(235, 207, 207, 0.32), rgba(235, 207, 207, 0) 70%),
    linear-gradient(90deg, rgba(244,241,236,.8) 0%, rgba(244,241,236,.5) 24%, rgba(244,241,236,.16) 40%, rgba(244,241,236,.1) 50%, rgba(244,241,236,.16) 60%, rgba(244,241,236,.5) 76%, rgba(244,241,236,.8) 100%);
}
.cover-left, .cover-right, .cover-meta, .cover-foot { text-shadow: 0 0 20px rgba(244, 241, 236, 0.95), 0 0 3px rgba(244, 241, 236, 0.8); }
@media (max-width: 899px) {
  .cover { background: linear-gradient(180deg, rgba(244,241,236,.35) 0%, rgba(244,241,236,.18) 40%, rgba(244,241,236,.82) 58%, rgba(244,241,236,.9) 100%); }
}

/* text pages: translucent paper so the tree shows softly through */
.edito { background: rgba(244, 241, 236, 0.66); box-shadow: 0 0 0 100vmax rgba(244, 241, 236, 0.66); clip-path: inset(0 -100vmax); }
#case, #services { background: rgba(244, 241, 236, 0.72); }
.journal { background: rgba(235, 230, 222, 0.5); }
.still { background: rgba(235, 230, 222, 0.74); }
.anatomy { position: relative; }
.facts { position: relative; }
@media (prefers-reduced-motion: reduce) { .site-bg img { transform: none; height: 100%; } }
.colophon .wrap { position: relative; }
.cover-right { position: relative; }
.journal-pin { position: relative; }

/* ==========================================================================
   HERBARIUM COVERS — cream cloth drawn in CSS (always sharp) + pressed flowers at native size
   ========================================================================== */
.pg-cover, .b-cover {
  background-color: #efe5da;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.27  0 0 0 0 0.22  0 0 0 0.16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    repeating-linear-gradient(0deg, rgba(120, 90, 70, 0.045) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    repeating-linear-gradient(90deg, rgba(120, 90, 70, 0.04) 0 1px, rgba(0, 0, 0, 0) 1px 3px),
    radial-gradient(90% 70% at 50% 35%, rgba(255, 252, 246, 0.7), rgba(255, 252, 246, 0) 70%);
  background-size: 180px 180px, auto, auto, 100% 100%;
}
.pg-cover { justify-content: flex-start; gap: 0; padding: 7% 8% 9%; }
.pg-cover::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(180, 138, 90, 0.5); box-shadow: inset 0 0 0 4px rgba(239, 229, 218, 1), inset 0 0 0 5px rgba(180, 138, 90, 0.28); background: none; pointer-events: none; }
.cover-bouquet { position: relative; z-index: 1; width: auto; height: 58%; max-width: 78%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(70, 50, 30, 0.18)); margin-top: 2%; }
.pg-cover .cover-label { margin-top: -6%; z-index: 2; }
.cover-open { color: var(--ink-2); text-shadow: none; margin-top: auto; font-size: 21px; }
.b-cover::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(180, 138, 90, 0.45); pointer-events: none; }
.b-fl { position: absolute; height: auto; transform: rotate(var(--r, 0deg)); filter: drop-shadow(0 6px 8px rgba(70, 50, 30, 0.18)); }
.b-cover .b-cover-label { position: relative; z-index: 2; }
@media (max-width: 899px) { .pg-cover { min-height: 0; } .cover-bouquet { height: 52%; } }
.pg-cover, .b-cover { background-repeat: repeat, repeat, repeat, no-repeat; background-position: 0 0, 0 0, 0 0, center; }

/* stronger paper wash under text so the tree never fights the words */
.cover {
  background:
    radial-gradient(40% 35% at 85% 20%, rgba(235, 207, 207, 0.3), rgba(235, 207, 207, 0) 70%),
    linear-gradient(90deg, rgba(244,241,236,.93) 0%, rgba(244,241,236,.86) 22%, rgba(244,241,236,.3) 36%, rgba(244,241,236,.12) 50%, rgba(244,241,236,.3) 64%, rgba(244,241,236,.86) 78%, rgba(244,241,236,.93) 100%);
}
.cover-left, .cover-right, .cover-meta, .cover-foot { text-shadow: none; }
.cover-meta { background: rgba(244, 241, 236, 0.7); }
.edito { background: rgba(244, 241, 236, 0.84); box-shadow: 0 0 0 100vmax rgba(244, 241, 236, 0.84); }
#case, #services { background: rgba(244, 241, 236, 0.84); }
.still { background: rgba(235, 230, 222, 0.85); }
@media (max-width: 899px) {
  .cover { background: linear-gradient(180deg, rgba(244,241,236,.4) 0%, rgba(244,241,236,.2) 38%, rgba(244,241,236,.9) 56%, rgba(244,241,236,.95) 100%); }
}

/* fairy dust trail behind the mouse */
.fairy-dust { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 99; pointer-events: none; }

/* new portrait (sunset photo): waist-height cut-out, a little wider than the old studio shot */
.cover-face { aspect-ratio: 1100 / 1125; height: min(68svh, 780px); }
.index-bg { object-position: 50% 44%; }
@media (max-width: 899px) { .cover-face { width: min(84vw, 420px); height: auto; } }
@media (min-width: 900px) { .cover-face { height: min(82svh, 900px); } }

/* ==========================================================================
   COVER = a full-bleed photo (kimono, Kyoto). Layers: photo → masthead → her cut-out → shade → text
   ========================================================================== */
.cover { background: #2b2522; color: #f7efe4; }
.cover-photo { position: absolute; inset: 0; overflow: hidden; }
.cp-bg, .cp-cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 40%; }
.cp-bg { z-index: 0; }
.masthead { z-index: 1; color: #f7efe4; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.18); }
.cp-cut { z-index: 2; pointer-events: none; }
.cover::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(18, 14, 12, 0.42) 0%, rgba(18, 14, 12, 0) 18%),
    linear-gradient(0deg, rgba(18, 14, 12, 0.6) 0%, rgba(18, 14, 12, 0) 30%),
    linear-gradient(90deg, rgba(18, 14, 12, 0.6) 0%, rgba(18, 14, 12, 0.18) 28%, rgba(18, 14, 12, 0) 42%, rgba(18, 14, 12, 0) 58%, rgba(18, 14, 12, 0.18) 72%, rgba(18, 14, 12, 0.6) 100%);
}
.cover-meta { position: relative; z-index: 5; background: none; border-bottom-color: rgba(247, 239, 228, 0.3); }
.cover-meta .folio, .cover .folio { color: rgba(247, 239, 228, 0.86); }
.cover-left, .cover-right, .cover-meta, .cover-foot { text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35); }
.cl b, .cover-title { color: #f7efe4; }
.cl span { color: rgba(247, 239, 228, 0.86); }
.cl small { color: rgba(247, 239, 228, 0.66); }
.cover-sub { color: #f4c9d6; }
.cover-proof { color: rgba(247, 239, 228, 0.9); }
.avail { color: rgba(247, 239, 228, 0.86); }
.cover .btn { border-color: rgba(247, 239, 228, 0.85); color: #f7efe4; text-shadow: none; }
.cover .btn:hover { background: #f7efe4; color: var(--ink); }
.cover .btn--ink { background: #f7efe4; border-color: #f7efe4; color: var(--ink); }
.cover .btn--ink:hover { background: var(--pink); border-color: var(--pink); color: var(--ink); }
.cover-foot { border-top-color: rgba(247, 239, 228, 0.3); }
.cover .barcode, .cover .scroll-cue { color: #f7efe4; }
@media (max-width: 899px) {
  .cover {
    grid-template-rows: auto auto minmax(44svh, 1fr) auto auto;
    grid-template-areas: "meta" "mast" "gap" "right" "foot";
  }
  .cover-left { grid-area: gap; }
  .cover-left .cl b, .cover-left .cl .cl-short { color: var(--ink); text-shadow: none; }
  .cp-bg, .cp-cut { object-position: 56% 30%; }
  .cover::before { background: linear-gradient(180deg, rgba(18,14,12,.42) 0%, rgba(18,14,12,0) 22%, rgba(18,14,12,0) 42%, rgba(18,14,12,.72) 66%, rgba(18,14,12,.88) 100%); }
}

/* the lily behind the magazine, the daisy behind "About" (washed so text stays readable) */
.journal { background: linear-gradient(rgba(240, 232, 226, 0.42), rgba(240, 232, 226, 0.42)), url(../assets/img/bg/lily.webp) center / cover no-repeat; }
#about { background: linear-gradient(90deg, rgba(240, 234, 228, 0.3) 0%, rgba(240, 234, 228, 0.42) 38%, rgba(240, 234, 228, 0.88) 55%, rgba(240, 234, 228, 0.92) 100%), url(../assets/img/bg/daisy.webp) center / cover no-repeat; }
@media (max-width: 899px) { #about { background: linear-gradient(rgba(240, 234, 228, 0.55), rgba(240, 234, 228, 0.86) 45%), url(../assets/img/bg/daisy.webp) center top / cover no-repeat; } }
@media (min-width: 900px) { .deco--leaf { bottom: -110px; right: 3%; z-index: 8; width: 170px; } }

/* ==========================================================================
   COVER v3 — meadow photo, minimal: bright sky on top (dark masthead), soft shade low down for light text
   ========================================================================== */
.cp-bg, .cp-cut { object-position: 50% 0%; }
.masthead { color: var(--ink); text-shadow: none; }
.cover-meta .folio { color: var(--ink-2); text-shadow: none; }
.cover-meta { border-bottom-color: rgba(30, 29, 34, 0.22); text-shadow: none; }
.cover::before {
  background:
    linear-gradient(0deg, rgba(14, 18, 12, 0.6) 0%, rgba(14, 18, 12, 0) 45%),
    linear-gradient(90deg, rgba(14, 18, 12, 0.55) 0%, rgba(14, 18, 12, 0.12) 30%, rgba(14, 18, 12, 0) 42%, rgba(14, 18, 12, 0) 58%, rgba(14, 18, 12, 0.12) 70%, rgba(14, 18, 12, 0.55) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 26%, #000 50%);
  mask-image: linear-gradient(180deg, transparent 26%, #000 50%);
}
.cover-foot { justify-content: flex-end; border-top: 0; }
@media (max-width: 899px) {
  .cp-bg, .cp-cut { object-position: 50% 0%; }
  .cover::before {
    background: linear-gradient(180deg, rgba(14,18,12,0) 0%, rgba(14,18,12,0) 40%, rgba(14,18,12,.7) 64%, rgba(14,18,12,.86) 100%);
    -webkit-mask-image: none; mask-image: none;
  }
}
.cover-meta .folio:nth-child(n+3) { display: none; }
.cover-meta { background: linear-gradient(180deg, rgba(244, 241, 236, 0.62), rgba(244, 241, 236, 0)); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }

/* ==========================================================================
   COVER v4 — silent looping video (sunset by the ocean). Her face is in the upper half,
   so the masthead sits at the bottom of the page; light text on soft dark shade.
   ========================================================================== */
.cp-video { object-fit: cover; object-position: 50% 30%; }
.cover {
  grid-template-rows: auto 1fr auto auto;
  grid-template-areas: "meta meta meta" "left face right" "mast mast mast" "foot foot foot";
  padding-bottom: 18px;
}
.masthead {
  align-self: end; margin: 0; z-index: 4;
  font-size: clamp(80px, 19.5vw, 340px); line-height: 0.78;
  color: #f7efe4; text-shadow: 0 8px 50px rgba(0, 0, 0, 0.28);
}
.cover-left, .cover-right { align-self: end; padding-bottom: 3vh; }
.cover::before {
  background:
    linear-gradient(0deg, rgba(10, 8, 8, 0.72) 0%, rgba(10, 8, 8, 0.4) 28%, rgba(10, 8, 8, 0) 55%),
    linear-gradient(90deg, rgba(10, 8, 8, 0.58) 0%, rgba(10, 8, 8, 0.12) 30%, rgba(10, 8, 8, 0) 42%, rgba(10, 8, 8, 0) 58%, rgba(10, 8, 8, 0.12) 70%, rgba(10, 8, 8, 0.58) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 18%, #000 42%);
  mask-image: linear-gradient(180deg, transparent 18%, #000 42%);
}
.cover-foot { margin-top: 10px; }
@media (max-width: 899px) {
  .cover {
    grid-template-rows: auto minmax(42svh, 1fr) auto auto auto;
    grid-template-areas: "meta" "gap" "mast" "right" "foot";
  }
  .masthead { font-size: 25vw; margin: 0 0 14px; }
  .cp-video { object-position: 50% 0%; }
  .cover::before {
    background: linear-gradient(180deg, rgba(10,8,8,0) 0%, rgba(10,8,8,0) 34%, rgba(10,8,8,.55) 50%, rgba(10,8,8,.82) 68%, rgba(10,8,8,.9) 100%);
    -webkit-mask-image: none; mask-image: none;
  }
}
@media (min-width: 900px) {
  .cover::before {
    background:
      linear-gradient(0deg, rgba(10, 8, 8, 0.72) 0%, rgba(10, 8, 8, 0.38) 26%, rgba(10, 8, 8, 0) 52%),
      linear-gradient(90deg, rgba(10, 8, 8, 0.6) 0%, rgba(10, 8, 8, 0.28) 22%, rgba(10, 8, 8, 0) 40%, rgba(10, 8, 8, 0) 56%, rgba(10, 8, 8, 0.32) 72%, rgba(10, 8, 8, 0.66) 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 6%, #000 16%);
    mask-image: linear-gradient(180deg, transparent 6%, #000 16%);
  }
  .cover-title { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
}
@media (max-width: 899px) {
  .cover { background: #15110f; }
  .cover-photo { inset: 0 0 auto 0; height: 100svh; }
  .cover-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: linear-gradient(180deg, rgba(21, 17, 15, 0), #15110f 92%); pointer-events: none; }
  .cp-video { object-position: 50% 20%; }
  .cover::before { background: linear-gradient(180deg, rgba(10,8,8,0) 0%, rgba(10,8,8,0) 40%, rgba(10,8,8,.35) 55%, rgba(10,8,8,0) 75%); }
}
body { background: var(--paper); }

/* Reels: five tiles after the feature, so the pink number tile fills the last row */
@media (min-width: 1100px) { .reel--text { grid-column: span 3; } .reel--text .rt-star { width: 30%; right: -4%; } }
@media (min-width: 700px) and (max-width: 1099px) { .reel--text { grid-column: 1 / -1; min-height: 220px; } .reel--text .rt-star { width: 30%; right: -4%; } }
@media (max-width: 699px) { .reel--text { grid-column: auto; min-height: 0; } .rt-num { font-size: 40px; } .rt-label { font-size: 16px; } }

/* editor's statement: left aligned, so long words never leave wide gaps */
.statement { text-align: left; text-wrap: pretty; }

/* cover title: each role stays on one line */
.cover-title .nw { white-space: nowrap; }

/* ==========================================================================
   COVER v5 — the kimono photo as a print with a white border, taped to a soft pink wall.
   Shown at or below its real size (1110 × 1415), so it stays sharp.
   ========================================================================== */
.cover.cover--print {
  color: var(--ink);
  background:
    radial-gradient(60% 55% at 50% 38%, #fbf2ef 0%, rgba(251, 242, 239, 0) 70%),
    radial-gradient(40% 40% at 88% 85%, rgba(235, 207, 207, 0.7), rgba(235, 207, 207, 0) 70%),
    #f3e3df;
  grid-template-rows: minmax(0, 1fr) auto auto;
  grid-template-areas: "left face right" "mast mast mast" "foot foot foot";
  padding-bottom: 18px;
}
.cover--print::before { content: none; }
.cover--print .masthead {
  grid-area: mast; z-index: 1; color: #8e2440; text-shadow: none;
  /* the name in Bodoni Moda italic (her choice: a slightly different, softer font) */
  font-family: "Bodoni Moda", "Bodoni 72", Didot, var(--f-mast); font-style: italic; font-weight: 500;
  font-variation-settings: "opsz" 96; text-transform: none; letter-spacing: -0.02em;
  font-size: clamp(60px, 11.5vw, 210px); line-height: 1; margin: 0;
}
.cover-print {
  grid-area: face; justify-self: center; align-self: end; position: relative; z-index: 3;
  width: min(100%, 440px, calc((100svh - var(--bar-h) - 11.5vw - 150px) * 0.8 + 24px));
  margin: 4px 0 clamp(18px, 2.2vw, 30px); padding: 12px 12px 14px; background: #fffdf9;
  rotate: -2deg;
  box-shadow: 0 1px 2px rgba(60, 30, 30, 0.12), 0 14px 28px rgba(110, 50, 60, 0.16), 0 40px 70px -20px rgba(110, 50, 60, 0.28);
}
.cover-print img { display: block; width: 100%; height: auto; aspect-ratio: 1110 / 1415; }
.cp-tape {
  position: absolute; z-index: 2; top: -16px; width: 132px; height: 36px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.28)),
    repeating-linear-gradient(90deg, rgba(214, 150, 165, 0.62) 0 8px, rgba(246, 218, 223, 0.62) 8px 16px);
  box-shadow: 0 1px 3px rgba(80, 40, 40, 0.12);
  clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 88% 0, 92% 10%, 96% 0, 100% 8%, 97% 30%, 100% 50%, 97% 70%, 100% 92%, 96% 100%, 92% 90%, 88% 100%, 12% 100%, 8% 90%, 4% 100%, 0 92%, 3% 70%, 0 50%, 3% 30%);
}
.cp-tape--l { left: -42px; rotate: -34deg; }
.cp-tape--r { right: -42px; rotate: 32deg; }

.cover--print .cover-left, .cover--print .cover-right, .cover--print .cover-foot { text-shadow: none; }
.cover--print .cover-left, .cover--print .cover-right { align-self: center; padding-bottom: 0; }
.cover--print .cl b, .cover--print .cover-title { color: var(--ink); }
.cover--print .cl span, .cover--print .cover-proof, .cover--print .avail { color: var(--ink-2); }
.cover--print .cl small { color: var(--ink-3); }
.cover--print .cover-sub { color: #8e2440; }
.cover--print .btn { border-color: var(--ink); color: var(--ink); }
.cover--print .btn:hover { background: var(--ink); color: var(--paper); }
.cover--print .btn--ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cover--print .btn--ink:hover { background: #8e2440; border-color: #8e2440; color: #fff; }
.cover--print .scroll-cue, .cover--print .folio { color: var(--ink-2); }

@media (max-width: 899px) {
  .cover.cover--print {
    grid-template-rows: auto auto auto auto;
    grid-template-areas: "face" "mast" "right" "foot";
    padding-bottom: 96px;
  }
  .cover-print { width: min(70vw, 330px); margin: 14px 0 18px; padding: 8px 8px 10px; }
  .cp-tape { width: 92px; height: 26px; top: -11px; }
  .cp-tape--l { left: -30px; }
  .cp-tape--r { right: -30px; }
  .cover--print .masthead { font-size: 17vw; margin: 0 0 12px; }
  .cover--print .cover-left { grid-area: face; position: absolute; inset: 0; z-index: 6; }
  .cover--print .cover-left .cl:nth-child(1) { left: calc(var(--gutter) - 6px); bottom: 30%; }
  .cover--print .cover-left .cl:nth-child(2) { right: calc(var(--gutter) - 6px); bottom: 52%; }
}

/* short laptop screens: keep photo, name and text on the first screen */
@media (min-width: 900px) and (max-height: 820px) {
  .cover--print .masthead { font-size: clamp(60px, 9.5vw, 190px); }
  .cover--print .cover-title { font-size: clamp(30px, 3.2vw, 52px); }
  .cover--print .cl b { font-size: clamp(40px, 4.4vw, 76px); }
  .cover--print .cover-right, .cover--print .cover-left { gap: 14px; }
  .cover-print { width: min(100%, 440px, calc((100svh - var(--bar-h) - 9.5vw - 150px) * 0.8 + 24px)); }
}

/* contacts: four notes (Telegram, email, CV, Instagram) */
.back .back-row .note:nth-child(4) { --tilt: 1.2deg; }
@media (min-width: 900px) and (max-width: 1199px) { .back-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .back-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ==========================================================================
   CONTENTS — the wide sunset photo, full width, anchored to the bottom edge
   so she stays fully in the frame (only sky is trimmed on wider screens).
   ========================================================================== */
.index-bg { top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
@media (max-width: 699px) { .index-bg { object-position: 51% 100%; } }

/* ==========================================================================
   COVER STICKERS — glossy 3D stickers (pearls, glitter-jelly stars, a bubble heart,
   an opal shell) that float around the print. Live WebGL canvas on desktop;
   pre-rendered stills inside the print everywhere else.
   ========================================================================== */
.cover--print .cover-3d { z-index: 4; opacity: 0; transition: opacity 1.2s ease; }
.cover--print .cover-3d.is-on { opacity: 1; }
@media (min-width: 900px) { .cover--print .cover-left, .cover--print .cover-right { position: relative; z-index: 5; } }
.cp-stickers { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.cp-stickers img {
  position: absolute; height: auto; max-width: none;
  translate: -50% -50%;
  filter: drop-shadow(0 6px 8px rgba(80, 40, 50, 0.18));
  animation: stk-float var(--d, 6s) ease-in-out var(--dl, 0s) infinite alternate;
}
@keyframes stk-float {
  from { transform: translate3d(0, -6px, 0) rotate(calc(var(--r, 8deg) * -1)) scale(1); }
  to   { transform: translate3d(0, 7px, 0) rotate(var(--r, 8deg)) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { .cp-stickers img { animation: none; } }

/* ==========================================================================
   NOTES — the paper and its soft shadow live on ::before; the text sits on the note.
   A `filter` on a rotated element made Chrome and Safari skip painting the text
   inside it (notes showed up as blank paper), so the note itself has no filter.
   ========================================================================== */
.note:not(.note--kraft):not(.note--patch) { filter: none; background: none; isolation: isolate; }
.note:not(.note--kraft):not(.note--patch)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--note-img) center / 100% 100% no-repeat;
  filter: drop-shadow(0 10px 14px rgba(30, 20, 10, 0.14));
}
.note--torn { --note-img: url(../assets/img/deco/note-1.webp); }
.note--pink { --note-img: url(../assets/img/deco/note-2.webp); }
.note--yellow { --note-img: url(../assets/img/deco/note-3.webp); }
.note--grey { --note-img: url(../assets/img/deco/note-4.webp); }
.note--white { --note-img: url(../assets/img/deco/note-6.webp); }

/* ==========================================================================
   FINAL POLISH (2026-11-20)
   One ornament across the site: the moon "a" of the logo. No sparkles, no pulsing
   dots, no arrows on every link; squared editorial buttons; a real table of
   contents; a precise cursor; no blend modes or backdrop blur on fixed layers,
   so scrolling stays smooth.
   ========================================================================== */

/* -- performance ---------------------------------------------------------- */
body::after { mix-blend-mode: normal; opacity: 0.16; transform: translateZ(0); }
.bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--paper) 95%, transparent); }
.bar.is-night { background: color-mix(in srgb, var(--night) 95%, transparent); }
.reel-views { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(20, 18, 24, 0.62); border-radius: 2px; }
.play-badge span { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(20, 18, 24, 0.55); }
.badge-sleeve { backdrop-filter: none; -webkit-backdrop-filter: none; }
.night-stars i { animation-name: twinkle-soft; }
@keyframes twinkle-soft { from { opacity: 0.12; } to { opacity: 0.8; } }
.ch-obj { will-change: transform; }
.runfolio { mix-blend-mode: normal; color: var(--ink-2); transition: color 0.4s; }
.runfolio.is-dark { color: rgba(255, 255, 255, 0.82); }

/* -- logo mark ------------------------------------------------------------ */
.brand { gap: 8px; }
.brand svg.brand-mark { width: 26px; height: 26px; margin: -6px -2px -2px -4px; color: #8e2440; transition: none; }
.brand:hover svg.brand-mark { transform: none; }
.bar.is-night .brand svg.brand-mark { color: var(--pink); }
.colophon .wrap { align-items: center; }
.colo-mark { width: 30px; height: 30px; color: var(--pink); flex: none; margin: -6px 0 -4px; }

/* -- buttons and language switch: squared, editorial ---------------------- */
.btn { border-radius: 0; letter-spacing: 0.1em; font-size: 13px; }
.cover-cta .btn svg { display: none; }
.lang { border: 0; border-radius: 0; overflow: visible; }
.lang button { padding: 8px 4px; opacity: 0.42; background: none !important; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.lang button + button::before { content: "/"; display: inline-block; margin-right: 8px; opacity: 0.55; }
.dock { left: 0; right: 0; bottom: 0; gap: 0; padding: 0 0 env(safe-area-inset-bottom, 0px); border-radius: 0; background: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12); }
.dock a { border-radius: 0; min-height: 54px; }

/* -- cover details --------------------------------------------------------- */
.cover-sub, .cover--print .cover-sub {
  display: block; margin: 2px 0 0;
  font: italic 500 clamp(19px, 1.55vw, 24px)/1.15 var(--f-serif); letter-spacing: 0; text-transform: none;
  color: #8e2440;
}
.avail, .cover--print .avail {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px;
  font: italic 500 16.5px/1.3 var(--f-serif); letter-spacing: 0; color: var(--ink-2);
}
.avail-k { display: inline-flex; align-items: center; gap: 10px; font: 600 10.5px/1 var(--f-sans); letter-spacing: 0.18em; text-transform: uppercase; color: #8e2440; }
.avail-k::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.55; }
.scroll-cue span.cue-line { display: inline-block; width: 1px; height: 26px; background: currentColor; opacity: 0.7; animation: cue-line 2.4s var(--ease) infinite; }
@keyframes cue-line {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* -- ribbon ------------------------------------------------------------------ */
.ribbon-track { will-change: transform; }
.ribbon-track > span { gap: 24px; padding: 15px 12px; }
.ribbon-track svg.rb-mark { width: 21px; height: 21px; color: var(--pink); margin: -4px -2px -2px; }

/* -- ornaments: the moon mark replaces every star ----------------------------- */
.statement .inline-star { width: 0.86em; height: 0.86em; color: #8e2440; vertical-align: -0.1em; margin: 0 -0.04em; }
.pull::before, .pull::after { content: none; }
.lanyard::before { content: "AKYLAI · AKYLAI · AKYLAI · AKYLAI · AKYLAI ·"; }
.rt-star { color: color-mix(in srgb, #8e2440 14%, transparent); }
.back-glyph { width: 38vw; max-width: 600px; right: -3vw; bottom: -9vw; color: rgba(246, 241, 234, 0.1); }
.deco::after { content: none; }
.deco:hover, .deco.is-glint { transform: rotate(calc(var(--r, 0deg) + 6deg)) scale(1.05); filter: drop-shadow(0 8px 12px rgba(30, 20, 10, 0.2)); }
.night .deco:hover { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5)); }

/* -- cursor: a precise berry dot, a ring over anything clickable ------------- */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor { width: 0; height: 0; margin: 0; mix-blend-mode: normal; opacity: 0; transition: opacity 0.25s; will-change: transform; }
.cursor.is-on { opacity: 1; }
.cursor i, .cursor b { position: absolute; left: 0; top: 0; border-radius: 50%; pointer-events: none; }
.cursor i { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #8e2440; box-shadow: 0 0 0 1.5px rgba(255, 253, 249, 0.92); transition: transform 0.25s var(--ease); }
.cursor b {
  width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 1px solid #8e2440;
  box-shadow: 0 0 0 1px rgba(255, 253, 249, 0.4), inset 0 0 0 1px rgba(255, 253, 249, 0.4);
  transform: scale(0.2); opacity: 0; transition: transform 0.35s var(--ease), opacity 0.25s;
}
.cursor.is-hot b { transform: scale(1); opacity: 1; }
.cursor.is-hot i { transform: scale(0.7); }
.cursor.is-down i { transform: scale(0.5); }
.cursor.is-down b { transform: scale(0.86); }

/* -- contents: a magazine table of contents around her figure ------------------ */
.index-shade {
  background:
    linear-gradient(90deg, rgba(12, 9, 14, 0.52) 0%, rgba(12, 9, 14, 0.14) 32%, rgba(12, 9, 14, 0) 50%, rgba(12, 9, 14, 0.14) 68%, rgba(12, 9, 14, 0.52) 100%),
    linear-gradient(180deg, rgba(12, 9, 14, 0.46) 0%, rgba(12, 9, 14, 0) 38%, rgba(12, 9, 14, 0) 72%, rgba(12, 9, 14, 0.42) 100%);
}
.index-inner { grid-template-rows: auto 1fr auto; gap: clamp(18px, 3.4vh, 38px); }
.index-top { align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.32); }
.index-title { margin: 0; font: 400 clamp(38px, 4.6vw, 78px)/0.9 var(--f-mast); letter-spacing: -0.02em; color: #fff; }
.index-issue { font: 500 11px/1 var(--f-sans); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.toc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(140px, 30vw, 540px); align-content: start; }
.toc-col { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 2.6vh, 28px); align-content: start; }
.ix {
  display: grid; grid-template-columns: 2.2em minmax(0, auto); column-gap: 14px; align-items: baseline; justify-content: start;
  color: #fff; text-decoration: none; text-shadow: 0 2px 22px rgba(0, 0, 0, 0.25);
}
.ix-no { font: 500 12px/1 var(--f-sans); letter-spacing: 0.06em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, 0.72); }
.ix-t { position: relative; justify-self: start; font: 400 clamp(30px, 3.2vw, 54px)/1 var(--f-mast); letter-spacing: -0.015em; }
.ix-t::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.ix:hover .ix-t::after, .ix:focus-visible .ix-t::after { transform: scaleX(1); }
.ix-d { grid-column: 2; margin-top: 7px; font: italic 500 clamp(15px, 1.15vw, 19px)/1.2 var(--f-serif); color: rgba(255, 255, 255, 0.86); }
.toc-col--r .ix { grid-template-columns: minmax(0, auto) 2.2em; justify-content: end; text-align: right; }
.toc-col--r .ix-no { grid-column: 2; grid-row: 1; text-align: right; }
.toc-col--r .ix-t { grid-column: 1; grid-row: 1; justify-self: end; }
.toc-col--r .ix-d { grid-column: 1; }
.toc-col--r .ix-t::after { transform-origin: right; }
.index-blurb, .index .index-blurb {
  margin: 0; max-width: 48ch; text-align: left;
  font: 400 clamp(12.5px, 1vw, 14.5px)/1.5 var(--f-sans); color: rgba(255, 255, 255, 0.88); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}
@media (max-width: 899px) { .toc { column-gap: 22vw; } }
@media (max-width: 699px) {
  .toc { column-gap: 16px; }
  .ix { grid-template-columns: 1.7em minmax(0, auto); column-gap: 7px; }
  .toc-col--r .ix { grid-template-columns: minmax(0, auto) 1.7em; }
  .ix-no { font-size: 11px; }
  .ix-t { font-size: 25px; }
  .ix-d { font-size: 13.5px; margin-top: 4px; }
  .index-title { font-size: 34px; }
  .index-blurb, .index .index-blurb { display: none; }
}
@media (max-width: 899px) { .deco--back { top: -14px !important; right: 4% !important; } }

/* ==========================================================================
   GLITTER from the cursor (tiny metallic flecks that tumble and fade) and the
   availability line as one quiet italic sentence.
   ========================================================================== */
.glitter { position: fixed; inset: 0; z-index: 99; pointer-events: none; overflow: hidden; contain: strict; }
.gl { position: absolute; left: 0; top: 0; border-radius: 1px; will-change: transform, opacity; }
.gl--gold { background: linear-gradient(135deg, #fff4d6 0%, #d9b066 45%, #9c7a3c 100%); box-shadow: 0 0 3px rgba(255, 226, 160, 0.7); }
.gl--rose { background: linear-gradient(135deg, #fff1f4 0%, #e7a1b8 50%, #a85a74 100%); box-shadow: 0 0 3px rgba(255, 200, 220, 0.6); }
.gl--pearl { background: linear-gradient(135deg, #ffffff 0%, #dfe5f3 50%, #b9b4cf 100%); box-shadow: 0 0 3px rgba(255, 255, 255, 0.8); }
.gl--berry { background: linear-gradient(135deg, #f6c6d3 0%, #b23a5c 55%, #6e1830 100%); }
@media (prefers-reduced-motion: reduce) { .glitter { display: none; } }

.avail, .cover--print .avail { display: block; font: italic 500 17px/1.35 var(--f-serif); letter-spacing: 0; color: var(--ink-2); }

/* ==========================================================================
   PHONES AND TABLETS — touch-specific wording, room for the contact bar,
   and looping animations paused while off screen.
   ========================================================================== */
.on-touch { display: none; }
@media (max-width: 899px), (hover: none) {
  .on-desk { display: none; }
  .on-touch { display: inline; }
}
.cp-stickers.is-paused img, .night-stars.is-paused i { animation-play-state: paused; }
@media (max-width: 899px) {
  .colophon { padding-bottom: calc(26px + 54px + env(safe-area-inset-bottom, 0px)); }
  .journal-hint { font-size: 21px; }
}

/* still life on phones: reversed chapters must not keep their desktop column numbers
   (they created implicit columns and squeezed the note to one word per line) */
@media (max-width: 899px) {
  .chapter--rev .ph--a { grid-column: 1 / -1; order: 1; }
  .chapter--rev .ph--b { grid-column: 1 / span 4; order: 2; }
  .chapter--rev .ph--c { grid-column: 3 / span 4; order: 3; }
  .ch-note { max-width: none; }
}

/* ==========================================================================
   PHONES: the binder as a stack of index cards (sticky), readable text sheets.
   (Desktop keeps the 3D binder: .is-3d.)
   ========================================================================== */
@media (max-width: 899px), (hover: none) {
  .binder-book:not(.is-3d) { gap: 22px; }
  .binder-book:not(.is-3d) .b-face {
    position: sticky; top: calc(var(--bar-h) + 12px + var(--i, 0) * 7px);
    height: clamp(400px, 60svh, 460px); min-height: 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 -6px 24px rgba(30, 20, 10, 0.1), 0 14px 30px rgba(30, 20, 10, 0.12);
    will-change: transform, opacity;
  }
  .binder-book:not(.is-3d) .b-img { aspect-ratio: auto; }
  .binder-book:not(.is-3d) .b-img img { filter: none; }
  .binder-book:not(.is-3d) .b-txt {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto auto; gap: 10px;
    padding: 52px 20px 16px; font: 400 14.5px/1.5 var(--f-sans); letter-spacing: 0; text-transform: none;
  }
  .binder-book:not(.is-3d) .b-no { grid-row: 1; font-size: 12px; letter-spacing: 0.08em; color: var(--ink-3); }
  .binder-book:not(.is-3d) .b-title { grid-column: 1; grid-row: 2; text-align: left; font: 400 27px/1 var(--f-mast); letter-spacing: -0.01em; text-transform: none; }
  .binder-book:not(.is-3d) .b-list { grid-column: 1; grid-row: 3; align-self: start; }
  .binder-book:not(.is-3d) .b-list li { padding: 5px 0; border-bottom: 1px solid var(--rule); }
  .binder-book:not(.is-3d) .b-eq { grid-column: 1; grid-row: 4; text-align: left; font: italic 500 18px/1.3 var(--f-serif); color: var(--ink-2); }
  .binder-book:not(.is-3d) .b-eq br { display: none; }
  .binder-book:not(.is-3d) .b-ref { grid-row: 5; font-size: 14px; }
  .binder-book:not(.is-3d) .b-summary .b-sum { grid-row: 2 / span 3; align-self: center; font-size: 25px; }
  .binder-book:not(.is-3d) .b-cover { min-height: 0; }
}

/* ==========================================================================
   HERO FILM — intro overlay (once per visit) and the living print
   ========================================================================== */
.cp-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #d8d3ce; }
.cp-photo img, .cp-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: auto; }
.cp-video { opacity: 0; transition: opacity 0.6s ease; }
.cp-video.is-on { opacity: 1; }
.cp-stickers { transition: opacity 0.8s ease 0.4s; }
html.has-intro .cp-stickers { opacity: 0; }

.intro { display: none; }
html.has-intro { overflow: hidden; }
html.has-intro .intro { display: block; position: fixed; inset: 0; z-index: 95; }
.intro-bg { position: absolute; inset: 0; background: #0d0b0c; }
.intro-frame { position: fixed; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background: #0d0b0c; transform-origin: 50% 50%; will-change: transform; }
.intro-video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.intro.is-mob .intro-video { object-position: 50% 50%; }
.intro-grain {
  position: absolute; inset: -40%; pointer-events: none; opacity: 0.2;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  animation: intro-grain 0.5s steps(5) infinite;
}
@keyframes intro-grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -4%); }
  60% { transform: translate(-3%, -6%); } 80% { transform: translate(6%, 4%); } 100% { transform: translate(0, 0); }
}
.intro-name {
  position: absolute; left: 0; right: 0; bottom: 8vh; margin: 0; text-align: center; pointer-events: none; opacity: 0;
  font: italic 500 clamp(76px, 15vw, 250px)/1 "Bodoni Moda", "Bodoni 72", Didot, serif; font-variation-settings: "opsz" 96;
  letter-spacing: -0.02em; color: #fff; text-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}
.intro-name.is-on { opacity: 1; }
.intro-name span { display: inline-block; }
.intro.is-mob .intro-name { bottom: 13vh; font-size: 21vw; }
.intro-skip {
  position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px));
  padding: 10px 4px; font: italic 500 17px/1 var(--f-serif); color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35); transition: color 0.3s;
}
.intro-skip:hover, .intro-skip:focus-visible { color: #fff; }
@media (prefers-reduced-motion: reduce) { .intro-grain { animation: none; } }

/* the print gets a caption strip, like a real print: "Watch the film · 0:04" replays the intro */
html { scrollbar-gutter: stable; }
.cover-print { padding-bottom: 40px; }
.cp-photo { cursor: pointer; }
.cp-play {
  position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  font: italic 500 16px/1.1 var(--f-serif); color: var(--ink-2); text-align: left;
}
.cp-play > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.cp-play > span:first-child::before {
  content: ""; width: 0; height: 0; border-style: solid; border-width: 4.5px 0 4.5px 7px;
  border-color: transparent transparent transparent #8e2440; transform: translateY(1px);
}
.cp-play:hover > span:first-child, .cp-play:focus-visible > span:first-child { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cp-dur { font: 500 11px/1 var(--f-sans); letter-spacing: 0.06em; color: var(--ink-3); font-style: normal; }
@media (max-width: 899px) {
  .cover-print { padding-bottom: 32px; }
  .cp-play { left: 8px; right: 8px; bottom: 7px; font-size: 14px; }
}
