/*
Theme Name: Shako Training Centre
Theme URI: https://github.com/oberonlai/shippress-themes/tree/main/themes/shako-training
Author: ShipPress
Author URI: https://github.com/oberonlai/shippress-themes
Description: Shako Training Centre is a business theme for a forklift and warehouse-equipment training centre. The front page opens on a split yard hero (an illustrated yard window that cross-fades three scenes on the left, a solid pine panel with a two-colour headline on the right) with a week timeline and operator names underneath, then a straw next-intake bar, a sticky day-by-day timeline, counting figures, a course card row, a parallax yard band, a fees table, a tabbed notice list and a newsletter slot. Instrument Sans for headings and Hanken Grotesk for reading. Works without WooCommerce. WCAG AA colours.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shako-training
Tags: business, block-patterns, full-site-editing, custom-colors, editor-style, translation-ready, wide-blocks, block-styles
*/

:root {
	--sh-ground: var(--wp--preset--color--ground);
	--sh-ink: var(--wp--preset--color--ink);
	--sh-pine: var(--wp--preset--color--pine);
	--sh-pine-d: var(--wp--preset--color--pine-deep);
	--sh-wash: var(--wp--preset--color--wash);
	--sh-wash-d: var(--wp--preset--color--wash-deep);
	--sh-mint: var(--wp--preset--color--mint);
	--sh-straw: var(--wp--preset--color--straw);
	--sh-terra: var(--wp--preset--color--terracotta);
	--sh-muted: var(--wp--preset--color--muted);
	--sh-line: var(--wp--preset--color--line);
	--sh-display: var(--wp--preset--font-family--display);
	--sh-side: max(20px, calc((100% - 1100px) / 2));
	--sh-ease: cubic-bezier(.4, 0, .2, 1);
	--sh-rhythm: clamp(56px, 6.5vw, 96px);
	/* form contract v1: tokens mapped to the theme palette */
	--sp-form-accent: var(--wp--preset--color--pine);
	--sp-form-on-accent: #fff;
	--sp-form-radius: 6px;
	--sp-form-focus: var(--wp--preset--color--pine);
	--sp-form-surface: #fff;
	--sp-form-text: var(--wp--preset--color--ink);
	--sp-form-border: #B9C2B7;
}

/* ---------- base ---------- */
.wp-site-blocks > * { margin-block: 0; }
:root :where(.wp-block-group[class*="sh-"]) > * { margin-block: 0; }
:root :where(.wp-block-post-content.is-layout-flow) > * { margin-block: 0; }
.wp-site-blocks img { display: block; max-width: 100%; height: auto; }
.wp-site-blocks a { text-underline-offset: 0.18em; }
html, body { overflow-x: clip; }
html { scroll-behavior: auto; }
html:has(#shako-size-large:checked) { font-size: 112.5%; }
[id] { scroll-margin-top: 72px; }
body { overflow-wrap: break-word; }
:lang(fr) :is(body, h2, h3, p), :lang(de) :is(body, h2, h3, p) { hyphens: auto; }
.sh-sec { padding: var(--sh-rhythm) 20px; box-sizing: border-box; }
.sh-sec > * { max-width: 1100px; margin-inline: auto; }
.sh-main { display: block; }
.sh-label { font-family: var(--sh-display); font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sh-pine); margin: 0; }
.sh-body { font-size: 1rem; line-height: 1.8; margin: 0; }
.sh-sec > .sh-note { font-size: .9375rem; color: var(--sh-muted); margin: 0 auto 20px; text-align: center; }

