/* ==========================================================================
   Studio Vee Bee — design system
   Layout concept: a photographer's contact sheet. Ivory "paper" spreads with
   full-bleed photographs, framed by a night-black masthead and colophon.
   The logo's yellow is used like a grease pencil marking the selects:
   primary actions, the active choice, one italic phrase. Nowhere else.
   ========================================================================== */
:root {
  /* Colour */
  --paper: #f6f3ee;        /* ivory page */
  --paper-2: #eee9e1;      /* sunken ivory */
  --card: #fffdf9;         /* raised surface */
  --ink: #0f0e0c;          /* text + dark UI */
  --ink-2: #3b3833;
  --muted: #6d675d;
  --line: #ddd6ca;
  --lumen: #ffe21a;        /* logo yellow */
  --lumen-2: #f2d400;
  --night: #0b0b0a;        /* masthead, archive, colophon */
  --night-2: #181715;
  --night-line: #2c2a25;
  --on-night: #f1ece2;
  --on-night-muted: #9f998d;
  --danger: #a3261b;
  color-scheme: light;

  /* Type */
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --t-xs: 0.75rem; --t-sm: 0.875rem; --t-md: 1rem; --t-lg: 1.1875rem;
  --t-h3: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem);
  --t-h2: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem);
  --t-h1: clamp(2.8rem, 1.6rem + 5.4vw, 6.6rem);

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --nav-h: 72px;
  --r: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 64px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--t-md)/1.6 var(--sans); letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 5px var(--lumen); }
.night :focus-visible, .nav :focus-visible, .foot :focus-visible, .lightbox :focus-visible, .menu :focus-visible { outline-color: var(--lumen); box-shadow: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lumen); color: var(--ink); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Type roles ---------- */
.eyebrow {
  margin: 0 0 14px; font: 500 var(--t-xs)/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
h1, h2, h3 { text-wrap: balance; }
.shead { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.shead > * { grid-column: 1; }
.shead__title { margin: 0; font: 400 var(--t-h2)/1.02 var(--display); letter-spacing: -0.02em; }
.shead__lede { margin: 16px 0 0; max-width: 52ch; color: var(--muted); font-size: var(--t-lg); line-height: 1.55; }
.shead__action { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
.prose p { max-width: 62ch; margin: 0 0 1.1em; font-size: var(--t-lg); line-height: 1.7; color: var(--ink-2); }
.note { font: 400 var(--t-sm)/1.5 var(--mono) !important; color: var(--muted) !important; }

/* ---------- Buttons & tags ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--bh); padding: 0 24px; border: 1px solid transparent; border-radius: var(--r);
  font: 500 0.9375rem/1 var(--sans); letter-spacing: 0.04em; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--lumen { background: var(--lumen); color: var(--ink); }
.btn--lumen:hover { background: var(--lumen-2); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.night .btn--line { border-color: var(--on-night); color: var(--on-night); }
.btn--sm { --bh: 42px; padding: 0 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }
.linkish { background: none; border: 0; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; color: var(--ink-2); }

.tag {
  display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--card);
  font: 400 var(--t-sm)/1 var(--sans); color: var(--ink-2); transition: border-color .2s, background-color .2s, color .2s;
}
.tag:hover { border-color: var(--ink); color: var(--ink); }
.tag.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tag.is-active::before { content: ""; width: 7px; height: 7px; background: var(--lumen); }
.tag--static { min-height: 30px; padding: 0 10px; background: transparent; }
.taglist { display: inline-flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Photographs ---------- */
.photo { position: relative; margin: 0; overflow: hidden; background: var(--ph, #2a2622); max-width: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.photo img.is-in, .photo img:not([data-ph]) { opacity: 1; }
.slot {
  position: absolute; left: 8px; top: 8px; z-index: 2; display: none; max-width: calc(100% - 16px);
  padding: 3px 7px; background: rgba(10, 10, 9, 0.62); color: #f1ece2; border-radius: 1px;
  font: 400 10px/1.3 var(--mono); letter-spacing: 0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
}
.slot b { font-weight: 500; color: var(--lumen); }
.show-slots .slot { display: block; }
.hero__media .slot, .closing__media .slot, .phead__cover .slot, .xhead__media .slot { top: auto; bottom: 8px; }

/* ---------- Prototype bar ---------- */
.protobar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 8px var(--gutter); background: var(--night-2); color: var(--on-night-muted);
  font: 400 12px/1.4 var(--mono); border-bottom: 1px solid var(--night-line);
}
.protobar p { margin: 0; min-width: 0; }
.protobar b { color: var(--night); background: var(--lumen); padding: 1px 6px; margin-right: 8px; font-weight: 500; }
.protobar__toggle { background: none; border: 1px solid var(--night-line); color: var(--on-night); padding: 4px 10px; font: inherit; border-radius: var(--r); }
.protobar__toggle:hover { border-color: var(--on-night-muted); }

/* ---------- Navigation ---------- */
#navslot { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; height: var(--nav-h); }
.nav { height: var(--nav-h); color: var(--on-night); transition: background-color .35s var(--ease), border-color .35s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: var(--night); border-bottom-color: var(--night-line); }
.nav.is-over { background: linear-gradient(to bottom, rgba(8, 8, 7, 0.55), rgba(8, 8, 7, 0)); }
.nav__inner { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 32px; }
.nav__brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.nav__brand img { width: 64px; height: auto; }
.nav__word { font: 400 var(--t-xs)/1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; color: var(--on-night); }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { position: relative; font: 400 0.9375rem/1 var(--sans); letter-spacing: 0.03em; text-decoration: none; color: var(--on-night); padding: 10px 0; opacity: 0.85; }
.nav__links a:hover, .nav__links a[aria-current] { opacity: 1; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--lumen); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }
.nav__end { display: flex; align-items: center; gap: 12px; }
.nav__search, .nav__burger { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; color: var(--on-night); border-radius: var(--r); }
.nav__search:hover, .nav__burger:hover { background: rgba(255, 255, 255, 0.08); }
.nav__search .icon, .nav__burger .icon { width: 22px; height: 22px; }
.nav__burger { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--on-night);
  display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px);
  animation: fade .3s var(--ease);
}
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.menu__close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--on-night); }
.menu__close .icon { width: 24px; height: 24px; }
.menu__links { display: flex; flex-direction: column; margin-top: 8vh; }
.menu__links a { font: 400 clamp(2.2rem, 9vw, 3rem)/1.25 var(--display); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--night-line); }
.menu__links a:active { color: var(--lumen); }
.menu__foot { margin-top: auto; display: grid; gap: 16px; }
.menu__meta { margin: 0; color: var(--on-night-muted); font: 400 var(--t-sm) var(--mono); }

