/* ==========================================================================
   Paper Boat — theme.css · preschool theme · prefix pb- · plain CSS, no build step
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --accent: #2F7FD6;
  --accent-ink: #FFFFFF;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, #fff);
  --pb-fill: color-mix(in srgb, var(--accent) 78%, #000);
  --pb-fill-ink: var(--accent-ink);
  --pb-accent-text: color-mix(in srgb, var(--accent) 72%, #000);
  --pb-water: color-mix(in srgb, var(--accent) 28%, #fff);

  --pb-bg: #F6F9FC;
  --pb-surface: #FFFFFF;
  --pb-sunk: #EAF1F8;
  --pb-ink: #18263A;
  --pb-muted: #4E5D72;
  --pb-line: #D5DFEA;
  --pb-line-strong: #B7C5D6;
  --pb-night: #16304F;
  --pb-night-ink: #EEF4FB;
  --pb-night-muted: #BFCDDF;
  --pb-night-line: #2D4A6E;
  --pb-night-accent: #A9CDF4;
  --pb-danger: #B3261E;
  --pb-danger-soft: #FCEBE9;
  --pb-success: #2D6E3A;
  --pb-success-soft: #E8F4EA;
  --pb-focus: #18263A;
  --pb-input-bg: #FFFFFF;
  --pb-notice-bg: var(--pb-fill);
  --pb-notice-ink: #FFFFFF;
  --pb-cta-bg: var(--pb-surface);
  --pb-cta-ink: var(--pb-ink);
  --pb-cta-btn-bg: var(--pb-fill);
  --pb-cta-btn-ink: #FFFFFF;
  --pb-wa-bg: #FFFFFF;
  --pb-wa-ink: var(--pb-ink);
  --pb-scrim: linear-gradient(to top, rgb(14 28 48 / 0.82) 0%, rgb(14 28 48 / 0.4) 50%, rgb(14 28 48 / 0) 80%);

  --pb-font-display: "Lexend", system-ui, "Noto Sans", sans-serif;
  --pb-font-body: "Mulish", system-ui, "Noto Sans", sans-serif;
  --pb-font-ui: var(--pb-font-display);
  --pb-fw-display: 700;
  --pb-fw-ui: 500;
  --pb-fw-btn: 700;
  --pb-btn-fs: 1.1875rem;
  --pb-fs-xs: 0.875rem;
  --pb-fs-base: 1.0625rem;
  --pb-fs-md: clamp(1.125rem, 1.06rem + 0.3vw, 1.25rem);
  --pb-fs-lg: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --pb-fs-xl: clamp(1.5rem, 1.3rem + 0.9vw, 1.875rem);
  --pb-fs-2xl: clamp(1.75rem, 1.45rem + 1.5vw, 2.5rem);
  --pb-fs-3xl: clamp(2.125rem, 1.5rem + 3vw, 3.75rem);
  --pb-lh-body: 1.65;
  --pb-lh-head: 1.2;
  --pb-lh-tight: 1.1;
  --pb-ls-head: -0.01em;
  --pb-ls-eyebrow: 0.12em;
  --pb-tt-eyebrow: uppercase;

  --pb-gutter: 20px;
  --pb-container: 1200px;
  --pb-header-h: 76px;
  --pb-section: clamp(56px, 4vw + 40px, 96px);

  --pb-r-sm: 12px;
  --pb-r-md: 20px;
  --pb-r-lg: 28px;
  --pb-r-btn: 12px;
  --pb-r-icon: 12px;
  --pb-r-input: 10px;
  --pb-r-pill: 999px;
  --pb-fold: 28px;

  --pb-shadow-1: 0 1px 0 rgb(24 38 58 / 0.1), 4px 4px 0 -1px #FFFFFF, 4px 4px 0 0 var(--pb-line), 8px 8px 0 -1px #FFFFFF, 8px 8px 0 0 var(--pb-line);
  --pb-shadow-2: 0 2px 4px rgb(24 38 58 / 0.08), 0 20px 40px -24px rgb(24 50 90 / 0.45);
  --pb-card-edge: 0 0 0 1px var(--pb-line), 4px 4px 0 -1px #FFFFFF, 4px 4px 0 0 var(--pb-line);
  --pb-crease: linear-gradient(135deg, transparent 49.6%, rgb(24 38 58 / 0.05) 49.8% 50.2%, transparent 50.4%);

  --pb-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --pb-ease-reveal: cubic-bezier(0.25, 0.8, 0.25, 1);
  --pb-d-fast: 160ms;
  --pb-d: 240ms;
  --pb-d-slow: 400ms;
  --pb-stagger: 70ms;
  --pb-reveal-from: perspective(900px) rotateX(-14deg) translateY(12px);
  --pb-count-ms: 1000;

  --pb-icon-stroke: 1.75;
  --pb-icon-cap: square;
  --pb-icon-join: miter;

  --pb-z-header: 50;
  --pb-z-float: 60;
  --pb-z-menu: 80;
  --pb-z-lightbox: 90;
}
@media (min-width: 768px) { :root { --pb-gutter: 32px; } }
/* ---------- Scoped reset (zero specificity; never reaches the disclosure slot) ---------- */
:where(.pb-root) :where(*, *::before, *::after):where(:not(.pb-disclosure-slot *)) { box-sizing: border-box; }
:where(.pb-root) :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd):where(:not(.pb-disclosure-slot *)) { margin: 0; }
:where(.pb-root) :where(ul[class], ol[class]):where(:not(.pb-disclosure-slot *)) { list-style: none; padding: 0; }
:where(.pb-root) :where(img, svg):where(:not(.pb-disclosure-slot *)) { display: block; max-width: 100%; }
:where(.pb-root) :where(button, input, select, textarea):where(:not(.pb-disclosure-slot *)) { font: inherit; color: inherit; }

.pb-root {
  margin: 0;
  background: var(--pb-bg);
  color: var(--pb-ink);
  font-family: var(--pb-font-body);
  font-size: var(--pb-fs-base);
  line-height: var(--pb-lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  overflow-x: clip;
}
.pb-lock { overflow: hidden; }
.pb-root :focus-visible:not(.pb-disclosure-slot *), .pb-spec-focus { outline: 3px solid var(--pb-focus); outline-offset: 3px; }
.pb-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pb-skip { position: absolute; inset-inline-start: 16px; inset-block-start: -120px; z-index: calc(var(--pb-z-lightbox) + 1); padding: 12px 20px; background: var(--pb-ink); color: var(--pb-bg); font-weight: 700; text-decoration: none; border-radius: var(--pb-r-sm); }
.pb-skip:focus { inset-block-start: 12px; }

.pb-container { width: min(100% - 2 * var(--pb-gutter), var(--pb-container)); margin-inline: auto; }
.pb-container--narrow { width: min(100% - 2 * var(--pb-gutter), 880px); }
.pb-icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: var(--pb-icon-stroke); stroke-linecap: var(--pb-icon-cap); stroke-linejoin: var(--pb-icon-join); }
.pb-fa { display: inline-grid; place-items: center; flex: none; line-height: 1; }

/* Frames: any uploaded photo, any shape */
.pb-frame { position: relative; overflow: hidden; background: var(--pb-sunk); }
.pb-frame__img { width: 100%; height: 100%; object-fit: cover; }
.pb-frame--16x9 { aspect-ratio: 16 / 9; }
.pb-frame--4x3 { aspect-ratio: 4 / 3; }
.pb-frame--3x2 { aspect-ratio: 3 / 2; }
.pb-frame--1x1 { aspect-ratio: 1; }
.pb-frame--3x4 { aspect-ratio: 3 / 4; }
.pb-frame--2x3 { aspect-ratio: 2 / 3; }
.pb-frame--empty { display: grid; place-items: center; }
.pb-frame--empty .pb-icon { width: 40px; height: 40px; opacity: 0.55; }

/* Notice bar mechanics */
.pb-notice__inner { display: flex; align-items: center; gap: 12px; }
.pb-notice__list { flex: 1; min-width: 0; display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; }
.pb-notice__item { flex: none; max-width: 100%; }
.pb-notice--multi .pb-notice__list { overflow: visible; }
.pb-notice--multi .pb-notice__item { flex: 1; }
.pb-notice--multi .pb-notice__item:not(.pb-is-active) { display: none; }
.pb-notice__link { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pb-notice__controls { display: none; align-items: center; gap: 4px; flex: none; }
.pb-notice--multi .pb-notice__controls { display: flex; }
.pb-notice__count { min-width: 3ch; text-align: center; font-variant-numeric: tabular-nums; }
.pb-notice__all { display: none; flex: none; }
@media (min-width: 900px) { .pb-notice__link { -webkit-line-clamp: 1; } .pb-notice__all { display: inline-flex; } }

/* Menu mechanics */
.pb-menu { position: fixed; inset: 0; z-index: var(--pb-z-menu); display: flex; flex-direction: column; }
.pb-menu--preview { position: relative; inset: auto; z-index: auto; height: 680px; max-width: 390px; overflow: hidden; }
.pb-menu__body { flex: 1; overflow-y: auto; }
.pb-menu__dock { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-block-end: max(16px, env(safe-area-inset-bottom)); }
.pb-menu__dock--single { grid-template-columns: 1fr; }

/* Slider mechanics */
.pb-slider__viewport { position: relative; overflow: hidden; touch-action: pan-y; }
.pb-slider__track { --pb-slide: 0; display: flex; height: 100%; transform: translateX(calc(var(--pb-slide) * -100%)); transition: transform var(--pb-d-slow) var(--pb-ease); }
.pb-slide { position: relative; flex: 0 0 100%; height: 100%; }
.pb-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pb-slider--single .pb-slider__controls { display: none; }
.pb-slider__dots { display: flex; gap: 2px; }
.pb-slider__dot, .pb-dots__dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; color: inherit; }

