/* Adith Sagar: every section is a room with its own colour. */
:root {
  --ink: #121a2f;
  --paper: #e7e8e2;
  --marigold: #f2a20c;
  --moss: #0d1f16;
  --plum: #2a1838;
  --plum-2: #463257;
  --muted-on-dark: rgba(231, 232, 226, .68);
  --muted-on-light: rgba(18, 26, 47, .7);
  --sans: "Anek Malayalam", "Noto Sans Malayalam", "Segoe UI", system-ui, sans-serif;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --hand: "Kalam", "Segoe Print", "Bradley Hand", cursive;
  --pad: clamp(18px, 4vw, 56px);
  --room-y: clamp(80px, 11vw, 160px);
  --tabs-h: 60px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--paper); color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 12px; }

/* ---------- tabs ---------- */
.tabs {
  position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; gap: 18px;
  min-height: var(--tabs-h); padding: 8px var(--pad); color: var(--paper);
  background: linear-gradient(rgba(8, 10, 22, .6), rgba(8, 10, 22, 0)); transition: background-color .35s ease;
}
.tabs.is-solid { background: rgba(18, 26, 47, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tabs__name { font-weight: 700; font-stretch: 80%; font-size: 22px; text-decoration: none; margin-right: auto; white-space: nowrap; }
.tabs__nav { display: flex; gap: 2px; }
.tabs__nav a { text-decoration: none; font-size: 16px; padding: 7px 13px; border-radius: 999px; color: rgba(231,232,226,.78); white-space: nowrap; }
.tabs__nav a:hover { color: var(--paper); background: rgba(231,232,226,.1); }
.tabs__nav a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.tabs__sound { appearance: none; border: 0; background: var(--marigold); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 15px; cursor: pointer; white-space: nowrap; }
@media (max-width: 820px) {
  :root { --tabs-h: 96px; }
  .tabs { flex-wrap: wrap; row-gap: 4px; }
  .tabs__nav { order: 3; width: calc(100% + 2 * var(--pad)); margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 2px; overflow-x: auto; scrollbar-width: none; }
  .tabs__nav::-webkit-scrollbar { display: none; }
}

.view { display: none; }
.view.is-active { display: block; }

/* ---------- shared ---------- */
.room { padding: var(--room-y) var(--pad); position: relative; }
.room--ink { background: var(--ink); color: var(--paper); }
.room--paper { background: var(--paper); color: var(--ink); }
.room--black { background: #000; color: var(--paper); }
.room--moss { background: var(--moss); color: var(--paper); }
.room__head { max-width: 1400px; margin-bottom: clamp(32px, 5vw, 64px); }
.room__title { margin: 0; font-family: var(--sans); font-weight: 700; font-stretch: 75%; font-size: clamp(60px, 10.5vw, 172px); line-height: .86; letter-spacing: -.012em; }
.room__lede { font-family: var(--serif); font-weight: 300; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; max-width: 38em; margin: 22px 0 0; }
.room--black .room__lede, .room--moss .room__lede { color: var(--muted-on-dark); }
.room--paper .room__lede { color: var(--muted-on-light); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; background: #000; color: var(--paper); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 2s ease; }
.hero__slide.is-on { opacity: 1; }
.hero__slide img, .peek img { width: 100%; height: 100%; object-fit: cover; }
.peek { position: absolute; z-index: 2; overflow: hidden; background: #000; will-change: clip-path; }
.peek--left   { left: 0; top: 0; bottom: 0; width: 46vw;  clip-path: inset(0 100% 0 0); }
.peek--right  { right: 0; top: 0; bottom: 0; width: 46vw; clip-path: inset(0 0 0 100%); }
.peek--top    { top: 0; left: 0; right: 0; height: 54%;   clip-path: inset(0 0 100% 0); }
.peek--bottom { bottom: 0; left: 0; right: 0; height: 54%; clip-path: inset(100% 0 0 0); }
.hero.is-peeking { cursor: pointer; }
.hero__scrim { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,0) 42%), linear-gradient(to bottom, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 24%);
  box-shadow: inset 0 0 180px rgba(0,0,0,.4); }
.hero__id { position: absolute; z-index: 4; left: var(--pad); bottom: var(--pad); max-width: min(38vw, 600px); }
.hero__name { margin: 0; font-weight: 700; font-stretch: 75%; line-height: .84; letter-spacing: -.012em; font-size: clamp(56px, 7.4vw, 124px); }
.hero__tag { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.4; color: rgba(231,232,226,.92); }
.hero__edges { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.edge {
  --w: 75; --wt: 520; position: absolute; pointer-events: auto; appearance: none; background: none; border: 0; cursor: pointer;
  color: var(--paper); font-size: clamp(24px, 2.5vw, 40px); line-height: 1; padding: 10px;
  font-variation-settings: "wdth" var(--w), "wght" var(--wt); text-shadow: 0 1px 22px rgba(0,0,0,.5); transition: color .3s ease;
}
.edge.is-near { color: var(--marigold); }
.edge--left   { left: calc(var(--pad) - 10px); top: 50%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); }
.edge--right  { right: calc(var(--pad) - 10px); top: 50%; writing-mode: vertical-rl; transform: translateY(-50%); }
.edge--top    { top: calc(var(--tabs-h) + 12px); left: 50%; transform: translateX(-50%); }
.edge--bottom { bottom: calc(var(--pad) - 10px); left: 50%; transform: translateX(-50%); }
.hero__hint { position: absolute; z-index: 4; right: var(--pad); bottom: var(--pad); margin: 0; font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(231,232,226,.78); max-width: 16em; text-align: right; }
@media (hover: none), (pointer: coarse), (max-width: 760px) { .hero__hint, .peek { display: none; } }
@media (max-width: 760px) {
  .hero__id { left: var(--pad); right: var(--pad); bottom: 96px; max-width: none; }
  .hero__edges { inset: auto 0 0 0; display: flex; justify-content: space-between; gap: 6px; padding: 0 var(--pad) 28px; pointer-events: auto; }
  .edge, .edge--left, .edge--right, .edge--top, .edge--bottom { position: static; transform: none; writing-mode: horizontal-tb; font-size: 21px; padding: 8px 0; border-bottom: 1px solid rgba(231,232,226,.45); }
}

/* ---------- through my eyes ---------- */
.eyes { overflow-x: clip; position: relative; color: var(--eink, #2a1430); transition: color .9s ease; }
.eyes__bg { position: sticky; top: 0; height: 100vh; height: 100lvh; margin-bottom: -100vh; margin-bottom: -100lvh; background: var(--ebg, #edc7da); transition: background-color 1.1s ease; z-index: 0; }
.eyes__in { position: relative; z-index: 1; }
.eyes__head { padding: var(--room-y) var(--pad) 0; max-width: 1400px; }
.eyes__lede { font-family: var(--serif); font-weight: 300; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.6; max-width: 36em; margin: 22px 0 0; opacity: .82; }
.chapter { padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 120px); }
.chapter__head { padding: 0 var(--pad); margin-bottom: clamp(48px, 7vw, 96px); }
.chapter__title { margin: 0; font-variation-settings: "wdth" 125, "wght" 800; font-size: clamp(42px, 6.2vw, 104px); line-height: .92; letter-spacing: -.015em; }
.chapter__line { display: inline-block; margin: 14px 0 0; font-family: var(--hand); font-size: clamp(20px, 1.9vw, 30px); transform: rotate(-1.5deg); opacity: .9; }

/* polaroids */
.pwall { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 0 clamp(26px, 5vw, 96px); align-items: start; padding: 0 var(--pad); }
.pcol { position: relative; display: flex; flex-direction: column; }
.pcol:nth-child(2) { padding-top: clamp(60px, 9vw, 150px); }
.pcol:nth-child(3) { padding-top: clamp(20px, 3vw, 50px); }
.pw { margin: 0 0 var(--mb, 80px); position: relative; will-change: transform; }
.pw.is-top { z-index: 20; }
.pw:hover { z-index: 10; }
.pol {
  --r: var(--r0, 0deg); --ey: -60px; --er: 9deg; --s: 1.1; --dx: 0px; --dy: 0px;
  position: relative; display: block; width: var(--pw, 100%); margin-left: var(--ml, 0%); appearance: none; border: 0; cursor: pointer;
  background: #fbfaf5; padding: clamp(9px, 1.1vw, 16px) clamp(9px, 1.1vw, 16px) 0; text-align: center; user-select: none; -webkit-user-select: none;
  box-shadow: 0 18px 36px rgba(30, 10, 25, .22), 0 2px 5px rgba(30, 10, 25, .14);
  transform: translate(var(--dx), calc(var(--dy) + var(--ey))) rotate(calc(var(--r) + var(--er))) scale(var(--s));
  opacity: 0; transition: transform .8s cubic-bezier(.2, .9, .25, 1.2), opacity .5s ease, box-shadow .4s ease;
}
.pol.is-in { --ey: 0px; --er: 0deg; --s: 1; opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .pol.is-in:hover { --r: 0deg; --s: 1.045; box-shadow: 0 34px 60px rgba(30, 10, 25, .3), 0 4px 10px rgba(30, 10, 25, .16); }
}
.pol.is-drag { transition: none; cursor: grabbing; --s: 1.06; box-shadow: 0 40px 70px rgba(30, 10, 25, .34); }
.pol__img { display: block; background: var(--c, #ccc); }
.pol__img img { width: 100%; height: auto; pointer-events: none; }
.pol__cap { display: block; font-family: var(--hand); font-size: clamp(16px, 1.55vw, 25px); line-height: 1.15; color: #2b2230; padding: .7em .3em .85em; }
.pol.has-tape::before { content: ""; position: absolute; top: -13px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%) rotate(-4deg); background: rgba(255, 255, 255, .55); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* stacked cards */
.stack { padding: 0 var(--pad) 6vh; }
.card { position: sticky; top: calc(var(--tabs-h) + 18px + var(--i) * 14px); height: min(76vh, 740px); margin-bottom: 9vh; }
.card:last-child { margin-bottom: 0; }
.card__in { position: relative; height: 100%; display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 28px; overflow: hidden; background: var(--panel); box-shadow: 0 30px 60px rgba(0,0,0,.28); transform-origin: 50% 0; }
.card__in::after { content: ""; position: absolute; inset: 0; background: #000; opacity: var(--dim, 0); pointer-events: none; }
.card__img { appearance: none; border: 0; padding: 0; margin: 0; background: #000; cursor: zoom-in; overflow: hidden; min-height: 0; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__panel { background: var(--panel); color: #23130f; padding: clamp(26px, 4vw, 64px); display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; }
.card__note { font-family: var(--hand); font-size: clamp(18px, 1.5vw, 24px); margin: 0 0 auto; transform: rotate(-2deg); transform-origin: left; opacity: .75; }
.card__title { margin: 0; font-variation-settings: "wdth" 125, "wght" 800; font-size: clamp(34px, 4.4vw, 80px); line-height: .95; letter-spacing: -.015em; }
.card__line { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; max-width: 24em; }
@media (max-width: 820px) {
  .card { height: 74vh; height: 74svh; }
  .card__in { grid-template-columns: 1fr; grid-template-rows: 58% 42%; border-radius: 22px; }
  .card__panel { justify-content: flex-start; }
  .card__note { margin-bottom: 10px; }
}

/* ---------- imagined ---------- */
.im__title { margin-bottom: clamp(28px, 4vw, 56px); }
.im__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 48px); align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.im__lead { grid-column: 1 / span 8; margin-left: calc(-1 * var(--pad)); appearance: none; border: 0; padding: 0; background: #000; cursor: zoom-in; }
.im__lead img { width: 100%; height: auto; }
.im__lede { grid-column: 9 / span 4; margin: 0; }
.strip { display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 18px; scrollbar-width: thin; scrollbar-color: rgba(18,26,47,.35) transparent; }
.strip figure { margin: 0; flex: none; }
.strip button { appearance: none; border: 0; padding: 0; background: var(--c); cursor: zoom-in; display: block; }
.strip img { height: clamp(240px, 40vh, 440px); width: auto; }
.strip figcaption { margin-top: 10px; font-family: var(--hand); font-size: 19px; color: var(--muted-on-light); }
@media (max-width: 900px) { .im__lead { grid-column: 1 / -1; margin-right: calc(-1 * var(--pad)); } .im__lede { grid-column: 1 / -1; } }

/* ---------- a smaller world ---------- */
.small .stack { padding: 0 0 4vh; }
.small__quote { margin: 26px 0 0; max-width: 30em; font-family: var(--hand); font-size: clamp(22px, 2.1vw, 32px); line-height: 1.4; color: rgba(231,232,226,.88); transform: rotate(-1deg); }

/* ---------- stories ---------- */
.story { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 56px); align-items: center; margin-bottom: clamp(80px, 12vw, 160px); }
.story__img { grid-column: 1 / span 7; appearance: none; border: 0; padding: 0; background: var(--c); cursor: zoom-in; }
.story__img img { width: 100%; height: auto; }
.story__text { grid-column: 8 / span 5; }
.story--flip .story__img { grid-column: 6 / span 7; order: 2; }
.story--flip .story__text { grid-column: 1 / span 5; order: 1; }
.story__title { margin: 0; font-weight: 650; font-stretch: 85%; font-size: clamp(34px, 3.6vw, 56px); line-height: .95; }
.story__place { margin: 10px 0 0; font-family: var(--hand); font-size: 20px; color: var(--muted-on-light); }
.story__ml { margin: 24px 0 0; font-family: var(--sans); font-stretch: 100%; font-weight: 400; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.75; }
.story__en p { margin: 18px 0 0; font-family: var(--serif); font-weight: 300; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.65; max-width: 34em; }
.story__ml + .story__en p:first-child { color: var(--muted-on-light); }
@media (max-width: 900px) {
  .story__img, .story--flip .story__img { grid-column: 1 / -1; order: 0; }
  .story__text, .story--flip .story__text { grid-column: 1 / -1; order: 1; }
}

/* scroll-driven tales */
.tale { position: relative; height: var(--h, 440vh); margin: 0 calc(-1 * var(--pad)) clamp(80px, 12vw, 160px); background: var(--tbg, #0b0806); color: var(--paper); }
.tale__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: calc(var(--tabs-h) + 16px) var(--pad) 24px; }
.tale__title { position: absolute; left: var(--pad); top: calc(var(--tabs-h) + 18px); margin: 0; font-family: var(--hand); font-weight: 400; font-size: clamp(20px, 1.8vw, 28px); color: rgba(231,232,226,.7); }
.tale__frame { position: relative; flex: none; width: min(92vw, 1100px, calc((100svh - var(--tabs-h) - 250px) * var(--ar))); aspect-ratio: var(--ar); overflow: hidden; background: #000; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.tale__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 0 0; will-change: transform; }
.tale__shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.tale__beats { position: relative; flex: none; width: min(92vw, 860px); height: 140px; text-align: center; }
.beat { position: absolute; inset: 0; margin: 0; opacity: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.beat__ml { font-family: var(--sans); font-stretch: 100%; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.5; }
.beat__en { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.5; color: rgba(231,232,226,.8); }
.tale__hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); margin: 0; font-family: var(--hand); font-size: 16px; color: rgba(231,232,226,.5); }
.tale--static { height: auto; }
.tale--static .tale__pin { position: static; height: auto; padding-top: 80px; }
.tale--static .tale__title { position: static; }
.tale--static .tale__beats { height: auto; }
.tale--static .beat { position: static; opacity: 1; margin-bottom: 16px; }
.tale--static .tale__hint { display: none; }

/* ---------- in the dark ---------- */
.dark { padding-left: 0; padding-right: 0; }
.dark__intro { padding: 0 var(--pad); max-width: 1100px; }
.frame { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; align-content: center; gap: 22px; padding: 6vh var(--pad); margin: 0; }
.frame img { max-height: 74vh; max-height: 74svh; width: auto; max-width: min(92vw, 1100px); opacity: 0; transition: opacity 1.8s ease; cursor: zoom-in; }
.frame figcaption { text-align: center; max-width: 34em; }
.frame__word { display: block; font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(231,232,226,.55); opacity: 0; transition: opacity 1.4s ease .9s; }
.frame__line { display: block; margin-top: 8px; font-family: var(--serif); font-weight: 300; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: rgba(231,232,226,.84); opacity: 0; transition: opacity 1.4s ease 1.3s; }
.frame.is-in img, .frame.is-in .frame__word, .frame.is-in .frame__line { opacity: 1; }

/* ---------- footer of the frames tab ---------- */
.foot { padding-bottom: clamp(100px, 10vw, 140px); }
.foot__big { margin: 0; font-weight: 700; font-stretch: 75%; font-size: clamp(44px, 7vw, 112px); line-height: .9; }
.foot__line { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(20px, 2vw, 30px); color: var(--muted-on-dark); }
.site-foot { background: var(--ink); color: rgba(231,232,226,.5); padding: 22px var(--pad) 90px; font-size: 14px; border-top: 1px solid rgba(231,232,226,.1); }
.site-foot p { margin: 0; }

/* ---------- listen ---------- */
.listen { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #000; color: var(--paper); }
.listen__bg, .listen__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.listen__bg img { object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.listen__bg img.is-on { opacity: 1; }
.listen__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.2) 55%, rgba(0,0,0,.25)); }
.listen__panel { position: relative; z-index: 2; padding: calc(var(--tabs-h) + 60px) var(--pad) var(--pad); max-width: 820px; }
.listen__lede { font-family: var(--serif); font-weight: 300; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.6; max-width: 32em; margin: 18px 0 28px; color: rgba(231,232,226,.86); }
.listen__places { display: flex; gap: 22px; margin-bottom: 22px; }
.listen__places button { appearance: none; background: none; border: 0; padding: 0 0 4px; cursor: pointer; font-size: clamp(28px, 3vw, 44px); font-weight: 600; font-stretch: 80%; color: rgba(231,232,226,.55); border-bottom: 2px solid transparent; }
.listen__places button[aria-pressed="true"] { color: var(--paper); border-bottom-color: var(--marigold); }
.listen__places button:hover { color: var(--paper); }
.listen__sounds { display: flex; flex-wrap: wrap; gap: 10px; }
.snd { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(231,232,226,.4); background: rgba(0,0,0,.25); color: var(--paper); border-radius: 999px; padding: 10px 18px 10px 14px; font-size: 16px; }
.snd::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; }
.snd[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.snd[aria-pressed="true"]::before { background: var(--marigold); border-color: var(--marigold); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.5); } }
.listen__photo { margin: 22px 0 0; font-family: var(--hand); font-size: 17px; color: rgba(231,232,226,.6); }

/* ---------- coming soon ---------- */
.soon { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: calc(var(--tabs-h) + 60px) var(--pad) 80px; }
.soon--blog { background: var(--marigold); color: var(--ink); }
.soon--movies { background: var(--plum); color: var(--paper); }
.soon--books { background: #edc7da; color: #2a1430; }
.soon__title { margin: 0; font-variation-settings: "wdth" 125, "wght" 800; font-size: clamp(80px, 17vw, 280px); line-height: .85; letter-spacing: -.02em; }
.soon__line { margin: 26px 0 0; font-family: var(--serif); font-weight: 300; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.5; max-width: 26em; }
.soon__tag { margin: 34px 0 0; font-family: var(--hand); font-size: clamp(24px, 2.4vw, 34px); background: #fbfaf5; color: #2b2230; padding: 6px 22px 4px; transform: rotate(-3deg); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.soon__back { margin-top: 48px; font-size: 17px; text-underline-offset: 5px; }

/* ---------- about me ---------- */
.about { background: var(--paper); color: var(--ink); }
.about__hero { position: relative; height: 72vh; height: 72svh; min-height: 420px; overflow: hidden; background: #000; }
.about__hero img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 40%; }
.about__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(0,0,0,.5), rgba(0,0,0,0) 55%), linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0) 30%); }
.about__title { position: absolute; z-index: 2; right: var(--pad); bottom: clamp(28px, 5vw, 64px); margin: 0; color: var(--paper); font-weight: 700; font-stretch: 75%; font-size: clamp(52px, 7vw, 120px); line-height: .88; letter-spacing: -.012em; max-width: 7.2em; text-align: right; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.about__hero { height: 86vh; height: 86svh; }
@media (max-width: 760px) {
  .about__hero { height: auto; min-height: 0; overflow: visible; background: var(--paper); }
  .about__hero img { height: 62svh; object-position: 32% 40%; }
  .about__hero::after { display: none; }
  .about__title { position: static; color: var(--ink); text-align: left; max-width: none; text-shadow: none; padding: 36px var(--pad) 0; font-size: clamp(48px, 13vw, 72px); }
  .essay { padding-top: 28px; }
}
.essay { max-width: 40em; margin: 0 auto; padding: clamp(60px, 8vw, 120px) var(--pad) clamp(80px, 10vw, 140px); font-family: var(--serif); font-weight: 300; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.75; }
.essay p { margin: 0 0 1.1em; }
.essay__quote { margin: 1.6em 0; padding: 0; font-family: var(--hand); font-size: clamp(28px, 3vw, 42px); line-height: 1.3; color: #7a2b10; transform: rotate(-1deg); }
.essay__ig { font-size: 17px; color: var(--muted-on-light); }
.essay__ig a { color: #7a2b10; text-underline-offset: 4px; }

/* ---------- floating chapter bar ---------- */
.pill { position: fixed; left: 50%; bottom: 20px; z-index: 55; display: flex; gap: 6px; padding: 7px; border-radius: 999px; background: var(--plum); box-shadow: 0 14px 34px rgba(20, 8, 30, .38); transform: translate(-50%, 160%); transition: transform .45s cubic-bezier(.2, .9, .3, 1); max-width: calc(100vw - 20px); }
.pill.is-shown { transform: translate(-50%, 0); }
.pill button { appearance: none; border: 0; border-radius: 999px; padding: 12px 20px; font-size: 17px; font-weight: 600; font-stretch: 92%; color: #fff4ea; background: transparent; cursor: pointer; white-space: nowrap; line-height: 1.1; }
.pill .pill__alt { background: var(--plum-2); }
.pill button:hover { background: #5b4473; }
.pill__chapter { display: inline-flex; align-items: center; max-width: 46vw; }
.pill__chapter span:last-child { overflow: hidden; text-overflow: ellipsis; }
.pill__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, #a3286c); margin-right: 10px; transition: background-color .5s ease; }
.pill__menu { position: fixed; left: 50%; bottom: 86px; transform: translateX(-50%); z-index: 56; display: grid; min-width: 250px; padding: 8px; border-radius: 22px; background: var(--plum); box-shadow: 0 20px 44px rgba(20, 8, 30, .45); }
.pill__menu button { appearance: none; border: 0; background: transparent; color: #fff4ea; text-align: left; padding: 10px 14px; border-radius: 14px; font-size: 17px; cursor: pointer; display: flex; align-items: center; }
.pill__menu button:hover, .pill__menu button[aria-current="true"] { background: var(--plum-2); }
@media (max-width: 560px) {
  .pill { bottom: 12px; gap: 4px; padding: 5px; }
  .pill button { padding: 10px 12px; font-size: 15px; }
}

/* ---------- lightbox + slideshow ---------- */
.lb, .show { --c: #111; position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: var(--paper); }
.lb { background: color-mix(in srgb, var(--c) 22%, #050505); transition: background .5s ease; }
.lb::backdrop, .show::backdrop { background: rgba(0,0,0,.6); }
.lb[open] { display: grid; place-items: center; }
.lb__fig { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 64px 88px 28px; max-width: 100%; }
.lb__img { max-width: min(100%, 1200px); max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); width: auto; height: auto; object-fit: contain; }
.lb__cap { text-align: center; }
.lb__title { display: block; font-family: var(--hand); font-size: 28px; line-height: 1.1; }
.lb__meta { display: block; margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted-on-dark); }
.lb__btn { position: absolute; appearance: none; border: 1px solid rgba(231,232,226,.3); background: rgba(0,0,0,.35); color: var(--paper); border-radius: 999px; padding: 9px 16px; font-size: 15px; cursor: pointer; }
.lb__btn:hover { border-color: var(--paper); }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.show { background: color-mix(in srgb, var(--c) 30%, #07050a); transition: background 1.2s ease; overflow: hidden; }
.show__img { position: absolute; inset: 56px 4vw 92px; width: calc(100% - 8vw); height: calc(100% - 148px); object-fit: contain; opacity: 0; transition: opacity 1.2s ease; }
.show__img.is-on { opacity: 1; animation: drift 6s ease-out forwards; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.05); } }
.show__cap { position: absolute; left: 0; right: 0; bottom: 44px; margin: 0; text-align: center; font-family: var(--hand); font-size: 26px; }
.show__ctl { position: absolute; top: 14px; right: 14px; display: flex; gap: 8px; }
.show__ctl .lb__btn { position: static; }
@media (max-width: 760px) {
  .lb__fig { padding: 60px 12px 80px; }
  .lb__prev, .lb__next { top: auto; bottom: 18px; transform: none; }
  .show__ctl { left: 10px; right: 10px; justify-content: center; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}

.imagined, .stories, .small { overflow-x: clip; }
