:root {
  --ink: #18343b;
  --muted: #526d73;
  --brand: #087f99;
  --brand-dark: #075d70;
  --brand-soft: #e8f7fa;
  --surface: #ffffff;
  --surface-soft: #f5fafb;
  --line: #d7e7ea;
  --focus: #ffbf47;
  --shadow: 0 24px 70px rgba(18, 88, 103, .13);
  --shadow-small: 0 12px 34px rgba(18, 88, 103, .1);
  --radius: 24px;
  --radius-small: 16px;
  --shell: min(1180px, calc(100% - 40px));
  font-family: ui-rounded, "Avenir Next", "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--surface); color: var(--ink); overflow-x: clip; }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.notice { min-height: 38px; display: grid; place-items: center; padding: 8px 20px; background: var(--brand); color: white; font-size: 14px; font-weight: 700; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(215, 231, 234, .9); background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); }
.header-row { min-height: 128px; display: flex; align-items: center; gap: 24px; }
.brand-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand-link img { width: 108px; height: 108px; border-radius: 26px; object-fit: cover; }
.brand-link span { font-size: clamp(23px, 1.75vw, 28px); font-weight: 850; letter-spacing: -.03em; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.desktop-nav a { min-height: 44px; display: inline-flex; align-items: center; color: #34525a; text-decoration: none; font-size: 14px; font-weight: 700; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--brand-dark); }
.nav-book, .button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border: 1px solid var(--brand); border-radius: 999px; background: var(--brand); color: white !important; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.nav-book { min-height: 44px !important; padding-inline: 17px; }
.button:hover, .nav-book:hover { background: var(--brand-dark); box-shadow: var(--shadow-small); transform: translateY(-1px); }
.button:active, .nav-book:active { transform: scale(.98); }
.button.secondary { background: transparent; color: var(--brand-dark) !important; }
.button.secondary:hover { background: var(--brand-soft); box-shadow: none; }
.menu-button { display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); font-weight: 800; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 12px 20px 20px; background: white; }
.mobile-nav.open { display: grid; }
.mobile-nav a { min-height: 50px; display: flex; align-items: center; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 750; }
.mobile-nav .nav-book { margin-top: 14px; border-bottom: 0; }

.hero { min-height: calc(100dvh - 114px); display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(36px, 6vw, 88px); padding-block: clamp(54px, 7vw, 92px); }
.eyebrow { margin: 0 0 14px; color: var(--brand-dark); font-size: 13px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hero .eyebrow { font-size: 15px; letter-spacing: .11em; }
.hero h1, .page-hero h1 { margin: 0; max-width: 720px; font-size: clamp(48px, 6vw, 78px); line-height: .98; letter-spacing: -.055em; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 590px; margin: 24px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-media { position: relative; min-height: 620px; }
.hero-media .main-photo { position: absolute; inset: 0 18% 4% 0; width: 82%; height: 96%; border-radius: 42px 42px 120px 42px; object-fit: cover; box-shadow: var(--shadow); }
.hero-media .small-photo { position: absolute; right: -14%; bottom: 0; width: 50%; height: auto; aspect-ratio: 1; border: 8px solid white; border-radius: 28px; object-fit: cover; box-shadow: var(--shadow-small); }
.hero-media .voice-note { position: absolute; top: 8%; right: -3%; width: 180px; padding: 16px 18px; border-radius: var(--radius-small); background: white; box-shadow: var(--shadow-small); color: var(--brand-dark); font-weight: 800; line-height: 1.25; }

.promise { padding: 24px 0; border-block: 1px solid var(--line); background: var(--brand-soft); }
.promise-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promise-item { display: flex; align-items: center; gap: 12px; min-height: 50px; font-weight: 750; }
.promise-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--brand-dark); font-weight: 900; box-shadow: inset 0 0 0 1px var(--line); }

.section { padding-block: clamp(76px, 9vw, 120px); }
.section.soft { background: var(--surface-soft); }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -.045em; }
.section-heading p { max-width: 650px; margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.about-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(44px, 8vw, 110px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; max-height: 680px; object-fit: cover; border-radius: 40px; }
.about-photo::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 42%; height: 36%; border-radius: 28px; background: var(--brand-soft); z-index: -1; }
.about-copy h2 { margin: 0; font-size: clamp(38px, 5vw, 60px); line-height: 1.03; letter-spacing: -.045em; }
.about-copy > p { color: var(--muted); font-size: 18px; line-height: 1.7; }
.story-disclosure { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-disclosure summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; color: var(--brand-dark); font-weight: 850; list-style: none; }
.story-disclosure summary::after { content: "+"; font-size: 26px; }
.story-disclosure[open] summary::after { content: "-"; }
.story-disclosure div { padding: 0 0 22px; color: var(--muted); line-height: 1.7; }

.service-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.service-feature, .service-compact { position: relative; overflow: hidden; border-radius: var(--radius); }
.service-feature { min-height: 560px; display: flex; align-items: flex-end; padding: 34px; color: white; background: var(--brand-dark); }
.service-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.service-feature::after { content: ""; position: absolute; inset: 28% 0 0; background: linear-gradient(transparent, rgba(4, 48, 59, .94)); }
.service-feature > div { position: relative; z-index: 1; max-width: 560px; }
.service-feature h3 { margin: 0; font-size: clamp(36px, 5vw, 58px); letter-spacing: -.045em; }
.service-feature p { font-size: 18px; line-height: 1.55; }
.service-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.service-compact { min-height: 270px; padding: 30px; background: var(--brand-soft); }
.service-compact:nth-child(2) { background: #eef4f6; }
.service-compact h3 { margin: 0 0 12px; font-size: 34px; letter-spacing: -.035em; }
.service-compact p { color: var(--muted); line-height: 1.6; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-dark); font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 5px; }

.team-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 20px; align-items: end; }
.person { margin: 0; }
.person img { width: 100%; height: 360px; border-radius: 28px; object-fit: cover; object-position: center 25%; }
.person:first-child img { height: 470px; }
.person figcaption { padding: 18px 4px 0; }
.person strong { display: block; font-size: 22px; }
.person span { display: block; margin-top: 5px; color: var(--muted); line-height: 1.45; }