/* Tabs mechanics */
.pb-tabs__list { display: none; }
.pb-tabs--on .pb-tabs__list { display: flex; }
.pb-tabs--on .pb-tabs__panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Accordion mechanics */
.pb-faq__heading { font: inherit; }
.pb-faq__btn { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: start; cursor: pointer; }
.pb-faq__a { display: grid; grid-template-rows: 1fr; }
.pb-js .pb-faq__a { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows var(--pb-d) var(--pb-ease), visibility 0s linear var(--pb-d); }
.pb-js .pb-faq__a.pb-is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows var(--pb-d) var(--pb-ease), visibility 0s; }
.pb-faq__inner { overflow: hidden; }

/* Carousel mechanics */
.pb-quotes__controls, .pb-dots { display: none; }
.pb-quotes--carousel .pb-quotes__controls, .pb-quotes--carousel .pb-dots { display: flex; }
.pb-quotes--static .pb-quotes__controls, .pb-quotes--static .pb-dots { display: none; }
.pb-quotes__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.pb-quotes__track:has(> .pb-quote:only-child) { grid-template-columns: minmax(0, 680px); justify-content: center; }
.pb-quotes--carousel .pb-quotes__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pb-quotes--carousel .pb-quotes__track::-webkit-scrollbar { display: none; }
.pb-quotes--carousel .pb-quote { flex: 0 0 100%; scroll-snap-align: start; }
.pb-dots { justify-content: center; }

/* Read more mechanics */
.pb-js .pb-clamp:not(.pb-is-open) { max-height: calc(1.6em * 6); overflow: hidden; -webkit-mask: linear-gradient(#000 60%, transparent); mask: linear-gradient(#000 60%, transparent); }
.pb-readmore { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font-weight: 700; cursor: pointer; }
.pb-readmore .pb-icon { transition: rotate var(--pb-d) var(--pb-ease); }
.pb-readmore[aria-expanded="true"] .pb-icon { rotate: 180deg; }

/* Forms mechanics */
.pb-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.pb-fieldset__legend { padding: 0; }
.pb-fields { display: grid; gap: 16px; }
@media (min-width: 640px) { .pb-fields { grid-template-columns: 1fr 1fr; } .pb-field--full { grid-column: 1 / -1; } }
.pb-field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.pb-input { width: 100%; min-height: 52px; font-size: 1rem; line-height: 1.4; }
.pb-input:focus { outline: none; }
.pb-input--area { min-height: 120px; resize: vertical; }
.pb-input--select { appearance: none; padding-inline-end: 48px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.pb-field__error { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; font-size: 0.875rem; line-height: 1.4; }
.pb-field__error .pb-icon { width: 18px; height: 18px; }
.pb-hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pb-form__status:empty { display: none; }
.pb-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.pb-btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 3px solid currentColor; border-inline-end-color: transparent; animation: pb-spin 0.8s linear infinite; }
.pb-btn.pb-is-loading .pb-btn__spinner { display: inline-block; }
.pb-btn.pb-is-loading .pb-btn__arrow { display: none; }
.pb-btn[disabled] { cursor: progress; }
.pb-btn__fa { display: inline-grid; place-items: center; width: 20px; height: 20px; font-size: 18px; flex: none; }
.pb-alert { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.pb-alert:focus { outline: none; }
.pb-alert:focus-visible { outline: 3px solid var(--pb-focus); outline-offset: 3px; }
.pb-alert__body { display: grid; gap: 4px; }

/* Lightbox mechanics */
.pb-lightbox { position: fixed; inset: 0; z-index: var(--pb-z-lightbox); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; transition: opacity var(--pb-d) var(--pb-ease); }
.pb-lightbox.pb-is-open { opacity: 1; }
.pb-lightbox--preview { position: relative; inset: auto; z-index: auto; opacity: 1; height: 560px; overflow: hidden; }
.pb-lightbox__bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
.pb-lightbox__meta { flex: 1; min-width: 0; display: grid; }
.pb-lightbox__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-lightbox__count { font-variant-numeric: tabular-nums; }
.pb-lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 16px; touch-action: pan-y; }
.pb-lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pb-lightbox__nav { display: flex; justify-content: center; gap: 24px; padding: 16px 16px max(24px, env(safe-area-inset-bottom)); }
.pb-lightbox--single .pb-lightbox__nav { visibility: hidden; }

/* Gallery card mechanics */
.pb-event { position: relative; }
.pb-event__photos { display: none; }
.pb-event__open { color: inherit; text-decoration: none; }
.pb-event__open::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.pb-event__open:focus-visible { outline: none; }
.pb-event__open:focus-visible::after { outline: 3px solid var(--pb-focus); outline-offset: 4px; }

/* Map mechanics */
.pb-map { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .pb-map { aspect-ratio: 16 / 9; } }
.pb-map__frame { position: absolute; inset: 0; }
.pb-map__frame > iframe { width: 100%; height: 100%; border: 0; }
.pb-map__fallback { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; }
.pb-map__frame:not(:empty) + .pb-map__fallback { display: none; }

/* Disclosures slot: neutral container for the platform's .cpd-* block (never styled here) */
.pb-disclosure-slot { width: min(100% - 2 * var(--pb-gutter), var(--pb-container)); min-height: 320px; margin-inline: auto; padding: 32px 16px; background: #FFFFFF; color: #1F1F1F; }
@media (min-width: 768px) { .pb-disclosure-slot { padding: 48px; } }
.pb-disclosure-slot:empty { display: grid; place-items: center; }
.pb-disclosure-slot:empty::before { content: "Statutory disclosures will appear here."; color: #5F5F5F; }

/* Reveal */
.pb-reveal--wait { opacity: 0; transform: var(--pb-reveal-from); filter: var(--pb-reveal-filter, none); }
.pb-reveal--wait.pb-reveal--in { opacity: 1; transform: none; filter: none; transition: opacity var(--pb-d-slow) var(--pb-ease), transform var(--pb-d-slow) var(--pb-ease-reveal), filter var(--pb-d-slow) var(--pb-ease); }
.pb-reveal--in:nth-child(2) { transition-delay: var(--pb-stagger); }
.pb-reveal--in:nth-child(3) { transition-delay: calc(var(--pb-stagger) * 2); }
.pb-reveal--in:nth-child(4) { transition-delay: calc(var(--pb-stagger) * 3); }

@keyframes pb-spin { to { rotate: 360deg; } }
@keyframes pb-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }


/* ---------- Shared component defaults (all values come from this theme's tokens) ---------- */
.pb-main { display: block; }
.pb-main:focus { outline: none; }
.pb-section { position: relative; padding-block: var(--pb-section); }
.pb-section--alt { background: var(--pb-sunk); }
.pb-section__head { display: grid; gap: 12px; max-width: 44rem; margin-block-end: 48px; }
.pb-section__head--center { margin-inline: auto; text-align: center; justify-items: center; }
.pb-eyebrow { font-family: var(--pb-font-ui); font-weight: var(--pb-fw-ui); font-size: var(--pb-fs-xs); letter-spacing: var(--pb-ls-eyebrow); text-transform: var(--pb-tt-eyebrow); color: var(--pb-accent-text); }
.pb-h2 { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-2xl); line-height: var(--pb-lh-head); letter-spacing: var(--pb-ls-head); text-wrap: balance; }
.pb-lead { font-size: var(--pb-fs-md); color: var(--pb-muted); max-width: 42rem; }
.pb-muted { color: var(--pb-muted); }
.pb-prose { display: grid; gap: 16px; max-width: 42rem; }
.pb-link { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.pb-link:hover { text-decoration-color: currentColor; }
.pb-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pb-more { display: flex; justify-content: center; margin-block-start: 48px; }

/* Buttons */
.pb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--pb-r-btn); font-family: var(--pb-font-ui); font-weight: var(--pb-fw-btn); font-size: var(--pb-btn-fs); line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer; transition: transform var(--pb-d) var(--pb-ease), background-color var(--pb-d-fast) var(--pb-ease), border-color var(--pb-d-fast) var(--pb-ease), color var(--pb-d-fast) var(--pb-ease); }
.pb-btn:active { transform: scale(0.97); }
.pb-btn--primary { background: var(--accent); color: var(--accent-ink); }
.pb-btn--primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--pb-ink)); }
.pb-btn--secondary { background: transparent; border-color: currentColor; color: var(--pb-ink); }
.pb-btn--secondary:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.pb-btn--sm { min-height: 44px; padding: 0 16px; }
.pb-btn--cta1 { background: var(--pb-cta-btn-bg); color: var(--pb-cta-btn-ink); }
.pb-btn--cta1:hover { background: color-mix(in srgb, var(--pb-cta-btn-bg) 86%, var(--pb-cta-btn-ink)); }
.pb-btn--cta2 { border-color: currentColor; color: inherit; }
.pb-btn--cta2:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.pb-iconbtn { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; padding: 0; border: 2px solid var(--pb-line-strong); border-radius: var(--pb-r-icon); background: var(--pb-surface); color: var(--pb-ink); cursor: pointer; transition: background-color var(--pb-d-fast) var(--pb-ease), transform var(--pb-d) var(--pb-ease); }
.pb-iconbtn:hover { background: var(--accent-soft); }
.pb-iconbtn:active { transform: scale(0.94); }
.pb-iconbtn[disabled] { opacity: 0.4; cursor: default; }
.pb-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 12px; border-radius: var(--pb-r-pill); background: var(--accent-soft); color: var(--pb-ink); font-family: var(--pb-font-ui); font-weight: var(--pb-fw-ui); font-size: 0.875rem; line-height: 1.2; }
.pb-pill .pb-icon { width: 16px; height: 16px; }
.pb-pill--open::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pb-success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pb-success) 25%, transparent); }
.pb-mark { display: inline-grid; place-content: center; text-align: center; line-height: 1.05; font-family: var(--pb-font-display); }
.pb-mark__big { font-weight: var(--pb-fw-display); font-size: 1.5rem; }
.pb-mark__small { font-family: var(--pb-font-ui); font-size: 0.8125rem; font-weight: var(--pb-fw-ui); }
.pb-fa { width: 52px; height: 52px; border-radius: var(--pb-r-icon); background: var(--accent-soft); color: var(--pb-ink); font-size: 22px; }

