/* Seraph Art - "Paper & pigment". Warm watercolour paper, ink, cornflower blue, rushnik red. */
:root {
  --paper: #f5efe4;
  --paper-2: #ede3d1;
  --card: #fbf8f2;
  --ink: #1d2333;
  --ink-2: #474e63;
  --muted: #767b8a;
  --blue: #3550a8;
  --blue-deep: #22367a;
  --blue-2: #5b78d6;
  --blue-tint: #dde4f6;
  --red: #b3262e;
  --red-tint: #f3dfda;
  --ochre: #d49a35;
  --leaf: #5b7a4a;
  --line: rgba(29, 35, 51, .13);
  --r: 18px;
  --shadow: 0 1px 2px rgba(29, 35, 51, .06), 0 18px 40px -18px rgba(29, 35, 51, .32);
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#app { position: relative; z-index: 1; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue-tint); color: var(--blue-deep); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; margin: 0 0 .4em; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.2vw, 96px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(25px, 2.4vw, 32px); line-height: 1.12; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--blue); }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 60ch; }
.hand { font-family: var(--hand); font-weight: 600; color: var(--red); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.muted { color: var(--muted); }

/* brush underline */
.brush { position: relative; white-space: nowrap; display: inline-block; }
.brush svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; pointer-events: none; }
.brush path { fill: none; stroke: var(--ochre); stroke-width: 7; stroke-linecap: round; opacity: .85; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.1s cubic-bezier(.6, .1, .2, 1) .25s; }
.in .brush path, .brush.in path { stroke-dashoffset: 0; }

/* buttons */
.btn { --b: var(--ink); display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; border: 1.5px solid var(--b); background: var(--b); color: #fff; font: 700 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .25s, background .25s, color .25s, box-shadow .25s; position: relative; isolation: isolate; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px 120px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 70%); opacity: 0; transition: opacity .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(29, 35, 51, .55); }
.btn:hover::after { opacity: 1; }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn.blue { --b: var(--blue); }
.btn.red { --b: var(--red); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { --b: #fff; color: var(--ink); }
.btn.sm { padding: 11px 18px; font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--blue); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link svg { width: 16px; height: 16px; transition: transform .25s; }
.link:hover svg { transform: translateX(4px); }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr); display: flex; align-items: center; transition: background .3s, box-shadow .3s; }
.hdr.scrolled { background: rgba(245, 239, 228, .95); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.logo svg { width: 40px; height: 40px; transition: transform .8s cubic-bezier(.3, 1.4, .5, 1); }
.logo:hover svg { transform: rotate(60deg); }
.logo b { font: 600 27px/1 var(--serif); letter-spacing: -.01em; }
.logo b i { color: var(--blue); font-weight: 500; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { position: relative; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 999px; transition: background .2s; }
.nav a:hover { background: rgba(29, 35, 51, .06); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--red); }
.hdr-end { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; font: 700 12.5px/1 var(--sans); }
.lang a { padding: 7px 10px; border-radius: 999px; text-decoration: none; color: var(--ink-2); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; cursor: pointer; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s, background .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.mnav { display: none; }

@media (max-width: 960px) {
  .nav, .hdr-cta { display: none; }
  .burger { display: grid; }
  .hdr-end { margin-left: auto; }
  .mnav { display: flex; flex-direction: column; position: fixed; inset: var(--hdr) 0 0; z-index: 49; background: var(--paper); padding: 28px var(--gutter) 40px; gap: 4px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; overflow-y: auto; }
  .menu-open .mnav { opacity: 1; transform: none; visibility: visible; }
  .mnav a.ml { font: 600 40px/1.15 var(--serif); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
  .mnav a.ml[aria-current="page"] { color: var(--blue); }
  .mnav a.ml svg { width: 26px; height: 26px; flex: none; color: var(--red); }
  .mnav .btn { margin-top: 26px; align-self: flex-start; }
  .mnav .orn { margin-top: auto; }
  .menu-open { overflow: hidden; }
}

/* ornament */
.orn { height: 22px; background-repeat: repeat-x; background-position: center; background-size: auto 22px; }
.orn.red { background-image: var(--orn-red); }
.orn.blue { background-image: var(--orn-blue); }
.orn.thin { height: 12px; background-size: auto 12px; background-image: var(--orn-thin); }

/* sections */
main { display: block; }
[id] { scroll-margin-top: calc(var(--hdr) + 16px); }
.sec { padding: clamp(70px, 9vw, 130px) 0; position: relative; }
.sec.tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec.alt { background: var(--paper-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head p { margin: 0; color: var(--ink-2); font-size: 18px; }
.sec-head h2 { margin: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* deckled paper frame */
.deckle { clip-path: var(--deckle); }
.deckle-2 { clip-path: var(--deckle-2); }

/* HERO */
.hero { position: relative; padding: clamp(18px, 3vw, 40px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero h1 { margin: 6px 0 22px; }
.hero h1 .l2 { display: block; }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 22px; border-top: 1px dashed rgba(29, 35, 51, .22); font-size: 14.5px; color: var(--ink-2); }
.hero-meta b { display: block; font: 600 30px/1 var(--serif); color: var(--ink); margin-bottom: 4px; }
.hero-art { position: relative; aspect-ratio: 4 / 4.6; }
.hero-art .frame { position: absolute; inset: 0; background: #e9e2d4; box-shadow: var(--shadow); }
.hero-art video, .hero-art .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .note { position: absolute; left: -26px; bottom: 34px; z-index: 3; background: var(--card); padding: 14px 18px 12px; border-radius: 4px; box-shadow: var(--shadow); transform: rotate(-4deg); max-width: 240px; }
.hero-art .note::before { content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 24px; margin-left: -42px; background: rgba(212, 154, 53, .55); transform: rotate(3deg); }
.hero-art .note .hand { font-size: 25px; color: var(--ink); }
.hero-art .stamp { position: absolute; right: -18px; top: -18px; z-index: 3; width: 128px; height: 128px; }
.hero-art .stamp svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.hero-art .stamp text { font: 700 10.5px var(--sans); letter-spacing: .22em; fill: var(--red); text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }
.paint-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .8; }
.hero .wrap { position: relative; z-index: 1; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 4 / 3.4; max-width: 640px; }
  .hero-art .note { left: 10px; bottom: -20px; }
  .hero-art .stamp { right: 6px; top: -30px; width: 104px; height: 104px; }
}

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: var(--card); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font: italic 500 clamp(26px, 3vw, 40px)/1 var(--serif); padding-right: 34px; display: inline-flex; align-items: center; gap: 34px; white-space: nowrap; }
.marquee span::after { content: ""; width: 22px; height: 22px; background: var(--flower) center / contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* photo with tape */
.photo { position: relative; margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.tape::before { content: ""; position: absolute; z-index: 2; top: -11px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: rgba(221, 228, 246, .82); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); transform: rotate(-3deg); }
.tape.t-red::before { background: rgba(243, 223, 218, .9); transform: rotate(2.5deg); }
.tape.t-ochre::before { background: rgba(240, 214, 160, .85); transform: rotate(-1.5deg); }

/* audience cards */
.aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.aud-card { position: relative; display: flex; flex-direction: column; background: var(--card); padding: 12px 12px 22px; box-shadow: var(--shadow); text-decoration: none; transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s; }
.aud-card:nth-child(odd) { transform: rotate(-1deg); }
.aud-card:nth-child(even) { transform: rotate(1.2deg) translateY(18px); }
.aud-card:hover { transform: rotate(0) translateY(-8px); box-shadow: 0 30px 60px -24px rgba(29, 35, 51, .45); }
.aud-card .photo { aspect-ratio: 4 / 4.6; overflow: hidden; }
.aud-card .photo img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.aud-card:hover .photo img { transform: scale(1.06); }
.aud-card h3 { margin: 18px 8px 6px; }
.aud-card p { margin: 0 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.aud-card .age { position: absolute; z-index: 2; top: 24px; left: 24px; background: var(--paper); border-radius: 999px; padding: 7px 12px; font: 700 13px/1 var(--sans); }
.aud-card .go { margin: 16px 8px 0; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.aud-card .go svg { width: 16px; transition: transform .3s; }
.aud-card:hover .go svg { transform: translateX(5px); }
@media (max-width: 1060px) { .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .aud { grid-template-columns: 1fr; } .aud-card:nth-child(n) { transform: none; } }

/* steps */
.steps { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.steps ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 70px 1fr; gap: 6px 18px; padding: 22px 0; border-bottom: 1px dashed rgba(29, 35, 51, .2); }
.steps li::before { content: "0" counter(s); grid-row: span 2; font: italic 500 54px/0.9 var(--serif); color: var(--blue); }
.steps li h3 { margin: 0; font-size: 27px; }
.steps li p { margin: 0; color: var(--ink-2); font-size: 16px; }
.media-frame { position: relative; box-shadow: var(--shadow); background: #ddd5c6; overflow: hidden; }
.media-frame video, .media-frame img { width: 100%; height: 100%; object-fit: cover; }
.steps .media-frame { aspect-ratio: 16 / 11.5; }
.cap { position: absolute; left: 16px; bottom: 14px; z-index: 2; background: rgba(251, 248, 242, .9); padding: 7px 12px; border-radius: 999px; font: 700 12.5px/1 var(--sans); letter-spacing: .02em; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* two cities */
.cities { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; }
.city { position: relative; min-height: clamp(440px, 52vw, 640px); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 3vw, 40px); color: #fff; overflow: hidden; text-decoration: none; border-radius: var(--r); isolation: isolate; }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.city:hover img { transform: scale(1.05); }
.city::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 24, 38, 0) 30%, rgba(20, 24, 38, .78)); }
.city .yr { font: italic 500 22px/1 var(--serif); opacity: .9; }
.city h3 { font-size: clamp(38px, 4.4vw, 60px); margin: 6px 0 10px; }
.city p { max-width: 42ch; margin: 0; opacity: .92; font-size: 16px; }
.city .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.city .tags span { border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; backdrop-filter: blur(4px); }
.bridge { display: grid; place-items: center; width: clamp(60px, 7vw, 110px); position: relative; }
.bridge::before { content: ""; position: absolute; top: 12%; bottom: 12%; left: 50%; border-left: 2px dashed rgba(29, 35, 51, .25); }
.bridge span { position: relative; background: var(--paper); padding: 10px 0; font: italic 600 26px/1 var(--serif); color: var(--red); writing-mode: vertical-rl; transform: rotate(180deg); }
@media (max-width: 860px) {
  .cities { grid-template-columns: 1fr; }
  .bridge { width: auto; height: 70px; }
  .bridge::before { top: 50%; bottom: auto; left: 15%; right: 15%; border-left: 0; border-top: 2px dashed rgba(29, 35, 51, .25); }
  .bridge span { writing-mode: horizontal-tb; transform: none; padding: 0 14px; }
}

/* roots / heritage teaser */
.roots { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.roots-collage { position: relative; aspect-ratio: 1 / 1; }
.roots-collage .photo { position: absolute; box-shadow: var(--shadow); background: var(--card); padding: 10px; }
.roots-collage .p1 { left: 0; top: 4%; width: 58%; aspect-ratio: 3 / 4; transform: rotate(-3deg); }
.roots-collage .p2 { right: 0; top: 0; width: 46%; aspect-ratio: 1 / 1; transform: rotate(3deg); }
.roots-collage .p3 { right: 6%; bottom: 0; width: 52%; aspect-ratio: 4 / 3; transform: rotate(-1.5deg); }
.roots-collage .photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 30px 0; }
.fact { border-top: 2px solid var(--red); padding-top: 12px; }
.fact b { display: block; font: 600 36px/1 var(--serif); }
.fact span { font-size: 14px; color: var(--ink-2); line-height: 1.45; display: block; margin-top: 6px; }
@media (max-width: 900px) { .roots { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* masonry */
.masonry { columns: 3 300px; column-gap: clamp(14px, 1.8vw, 22px); }
.masonry figure { break-inside: avoid; margin: 0 0 clamp(14px, 1.8vw, 22px); position: relative; overflow: hidden; border-radius: 6px; background: #e4dccd; cursor: zoom-in; }
.masonry img { width: 100%; transition: transform 1s cubic-bezier(.2, .7, .2, 1), filter .5s; }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(251, 248, 242, .94); padding: 9px 13px; border-radius: 10px; font-size: 13.5px; font-weight: 600; transform: translateY(130%); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.masonry figure:hover figcaption, .masonry figure:focus-visible figcaption { transform: none; }
.masonry figure.hide { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { border: 1.5px solid var(--line); background: var(--card); padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* video band / CTA */
.band { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.band video, .band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(23, 33, 74, .86), rgba(34, 54, 122, .55) 60%, rgba(34, 54, 122, .25)); }
.band.soft::after { background: linear-gradient(180deg, rgba(20, 24, 38, .15), rgba(20, 24, 38, .6)); }
.band .wrap { padding: clamp(80px, 11vw, 160px) 0; }
.band h2 { max-width: 16ch; }
.band h2 em { color: #c9d5ff; }
.band p { max-width: 52ch; font-size: 18px; opacity: .92; }
.band .hand { color: #ffd38a; }

/* page head */
.phead { padding: clamp(30px, 5vw, 70px) 0 clamp(40px, 6vw, 80px); position: relative; }
.phead-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 70px); align-items: end; }
.phead h1 { font-size: clamp(48px, 7vw, 92px); }
.phead .media-frame { aspect-ratio: 16 / 12; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
@media (max-width: 900px) { .phead-grid { grid-template-columns: 1fr; } }

/* class cards */
.classes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 34px); }
.cls { --sw: var(--blue); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--card); box-shadow: var(--shadow); border-radius: var(--r); overflow: hidden; position: relative; }
.cls .media { position: relative; min-height: 100%; background: #ddd5c6; }
.cls .media img, .cls .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cls .body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; }
.cls .swatch { width: 54px; height: 14px; border-radius: 10px 4px 12px 3px; background: var(--sw); margin-bottom: 16px; transform: rotate(-2deg); }
.cls h3 { margin-bottom: 8px; }
.cls .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cls .meta span { background: var(--paper); border-radius: 999px; padding: 6px 11px; font-size: 13px; font-weight: 700; }
.cls p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.cls ul { margin: 0 0 18px; padding: 0; list-style: none; font-size: 15px; }
.cls li { padding-left: 22px; position: relative; margin: 6px 0; }
.cls li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50% 40% 55% 45%; background: var(--sw); opacity: .8; }
.cls .price { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px dashed rgba(29, 35, 51, .2); }
.cls .price b { font: 600 30px/1 var(--serif); }
.cls .price small { color: var(--muted); font-size: 13.5px; }
.cls.c-red { --sw: var(--red); }
.cls.c-ochre { --sw: var(--ochre); }
.cls.c-leaf { --sw: var(--leaf); }
@media (max-width: 1100px) { .classes { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .cls { grid-template-columns: 1fr; } .cls .media { aspect-ratio: 16 / 10; } }

.specials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.sp { position: relative; border-radius: var(--r); overflow: hidden; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; padding: 26px; isolation: isolate; }
.sp video, .sp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sp::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 24, 38, 0) 25%, rgba(20, 24, 38, .85)); }
.sp .tag { position: absolute; top: 20px; left: 20px; background: var(--paper); color: var(--ink); border-radius: 999px; padding: 7px 12px; font: 700 12.5px/1 var(--sans); }
.sp h3 { margin-bottom: 8px; }
.sp p { margin: 0 0 14px; font-size: 15px; opacity: .92; }
.sp .price { font: 600 24px/1 var(--serif); }
@media (max-width: 980px) { .specials { grid-template-columns: 1fr; } .sp { min-height: 420px; } }

/* schedule */
.sched { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.sched-card { background: var(--card); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.sched-card h3 { display: flex; align-items: center; gap: 12px; }
.sched-card h3::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); flex: none; }
.sched-card.red h3::before { background: var(--red); }
.sched table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sched th { text-align: left; font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); }
.sched td { padding: 12px 8px 12px 0; border-bottom: 1px dashed rgba(29, 35, 51, .16); vertical-align: top; }
.sched td:first-child { font-weight: 700; white-space: nowrap; }
.sched td:nth-child(2) { white-space: nowrap; color: var(--blue); font-weight: 700; }
.sched .note { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .sched { grid-template-columns: 1fr; } }

/* prices */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.pr { background: var(--card); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.pr.feat { background: var(--blue-deep); color: #fff; }
.pr .lbl { font: 700 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.pr .amt { font: 600 64px/1 var(--serif); margin: 18px 0 2px; }
.pr .amt small { font-size: 24px; }
.pr .per { font-size: 14px; opacity: .75; margin-bottom: 20px; }
.pr ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 15px; }
.pr li { padding: 8px 0 8px 26px; border-bottom: 1px dashed rgba(127, 127, 127, .3); position: relative; }
.pr li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .7; }
.pr .btn { margin-top: auto; align-self: flex-start; }
.pr .ribbon { position: absolute; top: 18px; right: 18px; font: 600 22px/1 var(--hand); color: #ffd38a; transform: rotate(4deg); }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }

/* included */
.incl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.incl div { padding: 22px; border: 1.5px dashed rgba(29, 35, 51, .2); border-radius: var(--r); }
.incl svg { width: 34px; height: 34px; color: var(--blue); margin-bottom: 12px; }
.incl b { display: block; font: 600 22px/1.15 var(--serif); margin-bottom: 6px; }
.incl span { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 900px) { .incl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .incl { grid-template-columns: 1fr; } }

/* about */
.quote { font: italic 500 clamp(30px, 3.8vw, 52px)/1.15 var(--serif); margin: 0; text-wrap: balance; }
.quote::before { content: "\201C"; display: block; font-size: 1.8em; line-height: .6; color: var(--red); }
.sig { margin-top: 18px; font-family: var(--hand); font-size: 28px; color: var(--blue); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); }
.principles article { border-top: 2px solid var(--ink); padding-top: 18px; }
.principles .n { font: italic 500 46px/1 var(--serif); color: var(--blue); }
.principles h3 { margin: 10px 0 8px; }
.principles p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(36px, 5vw, 70px) 0; }
.story + .story { border-top: 1px dashed rgba(29, 35, 51, .2); }
.story.flip .story-media { order: 2; }
.story-media { position: relative; }
.story-media .photo { aspect-ratio: 4 / 3.2; box-shadow: var(--shadow); background: var(--card); padding: 10px; }
.story-media .photo.tall { aspect-ratio: 4 / 5; }
.story-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.story-media .mini { position: absolute; right: -14px; bottom: -30px; width: 42%; aspect-ratio: 1; padding: 8px; background: var(--card); box-shadow: var(--shadow); transform: rotate(4deg); }
.story-media .mini img { width: 100%; height: 100%; object-fit: cover; }
.story .kicker { font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; display: block; }
.story p { color: var(--ink-2); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story.flip .story-media { order: 0; } .story-media .mini { right: 8px; } }
.credits { font-size: 13px; color: var(--muted); columns: 2 320px; column-gap: 40px; }
.credits p { margin: 0 0 6px; break-inside: avoid; }
.credits a { color: var(--ink-2); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.form-card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 48px); position: relative; }
.form-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: -11px; height: 22px; background: var(--orn-red) center / auto 22px repeat-x; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid rgba(29, 35, 51, .18); border-radius: 12px; background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(53, 80, 168, .14); }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { margin-bottom: 7px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { position: relative; }
.opts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opts span { display: inline-block; padding: 10px 15px; border-radius: 999px; border: 1.5px solid rgba(29, 35, 51, .18); background: #fff; font-weight: 600; font-size: 14.5px; transition: background .2s, color .2s, border-color .2s; }
.opts input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.opts input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 8px; }
.form-status { font-weight: 600; font-size: 15px; min-height: 1.4em; }
.form-status.err { color: var(--red); }
.form-status.ok { color: var(--leaf); }
.side { display: grid; gap: 18px; }
.loc { position: relative; border-radius: var(--r); overflow: hidden; color: #fff; padding: 22px; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.loc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.loc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 24, 38, .05), rgba(20, 24, 38, .82)); }
.loc h3 { margin: 0 0 4px; }
.loc p { margin: 0; font-size: 14.5px; opacity: .92; }
.hours { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); font-size: 15px; }
.hours h4 { font-size: 24px; margin-bottom: 10px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed rgba(29, 35, 51, .16); }
.hours div:last-child { border: 0; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 50px 22px 0; position: relative; font: 600 clamp(22px, 2.2vw, 27px)/1.2 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: h; }
.how div { counter-increment: h; padding: 26px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); }
.how div::before { content: counter(h); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-deep); font: 600 24px/1 var(--serif); margin-bottom: 14px; }
.how b { display: block; font: 600 24px/1.15 var(--serif); margin-bottom: 6px; }
.how span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; } }

/* reel */
.reel { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(14px, 1.8vw, 22px); }
.reel .media-frame { aspect-ratio: 4 / 5; border-radius: 6px; }
@media (max-width: 800px) { .reel { grid-template-columns: 1fr 1fr; } .reel .media-frame:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(20, 24, 38, .92); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.lb.open { display: flex; animation: fade .3s; }
.lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb figcaption { color: #fff; margin-top: 14px; font-size: 15px; opacity: .9; text-align: center; }
.lb button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb button:hover { background: rgba(255, 255, 255, .18); }
.lb button svg { width: 20px; height: 20px; }
.lb .x { top: 18px; right: 18px; }
.lb .pv { left: 14px; top: 50%; margin-top: -25px; }
.lb .nx { right: 14px; top: 50%; margin-top: -25px; }
@media (max-width: 640px) { .lb { padding: 70px 12px; } .lb .pv, .lb .nx { top: auto; bottom: 14px; margin: 0; } }
@keyframes fade { from { opacity: 0; } }

/* footer */
.ftr { position: relative; background: var(--ink); color: #e9e6df; padding: 0 0 26px; margin-top: 0; }
.ftr .orn { position: relative; top: -11px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding: clamp(40px, 5vw, 70px) 0 40px; }
.ftr .logo b { color: #fff; }
.ftr .logo b i { color: var(--blue-2); }
.ftr p { color: #b9b7b0; font-size: 15px; max-width: 34ch; margin-top: 18px; }
.ftr h4 { font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8f95a8; margin: 6px 0 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin: 0 0 9px; }
.ftr a { text-decoration: none; color: #e9e6df; }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ftr .small { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; font-size: 13.5px; color: #8f95a8; }
.ftr .small a { color: #b9b7b0; }
@media (max-width: 900px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr-grid { grid-template-columns: 1fr; } }

/* old-style figures in Cormorant read like letters (10 -> IO): use lining figures for every number */
h1, h2, h3, h4, .hero-meta b, .fact b, .pr .amt, .cls .price b, .sp .price, .principles .n, .steps li::before, .bridge span, .city .yr, .how div::before, .quote { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.lb-open .bgm { opacity: 0; visibility: hidden; }

/* footer credit: "Website made by Faevorite" (ww_credit.py, who="faevorite") */
.ftr .fav-credit { display: flex; width: max-content; max-width: 100%; align-items: center; gap: 11px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid rgba(222, 125, 88, .35); color: #d9d5cc; font: 500 14px/1.2 var(--sans); text-decoration: none; transition: border-color .25s, background .25s, transform .25s; }
.ftr .fav-credit img { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.ftr .fav-credit b { font: 600 20px/1 var(--serif); color: #de7d58; letter-spacing: .01em; }
.ftr .fav-credit:hover { border-color: #de7d58; background: rgba(222, 125, 88, .08); transform: translateY(-1px); text-decoration: none; color: #fff; }

/* ===== BGM player ===== */
.bgm { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; display: flex; align-items: center; height: 58px; padding: 6px; border-radius: 999px; background: rgba(29, 35, 51, .92); color: #fff; box-shadow: 0 14px 34px -10px rgba(20, 24, 38, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--sans); transition: box-shadow .3s; }
.bgm-main { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; flex: none; background: conic-gradient(from 0deg, #3550a8, #5b78d6, #b3262e, #d49a35, #3550a8); }
.bgm-main::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #1d2333; }
.bgm-main > * { position: relative; }
.bgm.playing .bgm-main { animation: spin 7s linear infinite; }
.bgm.playing .bgm-main > * { animation: spin 7s linear infinite reverse; }
.bgm-main svg { width: 20px; height: 20px; }
.bgm-eq { display: none; align-items: flex-end; gap: 2.5px; height: 16px; }
.bgm-eq i { width: 3px; border-radius: 2px; background: #ffd38a; height: 30%; animation: eq 1s ease-in-out infinite; }
.bgm-eq i:nth-child(2) { animation-delay: -.35s; background: #c9d5ff; }
.bgm-eq i:nth-child(3) { animation-delay: -.6s; }
.bgm-eq i:nth-child(4) { animation-delay: -.15s; background: #f3a5a0; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.bgm.playing:not(.muted) .bgm-eq { display: flex; }
.bgm.playing:not(.muted) .bgm-note { display: none; }
.bgm-panel { display: flex; align-items: center; gap: 4px; max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s cubic-bezier(.2, .7, .2, 1), opacity .3s, padding .45s; }
.bgm:hover .bgm-panel, .bgm:focus-within .bgm-panel, .bgm.open .bgm-panel { max-width: 380px; opacity: 1; padding: 0 6px 0 10px; }
.bgm-meta { display: flex; flex-direction: column; line-height: 1.15; margin-right: 8px; }
.bgm-meta b { font-size: 13.5px; font-weight: 700; }
.bgm-meta span { font-size: 11.5px; color: #aab0c2; }
.bgm-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; flex: none; }
.bgm-btn:hover { background: rgba(255, 255, 255, .2); transform: scale(1.06); }
.bgm-btn svg { width: 18px; height: 18px; }
.bgm .i-pause, .bgm.playing .i-play, .bgm .i-muted, .bgm.muted .i-sound { display: none; }
.bgm.playing .i-pause, .bgm.muted .i-muted { display: block; }
.bgm-vol { width: 74px; margin-left: 6px; accent-color: #ffd38a; cursor: pointer; }
.bgm-tip { position: absolute; left: 0; bottom: calc(100% + 10px); background: var(--card); color: var(--ink); font: 600 13px/1.3 var(--sans); padding: 9px 13px; border-radius: 12px; box-shadow: var(--shadow); white-space: nowrap; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .3s, transform .3s; }
.bgm-tip::after { content: ""; position: absolute; left: 22px; top: 100%; border: 7px solid transparent; border-top-color: var(--card); }
.bgm:hover .bgm-tip { opacity: 1; transform: none; }
.bgm.started .bgm-tip { display: none; }
@media (max-width: 520px) { .bgm-vol, .bgm-meta span { display: none; } .bgm { height: 54px; } .bgm-main { width: 42px; height: 42px; } }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.nf h1 { font-size: clamp(90px, 16vw, 200px); color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