/* ---------- Page entrance ---------- */
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.page--enter { animation: fade .45s var(--ease); }
.page--enter .hero__content > *, .page--enter .phead__inner > * { animation: rise .8s var(--ease) both; }
.page--enter .hero__content > :nth-child(2), .page--enter .phead__inner > :nth-child(2) { animation-delay: .08s; }
.page--enter .hero__content > :nth-child(3), .page--enter .phead__inner > :nth-child(3) { animation-delay: .16s; }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: calc(-1 * var(--nav-h)); min-height: clamp(560px, 82vh, 860px); display: flex; align-items: flex-end; color: var(--on-night); background: var(--night); overflow: hidden; }
.hero__media, .phead__cover, .closing__media { position: absolute; inset: 0; }
.photo--hero, .hero__media .photo, .phead__cover .photo, .closing__media .photo { width: 100%; height: 100%; aspect-ratio: auto !important; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 7, 0.2) 0%, rgba(8, 8, 7, 0.1) 35%, rgba(8, 8, 7, 0.78) 100%); }
.hero__content { position: relative; padding-top: calc(var(--nav-h) + 80px); padding-bottom: clamp(64px, 8vw, 110px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn--ghost { border-color: rgba(241, 236, 226, 0.55); color: var(--on-night); background: transparent; }
.btn--ghost:hover { border-color: var(--on-night); background: rgba(255, 255, 255, 0.08); }
.hero__kicker { margin: 0 0 22px; font: 400 var(--t-xs)/1.3 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-night); opacity: 0.85; }
.hero__title { margin: 0; max-width: 12ch; font: 400 var(--t-h1)/0.96 var(--display); letter-spacing: -0.03em; }
.hero__title em { font-style: italic; color: var(--lumen); }
.hero__lede { margin: 26px 0 0; max-width: 46ch; font-size: var(--t-lg); line-height: 1.6; color: rgba(241, 236, 226, 0.88); }
.hero__frame { position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 24px); margin: 0; font: 400 11px/1 var(--mono); letter-spacing: 0.08em; color: rgba(241, 236, 226, 0.7); writing-mode: vertical-rl; }
.hero__frame span { color: var(--lumen); margin-bottom: 10px; display: inline-block; }

