/* The Asian Public School, Palda: "Light the way". Kandil lanterns on a string at dusk.
   Ground cream paper, dusk plum at page scale, lanterns in red, gold and teal. Alegreya + Alegreya Sans. */

:root {
  --ground: #FFF8F0;
  --paper-2: #EFE2D2;
  --ink: #251A2E;
  --ink-2: #54465F;
  --red: #D8352A;
  --red-ink: #B42A20;
  --gold: #F5B83D;
  --gold-hi: #FFD877;
  --teal: #1C8C8C;
  --teal-ink: #146B6B;
  --plum: #4B2C5E;
  --plum-2: #7A4C93;
  --night: #2E1B3B;
  --cream-dim: #E8DCEA;
  --wire: rgba(255, 236, 214, .55);
  --line: #7A6886;
  --f-d: "Alegreya", "Alegreya Fallback", Georgia, serif;
  --f-b: "Alegreya Sans", "Alegreya Sans Fallback", "Segoe UI", system-ui, sans-serif;
  --r: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@font-face { font-family: "Alegreya Fallback"; src: local("Georgia"); size-adjust: 96%; ascent-override: 88%; }
@font-face { font-family: "Alegreya Sans Fallback"; src: local("Arial"); size-adjust: 88%; ascent-override: 98%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-b); font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; border-radius: 4px; }
.sec-dark :focus-visible, .top :focus-visible, .hero :focus-visible, .ph :focus-visible, .foot :focus-visible, .sheet :focus-visible, .dock :focus-visible, .lightbox :focus-visible { outline-color: var(--gold); }
h1, h2, h3 { font-family: var(--f-d); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-2); }
.small { font-size: .9375rem; }
.mt { margin-top: 2rem; }
.h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); }
.h-small { font: 700 1.0625rem/1.3 var(--f-b); margin: 0 0 1rem; color: var(--ink-2); }
.lede { font-size: 1.1875rem; line-height: 1.55; max-width: 60ch; color: var(--ink-2); }
.sec { padding: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) 0; }
.more { margin-top: 1.5rem; }
.link { font-weight: 700; color: var(--red-ink); }
.note { font-size: .9375rem; color: var(--ink-2); border-top: 1px solid var(--paper-2); padding-top: .8rem; max-width: 60ch; }

.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--gold); color: var(--ink); padding: .7rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 1rem; }