/* Notice bar */
.pb-notice { background: var(--pb-notice-bg); color: var(--pb-notice-ink); font-size: 0.9375rem; }
.pb-notice__inner { min-height: 48px; padding-block: 4px; }
.pb-notice__icon { display: grid; place-items: center; flex: none; }
.pb-notice__icon .pb-icon { width: 20px; height: 20px; }
.pb-notice__link { color: inherit; font-weight: 600; line-height: 1.4; text-decoration: none; padding-block: 4px; }
.pb-notice__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pb-notice__ctrl { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: var(--pb-r-icon); }
.pb-notice__ctrl:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.pb-notice__count { font-size: 0.875rem; }
.pb-notice__all { align-items: center; min-height: 44px; color: inherit; font-weight: 700; font-size: 0.875rem; text-underline-offset: 3px; }

/* Brand */
.pb-brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.pb-brand__logo { height: 44px; width: auto; max-width: 140px; object-fit: contain; flex: none; }
.pb-brand__mark { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--pb-r-icon); background: var(--pb-fill); color: var(--pb-fill-ink); font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: 1.25rem; }
.pb-brand__text { display: grid; min-width: 0; }
.pb-brand__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 18rem; font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: 1.0625rem; line-height: 1.15; }
.pb-brand__badge { margin-block-start: 2px; font-size: 0.8125rem; line-height: 1.3; color: var(--pb-muted); }
@media (max-width: 399px) { .pb-brand__badge { display: none; } }

/* Shared nav pieces */
.pb-nav__list { display: flex; align-items: center; gap: 2px; }
.pb-nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: inherit; font-family: var(--pb-font-ui); font-weight: var(--pb-fw-ui); font-size: 0.9375rem; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pb-nav__link .pb-icon { width: 16px; height: 16px; transition: rotate var(--pb-d) var(--pb-ease); }
.pb-nav__link[aria-expanded="true"] .pb-icon { rotate: 180deg; }
.pb-nav__more { position: relative; }
.pb-nav__drop { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; z-index: 2; min-width: 240px; padding: 8px; border-radius: var(--pb-r-sm); background: var(--pb-surface); color: var(--pb-ink); box-shadow: var(--pb-shadow-2); animation: pb-pop var(--pb-d) var(--pb-ease); }
.pb-nav__drop-link { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--pb-r-sm); color: inherit; font-weight: 600; text-decoration: none; }
.pb-nav__drop-link:hover, .pb-nav__drop-link[aria-current="page"] { background: var(--accent-soft); }
.pb-menu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; height: 48px; flex: none; padding: 0 12px; border: 0; border-radius: var(--pb-r-icon); background: var(--accent-soft); color: var(--pb-ink); font-family: var(--pb-font-ui); font-weight: var(--pb-fw-ui); cursor: pointer; }
.pb-header__apply.pb-btn--primary { min-height: 44px; padding: 0 16px; flex: none; font-size: 1rem; background: var(--pb-fill); color: var(--pb-fill-ink); }
.pb-header__apply.pb-btn--primary:hover { background: color-mix(in srgb, var(--pb-fill) 85%, #000); }
@media (max-width: 359px) { .pb-header__apply.pb-btn--primary { display: none; } }

/* Menu */
.pb-menu { background: var(--pb-bg); color: var(--pb-ink); opacity: 0; transition: opacity var(--pb-d) var(--pb-ease), transform var(--pb-d) var(--pb-ease); }
.pb-menu.pb-is-open { opacity: 1; transform: none; }
.pb-menu--preview { width: min(100%, 390px); transform: none; opacity: 1; border-radius: var(--pb-r-md); box-shadow: 0 0 0 1px var(--pb-line), var(--pb-shadow-2); }
.pb-menu__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding-inline: var(--pb-gutter); border-block-end: 1px solid var(--pb-line); }
.pb-menu__close { display: grid; place-items: center; width: 48px; height: 48px; flex: none; padding: 0; border: 0; border-radius: var(--pb-r-icon); background: var(--accent-soft); color: inherit; cursor: pointer; }
.pb-menu__body { padding: 24px var(--pb-gutter); }
.pb-menu__list { display: grid; gap: 2px; }
.pb-menu__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 12px; border-radius: var(--pb-r-sm); color: inherit; font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: 1.5rem; text-decoration: none; }
.pb-menu__link:hover, .pb-menu__link[aria-current="page"] { background: var(--accent-soft); }
.pb-menu__link .pb-icon { color: var(--pb-accent-text); }
.pb-menu__secondary { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-block-start: 24px; padding-inline: 12px; }
.pb-menu__sublink { display: inline-flex; align-items: center; min-height: 44px; color: var(--pb-muted); font-weight: 700; }
.pb-menu__dock { padding: 16px var(--pb-gutter); border-block-start: 1px solid var(--pb-line); background: var(--pb-surface); }

/* Page head & crumbs */
.pb-pagehead { position: relative; overflow: hidden; padding-block: 48px 64px; }
.pb-pagehead__art { position: absolute; inset: 0; pointer-events: none; }
.pb-pagehead__art:empty { display: none; }
.pb-pagehead__inner { position: relative; display: grid; gap: 16px; }
.pb-pagehead__title { max-width: 18em; font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-3xl); line-height: var(--pb-lh-tight); letter-spacing: var(--pb-ls-head); text-wrap: balance; }
.pb-crumbs__list { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 0.875rem; color: var(--pb-muted); }
.pb-crumbs__item { display: inline-flex; align-items: center; gap: 8px; }
.pb-crumbs__item + .pb-crumbs__item::before { content: "/"; opacity: 0.6; }
.pb-crumbs__link { display: inline-flex; align-items: center; min-height: 32px; color: inherit; font-weight: 700; }

/* Split, facts, quote, mission and vision */
.pb-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .pb-split { grid-template-columns: 1fr 1fr; gap: 64px; } .pb-split--flip > :first-child { order: 2; } }
.pb-split__media { position: relative; }
.pb-split__body { display: grid; gap: 20px; justify-items: start; }
.pb-split__mark { position: absolute; inset-block-start: -16px; inset-inline-end: -8px; }
.pb-facts { display: flex; flex-wrap: wrap; gap: 16px; }
.pb-bigquote { display: grid; justify-items: center; gap: 24px; max-width: 54rem; text-align: center; }
.pb-bigquote__mark { display: grid; place-items: center; color: var(--pb-accent-text); }
.pb-bigquote__mark .pb-icon { width: 48px; height: 48px; }
.pb-bigquote__text { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-xl); line-height: 1.3; text-wrap: balance; }
.pb-mv { display: grid; gap: 24px; }
@media (min-width: 768px) { .pb-mv { grid-template-columns: 1fr 1fr; } }
.pb-mv__card { display: grid; gap: 12px; align-content: start; padding: 32px 24px; border-radius: var(--pb-r-md); background: var(--pb-surface); box-shadow: var(--pb-card-edge); }
.pb-mv__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--pb-r-icon); background: var(--accent); color: var(--accent-ink); }
.pb-mv__icon .pb-icon { width: 26px; height: 26px; }
.pb-mv__title, .pb-card__title { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-lg); line-height: 1.2; }
.pb-mv__text { color: var(--pb-muted); }