/* ---------- Finder (hero search) ---------- */
.finder-wrap { position: relative; z-index: 5; width: 100%; color: var(--ink); }
.finder { background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(15, 14, 12, 0.45); padding: 22px 24px 24px; }
.finder__lede { margin: 0 0 14px; font: italic 400 1.25rem/1.2 var(--display); }
.finder__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
.field { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; padding: 10px 20px; border-left: 1px solid var(--line); }
.finder__row .field:first-child { border-left: 0; padding-left: 0; }
.field__label { font: 500 11px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field__control { position: relative; display: block; }
.field__control::after { content: ""; position: absolute; right: 2px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { width: 100%; appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 4px 22px 4px 0; font: 500 1.0625rem/1.3 var(--sans); color: var(--ink); cursor: pointer; text-overflow: ellipsis; }
.field select:focus-visible { outline: none; box-shadow: none; }
.field:focus-within { box-shadow: inset 0 -2px 0 var(--lumen); }
.finder__go { grid-column: 1 / -1; justify-self: start; margin-top: 20px; --bh: 58px; }

.quick { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 18px 0 0; }
.quick__label { font: 500 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.quick ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; min-width: 0; }
.quick__q { background: none; border: 0; padding: 6px 0; font: italic 400 1rem/1.3 var(--display); color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; transition: text-decoration-color .2s; }
.quick__q:hover { text-decoration-color: var(--lumen); text-decoration-thickness: 3px; color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 136px); }
.section--flush { padding-bottom: clamp(72px, 9vw, 120px); }
.section--top0 { padding-top: 0; }
.night { background: var(--night); color: var(--on-night); }
.shead--night .eyebrow, .shead--night .shead__lede { color: var(--on-night-muted); }

/* ---------- Occasion mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 13vw, 200px); gap: clamp(10px, 1.2vw, 18px); }
.occ { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; background: var(--night); }
.occ .photo { position: absolute; inset: 0; aspect-ratio: auto !important; height: 100%; }
.occ::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(8, 8, 7, 0.72) 100%); pointer-events: none; }
.occ__text { position: absolute; left: clamp(16px, 2vw, 28px); right: 16px; bottom: clamp(16px, 2vw, 26px); z-index: 1; display: grid; gap: 6px; }
.occ__name { font: 400 clamp(1.6rem, 1.1rem + 1.6vw, 2.7rem)/1 var(--display); letter-spacing: -0.015em; width: fit-content; background: linear-gradient(var(--lumen), var(--lumen)) 0 100% / 0 2px no-repeat; padding-bottom: 6px; transition: background-size .5s var(--ease); }
.occ__local { font: 400 12px/1.4 var(--sans); letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.82); }
.occ:hover img, .occ:focus-visible img { transform: scale(1.045); }
.occ:hover .occ__name, .occ:focus-visible .occ__name { background-size: 100% 2px; }
.occ--1 { grid-column: 1 / 6; grid-row: 1 / 4; }
.occ--2 { grid-column: 6 / 9; grid-row: 1 / 3; }
.occ--3 { grid-column: 9 / 13; grid-row: 1 / 3; }
.occ--4 { grid-column: 6 / 13; grid-row: 3 / 5; }
.occ--5 { grid-column: 1 / 6; grid-row: 4 / 7; }
.occ--6 { grid-column: 6 / 13; grid-row: 5 / 7; }

/* ---------- Creator cards ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 29vw, 390px); gap: clamp(18px, 2vw, 32px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.rail > * { scroll-snap-align: start; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 48px clamp(18px, 2vw, 32px); }
.cgrid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ccard { display: flex; flex-direction: column; min-width: 0; }
.ccard__media { display: grid; gap: 4px; text-decoration: none; }
.ccard__media > .photo { aspect-ratio: 4/5 !important; }
.ccard__strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.ccard__strip .slot { display: none !important; }
.ccard__media:hover > .photo img { transform: scale(1.035); }
.ccard__body { padding-top: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ccard__styles { margin: 0; font: italic 400 1.05rem/1.4 var(--display); color: var(--ink-2); }
.ccard__spec { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); font: 400 12px/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.ccard__meta { display: flex; align-items: center; gap: 8px; margin: 0; font: 400 var(--t-sm)/1.2 var(--sans); color: var(--muted); flex-wrap: wrap; }
.ccard__meta .icon { width: 15px; height: 15px; }
.ccard__name { margin: 0; font: 400 clamp(1.6rem, 1.3rem + 0.8vw, 2rem)/1.05 var(--display); letter-spacing: -0.015em; }
.ccard__name a { text-decoration: none; background: linear-gradient(var(--lumen), var(--lumen)) 0 92% / 0 6px no-repeat; transition: background-size .45s var(--ease); }
.ccard__name a:hover { background-size: 100% 6px; }
.ccard__line { margin: 0; color: var(--ink-2); font-size: 0.975rem; line-height: 1.5; }
.ccard__foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); margin-block-start: 16px; flex-wrap: wrap; }
.ccard__tags { display: flex; flex-wrap: wrap; gap: 4px 12px; list-style: none; margin: 0; padding: 0; font: 400 12px/1.4 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); min-width: 0; }
.ccard__price { margin: 0; font-size: var(--t-sm); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ccard__price b { color: var(--ink); font-weight: 500; }

/* ---------- Stories (masonry) ---------- */
.masonry { columns: 4 240px; column-gap: clamp(12px, 1.4vw, 22px); }
.story { break-inside: avoid; margin: 0 0 clamp(20px, 2vw, 30px); }
.story__open { display: block; width: 100%; padding: 0; border: 0; background: none; overflow: hidden; }
.story__open:hover img { transform: scale(1.035); }
.story__cap { display: grid; gap: 2px; padding-top: 10px; }
.story__title { font: italic 400 1.0625rem/1.3 var(--display); }
.story__by { font-size: 12.5px; color: var(--muted); }
.story__by a { text-decoration: none; border-bottom: 1px solid currentColor; }
.night .story__by { color: var(--on-night-muted); }
.night .story__by a { color: var(--on-night); }

/* ---------- Districts ---------- */
.kerala { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.kerala__intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.districts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.districts a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease); }
.districts a:hover { padding-left: 10px; }
.districts__n { font: 400 12px/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.districts a:hover .districts__n { color: var(--ink); background: var(--lumen); padding: 3px 5px; margin: -3px -5px; width: fit-content; }
.districts__name { font: 400 clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem)/1.15 var(--display); }
.districts__name small { margin-left: 10px; font: italic 400 0.95rem var(--display); color: var(--muted); }
.districts__count { font-size: var(--t-sm); color: var(--muted); white-space: nowrap; }
.districts a.is-quiet .districts__name { color: var(--muted); }