/* ---------- header: two tiers ---------- */
.wp-block-template-part.sh-header { display: contents; }
.sh-top { background: #fff; }
.sh-top__in { max-width: 1300px; margin-inline: auto; min-height: 96px; padding: 0 20px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sh-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--sh-ink); }
.sh-mark, .sh-emblem { display: block; flex: none; }
.sh-brand__name { font-family: var(--sh-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
.sh-top__right { display: flex; align-items: center; gap: 20px; flex-wrap: nowrap; }
.sh-util { display: flex; gap: 20px; }
.sh-util__a { font-family: var(--sh-display); margin: 0; font-size: .9375rem; white-space: nowrap; }
.sh-util__a a { color: var(--sh-ink); text-decoration: underline; display: inline-flex; align-items: center; gap: 8px; }
.sh-util__a a::before { content: ""; width: 6px; height: 6px; border: solid var(--sh-pine); border-width: 2px 2px 0 0; transform: rotate(45deg); flex: none; }
.sh-top__btns { display: flex; gap: 10px; margin: 0; }
.sh-pill .wp-block-button__link, .sh-pill.wp-block-button .wp-block-button__link { font-size: .875rem; padding: 6px 16px; border-radius: 24px; white-space: nowrap; }
.sh-pill.is-style-outline .wp-block-button__link { border: 1px solid var(--sh-pine); color: var(--sh-pine); background: transparent; }
.sh-pill--solid .wp-block-button__link { border-radius: 160px; padding: 7px 20px; }
.sh-top__btns .sh-pill--solid .wp-block-button__link { background: var(--sh-pine); color: #fff; border: 1px solid var(--sh-pine); }
.sh-size { display: flex; }
.sh-size__in { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sh-size__lb { display: grid; place-items: center; min-width: 50px; padding: 0 10px; box-sizing: border-box; height: 30px; font-size: .8125rem; font-weight: 600; background: #E8ECE6; color: var(--sh-ink); cursor: pointer; transition: background .3s var(--sh-ease), color .3s var(--sh-ease); }
.sh-size__in:checked + .sh-size__lb { background: var(--sh-pine); color: #fff; }
.sh-size__in:focus-visible + .sh-size__lb { outline: 2px solid var(--sh-ink); outline-offset: 2px; }
.sh-navbar { background: var(--sh-pine); position: sticky; top: 0; z-index: 50; }
.sh-navbar__in { max-width: 1300px; margin-inline: auto; padding: 0 20px; box-sizing: border-box; min-height: 48px; display: flex; align-items: center; }
.sh-nav { width: 100%; }
.sh-nav .wp-block-navigation__container { gap: 4px; }
.sh-nav .wp-block-navigation-item__content { color: #fff; padding: 10px 14px; border-radius: 5px; line-height: 1; transition: background-color .3s var(--sh-ease); text-decoration: none; }
.sh-nav .wp-block-navigation-item__content:hover, .sh-nav .wp-block-navigation-item__content:focus-visible { background: var(--sh-pine-d); color: #fff; }
.sh-nav .wp-block-navigation__responsive-container-open, .sh-nav .wp-block-navigation__responsive-container-close { color: #fff; }
.sh-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--sh-pine); color: #fff; }

/* ---------- hero: split-photo-left / on-solid-panel / logo-row ---------- */
.sh-herowrap { padding: 0; }
.sh-hero { display: grid; grid-template-columns: 58% 42%; min-height: 620px; height: clamp(620px, calc(100vh - 144px - 112px - 56px), 680px); }
.sh-hero__win { position: relative; background: linear-gradient(135deg, var(--sh-wash-d) 40%, var(--sh-wash) 100%); overflow: clip; }
.sh-hero__win > * { margin: 0; }
.sh-hero__win img { max-width: none; }
.sh-scenes { position: absolute; inset: 0 56px 0 0; margin: 0; }
.sh-scenes .sh-scene--1 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.sh-scenes .sh-scene--2, .sh-scenes .sh-scene--3 { position: absolute; inset: 0; background-size: cover; background-position: 40% 60%; opacity: 0; }
.sh-peek { position: absolute; top: 0; bottom: 0; right: 0; width: 56px; margin: 0; border-left: 2px solid var(--sh-line); overflow: clip; }
.sh-peek img.sh-x, .sh-peek > img { width: 140px; max-width: none; height: 100%; object-fit: cover; object-position: 0 60%; }
@media (prefers-reduced-motion: no-preference) {
	html:not(.sp-no-motion) .sh-scenes .sh-scene--2 { animation: sh-fade2 15s ease infinite; }
	html:not(.sp-no-motion) .sh-scenes .sh-scene--3 { animation: sh-fade3 15s ease infinite; }
	html:not(.sp-no-motion) .sh-tick i { animation: sh-tick 15s ease infinite; }
	html:not(.sp-no-motion) .sh-tick--2 i { animation-delay: 3s; }
	html:not(.sp-no-motion) .sh-tick--3 i { animation-delay: 6s; }
	html:not(.sp-no-motion) .sh-tick--4 i { animation-delay: 9s; }
	html:not(.sp-no-motion) .sh-tick--5 i { animation-delay: 12s; }
	@keyframes sh-fade2 { 0%, 30% { opacity: 0; } 33.33%, 96.67% { opacity: 1; } 100% { opacity: 0; } }
	@keyframes sh-fade3 { 0%, 63.33% { opacity: 0; } 66.67%, 96.67% { opacity: 1; } 100% { opacity: 0; } }
	@keyframes sh-tick { 0% { background: transparent; } 1% { background: var(--sh-straw); } 20% { background: var(--sh-straw); } 21%, 100% { background: transparent; } }
	.sh-herowrap:has(#sh-pause:checked) :is(.sh-scene--2, .sh-scene--3, .sh-tick i) { animation-play-state: paused !important; }
}
html.sp-no-motion .sh-scene, .editor-styles-wrapper .sh-scene { animation: none; }
html.sp-no-motion .sh-scenes .sh-scene--2, html.sp-no-motion .sh-scenes .sh-scene--3, .editor-styles-wrapper .sh-scenes .sh-scene--2, .editor-styles-wrapper .sh-scenes .sh-scene--3 { opacity: 0; }
.sh-hero__panel { background: var(--sh-pine); color: #fff; padding: clamp(28px, 3.2vw, 48px) clamp(28px, 3.4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 0; box-sizing: border-box; min-width: 0; }
.sh-hero__panel > * { margin: 0; max-width: none; }
.sh-emblem { width: 56px; height: 56px; margin-bottom: 16px; }
.sh-tagline { font-family: var(--sh-display); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; color: #E6ECE4; margin-bottom: 10px; }
.sh-h1 { font-family: var(--sh-display); font-size: clamp(2.75rem, .8rem + 4vw, 4.25rem); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; color: #fff; margin: 0 0 16px; hyphens: manual; }
.sh-h1__b { color: var(--sh-straw); }
.sh-lead { font-size: 1rem; line-height: 1.65; color: #E6ECE4; margin-bottom: 22px; }
.sh-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.sh-btn--straw .wp-block-button__link { background: var(--sh-straw); color: var(--sh-ink); border-radius: 160px; }
.sh-btn--straw .wp-block-button__link:hover { background: #F2E391; color: var(--sh-ink); }
.sh-btn--line .wp-block-button__link { background: transparent; color: #fff; border: 1px solid #fff; border-radius: 160px; }
.sh-btn--line .wp-block-button__link:hover { background: rgba(255,255,255,.12); color: #fff; }
.sh-herofoot { height: 112px; display: grid; grid-template-columns: 58% 42%; background: var(--sh-wash-d); }
.sh-herofoot > * { min-width: 0; }
.sh-herofoot__l { display: flex; align-items: center; padding: 0 28px; box-sizing: border-box; position: relative; }
.sh-herofoot__r { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 clamp(20px, 3.4vw, 56px); box-sizing: border-box; }
.sh-pause__in { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sh-tl { display: flex; align-items: center; gap: 20px; width: 100%; }
.sh-tl__ticks { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; justify-content: space-between; flex: 1; position: relative; }
.sh-tl__ticks::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: var(--sh-pine); opacity: .55; }
.sh-tick { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; color: var(--sh-pine-d); line-height: 1.2; white-space: nowrap; }
.sh-tick i { display: block; width: 12px; height: 12px; border: 2px solid var(--sh-pine); background: var(--sh-wash); box-sizing: border-box; }
.sh-tick--end i { background: #E39A4A; border-color: #E39A4A; }
.sh-tick--1 i { background: #E39A4A; border-color: #E39A4A; }
.sh-pause__lb { flex: none; font-size: .8125rem; font-weight: 600; color: var(--sh-pine-d); border: 1px solid var(--sh-pine); padding: 3px 12px; cursor: pointer; border-radius: 2px; }
.sh-pause__in:checked + .sh-tl .sh-pause__lb { background: var(--sh-pine); color: #fff; }
.sh-pause__in:focus-visible + .sh-tl .sh-pause__lb { outline: 2px solid var(--sh-ink); outline-offset: 2px; }
.sh-logos__label { margin: 0; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--sh-muted); }
.sh-logos__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.sh-logos__list li { margin: 0; font-family: var(--sh-display); font-size: .9375rem; font-weight: 600; color: #6E7D6F; white-space: nowrap; }

/* ---------- next-intake straw bar ---------- */
.sh-intake { padding: 40px 20px 0; box-sizing: border-box; }
.sh-intake__wrap { max-width: 1100px; margin-inline: auto; }
.sh-intake__bar { background: var(--sh-straw); border-radius: 8px; min-height: 72px; padding: 24px 28px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; color: var(--sh-ink); }
.sh-intake__bar > * { margin: 0; }
.sh-intake__label { font-family: var(--sh-display); font-weight: 700; font-size: 1rem; }
.sh-intake__dates { flex: 1; font-size: 1rem; }
.sh-intake__dates a { color: var(--sh-ink); text-decoration: underline; }
.sh-intake__left { font-size: .875rem; margin-left: auto; }

/* ---------- section titles ---------- */
.sh-titlebox { text-align: center; margin-bottom: 32px; }
.sh-titlebox > * { margin: 0; }
.sh-title { font-family: var(--sh-display); font-size: 2rem; font-weight: 500; line-height: 1.25; margin: 0; }
.sh-titlebox .sh-label { margin-top: 8px; }
.sh-title--left { text-align: left; }

/* ---------- intro ---------- */
.sh-intro__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; }

/* ---------- sticky day-by-day timeline ---------- */
.sh-days { background: var(--sh-ground); }
.sh-days__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.sh-days__sticky { position: sticky; top: 72px; }
.sh-days__sticky > * { margin: 0; }
.sh-days__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; background: var(--sh-wash); }
.sh-days__rows { position: relative; display: block; }
.sh-days__rows::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--sh-line); }
.sh-day { position: relative; padding: 0 0 36px 40px; display: grid; grid-template-columns: 1fr; gap: 16px; }
.sh-day:last-child { padding-bottom: 0; }
.sh-day::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; background: var(--sh-straw); border: 2px solid var(--sh-pine); box-sizing: border-box; }
.sh-day--thumb { grid-template-columns: 1fr 160px; }
.sh-day > * { margin: 0; }
.sh-day__body > * { margin: 0 0 8px; }
.sh-day__n { font-family: var(--sh-display); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; color: var(--sh-pine); }
.sh-day__h { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
.sh-day__t { font-size: 1rem; line-height: 1.75; }
.sh-day__thumb img { width: 160px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--sh-wash); }
.sh-chip { display: inline-block; font-size: .8125rem; font-weight: 600; line-height: 1.4; padding: 2px 10px; border-radius: 2px; background: #D7E8DC; color: var(--sh-ink); }
.sh-chip a { color: inherit; text-decoration: none; }
.sh-chip--time { background: #F9E3C6; color: var(--sh-ink); border: 1px solid #E39A4A; }
.sh-chip:has(a[href*="/stories"]) { background: #EFE6C8; }
.sh-chip:has(a[href*="/employers"]) { background: #F1DCD3; }

/* ---------- figures ---------- */
.sh-figures { background: linear-gradient(135deg, var(--sh-wash-d) 40%, var(--sh-wash) 100%); }
.sh-figures__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.sh-fig > * { margin: 0; }
.sh-fig { border-top: 2px solid var(--sh-pine); padding-top: 16px; }
.sh-fig__n { font-family: var(--sh-display); font-size: 3.5rem; font-weight: 600; line-height: 1; color: var(--sh-ink); font-variant-numeric: tabular-nums; }
.sh-fig__n small { font-size: 1.125rem; font-weight: 600; color: var(--sh-pine); letter-spacing: 0; }
.sh-fig__t { font-size: .9375rem; line-height: 1.6; color: var(--sh-muted); margin-top: 12px; }

/* ---------- pickup row ---------- */
.sh-pickup { background: var(--sh-wash-d); }
.sh-pickup__row { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; max-width: 1100px; }
.sh-card { flex: 0 0 max(250px, calc((100% - 60px) / 4)); scroll-snap-align: start; background: #fff; border-radius: 6px; overflow: clip; display: flex; flex-direction: column; }
.sh-card > * { margin: 0; }
.sh-card__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--sh-wash); }
.sh-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.sh-card__body > * { margin: 0; }
.sh-card__h { font-size: 1.0625rem; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.sh-card__t { font-size: .9375rem; line-height: 1.65; color: var(--sh-muted); flex: 1; }
.sh-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.sh-card__foot > * { margin: 0; }
.sh-card__price { font-family: var(--sh-display); font-size: 1.125rem; font-weight: 600; }
.sh-card__go { color: var(--sh-pine); display: inline-flex; transition: color .3s var(--sh-ease); }
.sh-card__go:hover { color: var(--sh-pine-d); }
.sh-chev { display: block; }
.sh-dots { display: flex; gap: 6px; justify-content: center; margin-top: 20px; }
.sh-dots i { width: 15px; height: 15px; background: var(--sh-mint); display: block; }
.sh-dots i.is-on { background: var(--sh-pine); }
.sh-pickup__more { display: flex; justify-content: center; margin-top: 28px; }
.sh-pickup__more .wp-block-button__link, .sh-fees__cta .wp-block-button__link, .sh-visit__btns .sh-pill--solid .wp-block-button__link, .sh-btns .wp-block-button__link { background: var(--sh-pine); color: #fff; border-radius: 160px; padding: 10px 26px; font-size: .9375rem; }
.sh-visit__btns .is-style-outline .wp-block-button__link { background: transparent; color: var(--sh-pine); border: 1px solid var(--sh-pine); padding: 10px 26px; }

/* ---------- yard band (parallax) ---------- */
.sh-yard { position: relative; min-height: 560px; background: var(--sh-wash); padding: 0; --sp-par: 8%; }
.sh-yard > .sh-yard__bg { position: absolute; inset: 0; margin: 0; }
.sh-yard__bg img { width: 100%; height: 100%; object-fit: cover; }
.sh-yard__fg { position: relative; z-index: 2; min-height: 560px; display: flex; align-items: center; padding: 48px 20px; box-sizing: border-box; max-width: 1100px; margin-inline: auto; width: 100%; }
.sh-yard__card { background: var(--sh-pine); color: #fff; border-radius: 6px; padding: 40px; max-width: 440px; box-sizing: border-box; }
.sh-yard__card > * { margin: 0; }
.sh-yard__q { font-family: var(--sh-display); font-size: 1.125rem; line-height: 1.6; font-weight: 500; margin-bottom: 16px; }
.sh-yard__by { font-size: .875rem; color: #E6ECE4; margin-bottom: 16px; }
.sh-yard__go a { color: var(--sh-straw); font-weight: 600; text-decoration: underline; }

/* ---------- fees ---------- */
.sh-fees-sec { background: var(--sh-ground); }
.sh-table { max-width: 1100px; margin-inline: auto; }
.sh-fees { width: 100%; border-collapse: collapse; font-size: 1rem; background: #fff; border-radius: 6px; }
.sh-fees th { text-align: left; font-family: var(--sh-display); font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sh-pine); padding: 14px 20px; border-bottom: 2px solid var(--sh-pine); }
.sh-fees td { padding: 16px 20px; border-bottom: 1px solid var(--sh-line); vertical-align: top; }
.sh-fees th:nth-child(2), .sh-fees td:nth-child(2) { width: 8rem; }
.sh-fees th:nth-child(3), .sh-fees td:nth-child(3) { width: 10rem; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.sh-fees__cta { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- stories + notices ---------- */
.sh-news__grid { display: grid; grid-template-columns: 8fr 4fr; gap: 48px; align-items: start; }
.sh-news__list > * { margin: 0; }
.sh-tabs { display: flex; gap: 4px; margin-bottom: 8px !important; }
.sh-tabs > * { margin: 0; }
.sh-tab { margin: 0; background: #F0F2EE; font-size: .9375rem; font-weight: 600; }
.sh-tab a { display: block; padding: 8px 18px; color: var(--sh-ink); text-decoration: none; }
.sh-tab.is-on { background: var(--sh-pine); }
.sh-tab.is-on a { color: #fff; }
.sh-nrow { display: grid; grid-template-columns: 7rem 7.5rem 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--sh-line); }
.sh-nrow > * { margin: 0; }
.sh-nrow__d { font-size: .875rem; color: var(--sh-muted); white-space: nowrap; }
.sh-nrow__t { font-size: 1.0625rem; font-weight: 500; line-height: 1.4; }
.sh-nrow__t a { color: var(--sh-ink); text-decoration: none; }
.sh-nrow__t a:hover { text-decoration: underline; }
.sh-nrow .sh-chip { justify-self: start; }
.sh-story { background: #fff; border-radius: 6px; overflow: clip; }
.sh-story > * { margin: 0; }
.sh-story__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--sh-wash); }
.sh-story__body { padding: 20px; }
.sh-story__body > * { margin: 0 0 10px; }
.sh-story__k { font-family: var(--sh-display); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; color: var(--sh-pine); }
.sh-story__t { font-size: .9375rem; line-height: 1.7; }
.sh-story__go a { color: var(--sh-pine); font-weight: 600; }

/* ---------- newsletter ---------- */
.sh-nl { background: var(--sh-wash); }
.sh-nl__card { background: #fff; border-radius: 6px; padding: clamp(28px, 4vw, 48px); box-sizing: border-box; }
.sh-nl__card > * { margin: 0 0 14px; }
.sh-nl__h { font-size: 1.5rem; font-weight: 600; }
.sh-nl__t { max-width: 60ch; color: var(--sh-muted); }
.sh-nl__form { max-width: 560px; }
.sp-newsletter-fallback { display: grid; gap: 10px; }
.sp-newsletter-fallback p { font-size: .875rem; color: var(--sh-muted); margin: 0; }

/* ---------- visit ---------- */
.sh-visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sh-visit__text > * { margin: 0 0 16px; }
.sh-visit__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: var(--sh-wash); }
.sh-visit__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- footer ---------- */
.sh-footer-part, .wp-block-template-part.sh-footer-part { display: block; }
.sh-footer { background: linear-gradient(135deg, var(--sh-wash-d) 40%, var(--sh-wash) 100%); padding: 40px 20px 28px; box-sizing: border-box; }
.sh-fcols { max-width: 1100px; margin-inline: auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.sh-fcol > * { margin: 0 0 8px; }
.sh-fbrand { font-family: var(--sh-display); font-size: 1.125rem; font-weight: 600; }
.sh-fhead { font-family: var(--sh-display); font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sh-pine); }
.sh-flink a { color: var(--sh-ink); text-decoration: none; font-size: .9375rem; }
.sh-flink a:hover { text-decoration: underline; }
.sh-fsmall, .sh-fsmall a { font-size: .875rem; color: var(--sh-muted); }
.sh-fbottom { max-width: 1100px; margin: 24px auto 0; padding-top: 16px; border-top: 1px solid rgba(85, 102, 86, .3); }
.sh-fbottom > * { margin: 0; }

/* ---------- inner / template pages ---------- */
.sh-pagehead > * { margin-bottom: 16px; }
.sh-label--left { text-align: left; }
.sh-h1--page { font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3rem); font-weight: 600; line-height: 1.1; }
.sh-list { padding-top: 0; }
.sh-newslist--page .sh-nrow { max-width: 1100px; }
.sh-article .sh-feature img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 6px; }
.sh-prose { max-width: 720px; }
.sh-article__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; }
.sh-postnav { display: flex; gap: 32px; }
.sh-page-head { max-width: 1100px; margin: 0 auto; padding: 56px 20px 24px; }
.sh-innerbody > .alignfull { max-width: none; }
.sh-pagebody, .sh-innerbody { padding-bottom: 0; }
.sh-search .wp-block-search__button { background: var(--sh-pine); color: #fff; border: 0; border-radius: 160px; padding: 10px 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.sh-top .sh-util { display: none; }
	.sh-herofoot__r { padding: 0 20px; }
	.sh-logos__list li { font-size: .875rem; }
}
@media (max-width: 900px) {
	.sh-days__grid { grid-template-columns: 1fr; gap: 32px; }
	.sh-days__sticky { position: static; }
	.sh-days__img img { aspect-ratio: 16 / 9; }
	.sh-news__grid { grid-template-columns: 1fr; }
	.sh-figures__row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 781px) {
	.sh-top__in { min-height: 72px; }
	.sh-top .sh-top__btns, .sh-top .sh-util { display: none; }
	.sh-top__in { gap: 12px; padding: 0 16px; }
	.sh-brand { min-width: 0; gap: 10px; }
	.sh-brand__name { font-size: .9375rem; white-space: normal; line-height: 1.15; }
	.sh-top__right { flex: none; }
	.sh-size__lb { min-width: 42px; padding: 0 6px; }
	.sh-hero { display: block; height: auto; min-height: 0; }
	.sh-hero__win { aspect-ratio: 4 / 3; }
	.sh-scenes { inset: 0; }
	.sh-peek { display: none; }
	.sh-hero__panel { padding: 28px 20px; }
	.sh-h1 { font-size: 2.75rem; }
	.sh-herofoot { height: auto; display: block; padding: 20px 0; }
	.sh-herofoot__l { padding: 0 20px 20px; }
	.sh-tick { font-size: .6875rem; }
	.sh-herofoot__r { padding: 0 20px; }
	.sh-intake { padding-top: 28px; }
	.sh-intake__left { margin-left: 0; }
	.sh-intro__cols { grid-template-columns: 1fr; }
	.sh-day--thumb { grid-template-columns: 1fr; }
	.sh-day__thumb img { width: 100%; max-width: 280px; }
	.sh-yard { --sp-par: 5%; min-height: 360px; }
	.sh-yard__fg { min-height: 360px; padding: 28px 20px; }
	.sh-yard__card { padding: 28px 24px; }
	.sh-fees thead { position: absolute; width: 1px; height: 1px; overflow: clip; }
	.sh-fees, .sh-fees tbody, .sh-fees tr, .sh-fees td { display: block; width: 100%; box-sizing: border-box; }
	.sh-fees tr { padding: 14px 16px; border-bottom: 1px solid var(--sh-line); }
	.sh-fees td { padding: 2px 0; border: 0; display: flex; justify-content: space-between; gap: 16px; }
	.sh-fees td::before { content: attr(data-label); font-size: .8125rem; font-weight: 600; color: var(--sh-muted); }
	.sh-fees td:nth-child(1) { display: block; font-weight: 600; }
	.sh-fees td:nth-child(1)::before { display: none; }
	.sh-fees td:nth-child(2), .sh-fees td:nth-child(3) { width: 100%; }
	.sh-nrow { grid-template-columns: 1fr auto; row-gap: 6px; }
	.sh-nrow__t { grid-column: 1 / -1; }
	.sh-visit__grid { grid-template-columns: 1fr; gap: 28px; }
	.sh-fcols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.sh-figures__row { grid-template-columns: 1fr; }
	.sh-fcols { grid-template-columns: 1fr; }
	.sh-tl { gap: 10px; }
	.sh-tick { font-size: .625rem; gap: 6px; }
	.sh-pause__lb { font-size: .6875rem; padding: 2px 8px; }
}

/* ---------- stage-1 fixes ---------- */
.sh-navbar .wp-block-navigation a, .sh-navbar .wp-block-navigation a:visited, .sh-navbar .wp-block-pages-list__item__link { color: #fff !important; }
.sh-nav .wp-block-navigation__container { justify-content: space-between; width: 100%; }
.sh-nav .wp-block-navigation__container > li > a::after, .sh-nav .wp-block-navigation__container > li > .wp-block-navigation-item__content::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translateY(-2px) rotate(45deg); }
.sh-intake__dates a { white-space: nowrap; }
.sh-nl__card { max-width: 760px; margin-inline: auto; }

/* ---------- stage-2 fix: inner pages, hero polish ---------- */
.sh-pagebody .sh-prose { max-width: 760px; margin: 0 auto; padding: 8px 20px 72px; box-sizing: border-box; }
.sh-pagebody .sh-prose h2 { font-family: var(--sh-display); font-size: clamp(1.5rem, 1.1rem + 1vw, 1.875rem); font-weight: 600; margin: 40px 0 12px; }
.sh-pagebody .sh-prose p { line-height: 1.75; }
.sh-lead--page { font-size: 1.1875rem; line-height: 1.7; color: var(--sh-ink); }
.sh-formbox { margin-top: 32px; padding: 24px; background: var(--sh-wash); border-radius: 6px; }
.sh-navbar { border-top: 3px solid var(--sh-straw); }
.sh-h1--page { color: var(--sh-ink); }
.sh-page-head { max-width: 760px; }

/* ---------- stage-2 inner pages ---------- */
.sh-page-head { max-width: 760px; }
.sh-phead { display: grid; grid-template-columns: 5fr 7fr; min-height: 300px; background: var(--sh-pine); }
.sh-phead > * { margin: 0; }
.sh-phead__panel { background: var(--sh-pine); color: #fff; padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px) clamp(28px, 4vw, 56px) max(20px, calc((100vw - 1100px) / 2)); display: flex; flex-direction: column; justify-content: center; gap: 14px; box-sizing: border-box; }
.sh-phead__panel > * { margin: 0; }
.sh-phead__label { font-family: var(--sh-display); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; color: var(--sh-straw); }
.sh-phead .sh-phead__h, .sh-phead .sh-h1--page { color: #fff; font-size: clamp(2.25rem, 1.4rem + 2.4vw, 3rem); line-height: 1.1; font-weight: 600; margin: 0; }
.sh-phead__img { background: var(--sh-wash); }
.sh-phead__img img { width: 100%; height: 100%; min-height: 300px; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 60%; }
.sh-ib { padding: clamp(40px, 5vw, 72px) 20px; box-sizing: border-box; }
.sh-ib > * { max-width: 1100px; margin-inline: auto; }
.sh-ib--narrow > * { max-width: 800px; }
.sh-ib__h { font-family: var(--sh-display); font-size: clamp(1.5rem, 1.1rem + 1vw, 1.875rem); font-weight: 600; line-height: 1.25; margin: 40px auto 14px; }
.sh-ib > .sh-ib__h:first-child, .sh-ib__col > .sh-ib__h:first-child { margin-top: 0; }
.sh-ib__p { font-size: 1rem; line-height: 1.8; margin: 0 auto 16px; }
.sh-ib .sh-lead--page { max-width: 800px; margin-bottom: 8px; }
.sh-ib__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 40px; align-items: start; }
.sh-ib__cols--media { grid-template-columns: 7fr 5fr; align-items: center; }
.sh-ib__col > * { margin-inline: 0; }
.sh-ib__fig img { width: 100%; border-radius: 6px; background: var(--sh-wash); aspect-ratio: 4 / 3; object-fit: cover; }
.sh-story { margin-top: 56px; }
.sh-story:nth-child(odd) { grid-template-columns: 5fr 7fr; }
.sh-story:nth-child(even) { grid-template-columns: 7fr 5fr; }
.sh-tlist { max-width: 800px; margin-top: 32px; }
.sh-tlist .sh-day--thumb { grid-template-columns: 1fr 200px; }
.sh-tlist .sh-day__thumb img { width: 200px; }
.sh-pband { position: relative; min-height: 420px; background: var(--sh-wash); padding: 0; --sp-par: 8%; overflow: hidden; }
.sh-pband > .sh-pband__bg { position: absolute; inset: 0; margin: 0; }
.sh-pband__bg img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.sh-facts { display: grid; gap: 12px; margin: 0 auto 24px; }
.sh-fact { margin: 0; padding: 14px 18px; background: var(--sh-wash); border-left: 4px solid var(--sh-pine); border-radius: 0 6px 6px 0; line-height: 1.6; }
/* tables */
.sh-table { overflow-x: visible; }
.sh-fees--page { margin-bottom: 20px; }
.sh-tbl { width: 100%; border-collapse: collapse; font-size: 1rem; background: #fff; }
.sh-tbl th { text-align: left; font-family: var(--sh-display); font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--sh-pine); padding: 14px 20px; border-bottom: 2px solid var(--sh-pine); }
.sh-tbl td { padding: 16px 20px; border-bottom: 1px solid var(--sh-line); vertical-align: top; }
.sh-tbl th:last-child, .sh-tbl td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
.sh-tbl th:first-child, .sh-tbl td:first-child { white-space: nowrap; }
/* instructors */
.sh-pplist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 32px; }
.sh-pp { padding: 22px 0; border-top: 1px solid var(--sh-line); }
.sh-pp > * { margin: 0 0 6px; }
.sh-pp__n { font-size: 1.375rem; font-weight: 600; line-height: 1.3; }
.sh-pp__r { font-weight: 600; color: var(--sh-pine); }
.sh-pp__m { font-size: .875rem; color: var(--sh-muted); }
.sh-pp__b { line-height: 1.7; }
/* cards */
.sh-pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 16px auto 40px; }
.sh-pc { background: #fff; border: 1px solid var(--sh-line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.sh-pc__img { margin: 0; }
.sh-pc__img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--sh-wash); }
.sh-pc__body { padding: 18px 20px 22px; }
.sh-pc__body > * { margin: 0 0 8px; }
.sh-pc__h { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.sh-pc__p { font-weight: 700; color: var(--sh-pine); }
.sh-pc__t { font-size: .9375rem; line-height: 1.65; }
.sh-pc__go a { font-weight: 600; color: var(--sh-pine); text-decoration: underline; }
.sh-pc--solid { background: var(--sh-pine); border-color: var(--sh-pine); color: #fff; justify-content: center; }
.sh-pc--solid .sh-pc__p, .sh-pc--solid .sh-pc__go a { color: var(--sh-straw); }
/* faq */
.sh-faqlist { margin-top: 24px; }
.sh-faq { border-top: 1px solid var(--sh-line); padding: 16px 0; }
.sh-faq:last-child { border-bottom: 1px solid var(--sh-line); }
.sh-faq summary { font-family: var(--sh-display); font-size: 1.125rem; font-weight: 600; cursor: pointer; }
.sh-faq summary:focus-visible { outline: 2px solid var(--sh-ink); outline-offset: 3px; }
.sh-faq p { line-height: 1.75; margin: 12px 0 0; }
.sh-innerbody .sh-formbox { max-width: 800px; margin: 32px auto; }
@media (max-width: 900px) {
	.sh-phead { grid-template-columns: 1fr; }
	.sh-phead__img { order: -1; }
	.sh-phead__img img { aspect-ratio: 16 / 9; min-height: 0; }
	.sh-phead__panel { padding: 28px 20px; }
	.sh-ib__cols, .sh-ib__cols--media, .sh-story:nth-child(odd), .sh-story:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
	.sh-pplist { grid-template-columns: 1fr; }
}
@media (max-width: 781px) {
	.sh-tbl thead { position: absolute; width: 1px; height: 1px; overflow: clip; }
	.sh-tbl, .sh-tbl tbody, .sh-tbl tr, .sh-tbl td { display: block; width: 100%; box-sizing: border-box; }
	.sh-tbl tr { padding: 14px 16px; border-bottom: 1px solid var(--sh-line); }
	.sh-tbl td { padding: 2px 0; border: 0; display: flex; justify-content: space-between; gap: 16px; text-align: right; white-space: normal; }
	.sh-tbl td::before { content: attr(data-label); font-size: .8125rem; font-weight: 600; color: var(--sh-muted); text-align: left; }
	.sh-tbl td:first-child { white-space: normal; }
	.sh-tlist .sh-day--thumb { grid-template-columns: 1fr; }
	.sh-tlist .sh-day__thumb img { width: 100%; max-width: 280px; }
	.sh-pband { min-height: 260px; --sp-par: 5%; }
	.sh-pband__bg img { min-height: 260px; }
}
.sh-pc--solid .sh-pc__h, .sh-pc--solid .sh-pc__t { color: #fff; }
.sh-ib > .sh-lead--page { max-width: 1100px; padding-right: min(280px, 25%); box-sizing: border-box; }
.sh-ib--narrow > .sh-lead--page { max-width: 800px; padding-right: 0; }
@media (max-width: 900px) { .sh-ib > .sh-lead--page { padding-right: 0; } }
.sh-table + .sh-ib__p { margin-top: 20px; }

/* ===== Languages: Chinese and Japanese use a bundled Noto Sans subset (CJK characters only; Latin and figures stay in Instrument Sans / Hanken Grotesk) ===== */
:root:lang(zh) {
	--wp--preset--font-family--display: "Instrument Sans", "Noto Sans TC", "Noto Sans CJK TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
	--wp--preset--font-family--body: "Hanken Grotesk", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
:root:lang(ja) {
	--wp--preset--font-family--display: "Instrument Sans", "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Sans", "Yu Gothic", sans-serif;
	--wp--preset--font-family--body: "Hanken Grotesk", "Hiragino Sans", "Yu Gothic", sans-serif;
}
:is(:lang(zh), :lang(ja)) body { line-height: 1.85; letter-spacing: .03em; line-break: strict; }
:is(:lang(zh), :lang(ja)) :is(h1, h2, h3, h4) { line-height: 1.4; letter-spacing: .04em; }
:is(:lang(zh), :lang(ja)) .sh-h1 { font-size: clamp(2.1rem, .6rem + 3vw, 3.2rem); line-height: 1.3; letter-spacing: .02em; }
:is(:lang(zh), :lang(ja)) .sh-title { font-size: 1.5rem; }
:is(:lang(zh), :lang(ja)) .sh-day__h { font-size: 1.25rem; }
:is(:lang(zh), :lang(ja)) .sh-label, :is(:lang(zh), :lang(ja)) .sh-logos__label, :is(:lang(zh), :lang(ja)) .sh-tagline { text-transform: none; letter-spacing: .1em; }
:is(:lang(zh), :lang(ja)) :is(.sh-card__t, .sh-fig__t, .sh-day__t, .sh-body, .sh-lead) { line-height: 1.85; }
:lang(ja) :is(h1, h2, h3, p) { word-break: auto-phrase; }

/* redo: news/archive heads reuse the split page head; no extra spacing under it */
.sh-phead + .sh-intake { margin-top: 0; }