/* Stats */
.pb-stats { padding-block: 48px; }
.pb-stats__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 24px; }
.pb-stat { flex: 1 1 150px; min-width: 0; max-width: 280px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.pb-stat__title { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-xl); line-height: 1.15; font-variant-numeric: tabular-nums; }
.pb-stat__desc { max-width: 24ch; color: var(--pb-muted); font-size: 0.9375rem; }

/* Principal */
.pb-principal { display: grid; gap: 24px; padding: 32px 24px; border-radius: var(--pb-r-lg); background: var(--pb-surface); box-shadow: var(--pb-card-edge); }
@media (min-width: 768px) { .pb-principal { grid-template-columns: auto 1fr; gap: 48px; padding: 48px; } }
.pb-principal__photo-wrap { width: 144px; height: 144px; }
.pb-principal__photo { width: 100%; height: 100%; border-radius: var(--pb-r-md); }
.pb-principal__initials { display: grid; place-items: center; width: 100%; height: 100%; border-radius: var(--pb-r-md); background: var(--pb-fill); color: var(--pb-fill-ink); font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: 2.5rem; }
.pb-principal__body { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.pb-principal__msg { display: grid; gap: 16px; }
.pb-principal__name { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-lg); line-height: 1.2; }
.pb-principal__role { color: var(--pb-muted); font-weight: 600; }
.pb-readmore { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Programmes */
.pb-programs { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pb-programs:has(> .pb-program:only-child) { grid-template-columns: minmax(0, 880px); justify-content: center; }
.pb-program { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--pb-r-md); background: var(--pb-surface); box-shadow: var(--pb-card-edge); overflow: hidden; }
.pb-program__body { display: grid; gap: 12px; align-content: start; flex: 1; padding: 20px 24px 28px; }
.pb-program__age { justify-self: start; display: inline-flex; align-items: center; min-height: 30px; padding: 2px 12px; border-radius: var(--pb-r-pill); background: var(--accent-soft); font-family: var(--pb-font-ui); font-weight: var(--pb-fw-ui); font-size: 0.875rem; line-height: 1.3; }
.pb-program__name { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-lg); line-height: 1.2; }
.pb-program__desc { color: var(--pb-muted); }
.pb-program--compact .pb-program__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pb-ticks { display: grid; gap: 8px; margin-block-start: 4px; }
.pb-ticks__item { display: flex; gap: 12px; align-items: baseline; }
.pb-ticks__item::before { content: ""; flex: none; width: 8px; height: 8px; translate: 0 -2px; border-radius: 50%; background: var(--accent); }

/* Feature groups */
.pb-tabs__list { gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 48px; overflow-x: auto; scrollbar-width: none; }
.pb-tabs__tab { flex: none; min-height: 48px; padding: 0 24px; border: 0; background: transparent; color: inherit; font-family: var(--pb-font-ui); font-weight: var(--pb-fw-ui); font-size: 1rem; cursor: pointer; transition: background-color var(--pb-d) var(--pb-ease), color var(--pb-d-fast) var(--pb-ease); }
.pb-tabs__tab[aria-selected="true"] { background: var(--pb-fill); color: var(--pb-fill-ink); }
.pb-tabs__panel:not([hidden]) { animation: pb-pop var(--pb-d-slow) var(--pb-ease); }
.pb-tabs--stacked .pb-tabs__panel + .pb-tabs__panel, .pb-tabs:not(.pb-tabs--on) .pb-tabs__panel + .pb-tabs__panel { margin-block-start: 64px; }
.pb-tabs__panel-title { margin-block-end: 24px; text-align: center; font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-lg); }
.pb-features { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.pb-features:has(> :only-child) { grid-template-columns: minmax(0, 520px); justify-content: center; }
.pb-feature { display: grid; gap: 12px; align-content: start; justify-items: start; padding: 28px 24px; border-radius: var(--pb-r-md); background: var(--pb-surface); box-shadow: var(--pb-card-edge); }
.pb-feature__title { margin-block-start: 4px; font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-md); line-height: 1.25; }
.pb-feature__desc { color: var(--pb-muted); }

/* Achievements */
.pb-achieves { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.pb-achieve { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--pb-r-md); background: var(--pb-surface); box-shadow: var(--pb-card-edge); overflow: hidden; }
.pb-achieve__year { position: absolute; z-index: 1; inset-block-start: 12px; inset-inline-start: 12px; min-height: 36px; padding: 4px 12px; border-radius: var(--pb-r-pill); background: var(--pb-fill); color: var(--pb-fill-ink); }
.pb-achieve__year .pb-mark__big { font-size: 1rem; }
.pb-achieve__body { display: grid; gap: 8px; padding: 20px 24px 24px; }
.pb-achieve--noimg .pb-achieve__body { padding-block-start: 72px; }
.pb-achieve__title { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-md); line-height: 1.25; }
.pb-achieve__desc { color: var(--pb-muted); }
.pb-achieves--preview .pb-achieve__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pb-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 48px; }
.pb-filter__btn { min-height: 44px; padding: 0 20px; border: 2px solid var(--pb-line-strong); border-radius: var(--pb-r-btn); background: var(--pb-surface); color: var(--pb-ink); font-family: var(--pb-font-ui); font-weight: var(--pb-fw-ui); cursor: pointer; transition: background-color var(--pb-d-fast) var(--pb-ease), border-color var(--pb-d-fast) var(--pb-ease); }
.pb-filter__btn:hover { border-color: var(--accent); }
.pb-filter__btn[aria-pressed="true"] { border-color: var(--accent); background: var(--pb-fill); color: var(--pb-fill-ink); }
.pb-year + .pb-year { margin-block-start: 64px; }
.pb-year__title { margin-block-end: 24px; font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-xl); }

/* Testimonials */
.pb-quotes__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-block-end: 40px; }
.pb-quotes__head .pb-section__head { margin-block-end: 0; }
.pb-quotes__controls { gap: 8px; }
.pb-quotes__track { gap: 24px; }
.pb-quotes--carousel .pb-quotes__track { padding-block: 4px 16px; }
@media (min-width: 768px) { .pb-quotes--carousel .pb-quote { flex-basis: calc((100% - 24px) / 2); } }
@media (min-width: 1120px) { .pb-quotes--carousel .pb-quote { flex-basis: calc((100% - 48px) / 3); } }
.pb-quote { display: flex; flex-direction: column; gap: 16px; padding: 28px 24px; border-radius: var(--pb-r-md); background: var(--pb-surface); box-shadow: var(--pb-card-edge); }
.pb-quote__mark { color: var(--pb-accent-text); }
.pb-quote__mark .pb-icon { width: 32px; height: 32px; }
.pb-quote__text { flex: 1; font-size: var(--pb-fs-md); line-height: 1.55; }
.pb-quote__by { display: flex; align-items: center; gap: 12px; padding-block-start: 16px; border-block-start: 1px solid var(--pb-line); }
.pb-quote__avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--pb-fill); color: var(--pb-fill-ink); font-family: var(--pb-font-ui); font-weight: var(--pb-fw-ui); }
.pb-quote__who { display: grid; min-width: 0; }
.pb-quote__name { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); line-height: 1.25; }
.pb-quote__rel { color: var(--pb-muted); font-size: 0.9375rem; line-height: 1.35; }
.pb-dots { gap: 2px; margin-block-start: 8px; }
.pb-dots__dot::before, .pb-slider__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; transition: background-color var(--pb-d-fast) var(--pb-ease), transform var(--pb-d) var(--pb-ease); }
.pb-dots__dot[aria-current="true"]::before, .pb-slider__dot[aria-current="true"]::before { background: currentColor; transform: scale(1.3); }