/* ---------- Process ---------- */
.process { border-top: 1px solid var(--line); }
.steps { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.steps li { display: grid; align-content: start; gap: 10px; }
.steps__n { font: italic 400 3.2rem/1 var(--display); width: fit-content; padding: 0 6px 2px 0; background: linear-gradient(var(--lumen), var(--lumen)) 0 88% / 100% 12px no-repeat; }
.steps h3 { margin: 10px 0 0; font: 500 1.125rem/1.3 var(--sans); }
.steps p { margin: 0; color: var(--muted); max-width: 36ch; }

/* ---------- Closing ---------- */
.closing { position: relative; min-height: clamp(420px, 60vh, 640px); display: flex; align-items: center; color: var(--on-night); background: var(--night); overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 8, 7, 0.8) 0%, rgba(8, 8, 7, 0.35) 70%); }
.closing__text { position: relative; z-index: 2; display: grid; gap: 28px; justify-items: start; padding-block: clamp(72px, 9vw, 128px); }
.eyebrow--night { color: var(--on-night-muted); margin: 0; }
.closing h2 { margin: 0 0 8px; max-width: 18ch; font: 400 clamp(2.3rem, 1.5rem + 3.6vw, 4.6rem)/1.02 var(--display); letter-spacing: -0.02em; }
.closing h2 em { color: var(--lumen); }

/* ---------- Explore ---------- */
.xhead { padding-block: clamp(56px, 7vw, 104px) clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.xhead--image { position: relative; color: var(--on-night); background: var(--night); border-bottom: 0; margin-top: calc(-1 * var(--nav-h)); padding-top: calc(var(--nav-h) + clamp(80px, 12vw, 180px)); }
.xhead__media { position: absolute; inset: 0; }
.xhead__media .photo { width: 100%; height: 100%; aspect-ratio: auto !important; }
.xhead--image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 8, 7, 0.35), rgba(8, 8, 7, 0.82)); }
.xhead__text { position: relative; z-index: 2; }
.xhead--image .eyebrow, .xhead--image .xhead__lede { color: rgba(241, 236, 226, 0.8); }
.xhead__title { margin: 0; font: 400 clamp(2.5rem, 1.6rem + 4vw, 5.2rem)/1 var(--display); letter-spacing: -0.025em; max-width: 18ch; }
.xhead__lede { margin: 18px 0 0; max-width: 54ch; color: var(--muted); font-size: var(--t-lg); }
.xhead__actions { margin-top: 28px; }

.qbox { margin-top: 32px; display: flex; align-items: center; gap: 12px; max-width: 760px; height: 60px; padding-left: 18px; background: var(--card); border: 1px solid var(--ink); color: var(--ink); }
.qbox > .icon { width: 20px; height: 20px; color: var(--muted); }
.qbox input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 1.0625rem; }
.qbox input:focus { outline: none; }
.qbox:focus-within { box-shadow: 0 0 0 4px var(--lumen); }
.qbox__go { height: 100%; border: 0; padding: 0 26px; background: var(--ink); color: var(--paper); font-weight: 500; letter-spacing: 0.04em; }
.qbox__go:hover { background: var(--ink-2); }