.shop-preview { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 18px; }
.product-tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-decoration: none; box-shadow: 0 18px 50px rgba(18, 88, 103, .06); transition: transform .25s ease, box-shadow .25s ease; }
.product-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-small); }
.product-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #f3f7f8; }
.product-tile:first-child img { aspect-ratio: 1.2; }
.product-info { padding: 20px; }
.product-info h3 { margin: 0; font-size: 23px; }
.product-info p { color: var(--muted); }

.testimonial-shell { position: relative; overflow: hidden; min-height: 390px; padding: clamp(34px, 6vw, 72px); border-radius: 36px; background: var(--brand-dark); color: white; }
.testimonial { display: none; max-width: 860px; }
.testimonial.active { display: block; animation: quote-in .38s ease both; }
.testimonial blockquote { margin: 0; font-size: clamp(25px, 3.5vw, 44px); line-height: 1.28; letter-spacing: -.025em; }
.testimonial cite { display: block; margin-top: 28px; color: #c8edf4; font-style: normal; font-weight: 750; }
.quote-controls { position: absolute; right: 28px; bottom: 26px; display: flex; gap: 10px; }
.quote-controls button { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: transparent; color: white; cursor: pointer; font-size: 20px; }
@keyframes quote-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.testimonial-wheel-section { overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f7fbfc 100%); }
.testimonial-wheel-section .section-heading { margin-bottom: 38px; }
.testimonial-wheel { width: 100%; overflow: hidden; padding: 10px 0 34px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.testimonial-wheel-track { display: flex; width: max-content; gap: 18px; animation: testimonial-wheel-spin 92s linear infinite; will-change: transform; }
.testimonial-wheel:hover .testimonial-wheel-track, .testimonial-wheel:focus-within .testimonial-wheel-track { animation-play-state: paused; }
.testimonial-wheel-group { display: flex; gap: 18px; }
.testimonial-wheel-card { --wheel-card: #daf4ef; position: relative; flex: 0 0 clamp(330px, 34vw, 510px); min-height: 290px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(28px, 3vw, 42px); border: 1px solid rgba(15, 63, 73, .09); border-radius: 34px; background: var(--wheel-card); box-shadow: 0 18px 48px rgba(15, 63, 73, .08); }
.testimonial-wheel-card:nth-child(5n + 2) { --wheel-card: #fff0ad; }
.testimonial-wheel-card:nth-child(5n + 3) { --wheel-card: #ede8ff; }
.testimonial-wheel-card:nth-child(5n + 4) { --wheel-card: #ffdcd2; }
.testimonial-wheel-card:nth-child(5n + 5) { --wheel-card: #e3f4d2; }
.testimonial-wheel-card::after { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--brand), var(--sun), var(--coral), var(--lilac)); }
.testimonial-wheel-mark { position: absolute; top: 12px; right: 24px; color: rgba(15, 63, 73, .12); font-size: 100px; font-weight: 900; line-height: 1; }
.testimonial-wheel-card blockquote { position: relative; z-index: 1; margin: 0; color: var(--ink); font-size: clamp(20px, 2vw, 27px); font-weight: 720; line-height: 1.4; letter-spacing: -.025em; }
.testimonial-wheel-card cite { position: relative; z-index: 1; display: block; margin-top: 28px; color: var(--brand-dark); font-style: normal; font-weight: 850; }
@keyframes testimonial-wheel-spin { to { transform: translateX(calc(-50% - 9px)); } }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 100px); }
.contact-details h2 { margin: 0; font-size: clamp(42px, 5vw, 62px); letter-spacing: -.045em; }
.contact-details > p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.contact-list { display: grid; gap: 18px; margin-top: 30px; }
.contact-list a, .contact-list span { color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.5; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-small); }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #afc9cf; border-radius: 12px; background: white; color: var(--ink); font-size: 16px; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 14px; }
.form-status { grid-column: 1 / -1; min-height: 24px; margin: 0; color: var(--brand-dark); font-weight: 750; }

.page-hero { padding-block: clamp(62px, 8vw, 110px); background: var(--surface-soft); }
.page-hero .shell { display: grid; grid-template-columns: 1fr .75fr; gap: 60px; align-items: center; }
.page-hero p { max-width: 620px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.page-hero img { width: 100%; max-height: 430px; border-radius: 34px; object-fit: cover; }
.breadcrumb { margin-bottom: 18px; color: var(--brand-dark); font-size: 14px; font-weight: 750; }
.breadcrumb a { text-underline-offset: 4px; }

.service-groups { display: grid; gap: 56px; }
.service-group { display: grid; grid-template-columns: 270px 1fr; gap: 42px; }
.service-group h2 { margin: 0; font-size: 34px; letter-spacing: -.03em; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 820; }
.accordion summary::after { content: "+"; flex: 0 0 auto; color: var(--brand); font-size: 26px; }
.accordion details[open] summary::after { content: "-"; }
.accordion details p { max-width: 690px; margin: 0; padding: 0 0 26px; color: var(--muted); line-height: 1.65; }

.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-row button { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); font-weight: 750; cursor: pointer; }
.filter-row button.active { border-color: var(--brand); background: var(--brand); color: white; }
.shop-category-section { padding-top: 78px; padding-bottom: 36px; }
.shop-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: 44px; align-items: end; margin-bottom: 30px; }
.shop-section-heading h2 { max-width: 720px; margin: 0; font-size: clamp(36px, 5vw, 64px); letter-spacing: -.055em; line-height: .98; }
.shop-section-heading > p { margin: 0 0 6px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.shop-category-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.shop-category-card { --category-bg: #e4f7f4; grid-column: span 3; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid rgba(15, 63, 73, .09); border-radius: 28px; background: var(--category-bg); color: var(--ink); text-decoration: none; box-shadow: 0 12px 30px rgba(15, 63, 73, .07); transform: translateY(0); transition: transform .28s ease, box-shadow .28s ease; }
.shop-category-card--feature { grid-column: span 6; flex-direction: row; }
.shop-category-card--aqua { --category-bg: #d9f4ef; }
.shop-category-card--sun { --category-bg: #fff1a8; }
.shop-category-card--lilac { --category-bg: #ece8ff; }
.shop-category-card--coral { --category-bg: #ffdcd1; }
.shop-category-card--leaf { --category-bg: #e3f4d0; }
.shop-category-card--sky { --category-bg: #dcefff; }
.shop-category-card--peach { --category-bg: #ffe5c6; }
.shop-category-card:hover, .shop-category-card:focus-visible { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(15, 63, 73, .13); }
.shop-category-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.shop-category-card.active { box-shadow: 0 0 0 3px var(--brand), 0 20px 44px rgba(15, 63, 73, .13); }
.shop-category-image { display: block; overflow: hidden; margin: 10px 10px 0; border-radius: 20px; background: white; }
.shop-category-card--feature .shop-category-image { width: 54%; margin: 10px 0 10px 10px; }
.shop-category-image img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.shop-category-card:hover .shop-category-image img { transform: scale(1.035); }
.shop-category-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px; }
.shop-category-copy strong { margin-bottom: 9px; font-size: 24px; line-height: 1.06; letter-spacing: -.025em; }
.shop-category-copy > span:not(.shop-category-count):not(.shop-category-action) { color: rgba(15, 63, 73, .76); font-size: 14px; line-height: 1.5; }
.shop-category-count { margin-bottom: auto; padding-bottom: 24px; color: rgba(15, 63, 73, .66); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.shop-category-action { margin-top: 20px; font-size: 14px; font-weight: 850; }
.shop-category-action span { display: inline-block; transition: transform .2s ease; }
.shop-category-card:hover .shop-category-action span { transform: translateX(4px); }
.shop-catalogue { scroll-margin-top: 110px; padding-top: 56px; }
.shop-section-heading--catalogue { margin-bottom: 22px; }
.shop-section-heading--catalogue h2 { font-size: clamp(34px, 4vw, 52px); }
.shop-section-heading--catalogue strong { color: var(--brand-dark); }
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.catalog-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.catalog-card[hidden] { display: none; }
.catalog-image { position: relative; overflow: hidden; background: #f1f6f7; }
.catalog-card img { width: 100%; height: auto; aspect-ratio: 1.06; object-fit: cover; transition: transform .4s ease; } /* height:auto is load-bearing: the img height="" attribute maps to the CSS height property and would otherwise beat aspect-ratio, stretching every card to the pixel height in the markup. */
.catalog-card:hover img { transform: scale(1.025); }
.catalog-image span { position: absolute; left: 14px; bottom: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: 0 6px 20px rgba(15, 63, 73, .12); backdrop-filter: blur(10px); font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.catalog-card .product-info { display: flex; flex-direction: column; flex: 1; }
.catalog-card .price { margin: 7px 0 18px; color: var(--brand-dark); font-size: 18px; font-weight: 850; }
.catalog-card .button { margin-top: auto; align-self: flex-start; }
.cart-button { position: fixed; right: 22px; bottom: 22px; z-index: 24; min-height: 52px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: white; box-shadow: var(--shadow-small); cursor: pointer; font-weight: 850; }
.cart-panel { position: fixed; inset: 0 0 0 auto; z-index: 60; width: min(430px, 100%); padding: 24px; border: 0; background: white; box-shadow: -20px 0 80px rgba(15, 63, 73, .2); transform: translateX(105%); transition: transform .3s ease; }
.cart-panel.open { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.icon-button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); cursor: pointer; font-weight: 850; }
.cart-items { display: grid; gap: 12px; margin-block: 28px; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-item button { border: 0; background: transparent; color: var(--brand-dark); cursor: pointer; text-decoration: underline; }
.cart-total { display: flex; justify-content: space-between; font-size: 20px; font-weight: 850; }
.empty-cart { padding: 30px 0; color: var(--muted); }
.order-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.order-summary { max-width: 620px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.order-summary h2 { margin-top: 0; }
.order-summary[hidden] { display: none; }
.order-summary .cart-item { grid-template-columns: 1fr auto; align-items: baseline; }
.order-summary .cart-total { margin-top: 20px; }

.media-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.media-card { overflow: hidden; border-radius: var(--radius); background: var(--surface-soft); text-decoration: none; }
.media-card:first-child { grid-row: span 2; }
.media-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.media-card:first-child img { aspect-ratio: 16/12; }
.media-card div { padding: 22px; }
.media-card h2, .media-card h3 { margin: 0; }
.media-card p { color: var(--muted); }

.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.course-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.course-visual { min-height: 230px; display: grid; place-items: center; padding: 26px; background: var(--brand-soft); color: var(--brand-dark); text-align: center; }
.course-visual strong { max-width: 370px; font-size: 38px; line-height: 1.08; letter-spacing: -.04em; }
.course-copy { padding: 26px; }
.course-copy h2 { margin: 0; font-size: 28px; }
.course-copy p { color: var(--muted); line-height: 1.6; }
.lesson-list { margin: 20px 0; padding: 0; list-style: none; }
.lesson-list li { display: flex; gap: 10px; padding: 8px 0; color: var(--muted); }
.lesson-list li::before { content: ""; width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; border: 2px solid var(--brand); border-radius: 50%; }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; gap: 70px; align-items: start; }
.article-body { font-size: 18px; line-height: 1.75; }
.article-body h2 { margin-top: 52px; font-size: 36px; letter-spacing: -.035em; }
.article-body .lead { font-size: 24px; color: var(--brand-dark); }
.article-aside { position: sticky; top: 110px; padding: 24px; border-radius: var(--radius); background: var(--brand-soft); }
.article-aside h2 { margin-top: 0; font-size: 25px; }

.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); background: var(--surface-soft); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 112px; height: 112px; border-radius: 26px; object-fit: cover; }
.footer-brand p { max-width: 360px; color: var(--muted); line-height: 1.6; }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 6px; }
.footer-links a { min-height: 38px; display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--brand-dark); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.booking-modal { position: fixed; inset: 0; z-index: 80; display: none; padding: 20px; background: rgba(10, 42, 49, .62); overflow-y: auto; }
.booking-modal.open { display: grid; place-items: center; }
.booking-card { width: min(720px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; padding: clamp(24px, 5vw, 42px); border-radius: 28px; background: white; box-shadow: 0 34px 100px rgba(0,0,0,.26); }
.booking-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.booking-head h2 { margin: 0; font-size: 38px; letter-spacing: -.04em; }
.booking-head p { color: var(--muted); }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.booking-form .button { grid-column: 1 / -1; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .desktop-nav { gap: 13px; }
  .desktop-nav a { font-size: 13px; }
  .brand-link span { display: none; }
  .hero-media { min-height: 565px; }
  .hero-media .main-photo { inset: 0 18% 3% 0; width: 82%; height: 97%; }
  .hero-media .small-photo { right: -12%; width: 50%; }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 30px, 680px); }
  .desktop-nav { display: none; }
  .menu-button { display: inline-grid; place-items: center; }
  .hero, .about-grid, .contact-layout, .page-hero .shell, .article-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 46px; }
  .hero h1, .page-hero h1 { font-size: clamp(44px, 12vw, 64px); }
  .hero-media { min-height: 540px; }
  .hero-media .main-photo { inset: 0 12% 6% 0; width: 88%; height: 94%; }
  .hero-media .small-photo { right: 0; width: 44%; }
  .hero-media .voice-note { right: 0; }
  .promise-row { grid-template-columns: 1fr 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .service-feature { min-height: 480px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .person:first-child { grid-column: 1 / -1; }
  .person:first-child img { height: 520px; }
  .shop-preview { grid-template-columns: 1fr 1fr; }
  .shop-preview .product-tile:first-child { grid-column: 1 / -1; }
  .service-group { grid-template-columns: 1fr; gap: 16px; }
  .shop-section-heading { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .shop-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-category-card, .shop-category-card--feature { grid-column: auto; flex-direction: column; }
  .shop-category-card--feature .shop-category-image { width: auto; margin: 10px 10px 0; }
  .catalog { grid-template-columns: 1fr 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .media-card:first-child { grid-row: auto; }
  .course-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); --radius: 20px; }
  .notice { font-size: 12px; }
  .header-row { min-height: 100px; }
  .brand-link img { width: 78px; height: 78px; border-radius: 20px; }
  .hero h1, .page-hero h1 { font-size: clamp(42px, 13.4vw, 56px); line-height: 1; }
  .hero .eyebrow { font-size: 14px; }
  .hero-copy > p:not(.eyebrow), .page-hero p { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-media { min-height: 440px; }
  .hero-media .main-photo { inset: 0 13% 8% 0; width: 87%; height: 92%; border-radius: 28px 28px 78px 28px; }
  .hero-media .small-photo { right: 0; bottom: 0; width: 50%; height: auto; aspect-ratio: 1; border-width: 5px; border-radius: 20px; }
  .hero-media .voice-note { top: 7%; right: 0; width: 140px; padding: 12px; font-size: 14px; }
  .promise-row { grid-template-columns: 1fr; gap: 8px; }
  .promise-item { min-height: 40px; }
  .section { padding-block: 70px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2, .about-copy h2 { font-size: 39px; }
  .about-photo img { max-height: 500px; border-radius: 28px; }
  .service-feature { min-height: 430px; padding: 24px; }
  .service-feature h3 { font-size: 40px; }
  .service-stack { grid-template-rows: auto; }
  .service-compact { min-height: 240px; padding: 24px; }
  .team-grid, .shop-preview, .catalog { grid-template-columns: 1fr; }
  .person:first-child, .shop-preview .product-tile:first-child { grid-column: auto; }
  .person img, .person:first-child img { height: 420px; }
  .testimonial-shell { min-height: 470px; padding: 32px 24px 90px; border-radius: 26px; }
  .testimonial blockquote { font-size: 25px; }
  .testimonial-wheel { padding-bottom: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); }
  .testimonial-wheel-card { flex-basis: min(86vw, 380px); min-height: 320px; border-radius: 26px; }
  .contact-form, .booking-form { grid-template-columns: 1fr; padding: 22px; }
  .booking-form .button { grid-column: auto; }
  .field.full { grid-column: auto; }
  .page-hero { padding-block: 52px; }
  .page-hero .shell { gap: 32px; }
  .page-hero img { max-height: 350px; border-radius: 24px; }
  .shop-category-section { padding-top: 58px; }
  .shop-section-heading h2 { font-size: 39px; }
  .shop-category-grid { grid-template-columns: 1fr; gap: 12px; }
  .shop-category-card, .shop-category-card--feature { min-height: 190px; flex-direction: row; border-radius: 22px; }
  .shop-category-image, .shop-category-card--feature .shop-category-image { width: 39%; flex: 0 0 39%; margin: 8px 0 8px 8px; border-radius: 16px; }
  .shop-category-copy { padding: 16px; }
  .shop-category-copy strong { font-size: 21px; }
  .shop-category-count { padding-bottom: 12px; }
  .shop-category-action { margin-top: 12px; }
  .filter-row { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-row button { width: 100%; }
  .course-visual strong { font-size: 31px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: grid; }
  .cart-button { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .booking-modal { padding: 10px; }
  .booking-card { max-height: calc(100dvh - 20px); border-radius: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .testimonial-wheel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .testimonial-wheel-track { animation: none; }
  .testimonial-wheel-group[aria-hidden="true"] { display: none; }
}

@media (prefers-contrast: more) {
  :root { --muted: #304e55; --line: #8aaab2; }
}

/* Client-favourite revision: warmer, more colourful, and easier to navigate. */
:root {
  --sun: #ffd45a;
  --coral: #f58a5c;
  --lilac: #b49ad1;
  --mint: #bfe6d4;
}

.notice {
  background:
    linear-gradient(90deg, #20a0b2 0 25%, var(--sun) 25% 50%, var(--coral) 50% 75%, var(--lilac) 75%) bottom / 100% 4px no-repeat,
    var(--brand);
  padding-bottom: 11px;
}

.hero-media .main-photo { object-position: center 38%; }
.hero-media .small-photo { object-position: center 30%; }
.about-photo img { object-position: center 28%; }
.page-hero img { object-position: center 36%; }

.care-path-section { background: #fffdf9; }
.care-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.care-path {
  --path-accent: var(--brand);
  min-height: 396px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--path-accent) 25%, white);
  border-radius: 30px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 22px 52px -42px color-mix(in srgb, var(--path-accent) 70%, transparent);
  transition: transform .22s ease, box-shadow .22s ease;
}
.care-path:hover { transform: translateY(-5px); box-shadow: 0 28px 56px -36px color-mix(in srgb, var(--path-accent) 68%, transparent); }
.care-children { --path-accent: #14889c; background: #dff5f7; }
.care-adults { --path-accent: #a46800; background: #fff0b8; }
.care-schools { --path-accent: #b94d25; background: #ffe1d3; }
.care-feeding { --path-accent: #6d5290; background: #e9e0f4; }
.care-myo { --path-accent: #3f7d4e; background: #ddefe3; }
.care-hearing { --path-accent: #a8456b; background: #fbdfe8; }
.path-icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; background: rgba(255,255,255,.82); color: var(--path-accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.68); }
.path-icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.path-kicker { margin-top: 30px; color: var(--path-accent); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.care-path h3 { margin: 11px 0 13px; font-size: clamp(27px, 2.3vw, 34px); line-height: 1.04; letter-spacing: -.04em; }
.care-path p { margin: 0; color: color-mix(in srgb, var(--ink) 76%, white); line-height: 1.55; }
.path-link { margin-top: auto; padding-top: 28px; color: var(--path-accent); font-weight: 900; }
.path-link b { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.care-path:hover .path-link b { transform: translateX(4px); }

.team-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.team-story { overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: white; }
.team-thaaniyah { background: #e3f6f8; }
.team-mea { background: #fff1c5; }
.team-caylene { background: #f1e8f8; }
.team-portrait { aspect-ratio: 1.05; overflow: hidden; background: white; }
.team-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.team-thaaniyah .team-portrait img { object-position: center 35%; }
.team-caylene .team-portrait img { object-position: center 22%; }
.team-story-copy { padding: 26px; }
.team-story-copy span { color: var(--brand-dark); font-size: 13px; font-weight: 850; }
.team-story-copy h3 { margin: 8px 0 13px; font-size: 28px; letter-spacing: -.035em; }
.team-story-copy p { margin: 0; color: var(--muted); line-height: 1.62; }

.service-directory { display: grid; gap: 24px; }
.service-directory-block {
  --path-accent: var(--brand);
  display: grid;
  grid-template-columns: minmax(240px, .72fr) 1.28fr;
  gap: 44px;
  padding: 34px;
  border: 1px solid color-mix(in srgb, var(--path-accent) 23%, white);
  border-radius: 30px;
}
.directory-children { --path-accent: #14889c; background: #e8f8f9; }
.directory-adults { --path-accent: #a46800; background: #fff5d4; }
.directory-schools { --path-accent: #b94d25; background: #ffebe2; }
.directory-feeding { --path-accent: #6d5290; background: #f1eaf8; }
.directory-myo { --path-accent: #3f7d4e; background: #eaf7ee; }
.directory-hearing { --path-accent: #a8456b; background: #fdedf2; }
.directory-title p { margin: 20px 0 8px; color: var(--path-accent); font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.directory-title h2 { margin: 0; font-size: clamp(30px, 3.8vw, 47px); line-height: 1.02; letter-spacing: -.045em; }
.service-directory-block .accordion { border-color: color-mix(in srgb, var(--path-accent) 26%, white); }
.service-directory-block .accordion details { border-color: color-mix(in srgb, var(--path-accent) 26%, white); }
.service-directory-block .accordion summary::after { color: var(--path-accent); }

.ask-thaaniyah {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 52;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 19px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-dark);
  color: white;
  box-shadow: 0 18px 40px rgba(7, 73, 88, .25);
  cursor: pointer;
  font-weight: 850;
}
.ask-thaaniyah > span { width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255,212,90,.2); }
.ask-thaaniyah[aria-expanded="true"] { background: var(--ink); }
.thaaniyah-panel {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 53;
  width: min(390px, calc(100vw - 28px));
  max-height: min(650px, calc(100dvh - 110px));
  display: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 28px 90px rgba(14, 65, 77, .24);
}
.thaaniyah-panel.open { display: block; animation: assistant-in .24s ease-out both; }
.assistant-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; background: #e8f7fa; }
.assistant-head span, .assistant-head strong { display: block; }
.assistant-head span { color: var(--brand-dark); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.assistant-head strong { margin-top: 3px; font-size: 21px; }
.assistant-head button { min-width: 44px; min-height: 44px; border: 1px solid #bdd8de; border-radius: 999px; background: white; color: var(--ink); cursor: pointer; font-weight: 750; }
.assistant-messages { max-height: 260px; overflow-y: auto; display: grid; gap: 10px; padding: 18px 18px 8px; }
.assistant-bubble { max-width: 92%; margin: 0; padding: 13px 14px; border-radius: 16px 16px 16px 4px; background: #f1f7f8; color: #34525a; line-height: 1.48; }
.assistant-bubble.user { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--brand-dark); color: white; }
.assistant-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 10px 18px; }
.assistant-quick button { min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 750; }
.assistant-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 18px; }
.assistant-form input { min-width: 0; min-height: 48px; padding: 0 13px; border: 1px solid #afc9cf; border-radius: 14px; color: var(--ink); font-size: 16px; }
.assistant-form button { min-width: 68px; border: 0; border-radius: 14px; background: var(--brand); color: white; cursor: pointer; font-weight: 850; }
.assistant-handoff { min-height: 48px; display: flex; align-items: center; padding: 0 18px 12px; color: var(--brand-dark); font-size: 13px; font-weight: 850; }
.cart-button { bottom: max(82px, calc(env(safe-area-inset-bottom) + 82px)); }
@keyframes assistant-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 1040px) {
  .care-path-grid { grid-template-columns: 1fr 1fr; }
  .care-path { min-height: 390px; }
}

@media (max-width: 860px) {
  .team-stories { grid-template-columns: 1fr 1fr; }
  .team-thaaniyah { grid-column: 1 / -1; }
  .service-directory-block { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 560px) {
  .care-path-grid, .team-stories { grid-template-columns: 1fr; }
  .care-path { min-height: 360px; padding: 24px; border-radius: 24px; }
  .path-icon { width: 62px; height: 62px; border-radius: 19px; }
  .path-icon svg { width: 38px; height: 38px; }
  .team-thaaniyah { grid-column: auto; }
  .team-story { border-radius: 24px; }
  .team-portrait { aspect-ratio: 1; }
  .service-directory-block { padding: 24px; border-radius: 24px; }
  .ask-thaaniyah { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); min-height: 50px; }
  .thaaniyah-panel { right: 14px; bottom: 76px; max-height: calc(100dvh - 96px); border-radius: 24px; }
  .cart-button { bottom: max(76px, calc(env(safe-area-inset-bottom) + 76px)); }
}


/* ---------- pop-up enquiry form (bottom-left, clear of Ask Thaaniyah) ---------- */
.enquiry-pop {
  position: fixed;
  left: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60;
  width: min(360px, calc(100vw - 40px));
  padding: 24px 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 26px 60px rgba(8, 62, 74, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.98);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}
.enquiry-pop.open { opacity: 1; visibility: visible; transform: none; }
.enquiry-pop-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  background: var(--brand-soft);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.enquiry-pop-close:hover { color: var(--brand-dark); }
.enquiry-pop-eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.enquiry-pop h2 { margin: 0 0 6px; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.enquiry-pop-lead { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.enquiry-pop-form { display: grid; gap: 12px; }
.enquiry-pop-form .field { display: grid; gap: 6px; }
.enquiry-pop-form label { font-size: 13px; font-weight: 700; color: var(--ink); }
.enquiry-pop-form input,
.enquiry-pop-form textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  resize: vertical;
}
.enquiry-pop-form input:focus-visible,
.enquiry-pop-form textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}
.enquiry-pop-form .button { width: 100%; justify-content: center; }
.enquiry-pop-form .form-status:empty { display: none; }
.enquiry-pop-later {
  padding: 2px;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  background: none;
  border: 0;
  cursor: pointer;
}
.enquiry-pop-later:hover { color: var(--brand-dark); }

@media (max-width: 560px) {
  .enquiry-pop {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    padding: 22px 20px calc(18px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 26px 26px 0 0;
    transform: translateY(100%);
    max-height: 88vh;
    overflow-y: auto;
  }
  .enquiry-pop.open { transform: none; }
  body.enquiry-open .ask-thaaniyah { opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .enquiry-pop { transition: opacity .01ms, visibility .01ms; transform: none; }
}


/* ---------- parent resources page: packs + social stories ---------- */
.section-soft {
  padding: 56px clamp(20px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--brand-soft);
}
.button.ghost {
  background: transparent;
  color: var(--brand-dark) !important;
  border-color: var(--brand);
}
.button.ghost:hover { background: var(--brand-soft); }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card .catalog-image { background: var(--brand-soft); }
.resource-card img { width: 100%; height: auto; aspect-ratio: .707; object-fit: cover; object-position: top center; }
.resource-card .product-info { display: flex; flex-direction: column; padding: 24px; }
.resource-card .product-info h2 { margin: 0; font-size: 25px; line-height: 1.12; letter-spacing: -.03em; }
.pack-meta {
  margin: 8px 0 0;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.resource-card .product-info > p:not(.pack-meta):not(.price) { margin: 12px 0 0; line-height: 1.55; }
.resource-card .lesson-list { margin: 16px 0 4px; }
.resource-card .lesson-list li { font-size: 15px; line-height: 1.45; }
.resource-card .price { margin-top: auto; padding-top: 14px; }
.resource-card .button { align-self: flex-start; }

.resource-note {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.resource-note a { color: var(--brand-dark); font-weight: 750; text-underline-offset: 4px; }

.story-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.story-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.story-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(8, 62, 74, .12); }
.story-cover { display: block; overflow: hidden; background: var(--brand-soft); }
.story-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.3;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}
.story-card:hover .story-cover img { transform: scale(1.03); }
.story-copy { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 18px; }
.story-copy strong { font-size: 18px; line-height: 1.2; letter-spacing: -.02em; color: var(--ink); }
.story-copy > span { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
/* Social stories became buyable in August, so each card now carries a price and
   an add button. margin-top:auto on the price pushes both to the bottom, so a
   row of cards with different blurb lengths still lines its buttons up. */
.story-price { margin-top: auto; padding-top: 6px; color: var(--brand-dark) !important; font-size: 20px !important; font-weight: 800; letter-spacing: -.01em; }
.story-card .button { margin-top: 10px; width: 100%; justify-content: center; }
.story-card:hover { transform: none; }

.story-tag {
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark) !important;
  font-size: 11.5px !important;
  font-weight: 800;
  letter-spacing: .04em;
}
.story-action {
  margin-top: auto;
  padding-top: 10px;
  color: var(--brand-dark) !important;
  font-size: 14px !important;
  font-weight: 800;
}

.resource-cta {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 34px;
  background: var(--brand-dark);
  color: #fff;
}
.resource-cta .eyebrow { color: #a9e2ee; }
.resource-cta h2 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -.04em; }
.resource-cta p:not(.eyebrow) { margin: 16px 0 0; color: rgba(255, 255, 255, .82); font-size: 17px; line-height: 1.6; }
.resource-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.resource-cta-actions .button { background: #fff; border-color: #fff; color: var(--brand-dark) !important; }
.resource-cta-actions .button.ghost { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff !important; }
.resource-cta-actions .button.ghost:hover { background: rgba(255, 255, 255, .12); }

@media (max-width: 1080px) {
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: repeat(3, 1fr); }
  .resource-cta { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .resource-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .story-copy { padding: 14px; }
  .story-copy strong { font-size: 16px; }
}

.page-hero .resource-hero-cover {
  background: var(--brand-soft);
  object-fit: cover;
  object-position: top center;
}

/* Gydien merch */
.shop-category-card--banner { --category-bg: #dff3f7; grid-column: span 12; flex-direction: row; }
.shop-category-card--banner .shop-category-image { width: 23%; flex: 0 0 23%; margin: 10px 0 10px 10px; }
.shop-category-card--banner .shop-category-copy { justify-content: center; padding: 26px 34px; }
.shop-category-card--banner .shop-category-copy strong { font-size: 30px; }
.shop-category-card--banner .shop-category-copy > span:not(.shop-category-count):not(.shop-category-action) { max-width: 640px; font-size: 15px; }
.shop-category-card--banner .shop-category-count { margin-bottom: 10px; padding-bottom: 0; }
.merch-section { scroll-margin-top: 110px; padding-top: 56px; }
.merch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.merch-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.merch-image { position: relative; overflow: hidden; background: #f1f6f7; }
.merch-card img { width: 100%; height: auto; aspect-ratio: 1.06; object-fit: cover; transition: transform .4s ease; }
.merch-card:hover img { transform: scale(1.025); }
.merch-image span { position: absolute; left: 14px; bottom: 14px; padding: 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: 0 6px 20px rgba(15, 63, 73, .12); backdrop-filter: blur(10px); font-size: 11px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.merch-info { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.merch-info h3 { margin: 0; font-size: 19px; line-height: 1.16; letter-spacing: -.02em; }
.merch-info p { margin: 9px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.merch-variant { display: grid; gap: 6px; margin-top: 15px; }
.merch-variant > span { color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.merch-variant select { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); font: inherit; font-weight: 750; cursor: pointer; }
.merch-variant select:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.merch-buy { margin-top: auto; padding-top: 18px; }
.merch-buy .price { margin: 0 0 12px; color: var(--brand-dark); font-size: 18px; font-weight: 850; }
.merch-buy .button { width: 100%; text-align: center; }
.merch-note { margin: 24px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 1080px) { .merch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .merch-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-category-card--banner { grid-column: auto; flex-direction: column; }
  .shop-category-card--banner .shop-category-image { width: auto; flex: none; margin: 10px 10px 0; }
  .shop-category-card--banner .shop-category-copy { padding: 20px; }
}
@media (max-width: 560px) {
  .merch-grid { grid-template-columns: 1fr; }
  .merch-section { padding-top: 44px; }
  .shop-category-card--banner { flex-direction: row; }
  .shop-category-card--banner .shop-category-image { width: 39%; flex: 0 0 39%; margin: 8px 0 8px 8px; }
  .shop-category-card--banner .shop-category-copy { padding: 16px; }
}