/* Slider */
.pb-slider { position: relative; padding-block: 16px 64px; }
.pb-slider__viewport { height: clamp(440px, 72svh, 560px); background: var(--pb-sunk); }
@media (min-width: 768px) { .pb-slider__viewport { height: clamp(460px, calc(100svh - var(--pb-header-h) - 140px), 600px); } }
.pb-slide__scrim { position: absolute; inset: 0; background: var(--pb-scrim); }
.pb-slide__content { position: absolute; inset-inline: 0; inset-block-end: 0; display: grid; gap: 16px; justify-items: start; padding: 32px 24px 96px; color: #FFFFFF; }
.pb-slide__title { max-width: 22ch; font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-2xl); line-height: var(--pb-lh-tight); text-wrap: balance; }
.pb-slider__controls { position: absolute; inset-inline: 24px; inset-block-end: 20px; display: flex; align-items: center; gap: 12px; color: #FFFFFF; }
.pb-slider__dots { margin-inline-end: auto; }
.pb-slider--single .pb-slide__content { padding-block-end: 32px; }
@media (min-width: 768px) { .pb-slide__content { padding: 64px 64px 104px; } .pb-slider__controls { inset-inline: 64px; inset-block-end: 28px; } .pb-slide__title { font-size: var(--pb-fs-3xl); } }

/* CTA band */
.pb-cta { padding-block: 0 64px; }
.pb-cta__panel { position: relative; overflow: hidden; display: grid; gap: 24px; padding: 48px 24px; border-radius: var(--pb-r-lg); background: var(--pb-cta-bg); color: var(--pb-cta-ink); }
.pb-cta__copy { position: relative; display: grid; gap: 12px; max-width: 38rem; }
.pb-cta__title { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-2xl); line-height: var(--pb-lh-head); text-wrap: balance; }
.pb-cta__actions { position: relative; }
@media (min-width: 900px) { .pb-cta__panel { grid-template-columns: 1fr auto; align-items: center; padding: 64px; } }

/* Footer */
.pb-footer { position: relative; padding-block: 72px 32px; background: var(--pb-night); color: var(--pb-night-ink); --pb-focus: var(--pb-night-ink); }
.pb-footer__grid { display: grid; gap: 48px; }
@media (min-width: 640px) { .pb-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pb-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; } }
.pb-footer__brand { display: grid; gap: 16px; justify-items: start; }
.pb-footer__logo { height: 56px; width: auto; max-width: 180px; object-fit: contain; padding: 6px; border-radius: var(--pb-r-sm); background: #FFFFFF; }
.pb-footer__name { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-lg); line-height: 1.2; }
.pb-footer__text { max-width: 44ch; color: var(--pb-night-muted); }
.pb-footer__heading { margin-block-end: 16px; font-family: var(--pb-font-ui); font-weight: var(--pb-fw-ui); font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pb-night-accent); }
.pb-footer__list { display: grid; gap: 2px; }
.pb-footer__link { display: inline-flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-block: 10px; color: var(--pb-night-ink); line-height: 1.45; text-decoration: none; }
.pb-footer__link .pb-icon { margin-block-start: 1px; color: var(--pb-night-accent); }
.pb-footer__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.pb-footer__address { font-style: normal; }
.pb-footer .pb-pill--open { background: color-mix(in srgb, var(--pb-night-ink) 12%, transparent); color: var(--pb-night-ink); }
.pb-social { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-social__link { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--pb-night-line); border-radius: var(--pb-r-icon); color: var(--pb-night-ink); transition: border-color var(--pb-d-fast) var(--pb-ease), background-color var(--pb-d-fast) var(--pb-ease); }
.pb-social__link:hover { border-color: var(--pb-night-accent); }
.pb-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-block-start: 64px; padding-block-start: 24px; border-block-start: 1px solid var(--pb-night-line); color: var(--pb-night-muted); font-size: 0.9375rem; }
.pb-footer__base-links { display: flex; flex-wrap: wrap; gap: 24px; }
.pb-footer__base-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--pb-night-muted); }
.pb-footer__base-link:hover { color: var(--pb-night-ink); }

/* Floating WhatsApp */
.pb-wa { position: fixed; inset-inline-end: 16px; inset-block-end: max(16px, env(safe-area-inset-bottom)); z-index: var(--pb-z-float); display: inline-flex; align-items: center; gap: 0; height: 56px; min-width: 56px; padding: 0 16px; border: 0; border-radius: var(--pb-r-pill); background: var(--pb-wa-bg); color: var(--pb-wa-ink); font-family: var(--pb-font-ui); font-weight: var(--pb-fw-ui); cursor: pointer; box-shadow: var(--pb-shadow-2); transition: transform var(--pb-d) var(--pb-ease), gap var(--pb-d) var(--pb-ease); }
.pb-wa .pb-icon { width: 24px; height: 24px; }
.pb-wa__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width var(--pb-d-slow) var(--pb-ease); }
.pb-wa:hover, .pb-wa:focus-visible { gap: 8px; transform: translateY(-2px); }
.pb-wa:hover .pb-wa__label, .pb-wa:focus-visible .pb-wa__label { max-width: 12rem; }
.pb-wa--preview { position: relative; inset: auto; }

/* Cards, contact, map */
.pb-card { display: grid; gap: 12px; align-content: start; justify-items: start; padding: 28px 24px; border-radius: var(--pb-r-md); background: var(--pb-surface); box-shadow: var(--pb-card-edge); }
.pb-card .pb-btn { width: 100%; }
.pb-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--pb-r-icon); background: var(--accent-soft); color: var(--pb-ink); }
.pb-card__icon .pb-icon { width: 24px; height: 24px; }
.pb-contactgrid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.pb-contactcard__lines { display: grid; }
.pb-contactcard__line { display: inline-flex; align-items: center; min-height: 44px; color: var(--pb-ink); font-weight: 700; word-break: break-word; }
.pb-contactcard__address { font-style: normal; color: var(--pb-muted); }
.pb-map { border-radius: var(--pb-r-lg); background: var(--pb-sunk); box-shadow: var(--pb-card-edge); }
.pb-map__fallback { background: repeating-linear-gradient(0deg, transparent 0 39px, var(--pb-line) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, var(--pb-line) 39px 40px), var(--pb-sunk); }
.pb-map__pin { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.pb-map__pin .pb-icon { width: 30px; height: 30px; }
.pb-map__title { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-lg); }

/* Day-in-the-life timeline (preschool) */
.pb-day { display: grid; gap: 0; }
.pb-day__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding-block-end: 32px; }
.pb-day__step::before { content: ""; position: absolute; inset-block: 56px 0; inset-inline-start: 27px; border-inline-start: 2px dashed var(--pb-line-strong); }
.pb-day__step:last-child::before { display: none; }
.pb-day__marker { grid-row: span 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--pb-ink); }
.pb-day__time { font-family: var(--pb-font-ui); font-weight: var(--pb-fw-ui); color: var(--pb-accent-text); font-variant-numeric: tabular-nums; }
.pb-day__title { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-md); line-height: 1.25; }
.pb-day__text { color: var(--pb-muted); }


/* Admission steps */
.pb-steps { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.pb-step { display: grid; gap: 10px; justify-items: start; align-content: start; padding: 24px; border-radius: var(--pb-r-md); background: var(--pb-surface); box-shadow: var(--pb-card-edge); }
.pb-step__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--pb-r-icon); background: var(--pb-fill); color: var(--pb-fill-ink); font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: 1.375rem; }
.pb-step__title { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-md); }
.pb-step__text { color: var(--pb-muted); }

/* FAQ */
.pb-faq { display: grid; gap: 12px; max-width: 52rem; margin-inline: auto; }
.pb-faq__item { border-radius: var(--pb-r-sm); background: var(--pb-surface); box-shadow: var(--pb-card-edge); }
.pb-faq__btn { gap: 16px; min-height: 64px; padding: 16px 24px; border: 0; border-radius: var(--pb-r-sm); background: transparent; color: inherit; font-family: var(--pb-font-ui); font-weight: var(--pb-fw-ui); font-size: var(--pb-fs-md); line-height: 1.3; }
.pb-faq__sign { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: var(--pb-r-icon); background: var(--accent-soft); transition: rotate var(--pb-d) var(--pb-ease), background-color var(--pb-d-fast) var(--pb-ease); }
.pb-faq__btn[aria-expanded="true"] .pb-faq__sign { rotate: 45deg; background: var(--pb-fill); color: var(--pb-fill-ink); }
.pb-faq__text { max-width: 44rem; padding: 0 24px 24px; color: var(--pb-muted); }