.explore { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding-block: 40px clamp(72px, 9vw, 120px); }
.explore__side { min-width: 0; }
.sheet { position: sticky; top: calc(var(--nav-h) + 24px); }
.sheet__head, .sheet__foot, .sheet__scrim { display: none; }
.filters { display: grid; gap: 28px; }
.fgroup { border: 0; margin: 0; padding: 0; min-width: 0; }
.fgroup legend { padding: 0; margin-bottom: 12px; font: 500 11px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.fgroup__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fgroup .field { padding: 0 0 8px; border: 0; border-bottom: 1px solid var(--ink); }
.fgroup .field__label { margin-bottom: 4px; }

.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--ink); border-radius: var(--r); }
.seg__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 0; background: transparent; font-size: var(--t-sm); letter-spacing: 0.03em; }
.seg__btn[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.seg__btn .icon { width: 17px; height: 17px; }
.toolbar__count { margin: 0 0 0 auto; font: 400 var(--t-sm) var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.toolbar__filters { display: none; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--ink); background: transparent; border-radius: var(--r); }
.toolbar__filters b { font-weight: 500; min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; background: var(--lumen); font-size: 12px; }
.toolbar__filters b:empty { display: none; }

.active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px 0 12px; border: 0; background: var(--paper-2); font-size: var(--t-sm); border-radius: var(--r); }
.chip .icon { width: 14px; height: 14px; }
.chip:hover { background: var(--line); }
.active__clear { background: none; border: 0; padding: 6px; font-size: var(--t-sm); text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }

.skel { background: linear-gradient(100deg, var(--paper-2) 30%, #f7f3ec 50%, var(--paper-2) 70%) 0 0 / 300% 100%; animation: shimmer 1.1s linear infinite; margin-bottom: 20px; break-inside: avoid; }
@keyframes shimmer { to { background-position: -150% 0; } }

.empty { padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 48px); border: 1px dashed var(--line); text-align: left; }
.empty__title { margin: 0 0 8px; font: italic 400 clamp(1.6rem, 1.3rem + 1vw, 2.2rem)/1.15 var(--display); }
.empty p { max-width: 52ch; color: var(--muted); }
.empty__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Profile ---------- */
.phead { position: relative; margin-top: calc(-1 * var(--nav-h)); min-height: clamp(560px, 80vh, 820px); display: flex; align-items: flex-end; color: var(--on-night); background: var(--night); overflow: hidden; }
.phead__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 7, 0.35) 0%, rgba(8, 8, 7, 0.05) 40%, rgba(8, 8, 7, 0.86) 100%); }
.phead__inner { position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(40px, 5vw, 64px); display: grid; gap: 22px; }
.phead__back { justify-self: start; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: var(--t-sm); color: rgba(241, 236, 226, 0.85); padding: 8px 0; }
.phead__back:hover { color: var(--lumen); }
.phead__id { display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 28px); }
.phead__avatar { width: clamp(72px, 8vw, 104px); flex: none; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--lumen); }
.phead__avatar .photo { border-radius: 50%; }
.phead__avatar .slot { display: none !important; }
.phead__role { margin: 0 0 8px; font: 500 var(--t-xs)/1.2 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--lumen); }
.phead__name { margin: 0; font: 400 clamp(2.8rem, 1.6rem + 5vw, 6rem)/0.95 var(--display); letter-spacing: -0.03em; }
.phead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 0; font-size: var(--t-sm); color: rgba(241, 236, 226, 0.82); }
.phead__meta .icon { width: 15px; height: 15px; }
.phead__line { margin: 0; max-width: 40ch; font: italic 400 clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem)/1.35 var(--display); color: rgba(241, 236, 226, 0.92); }
.phead__cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.phead__price { margin: 0; font-size: var(--t-sm); color: rgba(241, 236, 226, 0.8); }
.phead__price b { color: var(--on-night); font-weight: 500; font-size: 1.05rem; }

.pnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h)); z-index: 30; background: rgba(246, 243, 238, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pnav__inner { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.pnav__inner::-webkit-scrollbar { display: none; }
.pnav a { flex: none; padding: 18px 0; text-decoration: none; font-size: var(--t-sm); letter-spacing: 0.04em; color: var(--ink-2); border-bottom: 2px solid transparent; }
.pnav a:hover { border-bottom-color: var(--lumen); color: var(--ink); }

.pintro { margin-bottom: clamp(32px, 4vw, 56px); }
.pintro__text { margin: 0; max-width: 34ch; font: 400 clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem)/1.3 var(--display); letter-spacing: -0.01em; color: var(--ink) !important; }
.pgrid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); border-top: 1px solid var(--line); }
.pgrid__label .shead__title { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); }
.pgrid__label--row { margin-bottom: 36px; }
.pgrid__body { min-width: 0; }
#p-packages { border-top: 1px solid var(--line); }