/* ---------- the kandil ---------- */
.kd { display: block; overflow: visible; }
.kd .kd-cap { fill: var(--cap, var(--plum)); }
.kd .kd-body, .kd .kd-tas { fill: var(--kd, var(--red)); }
.kd .kd-win { fill: var(--win-off, #3A2548); transition: fill .4s var(--ease); }
.kd .kd-jali { fill: var(--jali-off, rgba(37, 26, 46, .28)); transition: fill .4s var(--ease); }
.lit .kd .kd-win, .kd.lit .kd-win { fill: var(--gold-hi); }
.lit .kd .kd-jali, .kd.lit .kd-jali { fill: #FFE7B0; }
.kd-xs { width: 18px; height: 30px; }
.kd-nav { width: 26px; height: 43px; }
.kd-sm { width: 26px; height: 43px; flex: none; }
.kd-md { width: 40px; height: 67px; flex: none; }
.kd-lg { width: 64px; height: 107px; }
.kd-hero { width: 76px; height: 127px; }
.kd-hero-s { width: 54px; height: 90px; }
.nl-cord { display: block; width: 1.5px; background: var(--wire); margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.25rem; border-radius: var(--r); border: 2px solid transparent;
  font: 700 1rem/1.2 var(--f-b); text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s var(--ease);
}
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 6px 16px -8px rgba(10, 4, 16, .6); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-line { border-color: rgba(255, 248, 240, .55); color: var(--ground); background: rgba(255, 248, 240, .04); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-ink); }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { background: var(--plum); }
.btn-round { width: 48px; padding: 0; border-color: rgba(255, 248, 240, .5); color: var(--ground); background: transparent; border-radius: 50%; }
.btn-round:hover { border-color: var(--gold); color: var(--gold); }
.acts { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1.25rem; }
.acts-light .btn-line { border-color: var(--ink); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- header and lantern nav ---------- */
.top { background: var(--night); color: var(--ground); position: relative; z-index: 20; }
.top-row { display: flex; align-items: center; gap: 1.5rem; min-height: 104px; }
.brand { flex: none; display: block; padding: .5rem 0; }
.brand img { width: 196px; height: auto; }
.lampnav { flex: 1; position: relative; align-self: stretch; display: none; }
.wire { position: absolute; left: 0; right: 0; top: 0; width: 100%; pointer-events: none; overflow: visible; }
.wire path { stroke: var(--wire); stroke-width: 1.5; }
.wire-nav { height: 40px; }
.lampnav ul { list-style: none; margin: 0; padding: 0; display: flex; height: 100%; }
.lampnav li { flex: 1; display: flex; justify-content: center; }
.nl {
  display: flex; flex-direction: column; align-items: center; color: var(--cream-dim); text-decoration: none;
  padding: 0 .25rem .7rem; min-width: 64px; --cap: #170C1F; --win-off: #3E2850;
}
.nl .nl-cord { margin-top: var(--wy); height: var(--drop); margin-bottom: -1px; }
.nl .kd { transition: filter .35s var(--ease), transform .35s var(--ease); transform-origin: 50% 0; }
.nl-label { font: 500 .9375rem/1.2 var(--f-b); margin-top: .35rem; white-space: nowrap; }
.nl:hover, .nl:focus-visible, .nl[aria-current="page"] { color: #fff; }
.nl:hover .kd, .nl:focus-visible .kd, .nl[aria-current="page"] .kd { filter: drop-shadow(0 0 10px rgba(245, 184, 61, .85)); }
.nl:hover .kd-win, .nl:focus-visible .kd-win, .nl[aria-current="page"] .kd-win { fill: var(--gold-hi); }
.nl:hover .kd-jali, .nl:focus-visible .kd-jali, .nl[aria-current="page"] .kd-jali { fill: #FFE7B0; }
.nl:hover .kd { transform: rotate(-3deg); }
.nl[aria-current="page"] .nl-label { color: var(--gold-hi); text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 2px; }
.lampnav li:nth-child(1) .nl { --kd: var(--red); }
.lampnav li:nth-child(2) .nl { --kd: var(--gold); }
.lampnav li:nth-child(3) .nl { --kd: var(--teal); }
.lampnav li:nth-child(4) .nl { --kd: var(--red); }
.lampnav li:nth-child(5) .nl { --kd: var(--gold); }
.lampnav li:nth-child(6) .nl { --kd: var(--teal); }
.top-call { flex: none; display: none; }
.menu-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .4rem 1rem;
  background: transparent; color: var(--ground); border: 1.5px solid rgba(255, 248, 240, .5); border-radius: 999px;
  font: 700 1rem var(--f-b); cursor: pointer; --kd: var(--gold); --cap: #170C1F;
}
.menu-btn .kd-win { fill: var(--gold-hi); }
@media (max-width: 991.98px) {
  .top { position: sticky; top: 0; }
  .top-row { min-height: 64px; gap: .75rem; }
  .brand img { width: 150px; }
}
@media (min-width: 992px) {
  .lampnav { display: block; }
  .menu-btn { display: none; }
  .top-call { display: inline-flex; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .brand img { width: 160px; }
  .top-call span { display: none; }
  .top-call { width: 48px; padding: 0; }
  .nl-label { font-size: .875rem; }
}

/* ---------- phone sheet: glows open ---------- */
.sheet {
  position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--ground); overflow-y: auto;
  background-image: radial-gradient(120% 70% at 100% 0, rgba(245, 184, 61, .28), transparent 60%);
}
.sheet[hidden] { display: none; }
.sheet:not([hidden]) { animation: glowopen .55s var(--ease) both; }
@keyframes glowopen { from { clip-path: circle(0 at calc(100% - 48px) 32px); } to { clip-path: circle(150% at calc(100% - 48px) 32px); } }
.sheet-inner { padding: .5rem 1rem 6rem; max-width: 560px; margin: 0 auto; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.sheet-close { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: .4rem 1rem; background: transparent; color: var(--ground); border: 1.5px solid rgba(255, 248, 240, .5); border-radius: 999px; font: 700 1rem var(--f-b); cursor: pointer; }
.sheet-close .ic { width: 18px; height: 18px; }
.sheet-links { list-style: none; margin: 1.5rem 0 2rem; padding: 0; }
.sheet-links a {
  display: flex; align-items: center; gap: 1rem; padding: .8rem 0; color: var(--ground); text-decoration: none;
  font: 800 1.875rem/1.1 var(--f-d); border-bottom: 1px solid rgba(255, 248, 240, .14); --cap: #170C1F; --kd: var(--red);
}
.sheet-links li:nth-child(3n+2) a { --kd: var(--gold); }
.sheet-links li:nth-child(3n) a { --kd: var(--teal); }
.sheet-links .kd { width: 22px; height: 37px; }
.sheet-links a[aria-current="page"] { color: var(--gold-hi); }
.sheet-links a[aria-current="page"] .kd-win, .sheet-links a:hover .kd-win { fill: var(--gold-hi); }
.sheet-acts { display: grid; gap: .75rem; }
.sheet-addr { margin-top: 1.5rem; color: var(--cream-dim); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--ground);
  background: linear-gradient(180deg, var(--night) 0%, var(--plum) 100%);
  padding-bottom: clamp(2.5rem, 2rem + 3vw, 5rem);
}
.hero-sky { position: absolute; left: 0; right: 0; top: 0; height: 300px; pointer-events: none; z-index: 3; }
.wire-hero { height: 100px; }
.hl { position: absolute; transform: translateX(-50%); --cap: #170C1F; --win-off: #3E2850; display: flex; flex-direction: column; align-items: center; }
.hl .nl-cord { height: var(--drop); }
.hl-glow {
  position: absolute; left: 50%; bottom: 0; width: 260px; height: 260px; transform: translate(-50%, 35%);
  background: radial-gradient(circle, rgba(255, 196, 92, .42) 0%, rgba(255, 170, 70, .16) 38%, transparent 68%);
  z-index: -1;
}
.hl .kd-win { fill: var(--gold-hi); }
.hl .kd-jali { fill: #FFE7B0; }
.hl .kd { filter: drop-shadow(0 0 14px rgba(245, 184, 61, .55)); }
@media (prefers-reduced-motion: no-preference) {
  .hl .kd-win, .hl .kd-jali { animation: ignite 1s var(--ease) both; animation-delay: calc(var(--d) * .32s + .25s); }
  .hl-glow { animation: glowup 1.4s var(--ease) both; animation-delay: calc(var(--d) * .32s + .25s); }
  .hl { animation: sway 7s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1.1s); transform-origin: 50% 0; }
  @keyframes ignite { from { fill: #3E2850; } }
  @keyframes glowup { from { opacity: 0; } }
  @keyframes sway { from { transform: translateX(-50%) rotate(-1.2deg); } to { transform: translateX(-50%) rotate(1.2deg); } }
}
.hero-in { position: relative; z-index: 2; padding-top: 180px; }
.hero-in > .row { align-items: flex-start !important; }
@media (min-width: 992px) { .hero-copy { padding-top: 4.5rem; } }
.hero-title { font-size: clamp(3rem, 2rem + 4.6vw, 5.5rem); line-height: 1; margin-bottom: .3em; color: #fff; letter-spacing: -.02em; }
.hero-sub { font: 700 1.25rem/1.35 var(--f-d); color: var(--gold-hi); margin-bottom: .9rem; }
.hero-lead { font-size: 1.1875rem; max-width: 34em; color: var(--cream-dim); }
.hero-hi { font-size: 1.125rem; color: var(--ground); margin-bottom: 0; }
.status {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; margin: 0;
  padding: .55rem .9rem; border-radius: 999px; background: rgba(255, 248, 240, .08); border: 1px solid rgba(255, 248, 240, .22);
  font-size: .9375rem; color: var(--ground);
}
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #B9A8C2; flex: none; }
.status.open .status-dot { background: var(--gold); outline: 3px solid rgba(245, 184, 61, .3); }
.status-src { color: var(--cream-dim); font-size: .875rem; }
.status-light { background: #fff; border-color: var(--paper-2); color: var(--ink); margin-bottom: 1rem; }
.status-light .status-src { color: var(--ink-2); }
.status-light .status-dot { background: var(--line); }
.status-light.open .status-dot { background: var(--teal); outline: 3px solid rgba(28, 140, 140, .25); }
.hero-fig { margin: 0; position: relative; }
.hero-photo { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; margin-left: auto; box-shadow: 0 30px 60px -30px rgba(10, 4, 16, .8); }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46, 27, 59, .38) 0%, rgba(46, 27, 59, 0) 40%); }
.hero-pool { position: absolute; top: -12%; width: 70%; height: 55%; border-radius: 50%; mix-blend-mode: screen; pointer-events: none; z-index: 1;
  background: radial-gradient(closest-side, rgba(255, 190, 90, .45), rgba(255, 170, 70, .12) 60%, transparent); }
.hero-pool.p1 { left: -6%; }
.hero-pool.p2 { right: -16%; top: -4%; }
.hero-fig figcaption { font-size: .875rem; color: var(--cream-dim); margin-top: .6rem; text-align: right; }
@media (max-width: 991.98px) {
  .hero-sky { height: 170px; }
  .hl .nl-cord { height: calc(var(--drop) * .25); }
  .kd-hero { width: 46px; height: 77px; }
  .kd-hero-s { width: 36px; height: 60px; }
  .hl-glow { width: 150px; height: 150px; }
  .hl.h0, .hl.h5 { display: none; }
  .hero-in { padding-top: 156px; }
  .hero-photo { aspect-ratio: 4 / 3; max-height: none; }
  .hero-img { object-position: 45% 30%; }
  .hero-fig figcaption { text-align: left; }
}
@media (max-width: 575.98px) {
  .acts .btn { flex: 1 1 100%; }
  .hero .acts .btn-line { flex: 1 1 calc(50% - .4rem); }
  .hero .acts .btn-line span { white-space: nowrap; }
}

/* ---------- facts: lit and unlit ---------- */
.facts { background: var(--ground); }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.fact { display: flex; gap: 1rem; align-items: flex-start; }
.fact .kd { margin-top: .15rem; }
.fact-k { font-weight: 700; margin: 0; }
.fact-v { margin: 0; }
.fact-src { margin: .15rem 0 0; font-size: .875rem; color: var(--teal-ink); display: flex; gap: .35rem; align-items: center; }
.ic-sm { width: 16px; height: 16px; }
.fact.lit .kd { filter: drop-shadow(0 4px 10px rgba(245, 184, 61, .6)); }
.fact.unlit { --win-off: #CDB9A3; --jali-off: rgba(37, 26, 46, .12); --cap: #B9A6B9; }
.fact.unlit .fact-v { color: var(--ink-2); font-size: .9375rem; }
.fact-list-unlit { border-left: 2px dashed #CDB9A3; padding-left: 1.25rem; }

/* ---------- lanterns: stages ---------- */
.lp-more { background: var(--ground); border: 1px solid var(--paper-2); border-radius: 16px; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.lp-more p { margin: 0 0 1rem; color: var(--ink-2); }
.lanterns { background: #fff; border-top: 1px solid var(--paper-2); border-bottom: 1px solid var(--paper-2); }
.lt-row { position: relative; margin: 1.5rem 0 1rem; }
.wire-lt { height: 90px; }
.wire-lt path, .wire-ph path { stroke: rgba(37, 26, 46, .45); }
.lt-tabs { display: flex; position: relative; }
.lt {
  flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; background: none; border: 0;
  padding: calc(var(--wy) + var(--drop)) .25rem .5rem; cursor: pointer; color: var(--ink); font: inherit; --win-off: #3A2548;
}
.lt-cord { position: absolute; top: var(--wy); left: 50%; width: 1.5px; height: var(--drop); background: rgba(37, 26, 46, .45); }
.lt .kd { position: relative; transition: transform .45s var(--ease), filter .45s var(--ease); transform-origin: 50% 0; }
.lt-glow { position: absolute; left: 50%; top: calc(var(--wy) + var(--drop) + 40px); width: 200px; height: 200px; transform: translate(-50%, -50%) scale(.6); opacity: 0;
  background: radial-gradient(circle, rgba(245, 184, 61, .5), transparent 65%); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.lt-name { margin-top: .6rem; font: 800 1.25rem/1.15 var(--f-d); text-align: center; }
.lt:hover .kd-win, .lt:focus-visible .kd-win, .lt[aria-selected="true"] .kd-win { fill: var(--gold-hi); }
.lt:hover .kd-jali, .lt:focus-visible .kd-jali, .lt[aria-selected="true"] .kd-jali { fill: #FFE7B0; }
.lt:hover .lt-glow, .lt:focus-visible .lt-glow, .lt[aria-selected="true"] .lt-glow { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.lt:hover .kd { transform: rotate(-3deg); }
.lt[aria-selected="true"] .lt-name { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: .3em; }
.lp { padding-top: 1.5rem; border-top: 1px solid var(--paper-2); }
.lp:focus-visible { outline-offset: 6px; }
.lp-title { font-size: 2rem; }
.lp-ages { font-weight: 700; color: var(--teal-ink); }
.lp-topics, .lp p { max-width: 58ch; }
.lp-note { font-size: .9375rem; color: var(--ink-2); border: 2px dashed #CDB9A3; border-radius: var(--r); padding: .75rem 1rem; }
.lp-fig { margin: 0; }
.lp-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
figcaption { font-size: .875rem; color: var(--ink-2); margin-top: .5rem; }
@media (max-width: 767.98px) {
  .kd-lg { width: 46px; height: 77px; }
  .lt-name { font-size: 1rem; }
  .lt { padding-left: 0; padding-right: 0; }
  .lt-glow { top: calc(var(--wy) + var(--drop) + 30px); width: 130px; height: 130px; }
}

/* ---------- string of lights: the year ---------- */
.sec-dark { background: var(--night); color: var(--ground); padding: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) 0; }
.sec-dark .lede { color: var(--cream-dim); }
.sec-dark .lede strong { color: #fff; }
.string { position: relative; height: 150px; margin: 2rem 0 1rem; }
.wire-year { height: 70px; }
.bulbs { list-style: none; margin: 0; padding: 0; }
.bulbs li { position: absolute; transform: translateX(-50%); }
.bulb { display: flex; flex-direction: column; align-items: center; background: none; border: 0; padding: 0 4px; cursor: pointer; color: var(--cream-dim); font: inherit; min-width: 36px; }
.bulb-n { font-size: .75rem; line-height: 1; margin-bottom: 3px; color: #B9A8C2; }
.bulb-glass { width: 26px; height: 32px; border-radius: 50% 50% 46% 46%; background: #4A3459; border: 2px solid #6E5680; position: relative; transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.bulb-glass::before { content: ""; position: absolute; left: 50%; top: -7px; width: 10px; height: 7px; transform: translateX(-50%); background: #8E7A9C; border-radius: 2px 2px 0 0; }
.bulb-m { margin-top: .45rem; font: 700 .875rem/1 var(--f-b); }
.bulb.on .bulb-glass { background: radial-gradient(circle at 40% 35%, #FFF3CF, var(--gold) 60%); border-color: var(--gold); box-shadow: 0 0 18px 4px rgba(245, 184, 61, .55); }
.bulb:nth-child(1) { --c: 1; }
.bulbs li:nth-child(3n+2) .bulb.on .bulb-glass { background: radial-gradient(circle at 40% 35%, #FFE0D6, #F06A55 60%); border-color: #F06A55; box-shadow: 0 0 18px 4px rgba(216, 53, 42, .5); }
.bulbs li:nth-child(3n) .bulb.on .bulb-glass { background: radial-gradient(circle at 40% 35%, #DDFBF6, #3DBDB4 60%); border-color: #3DBDB4; box-shadow: 0 0 18px 4px rgba(28, 140, 140, .55); }
.bulb[aria-pressed="true"] .bulb-m { color: var(--gold-hi); text-decoration: underline; text-underline-offset: .3em; }
.year-panel { display: grid; grid-template-columns: 1fr auto; column-gap: 1.5rem; align-items: end; max-width: 760px; border-top: 2px solid var(--gold); padding-top: 1.25rem; }
.year-month { grid-column: 1; margin: 0; font: 800 1.75rem/1.1 var(--f-d); display: flex; align-items: baseline; gap: .6rem; }
.year-num { font: 700 1rem var(--f-b); color: var(--gold-hi); }
.year-title { grid-column: 1; margin: .2rem 0 .3rem; font-weight: 700; color: var(--gold-hi); font-size: 1.125rem; }
.year-text { grid-column: 1; margin: 0; color: var(--cream-dim); max-width: 52ch; }
.year-nav { grid-column: 2; grid-row: 1 / span 3; display: flex; gap: .6rem; }
@media (max-width: 767.98px) {
  .bulb { min-width: 26px; padding: 0; }
  .bulb-glass { width: 18px; height: 23px; }
  .bulb-m { font-size: .75rem; writing-mode: vertical-rl; transform: rotate(180deg); }
  .string { height: 160px; }
  .year-panel { grid-template-columns: 1fr; }
  .year-nav { grid-column: 1; grid-row: auto; margin-top: 1rem; }
}

/* ---------- photo strip ---------- */
.strip-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: start; margin-top: 2rem; }
.strip-fig { margin: 0; }
.strip-img { width: 100%; object-fit: cover; border-radius: 12px; aspect-ratio: 3 / 4; }
.sf1 { margin-top: 3rem; } .sf3 { margin-top: 1.5rem; }
.sf1 .strip-img, .sf3 .strip-img { aspect-ratio: 4 / 5; }
.strip-fig figcaption { font-weight: 700; color: var(--ink); }
@media (max-width: 767.98px) {
  .strip-row { grid-template-columns: 1fr 1fr; }
  .sf1 { margin-top: 2rem; } .sf3 { margin-top: 2rem; } .sf2 { margin-top: -2rem; }
}

/* ---------- steps ---------- */
.step-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.step-list::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: rgba(37, 26, 46, .4); }
.step { display: flex; flex-direction: column; gap: .8rem; padding-top: 1.75rem; position: relative; --win-off: #3A2548; }
.step::before { content: ""; position: absolute; top: 0; left: 19px; width: 1.5px; height: 1.75rem; background: rgba(37, 26, 46, .4); }
.step .kd { transition: filter .5s var(--ease); }
.step.lit .kd { filter: drop-shadow(0 4px 12px rgba(245, 184, 61, .7)); }
.step-n { margin: 0; font-weight: 700; color: var(--red-ink); }
.step-t { font-size: 1.375rem; margin-bottom: .4rem; }
.step p { margin-bottom: 0; }
@media (max-width: 991.98px) { .step-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) {
  .step-list { grid-template-columns: 1fr; }
  .step-list::before { left: 19px; right: auto; width: 1.5px; height: 100%; }
  .step { flex-direction: row; padding-top: 0; }
  .step::before { display: none; }
}

/* ---------- to be shared (placeholders) ---------- */
.tbc { border: 2px dashed #B9A6B9; border-radius: 12px; padding: 1.1rem 1.25rem; background: rgba(75, 44, 94, .035); margin-bottom: 1rem; }
.tbc-title { font: 800 1.375rem/1.2 var(--f-d); margin: 0 0 .35rem; }
.tbc p { margin: 0; }
.tbc .tbc-tag { margin-top: .6rem; font-size: .875rem; font-weight: 700; color: var(--plum); }

/* ---------- enquiry form ---------- */
.enq-sec { background: #fff; border-top: 1px solid var(--paper-2); }
.enquiry-box { background: var(--ground); border: 1px solid var(--paper-2); border-radius: 16px; padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); box-shadow: 0 24px 50px -36px rgba(46, 27, 59, .55); }
.enq-title { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.4rem); }
.enq-intro { color: var(--ink-2); }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .65rem .85rem; border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); font: 400 1.0625rem/1.4 var(--f-b);
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--red-ink); background: #FFF4F2; }
.hint { font-size: .875rem; color: var(--ink-2); margin: .3rem 0 0; }
.err { font-size: .9375rem; color: var(--red-ink); font-weight: 700; margin: .3rem 0 0; }
.hp { position: absolute; left: -9999px; }
.form-summary { background: #FFF0EC; border: 1.5px solid var(--red-ink); color: var(--red-ink); font-weight: 700; padding: .7rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.25rem; }
.form-foot .small { margin: 0; color: var(--ink-2); }
.form-result:empty { display: none; }
.form-result { margin-top: 1rem; padding: .8rem 1rem; border-radius: 8px; font-weight: 700; }
.form-result.ok { background: #E6F4F2; color: var(--teal-ink); border: 1.5px solid var(--teal-ink); }
.form-result.bad { background: #FFF0EC; color: var(--red-ink); border: 1.5px solid var(--red-ink); }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--paper-2); --kd: var(--red); --win-off: #3A2548; }
.faq:nth-child(3n+2) { --kd: var(--gold); }
.faq:nth-child(3n) { --kd: var(--teal); }
.faq summary { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; cursor: pointer; list-style: none; font: 700 1.1875rem/1.35 var(--f-b); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .kd { width: 22px; height: 37px; flex: none; transition: filter .35s var(--ease); }
.faq[open] summary .kd-win { fill: var(--gold-hi); }
.faq[open] summary .kd { filter: drop-shadow(0 2px 8px rgba(245, 184, 61, .8)); }
.faq summary:hover { color: var(--red-ink); }
.faq p { margin: 0 0 1.25rem 2.4rem; max-width: 62ch; color: var(--ink-2); }

/* ---------- visit / map ---------- */
.visit { background: var(--ground); }
.addr { display: flex; gap: .75rem; align-items: flex-start; }
.addr .ic { flex: none; margin-top: .25rem; color: var(--red-ink); }
.map-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--paper-2); background: #fff; }
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-frame:empty { display: none; }
.map-fallback { padding: 1.5rem; background: linear-gradient(180deg, #fff, var(--ground)); }
.map-name { font: 800 1.5rem var(--f-d); margin-bottom: .3rem; }
.map-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin: 1rem 0; }

/* ---------- inner page head ---------- */
.ph { position: relative; background: linear-gradient(180deg, var(--night), var(--plum)); color: var(--ground); padding: 3.5rem 0 3.25rem; overflow: hidden; }
.wire-ph { height: 80px; }
.ph .wire-ph path { stroke: var(--wire); }
.ph-lamps { position: absolute; right: 6%; top: 0; display: flex; gap: 2.5rem; --cap: #170C1F; }
.ph-lamp { display: flex; flex-direction: column; align-items: center; margin-top: 30px; }
.ph-lamp .nl-cord { height: var(--drop); }
.ph-lamp .kd { filter: drop-shadow(0 0 16px rgba(245, 184, 61, .6)); }
.crumbs { font-size: .9375rem; color: var(--cream-dim); margin-bottom: 1rem; position: relative; }
.crumbs a { color: var(--gold-hi); }
.ph-title { font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); color: #fff; position: relative; max-width: 14em; }
.ph-lead { font-size: 1.1875rem; max-width: 40em; color: var(--cream-dim); margin: 0; position: relative; }
@media (max-width: 767.98px) {
  .ph { padding-top: 6.5rem; }
  .ph-lamps { right: 4%; gap: 1.25rem; }
  .ph-lamp .kd-md { width: 30px; height: 50px; }
  .ph-lamp .nl-cord { height: calc(var(--drop) * .4); }
}

/* ---------- inner sections ---------- */
.story-fig, .ap-fig { margin: 0 0 1rem; }
.story-img, .ap-img { width: 100%; border-radius: 12px; aspect-ratio: 3 / 2; object-fit: cover; }
.lead-sec, .board { background: #fff; border-top: 1px solid var(--paper-2); }
.ticks { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .8rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; max-width: 62ch; }
.ticks .ic { flex: none; color: var(--teal-ink); margin-top: .2rem; }
.ages { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-variant-numeric: tabular-nums; }
.ages th, .ages td { text-align: left; padding: .65rem .5rem; border-bottom: 1px solid var(--paper-2); }
.ages thead th { font-size: .9375rem; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.docs { background: var(--ground); }

/* gallery + lightbox */
.gal { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gal li.g0 { grid-row: span 2; }
.gal-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; }
.gal-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .6s var(--ease); }
.gal li.g0 .gal-img { aspect-ratio: auto; }
.gal-btn:hover .gal-img { transform: scale(1.03); }
@media (max-width: 767.98px) { .gal { grid-template-columns: 1fr 1fr; } .gal li.g0 { grid-row: span 1; grid-column: span 2; } .gal li.g0 .gal-img { aspect-ratio: 3 / 2; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%; color: var(--ground); }
.lightbox::backdrop { background: rgba(23, 12, 31, .9); }
.lb-in { background: var(--night); border-radius: 14px; padding: 1rem; }
.lb-img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; border-radius: 8px; }
.lb-cap { margin: .8rem 0; color: var(--cream-dim); font-size: .9375rem; }
.lb-btns { display: flex; gap: .6rem; justify-content: flex-end; }

.expect { background: #fff; border-top: 1px solid var(--paper-2); }
.notice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.notice { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--paper-2); border-radius: 12px; background: #fff; --win-off: var(--gold-hi); }
.notice .kd { width: 22px; height: 37px; flex: none; }
.notice-t { font: 800 1.25rem/1.2 var(--f-d); margin: 0 0 .2rem; }
.notice-s { margin: 0; color: var(--ink-2); font-size: .9375rem; }

.reach-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .75rem; }
.reach-list a { display: flex; gap: 1rem; align-items: center; padding: .9rem 1.1rem; border: 1px solid var(--paper-2); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
.reach-list a:hover { border-color: var(--red); }
.reach-list .ic { color: var(--red-ink); flex: none; }
.reach-list strong { display: block; font-size: .9375rem; color: var(--ink-2); }
.reach-list span { font: 700 1.25rem/1.25 var(--f-b); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.hours th, .hours td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--paper-2); font-variant-numeric: tabular-nums; }
.hours tr.today { background: #FFF1D4; }
.hours tr.today th::after { content: " (today)"; font-weight: 400; color: var(--ink-2); }
.prose h2 { margin-top: 2rem; font-size: 1.75rem; }
.nf-links { list-style: none; padding: 0; display: grid; gap: .6rem; font-size: 1.25rem; }

/* ---------- footer + dock ---------- */
.foot { position: relative; background: var(--night); color: var(--cream-dim); padding: 5rem 0 2rem; }
.wire-foot { height: 60px; }
.foot-logo { width: 220px; margin-bottom: 1rem; }
.foot-hi { color: var(--ground); font-size: 1.125rem; }
.foot-small { font-size: .875rem; }
.foot-h { font: 800 1.75rem var(--f-d); color: #fff; }
.foot a { color: var(--ground); }
.foot a:hover { color: var(--gold-hi); }
.foot-acts { display: flex; flex-wrap: wrap; gap: 1rem; }
.foot-acts a { display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; }
.foot-links { list-style: none; margin: 0; padding: 0; columns: 2; }
.foot-links a { display: inline-block; padding: .35rem 0; }
.foot-note { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 248, 240, .15); font-size: .875rem; }
.dock { display: none; }
@media (max-width: 991.98px) {
  body { padding-bottom: 68px; }
  .dock { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--night); border-top: 1px solid rgba(255, 248, 240, .15); }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 64px; color: var(--ground); text-decoration: none; font: 700 .875rem var(--f-b); }
  .dock a:last-child { background: var(--gold); color: var(--ink); }
}

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