/* Forms */
.pb-formlayout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .pb-formlayout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; } .pb-aside { position: sticky; inset-block-start: calc(var(--pb-header-h) + 24px); } }
.pb-formwrap { display: grid; gap: 20px; min-width: 0; }
.pb-aside { display: grid; gap: 24px; }
.pb-form { display: grid; gap: 32px; padding: 32px 20px; border-radius: var(--pb-r-lg); background: var(--pb-surface); box-shadow: var(--pb-card-edge); }
@media (min-width: 768px) { .pb-form { padding: 48px; } }
.pb-form__intro { display: grid; gap: 8px; }
.pb-form__title { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-xl); line-height: 1.2; }
.pb-form__status { padding: 12px 16px; border-radius: var(--pb-r-sm); background: var(--accent-soft); font-weight: 700; }
.pb-fieldset { display: grid; gap: 16px; }
.pb-fieldset__legend { margin-block-end: 16px; font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-md); }
.pb-field__label { font-weight: 700; line-height: 1.35; }
.pb-field__req { color: var(--pb-danger); }
.pb-field__opt { color: var(--pb-muted); font-weight: 400; }
.pb-field__hint { color: var(--pb-muted); font-size: 0.875rem; line-height: 1.4; }
.pb-input { padding: 12px 16px; border: 2px solid var(--pb-line-strong); border-radius: var(--pb-r-input); background: var(--pb-input-bg); color: var(--pb-ink); transition: border-color var(--pb-d-fast) var(--pb-ease), box-shadow var(--pb-d-fast) var(--pb-ease); }
.pb-input::placeholder { color: var(--pb-muted); }
.pb-input:hover { border-color: var(--pb-muted); }
.pb-input:focus-visible, .pb-input.pb-spec-focus { outline: none; border-color: var(--pb-focus); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
.pb-field--error .pb-input { border-color: var(--pb-danger); background-color: var(--pb-danger-soft); }
.pb-field__error { color: var(--pb-danger); }
.pb-form__privacy { max-width: 34ch; color: var(--pb-muted); font-size: 0.875rem; line-height: 1.45; }
.pb-alert { padding: 24px; border-radius: var(--pb-r-md); border: 2px solid; }
.pb-alert--success { background: var(--pb-success-soft); border-color: color-mix(in srgb, var(--pb-success) 45%, transparent); }
.pb-alert--error { background: var(--pb-danger-soft); border-color: color-mix(in srgb, var(--pb-danger) 45%, transparent); }
.pb-alert--calm { background: var(--pb-surface); border-color: var(--pb-line-strong); border-style: dashed; }
.pb-alert__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--pb-r-icon); }
.pb-alert--success .pb-alert__icon { background: var(--pb-success); color: #FFFFFF; }
.pb-alert--error .pb-alert__icon { background: var(--pb-danger); color: #FFFFFF; }
.pb-alert--calm .pb-alert__icon { background: var(--accent-soft); color: var(--pb-ink); }
.pb-alert__title { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-md); line-height: 1.3; }
.pb-alert--success, .pb-alert--error { color: #1F1F1F; }
.pb-alert--success .pb-muted, .pb-alert--error .pb-muted { color: #4A4A4A; }

/* Empty states */
.pb-empty { display: grid; justify-items: center; gap: 16px; max-width: 32rem; margin-inline: auto; padding: 48px 24px; border-radius: var(--pb-r-lg); background: var(--pb-surface); text-align: center; box-shadow: 0 0 0 2px var(--pb-line); }
.pb-empty__title { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-lg); line-height: 1.25; }
.pb-empty__text { color: var(--pb-muted); }

/* Notices page */
.pb-months { display: grid; gap: 48px; max-width: 52rem; }
.pb-month__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-block-end: 16px; font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-xl); }
.pb-month__count { color: var(--pb-muted); font-family: var(--pb-font-body); font-weight: 400; font-size: 0.9375rem; }
.pb-month__list { display: grid; gap: 12px; }
.pb-notice-row { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: var(--pb-r-sm); background: var(--pb-surface); box-shadow: var(--pb-card-edge); }
.pb-notice-row__date { display: grid; place-content: center; width: 64px; height: 64px; border-radius: var(--pb-r-icon); background: var(--accent-soft); text-align: center; line-height: 1; }
.pb-notice-row__day { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: 1.5rem; }
.pb-notice-row__wd { margin-block-start: 2px; color: var(--pb-muted); font-size: 0.8125rem; font-weight: 700; }
.pb-notice-row__body { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.pb-notice-row__text { font-weight: 600; line-height: 1.45; }
.pb-notice-row__link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--pb-ink); font-weight: 700; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.pb-notice-row__link .pb-icon { width: 16px; height: 16px; }