.facts { margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 11px/1.6 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid var(--ink); }
.services li { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.services li .icon { width: 18px; height: 18px; }
.services li.is-on .icon { color: var(--ink); background: var(--lumen); padding: 2px; width: 22px; height: 22px; }
.services li.is-off { color: var(--muted); }
.services li small { margin-left: auto; font-size: 12px; }

.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pkg { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--card); border: 1px solid var(--line); }
.pkg--mark { border-color: var(--ink); box-shadow: inset 0 3px 0 var(--lumen); }
.pkg h3 { margin: 0; font: 400 1.6rem/1.1 var(--display); }
.pkg__price { margin: 0; font: 500 1.35rem/1.2 var(--sans); font-variant-numeric: tabular-nums; }
.pkg__price span { font: 400 var(--t-sm) var(--sans); color: var(--muted); }
.pkg ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; flex: 1; }
.pkg li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 0.975rem; }
.pkg li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 1px; background: var(--ink); }

.coverage { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid var(--ink); counter-reset: d; }
.coverage li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.coverage li.is-on { color: var(--ink); }
.coverage__tick { width: 10px; height: 10px; border: 1px solid var(--line); flex: none; }
.coverage li.is-on .coverage__tick { background: var(--ink); border-color: var(--ink); }
.coverage li.is-home .coverage__tick { background: var(--lumen); border-color: var(--ink); }
.coverage li small { margin-left: auto; font-size: 12px; color: var(--muted); }

.reviews-empty { padding: 32px; border: 1px dashed var(--line); display: grid; gap: 14px; }
.reviews-empty p { margin: 0; max-width: 52ch; color: var(--muted); }
.reviews-empty b { color: var(--ink); font-weight: 500; }
.reviews-empty__stars { display: flex; gap: 4px; color: var(--line); }
.reviews-empty__stars .icon { width: 22px; height: 22px; }

.stickybar { display: none; }

/* ---------- Drawer (enquiry) ---------- */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(8, 8, 7, 0.5); opacity: 0; transition: opacity .3s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(540px, 100%); background: var(--paper); overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); padding: calc(env(safe-area-inset-top, 0px) + 28px) clamp(20px, 4vw, 44px) calc(env(safe-area-inset-bottom, 0px) + 32px); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; right: 16px; top: calc(env(safe-area-inset-top, 0px) + 16px); width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; }
.drawer__close .icon { width: 22px; height: 22px; }
.enq { display: grid; gap: 22px; }
.enq__head { padding-right: 40px; }
.enq__title { margin: 0; font: 400 clamp(2rem, 1.6rem + 1.6vw, 2.8rem)/1.05 var(--display); letter-spacing: -0.02em; }
.enq__sub { margin: 10px 0 0; color: var(--muted); }
.enq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.enq .field { padding: 0 0 8px; border: 0; border-bottom: 1px solid var(--ink); }
.input { display: grid; gap: 6px; min-width: 0; }
.input span { font: 500 11px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.input input, .input textarea { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 6px 0 8px; font-size: 1.0625rem; border-radius: 0; }
.input textarea { resize: vertical; min-height: 80px; }
.input input:focus, .input textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 2px 0 var(--lumen); }
.input input[aria-invalid="true"] { border-bottom-color: var(--danger); }
.input--wide { grid-column: 1 / -1; }
.enq__error { margin: 0; padding: 12px 14px; background: #f7e3df; color: var(--danger); font-size: var(--t-sm); }
.enq__fine { margin: -8px 0 0; font-size: 12.5px; color: var(--muted); }
.enq--done { padding-top: 12vh; justify-items: start; }
.enq__tick { width: 56px; height: 56px; display: grid; place-items: center; background: var(--lumen); }
.enq__tick .icon { width: 26px; height: 26px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: var(--night); color: var(--on-night); display: grid; grid-template-columns: minmax(0, 1fr) 360px; animation: fade .25s var(--ease); }
.lightbox__stage { display: grid; place-items: center; padding: clamp(16px, 4vw, 56px); min-height: 0; min-width: 0; }
.lightbox__stage .photo { max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); height: 100%; width: auto; max-width: 100%; }
.lightbox__info { display: flex; flex-direction: column; gap: 14px; padding: 72px 32px 32px; border-left: 1px solid var(--night-line); overflow-y: auto; }
.lightbox__count { margin: 0; font: 400 12px var(--mono); color: var(--on-night-muted); }
.lightbox__title { margin: 0; font: italic 400 2rem/1.1 var(--display); }
.lightbox__meta { margin: 0; color: var(--on-night-muted); }
.lightbox__by { display: flex; align-items: center; gap: 12px; padding: 16px 0; margin-top: auto; border-top: 1px solid var(--night-line); text-decoration: none; }
.lightbox__by .photo { width: 48px; border-radius: 50%; flex: none; }
.lightbox__by .slot { display: none !important; }
.lightbox__by span { display: grid; font: 400 1.25rem/1.2 var(--display); }
.lightbox__by small { font: 400 11px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-night-muted); }
.lightbox__by:hover span { color: var(--lumen); }
.lightbox__nav, .lightbox__close { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--night-line); color: var(--on-night); border-radius: var(--r); }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, 0.14); }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 376px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 16px; top: calc(env(safe-area-inset-top, 0px) + 16px); }