/* Branches, staff */
.pb-branches { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.pb-branch { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--pb-r-md); background: var(--pb-surface); box-shadow: var(--pb-card-edge); overflow: hidden; }
.pb-branch__main { position: absolute; z-index: 1; inset-block-start: 12px; inset-inline-end: 12px; min-height: 32px; padding: 4px 12px; border-radius: var(--pb-r-pill); background: var(--pb-fill); color: var(--pb-fill-ink); }
.pb-branch__body { display: grid; gap: 10px; align-content: start; flex: 1; padding: 20px 24px; }
.pb-branch__city { justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: var(--pb-accent-text); font-family: var(--pb-font-ui); font-weight: var(--pb-fw-ui); font-size: 0.875rem; }
.pb-branch__city .pb-icon { width: 16px; height: 16px; }
.pb-branch__name { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-lg); line-height: 1.2; }
.pb-branch__address { font-style: normal; color: var(--pb-muted); }
.pb-branch__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--pb-muted); }
.pb-branch--compact .pb-branch__desc { display: none; }
.pb-branch__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 24px 24px; }
.pb-branch__view { margin-inline-start: auto; }
.pb-branchhero { padding-block: 32px 64px; }
.pb-branchhero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .pb-branchhero__grid { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.pb-branchhero__copy { display: grid; gap: 16px; justify-items: start; }
.pb-branchhero__frame { border-radius: var(--pb-r-lg); }
.pb-staff { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.pb-person { display: grid; justify-items: center; gap: 4px; text-align: center; }
.pb-person__photo, .pb-person__initials { width: 140px; aspect-ratio: 1; margin-block-end: 12px; border-radius: var(--pb-r-md); }
.pb-person__initials { display: grid; place-items: center; background: var(--accent-soft); font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: 2.25rem; }
.pb-person__name { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); line-height: 1.25; }
.pb-person__role { color: var(--pb-muted); font-size: 0.9375rem; }

/* Gallery */
.pb-events { display: grid; gap: 40px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.pb-event { display: grid; gap: 12px; align-content: start; }
.pb-event__stack { position: relative; }
.pb-event__cover { border-radius: var(--pb-r-md); }
.pb-event__count { position: absolute; z-index: 2; inset-block-end: 12px; inset-inline-end: 12px; display: inline-flex; gap: 4px; align-items: baseline; padding: 6px 12px; border-radius: var(--pb-r-pill); background: var(--pb-surface); color: var(--pb-ink); }
.pb-event__count .pb-mark__big { font-size: 1rem; }
.pb-event__body { display: grid; gap: 2px; }
.pb-event__title { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-md); line-height: 1.25; }
.pb-event__date { color: var(--pb-muted); font-size: 0.9375rem; }
.pb-lightbox { background: rgb(12 12 14 / 0.94); color: #FFFFFF; --pb-focus: #FFFFFF; }
.pb-lightbox--preview { border-radius: var(--pb-r-md); }
.pb-lightbox__title { font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-md); }
.pb-lightbox__count { color: #D4D4D4; font-size: 0.9375rem; }
.pb-lightbox__btn.pb-iconbtn { width: 52px; height: 52px; border-color: #FFFFFF; background: transparent; color: #FFFFFF; }
.pb-lightbox__btn.pb-iconbtn:hover { background: rgb(255 255 255 / 0.14); }
.pb-lightbox__img { border-radius: var(--pb-r-sm); animation: pb-pop var(--pb-d) var(--pb-ease); }

/* 404 */
.pb-404 { padding-block: 64px 96px; }
.pb-404__inner { display: grid; justify-items: center; gap: 24px; text-align: center; }
.pb-404__title { max-width: 20ch; font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: var(--pb-fs-2xl); line-height: var(--pb-lh-head); text-wrap: balance; }

/* Specification page helpers */
.pb-spec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 48px; border-block-start: 2px dashed var(--pb-line-strong); }
.pb-spec__label { justify-self: start; padding: 4px 12px; border-radius: 6px; background: var(--pb-ink); color: var(--pb-bg); font-family: var(--pb-font-body); font-size: 0.875rem; font-weight: 700; }
.pb-spec__note { color: var(--pb-muted); font-size: 0.9375rem; }
.pb-spec__row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.pb-spec__box { position: relative; overflow: hidden; border-radius: var(--pb-r-md); background: var(--pb-bg); box-shadow: 0 0 0 1px var(--pb-line); }
@media (max-width: 479px) {
  .pb-header__apply.pb-btn--primary { padding: 0 12px; font-size: 0.9375rem; }
  .pb-brand { gap: 8px; }
  .pb-brand__logo, .pb-brand__mark { height: 40px; }
  .pb-brand__mark { width: 40px; }
  .pb-brand__name { font-size: 0.9375rem; }
}

/* ---------- Paper Boat: theme components ---------- */

/* ---------- 2. Paper language: folded corners and creases ---------- */
.pb-reveal--wait { transform-origin: 50% 0; }
.pb-program, .pb-feature, .pb-achieve, .pb-quote, .pb-card, .pb-mv__card, .pb-step, .pb-branch, .pb-form, .pb-principal, .pb-notice-row, .pb-faq__item, .pb-empty {
  border-radius: var(--pb-r-md) 0 var(--pb-r-md) var(--pb-r-md);
  background-image: var(--pb-crease);
  clip-path: polygon(0 0, calc(100% - var(--pb-fold)) 0, 100% var(--pb-fold), 100% 100%, 0 100%);
  box-shadow: none;
  border: 1px solid var(--pb-line);
}
.pb-program::after, .pb-feature::after, .pb-achieve::after, .pb-quote::after, .pb-card::after, .pb-mv__card::after, .pb-step::after, .pb-branch::after, .pb-form::after, .pb-principal::after, .pb-notice-row::after, .pb-faq__item::after, .pb-empty::after {
  content: ""; position: absolute; inset-block-start: 0; inset-inline-end: 0; width: var(--pb-fold); height: var(--pb-fold);
  background: linear-gradient(225deg, transparent 50%, var(--pb-sunk) 50%, color-mix(in srgb, var(--pb-sunk) 70%, var(--pb-line)));
  border-end-start-radius: 6px; pointer-events: none; z-index: 2;
}
.pb-feature, .pb-quote, .pb-card, .pb-mv__card, .pb-step, .pb-form, .pb-principal, .pb-notice-row, .pb-faq__item, .pb-empty { position: relative; }
.pb-fa { border-radius: 4px 14px 4px 4px; background: var(--accent-soft); color: var(--pb-accent-text); }
.pb-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.pb-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.pb-btn { border-radius: var(--pb-r-btn) 2px var(--pb-r-btn) var(--pb-r-btn); }
.pb-btn--primary { box-shadow: 3px 3px 0 color-mix(in srgb, var(--accent) 35%, #fff); }
.pb-btn--secondary { border-color: var(--pb-ink); }
.pb-iconbtn { border-color: var(--pb-line-strong); }
.pb-frame--empty { background: var(--pb-crease), var(--pb-sunk); color: var(--pb-accent-text); }
.pb-pill { border-radius: 4px; background: var(--pb-surface); box-shadow: 0 0 0 1px var(--pb-line); }

/* Water line (the signature loop) */
.pb-wave { position: relative; height: 40px; overflow: hidden; }
.pb-wave__a, .pb-wave__b { position: absolute; inset-inline: -40px; inset-block-end: 0; height: 100%; background-repeat: repeat-x;
  background-image: radial-gradient(28px 14px at 28px 0, transparent 98%, var(--pb-water) 100%); background-size: 56px 40px; }
.pb-wave__a { animation: pb-drift 14s linear infinite; }
.pb-wave__b { opacity: 0.55; background-position: 28px 6px; animation: pb-drift 20s linear infinite reverse; }
@keyframes pb-drift { to { translate: 56px 0; } }
.pb-section--programs > .pb-wave { position: absolute; inset-inline: 0; inset-block-start: -39px; rotate: 180deg; }
.pb-section--programs > .pb-wave .pb-wave__a, .pb-section--programs > .pb-wave .pb-wave__b { background-image: radial-gradient(28px 14px at 28px 0, transparent 98%, var(--pb-sunk) 100%); }

/* ---------- 3. Utility strip + main bar (two-tier) ---------- */
.pb-utility { background: var(--pb-surface); border-block-end: 1px solid var(--pb-line); font-size: 0.875rem; }
.pb-utility__inner { display: flex; align-items: center; gap: 4px 20px; min-height: 40px; }
.pb-utility__badge { display: none; color: var(--pb-muted); font-weight: 700; }
.pb-utility__link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--pb-ink); font-weight: 700; text-decoration: none; }
.pb-utility__link:hover, .pb-utility__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.pb-utility__link .pb-icon { width: 16px; height: 16px; color: var(--pb-accent-text); }
.pb-utility__email { display: none; }
.pb-utility__sec { display: inline-flex; gap: 16px; margin-inline-start: auto; }
@media (max-width: 559px) { .pb-utility__contact span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .pb-utility__contact { min-width: 40px; justify-content: center; } }
@media (min-width: 900px) { .pb-utility__badge { display: inline; } .pb-utility__email { display: inline-flex; } }
.pb-header { position: sticky; inset-block-start: 0; z-index: var(--pb-z-header); background: var(--pb-bg); border-block-end: 1px solid var(--pb-line); transition: box-shadow var(--pb-d) var(--pb-ease); }
.pb-header__bar { display: flex; align-items: center; gap: 12px; width: min(100% - 2 * var(--pb-gutter), var(--pb-container)); min-height: var(--pb-header-h); margin-inline: auto; transition: min-height var(--pb-d) var(--pb-ease); }
.pb-header--float { box-shadow: 0 4px 0 -1px #FFFFFF, 0 4px 0 0 var(--pb-line), 0 12px 24px -16px rgb(24 50 90 / 0.4); }
.pb-header--float .pb-header__bar { min-height: 62px; }
.pb-header--static { position: relative; }
.pb-brand { margin-inline-end: auto; }
.pb-brand__mark { border-radius: 4px 14px 4px 4px; }
.pb-nav { display: none; }
.pb-nav__link { border-radius: 8px; }
.pb-nav__link:hover { background: var(--accent-soft); }
.pb-nav__link[aria-current="page"] { color: var(--pb-accent-text); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.pb-menu-btn { background: var(--pb-surface); box-shadow: 0 0 0 1px var(--pb-line-strong); }
@media (min-width: 1240px) { .pb-nav { display: block; } .pb-menu-btn { display: none; } .pb-brand { margin-inline-end: 24px; } .pb-nav { margin-inline-end: auto; } }

/* ---------- 4. Menu ---------- */
.pb-menu { transform: perspective(900px) rotateX(-6deg); transform-origin: 50% 0; }
.pb-menu__body { background: var(--pb-crease), var(--pb-bg); }
.pb-menu__link { border-block-end: 1px dashed var(--pb-line-strong); border-radius: 0; }

/* ---------- 5. Notice bar ---------- */
.pb-notice__link:hover { text-decoration-color: #FFFFFF; }

/* ---------- 6. Hero: type-led with the sailing boat ---------- */
.pb-hero { position: relative; overflow: hidden; padding-block: 40px 0; background: linear-gradient(var(--pb-bg) 70%, var(--pb-sunk)); }
.pb-hero__inner { display: grid; gap: 20px; justify-items: start; padding-block-end: 56px; }
.pb-hero__title { max-width: 15ch; font-family: var(--pb-font-display); font-weight: var(--pb-fw-display); font-size: clamp(2.5rem, 1.7rem + 3.4vw, 4.25rem); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.pb-hero__row { display: grid; gap: 40px; width: 100%; align-items: center; }
.pb-hero__copy { display: grid; gap: 22px; justify-items: start; }
.pb-hero__subtitle { max-width: 36rem; }
.pb-hero__subtitle { color: var(--pb-muted); font-size: var(--pb-fs-md); }
.pb-hero__tags { display: flex; flex-wrap: wrap; gap: 12px; }
.pb-tag { position: relative; display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 16px 8px 22px; background: var(--pb-surface); clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); box-shadow: inset 0 0 0 1px var(--pb-line); font-weight: 700; }
.pb-tag::before { content: ""; position: absolute; inset-inline-start: 10px; inset-block-start: 50%; width: 6px; height: 6px; translate: 0 -50%; border-radius: 50%; background: var(--pb-line-strong); }
.pb-tag__big { font-family: var(--pb-font-display); font-weight: 700; color: var(--pb-accent-text); font-size: 1.125rem; }
.pb-hero__card { position: relative; padding: 10px; background: var(--pb-surface); clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); box-shadow: inset 0 0 0 1px var(--pb-line); rotate: 2deg; }
.pb-hero__card::after { content: ""; position: absolute; inset-block-start: 0; inset-inline-end: 0; width: 40px; height: 40px; background: linear-gradient(225deg, transparent 50%, var(--pb-sunk) 50%); }
.pb-hero__photo { border-radius: 6px; }
.pb-hero__water { position: relative; height: 60px; }
.pb-hero__water .pb-wave { position: absolute; inset-inline: 0; inset-block-end: 0; height: 56px; }
.pb-hero__water .pb-wave__a, .pb-hero__water .pb-wave__b { background-image: radial-gradient(28px 14px at 28px 0, transparent 98%, var(--pb-bg) 100%); }
.pb-hero__water .pb-wave { background: var(--pb-water); }
.pb-boat { width: 96px; height: auto; }
.pb-boat__hull { fill: var(--pb-fill); }
.pb-boat__sail-l { fill: var(--accent-soft); stroke: var(--pb-line-strong); stroke-width: 1; }
.pb-boat__sail-r { fill: color-mix(in srgb, var(--accent) 45%, #fff); }
.pb-boat__crease { fill: none; stroke: rgb(24 38 58 / 0.25); stroke-width: 1; }
.pb-hero__water > .pb-boat { position: absolute; inset-block-end: 26px; inset-inline-start: calc(4% + var(--pb-sail, 0) * 78%); z-index: 1; transition: inset-inline-start 120ms linear; }
.pb-trail { position: absolute; z-index: 3; inset-block-start: var(--pb-y); inset-inline-start: var(--pb-x); width: 18px; height: 12px; pointer-events: none; background: var(--accent); clip-path: polygon(0 55%, 100% 55%, 82% 100%, 18% 100%, 50% 55%, 50% 0); opacity: 0.5; animation: pb-trail 900ms var(--pb-ease) forwards; }
@keyframes pb-trail { to { opacity: 0; translate: 0 18px; scale: 0.6; } }
@media (min-width: 900px) {
  .pb-hero { padding-block-start: 32px; }
  .pb-hero__row { grid-template-columns: 1.25fr minmax(0, 0.75fr); gap: 56px; }
  .pb-hero__inner { padding-block-end: 4px; }
}

/* Slider */
.pb-slider__viewport { border-radius: var(--pb-r-lg) 0 var(--pb-r-lg) var(--pb-r-lg); clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%); }
.pb-slider__btn.pb-iconbtn { background: rgb(255 255 255 / 0.94); }

/* ---------- 7. Page head ---------- */
.pb-pagehead { background: var(--pb-sunk); border-block-end: 1px solid var(--pb-line); }
.pb-pagehead__crease { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 60%, rgb(24 38 58 / 0.05) 60.2% 60.6%, transparent 60.8%), linear-gradient(65deg, transparent 72%, rgb(255 255 255 / 0.7) 72.2% 73%, transparent 73.2%); }
.pb-boat--head { position: absolute; inset-block-end: 24px; inset-inline-end: 8%; width: 140px; opacity: 0.9; rotate: -6deg; }

/* ---------- 8. Stats: folded tickets ---------- */
.pb-stats { background: var(--pb-sunk); }
.pb-stats__list { gap: 16px; }
.pb-stat { flex: 1 1 220px; padding: 24px 16px; background: var(--pb-surface); border: 1px solid var(--pb-line); border-inline-start: 4px solid var(--accent); text-align: start; justify-items: start; }
.pb-stat .pb-fa { width: 44px; height: 44px; font-size: 18px; }

/* ---------- 9. Split, principal ---------- */
.pb-about__media, .pb-story__media { border-radius: 4px; clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%); }
.pb-split__mark { inset-block-start: auto; inset-block-end: -18px; inset-inline-start: -10px; inset-inline-end: auto; padding: 12px 18px; background: var(--pb-surface); border: 1px solid var(--pb-line); box-shadow: var(--pb-shadow-1); }
.pb-facts__item { padding: 12px 18px; border-inline-start: 4px solid var(--accent); background: var(--pb-surface); }
.pb-principal__photo, .pb-principal__initials { border-radius: 4px 24px 4px 4px; }
.pb-bigquote__text { font-weight: 500; }
.pb-mv__icon { border-radius: 4px 14px 4px 4px; background: var(--pb-fill); }

/* ---------- 10. Programme cards ---------- */
.pb-program { overflow: hidden; }
.pb-program__body { padding: 20px 24px 28px; }
.pb-program__age { border-radius: 4px; background: var(--pb-sunk); color: var(--pb-accent-text); }
.pb-ticks__item::before { width: 10px; height: 6px; border-radius: 0; translate: 0 -3px; background: none; border-inline-start: 2px solid var(--accent); border-block-end: 2px solid var(--accent); rotate: -45deg; }
.pb-programs:has(> .pb-program:only-child) .pb-program { display: grid; }
@media (min-width: 768px) { .pb-programs:has(> .pb-program:only-child) .pb-program { grid-template-columns: 1fr 1fr; } .pb-programs:has(> .pb-program:only-child) .pb-program__media { height: 100%; } }
@media (hover: hover) { .pb-program .pb-frame__img { transition: transform var(--pb-d-slow) var(--pb-ease); } .pb-program:hover .pb-frame__img { transform: scale(1.04); } }

/* ---------- 11. Tabs ---------- */
.pb-section--features { background: var(--pb-sunk); }
.pb-tabs__list { border-block-end: 2px solid var(--pb-line); border-radius: 0; gap: 0; }
.pb-tabs__tab { border-radius: 10px 10px 0 0; margin-block-end: -2px; border-block-end: 2px solid transparent; }
.pb-tabs__tab[aria-selected="true"] { border-block-end-color: var(--pb-fill); }

/* ---------- 12. Achievements, testimonials, gallery ---------- */
.pb-achieve__year { border-radius: 4px; }
.pb-achieve--noimg { background: var(--pb-crease), var(--pb-surface); }
.pb-filter__btn { border-radius: 4px; }
.pb-quote__mark { color: var(--pb-water); }
.pb-quote__mark .pb-icon { width: 40px; height: 40px; stroke: var(--pb-accent-text); }
.pb-quote__avatar { border-radius: 4px 12px 4px 4px; }
.pb-event__stack { padding: 8px; background: var(--pb-surface); border: 1px solid var(--pb-line); box-shadow: 5px 5px 0 -1px #FFFFFF, 5px 5px 0 0 var(--pb-line), 10px 10px 0 -1px #FFFFFF, 10px 10px 0 0 var(--pb-line); transition: box-shadow var(--pb-d) var(--pb-ease), translate var(--pb-d) var(--pb-ease); }
.pb-event__cover { border-radius: 4px; }
.pb-event__count { border-radius: 4px; }
@media (hover: hover) { .pb-event:hover .pb-event__stack { translate: -3px -3px; box-shadow: 8px 8px 0 -1px #FFFFFF, 8px 8px 0 0 var(--pb-line), 14px 14px 0 -1px #FFFFFF, 14px 14px 0 0 var(--pb-line); } }

/* ---------- 13. CTA (a paper card on water) and footer ---------- */
.pb-cta__panel { border: 1px solid var(--pb-line); border-radius: var(--pb-r-lg) 0 var(--pb-r-lg) var(--pb-r-lg); clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 44px, 100% 100%, 0 100%); background: var(--pb-crease), var(--pb-surface); }
.pb-cta__panel::after { content: ""; position: absolute; inset-block-start: 0; inset-inline-end: 0; width: 44px; height: 44px; background: linear-gradient(225deg, transparent 50%, var(--accent-soft) 50%); }
.pb-cta { background: linear-gradient(transparent 50%, var(--pb-night) 50%); padding-block-end: 0; }
.pb-btn--cta2 { color: var(--pb-ink); }
.pb-footer { padding-block-start: 64px; }
.pb-social__link { border-radius: 4px 12px 4px 4px; }
.pb-wa { border-radius: 14px 2px 14px 14px; box-shadow: 0 0 0 1px var(--pb-line), 4px 4px 0 0 var(--accent); }

/* ---------- 14. Misc ---------- */
.pb-day__marker { border-radius: 4px 14px 4px 4px; background: var(--pb-surface); box-shadow: 0 0 0 1px var(--pb-line); color: var(--pb-accent-text); }
.pb-day__step::before { border-inline-start-style: solid; border-inline-start-width: 1px; }
.pb-step__num { border-radius: 4px 14px 4px 4px; }
.pb-faq__sign { border-radius: 4px; }
.pb-input { border-width: 1px; border-block-end-width: 3px; }
.pb-notice-row__date { border-radius: 4px 14px 4px 4px; }
.pb-branch__main { border-radius: 4px; }
.pb-branchhero__frame { clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%); }
.pb-person__photo, .pb-person__initials { border-radius: 4px 28px 4px 4px; }
.pb-map { border-radius: 4px; border: 8px solid var(--pb-surface); }
.pb-map__pin { border-radius: 4px 18px 4px 4px; }
.pb-boat--empty { width: 120px; }
.pb-404__svg { width: min(100%, 380px); height: auto; }
.pb-404__num { font-family: var(--pb-font-display); font-weight: 700; font-size: 88px; fill: var(--pb-ink); letter-spacing: -0.04em; }
.pb-404__boat { fill: var(--pb-fill); }
.pb-404__wave { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; }
.pb-faq__btn:focus-visible { outline-offset: -4px; }

/* ---------- Tail: hidden attribute always wins; reduced motion ---------- */
.pb-root [hidden][hidden]:not(.pb-disclosure-slot *) { display: none; }
@media (prefers-reduced-motion: reduce) {
  .pb-root :where(*, *::before, *::after):not(.pb-disclosure-slot *) {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    transition-delay: 0s;
    scroll-behavior: auto;
  }
  .pb-reveal--wait { opacity: 1; transform: none; filter: none; }
}
.pb-menu--preview { transform: none; }