/* ---------- Footer ---------- */
.foot { background: var(--night); color: var(--on-night); padding-block: clamp(64px, 8vw, 104px) 32px; }
.foot__inner { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); }
.foot__brand img { width: 150px; height: auto; margin-bottom: 24px; }
.foot__brand p { margin: 0; max-width: 34ch; color: var(--on-night-muted); }
.foot__social { display: flex; gap: 8px; margin-top: 24px; }
.foot__social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--night-line); border-radius: 50%; }
.foot__social a:hover { border-color: var(--lumen); color: var(--lumen); }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot__cols h3 { margin: 0 0 16px; font: 500 11px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-night-muted); }
.foot__cols a { display: block; padding: 6px 0; text-decoration: none; color: var(--on-night); opacity: 0.9; }
.foot__cols a:hover { color: var(--lumen); opacity: 1; }
.foot__base { max-width: var(--max); margin: clamp(56px, 7vw, 96px) auto 0; padding: 32px var(--gutter) 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--night-line); }
.foot__statement { margin: 0; font: italic 400 clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem)/1.2 var(--display); max-width: 26ch; }
.foot__legal { margin: 0; font: 400 12px var(--mono); color: var(--on-night-muted); }

/* ---------- WordPress content & helpers ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.page-cover { margin-top: 40px; }
.entry { max-width: 780px; }
.entry > * { max-width: 68ch; }
.entry > .alignwide, .entry > .alignfull, .entry > figure, .entry > .wp-block-image, .entry > .wp-block-gallery, .entry > .wp-block-columns { max-width: none; }
.entry p, .entry li { font-size: var(--t-lg); line-height: 1.75; color: var(--ink-2); }
.entry h2 { font: 400 clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem)/1.1 var(--display); margin: 1.6em 0 0.5em; letter-spacing: -0.015em; }
.entry h3 { font: 500 1.25rem/1.3 var(--sans); margin: 1.6em 0 0.4em; }
.entry a { text-decoration-color: var(--lumen); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.entry img { height: auto; }
.entry figure { margin: 2em 0; }
.entry figcaption { font-size: var(--t-sm); color: var(--muted); margin-top: 8px; }
.entry blockquote { margin: 2em 0; padding: 0 0 0 24px; border-left: 3px solid var(--lumen); font: italic 400 1.5rem/1.4 var(--display); }
.postlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.postlist a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 1.5rem/1.2 var(--display); }
.postlist small { font: 400 var(--t-sm) var(--sans); color: var(--muted); white-space: nowrap; }
.admin-bar #navslot { top: 32px; }
.admin-bar .pnav, .admin-bar .toolbar { --adminbar: 32px; }
.pnav { top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + var(--adminbar, 0px)); }
.admin-bar .sheet { top: calc(var(--nav-h) + 56px); }
@media (max-width: 782px) { .admin-bar #navslot { top: 46px; } .admin-bar .pnav, .admin-bar .toolbar { --adminbar: 46px; } }
@media (max-width: 600px) { .admin-bar #navslot { top: 0; } .admin-bar .pnav, .admin-bar .toolbar { --adminbar: 0px; } }
.nav__search { color: var(--on-night); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .finder__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder__row .field { border-left: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .finder__row .field:nth-child(odd) { padding-right: 16px; }
  .finder__row .field:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .finder__go { margin: 18px 0 0; width: 100%; justify-self: stretch; }
  .lightbox { grid-template-columns: minmax(0, 1fr) 300px; }
  .lightbox__nav--next { right: 316px; }
}

@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; }
  .nav__end { margin-left: auto; gap: 4px; }
  .nav__word { display: none; }
  .nav__brand img { width: 56px; }

  .shead { grid-template-columns: minmax(0, 1fr); }
  .shead__action { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 24px; }

  .kerala { grid-template-columns: minmax(0, 1fr); }
  .kerala__intro { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps li { grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; }
  .steps__n { grid-row: span 2; }
  .steps h3 { margin: 4px 0 0; }

  /* Filters become a bottom sheet */
  .explore { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .toolbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h) + var(--adminbar, 0px)); z-index: 20; background: var(--paper); padding-block: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
  .toolbar__filters { display: inline-flex; }
  .toolbar__count { order: 3; width: 100%; margin: 0; }
  .sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 70; max-height: 86vh; max-height: 86dvh; display: flex; flex-direction: column; background: var(--paper); border-radius: 14px 14px 0 0; transform: translateY(105%); transition: transform .35s var(--ease); visibility: hidden; }
  .sheet[data-open="true"] { transform: none; visibility: visible; }
  .sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); }
  .sheet__head h2 { margin: 0; font: 400 1.6rem var(--display); }
  .sheet__close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; }
  .sheet__body { overflow-y: auto; padding: 24px var(--gutter); flex: 1; }
  .sheet__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 14px); border-top: 1px solid var(--line); }
  .sheet__show { flex: 1; max-width: 260px; }
  .sheet__scrim { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(8, 8, 7, 0.45); }
  .sheet__scrim[hidden] { display: none; }
  .tag { min-height: 44px; }

  .pgrid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .packages { grid-template-columns: minmax(0, 1fr); }
  .profile { padding-bottom: 88px; }
  .stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 12px); background: var(--night); color: var(--on-night); border-top: 1px solid var(--night-line); }
  .stickybar p { margin: 0; }
  .stickybar__name { font: 400 1.15rem/1.2 var(--display); }
  .stickybar__price { font-size: 12.5px; color: var(--on-night-muted); }
  .stickybar .btn { --bh: 46px; }

  .lightbox { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; overflow-y: auto; }
  .lightbox__stage { padding: calc(env(safe-area-inset-top, 0px) + 72px) 12px 12px; }
  .lightbox__stage .photo { max-height: 62vh; max-height: 62dvh; }
  .lightbox__info { border-left: 0; border-top: 1px solid var(--night-line); padding: 20px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px); }
  .lightbox__title { font-size: 1.6rem; }
  .lightbox__nav { top: auto; bottom: auto; }
  .lightbox__nav--prev { left: 16px; top: calc(env(safe-area-inset-top, 0px) + 16px); transform: none; }
  .lightbox__nav--next { right: auto; left: 72px; top: calc(env(safe-area-inset-top, 0px) + 16px); transform: none; }

  .foot__inner { grid-template-columns: minmax(0, 1fr); }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .hero { min-height: 600px; }
  .hero__content { padding-bottom: 72px; }
  .hero__frame { display: none; }
  .hero__title { font-size: clamp(2.7rem, 12vw, 3.6rem); }
  .hero__lede { font-size: 1.0625rem; }
  .finder__go { white-space: normal; text-align: left; }
  .finder { padding: 18px 18px 20px; }
  .finder__row { grid-template-columns: minmax(0, 1fr); }
  .finder__row .field, .finder__row .field:nth-child(odd), .finder__row .field:nth-child(even) { padding: 12px 0; border-left: 0; }
  .field select { font-size: 1.0625rem; min-height: 32px; }
  .quick { padding-inline: 4px; }

  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; gap: 8px; }
  .occ--1 { grid-column: 1 / 3; grid-row: span 2; }
  .occ--2, .occ--3, .occ--5, .occ--6 { grid-column: span 1; grid-row: span 1; }
  .occ--4 { grid-column: 1 / 3; grid-row: span 1; }
  .occ--5 { grid-row: span 2; }
  .occ--6 { grid-row: span 2; }
  .occ__local { font-size: 11px; }

  .rail { grid-auto-columns: 78vw; }
  .masonry { columns: 2; column-gap: 10px; }
  .story { margin-bottom: 18px; }
  .story__title { font-size: 0.95rem; }
  .story__by { font-size: 11.5px; }
  .cgrid { gap: 44px; }

  .districts a { grid-template-columns: 32px minmax(0, 1fr); row-gap: 2px; }
  .districts__count { grid-column: 2; }
  .districts__name small { display: block; margin: 2px 0 0; }

  .qbox { height: 54px; }
  .qbox__go { padding: 0 16px; }
  .seg__btn { padding: 0 12px; }
  .seg__btn .icon { display: none; }
  .protobar__long { display: none; }

  .services, .coverage { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .phead { min-height: 640px; }
  .phead__id { flex-direction: column; align-items: flex-start; }
  .phead__cta .btn { width: 100%; }
  .pnav__inner { gap: 22px; }

  .drawer__panel { top: auto; height: 94vh; height: 94dvh; width: 100%; border-radius: 14px 14px 0 0; transform: translateY(100%); }
  .enq__grid { grid-template-columns: minmax(0, 1fr); }

  .closing::before { background: rgba(8, 8, 7, 0.62); }
  .hero__actions .btn { flex: 1 1 auto; }
  .foot__base { flex-direction: column; align-items: flex-start; }
  .protobar { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
