@font-face {
  font-family: 'Source Serif 4';
  src: url('assets/fonts/source-serif-4.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('assets/fonts/source-serif-4-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('assets/fonts/manrope.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f5f8fb;
  --sheet: #ffffff;
  --stone: #eef4f9;
  --ink: #09233f;
  --muted: #4b5b70;
  --primary: #063d6b;
  --primary-dark: #052b4f;
  --amber: #f5aa3c;
  --amber-hover: #ffc267;
  --amber-ink: #904802;
  --accent-light: #ffd59c;
  --rule: #cfdae8;
  --dark-rule: #6181ac;
  --shell: 80rem;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --section-pad: clamp(3.25rem, 6.5vw, 6.5rem);
  --display: 'Source Serif 4', Georgia, serif;
  --body: Manrope, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sheet); color: var(--ink); font: 1rem/1.65 var(--body); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--body); font-weight: 800; line-height: 1.12; letter-spacing: -.04em; }
h1 { font-size: clamp(2.65rem, 5.2vw, 5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.65rem); }
h3, h4 { font-size: 1.17rem; line-height: 1.22; font-weight: 750; }
h1 em, h2 em { color: var(--primary); font-style: normal; font-weight: inherit; }
ul, ol { padding-inline-start: 1.25rem; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
:target { scroll-margin-top: 1.25rem; }

.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--shell)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.skip-link { position: absolute; z-index: 6; inset: .5rem auto auto .5rem; padding: .75rem 1rem; background: var(--sheet); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin: 0 0 .9rem; color: var(--primary); font-size: .8rem; font-weight: 800; letter-spacing: .105em; line-height: 1.4; text-transform: uppercase; }
.section-heading { margin-bottom: clamp(1.75rem, 4vw, 3.4rem); }
.section-heading > p:last-child { margin-top: 1rem; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr); align-items: end; gap: clamp(1.25rem, 5vw, 5rem); }
.split-heading > p { max-width: 30rem; }

.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--rule); background: var(--sheet); }
.header-inner { display: flex; align-items: center; gap: clamp(1rem, 2.15vw, 2rem); min-height: 5.35rem; }
.brand { display: inline-flex; flex: none; gap: .68rem; align-items: center; text-decoration: none; font: 800 1.12rem/1.14 var(--body); }
.brand small { display: block; margin-top: .26rem; color: var(--muted); font: 650 .72rem/1.23 var(--body); letter-spacing: .012em; }
.brand-mark { position: relative; flex: none; width: 3.25rem; aspect-ratio: 5 / 4; overflow: hidden; }
.brand-mark img { position: absolute; inset: -27.5% auto auto -65.5%; width: 226%; max-width: none; height: auto; }
.brand-accent { color: var(--amber-ink); }
.header-inner > .brand { font-size: 1.2rem; }
.header-inner .brand-mark { width: 3.6rem; }
.main-nav { margin-inline-start: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(1.15rem, 2.35vw, 2.25rem); }
.nav-links > a { display: inline-flex; align-items: center; min-height: 3rem; color: var(--ink); font-size: 1rem; font-weight: 700; text-decoration: underline transparent; text-underline-offset: .37em; white-space: nowrap; transition: color .18s ease, text-decoration-color .18s ease; }
.nav-links > a:is(:hover, [aria-current]) { color: var(--primary); text-decoration-color: currentColor; }
.menu-toggle { display: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.button { display: inline-flex; min-height: 3.1rem; justify-content: center; align-items: center; padding: .6rem 1.1rem; border: 1px solid transparent; border-radius: .35rem; background: var(--primary); color: white; font-size: .93rem; font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.button:hover { background: var(--primary-dark); }
.button-secondary { border-color: var(--rule); background: transparent; color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); background: var(--stone); }
.button-light { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.button-light:hover { border-color: white; background: white; color: var(--primary-dark); }
.button-demo { background: var(--amber); color: var(--ink); }
.button-demo:hover { background: var(--amber-hover); color: var(--ink); }
.button:disabled { cursor: wait; opacity: .7; }
.text-link { color: var(--primary); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: .24em; transition: color .18s ease, text-underline-offset .18s ease; }
.text-link:hover { color: var(--primary-dark); text-underline-offset: .34em; }

.hero { overflow: clip; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); width: min(calc(100% - 2 * var(--gutter)), var(--shell)); margin-inline: auto; padding-block: clamp(2.3rem, 5vw, 4.8rem); }
.hero-copy { animation: settle .5s ease-out both; }
.hero-copy .eyebrow { margin-bottom: .95rem; color: var(--amber-ink); }
.hero-copy h1 { max-width: 11.5em; font-size: clamp(2.65rem, 4.45vw, 4.65rem); line-height: 1.09; }
.hero-copy h1 em { display: block; }
.hero-description { max-width: 34rem; margin: 1.2rem 0 1.6rem; font-size: clamp(1.03rem, 1.45vw, 1.18rem); }
.hero-copy .hero-description { max-width: 31rem; }
.hero-copy .actions { gap: .55rem 1.2rem; }
.hero-copy .actions .text-link { display: inline-flex; align-items: center; min-height: 2.75rem; }
.hero-art { min-width: 0; margin: 0; overflow: hidden; border-radius: .8rem; background: #dce9f7; }
.hero-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; animation: image-open .7s cubic-bezier(.25,.65,.3,1) both; }

.courses-section { border-bottom: 1px solid var(--rule); }
.courses-section .section-heading { margin-bottom: 1.6rem; }
.course-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1rem clamp(1rem, 3vw, 2.3rem); }
.course-group { padding: clamp(1rem, 2.2vw, 1.65rem); border: 1px solid var(--rule); border-radius: .55rem; background: var(--paper); }
.course-group h3 { margin-bottom: .65rem; font-size: clamp(1.17rem, 2.05vw, 1.5rem); }
.course-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.course-list li { border-bottom: 1px solid var(--rule); }
.course-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: .8rem; min-height: 3.05rem; padding: .52rem .15rem; line-height: 1.35; text-decoration: none; transition: color .18s ease, background-color .18s ease; }
.course-list strong, .course-list span { grid-column: 1; }
.course-list strong { font-weight: 800; }
.course-list span { margin-top: .12rem; color: var(--muted); font-size: .875rem; }
.course-list a::after { grid-area: 1 / 2 / span 2; margin-inline-end: .28rem; border: solid currentColor; border-width: 1.5px 1.5px 0 0; width: .45rem; height: .45rem; color: var(--primary); content: ''; transform: rotate(45deg); }
.course-list a:hover { background: var(--stone); color: var(--primary); }
.course-list .text-link { font-size: .88rem; text-decoration: underline; }
.course-help { margin-top: .8rem; font-size: .9rem; }

.feedback-section { border-block: 1px solid var(--rule); background: var(--stone); }
.feedback-grid, .trainer-grid, .faq-grid, .process-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 6vw, 6rem); align-items: start; }
.feedback-grid h2, .trainer-grid h2 { margin-bottom: .8rem; }
.feedback-grid > div:first-child p:not(.eyebrow) { max-width: 28rem; }
.home-feedback { border: 0; background: var(--ink); color: var(--paper); }
.home-feedback .feedback-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.2fr); }
.home-feedback .feedback-grid > div:first-child { padding-block: clamp(0rem, 2vw, 1.8rem); }
.home-feedback .feedback-grid > div:first-child p:not(.eyebrow) { color: #dce8f5; }
.home-feedback .feedback-grid > div:first-child .eyebrow, .home-feedback h2 em, .home-feedback .text-link { color: var(--accent-light); }
.home-feedback .text-link:hover { color: white; }
.home-feedback :focus-visible, .closing :focus-visible, .site-footer :focus-visible, .schedule-card :focus-visible { outline-color: var(--accent-light); }
.home-feedback .feedback-card :focus-visible { outline-color: var(--primary); }
.feedback-card { padding: clamp(1.2rem, 4vw, 2.45rem); border-top: 2px solid var(--primary); background: var(--sheet); color: var(--ink); }
.feedback-card blockquote { margin: .3rem 0 1.1rem; font: 400 clamp(1.5rem, 2.45vw, 2.1rem)/1.24 var(--display); }
.feedback-card summary { padding-block: .7rem .35rem; }
.feedback-card details > p { margin-block: .65rem .25rem; }
.feedback-card ul { margin-bottom: .35rem; color: var(--muted); }
.lesson-sheet { position: relative; padding-left: clamp(1.8rem, 5vw, 4rem); }
.lesson-sheet::before { position: absolute; inset: 0 auto 0 clamp(.72rem, 2.4vw, 1.8rem); border-left: 1px solid #b4cfee; content: ''; }
.lesson-sheet > blockquote { font-size: clamp(1.75rem, 3.3vw, 3.2rem); line-height: 1.15; }
.lesson-sheet summary { border-top: 1px solid var(--rule); }
.lesson-sheet details[open] .revision-open-label, .lesson-sheet details:not([open]) .revision-close-label { display: none; }
.lesson-sheet .revision { margin-top: .75rem; }
.lesson-sheet .revision em { color: var(--primary); }
.lesson-sheet:has(details[open]) .edit-word { text-decoration: line-through var(--primary) .055em; }

.trainer-section { background: var(--paper); }
.trainer-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: center; }
.trainer-grid > div { grid-column: 2; }
.trainer-role { margin-bottom: 1.2rem; color: var(--primary); font-weight: 800; }
.trainer-more { margin-bottom: 1rem; }
.compact-toggle, .trainer-more .compact-heading { display: none; }
.trainer-quote { grid-column: 1; grid-row: 1; margin: 0; padding: clamp(1.15rem, 3vw, 2.4rem) 0; border-block: 1px solid var(--primary); }
.trainer-quote blockquote { margin: 0; color: var(--primary); font: italic 500 clamp(1.95rem, 3.55vw, 3.4rem)/1.12 var(--display); }
.trainer-quote figcaption { margin-top: 1.15rem; font-size: .88rem; font-weight: 800; }
.approach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem clamp(1rem, 4vw, 3.8rem); margin-top: clamp(2.35rem, 5vw, 4.5rem); }
.approach-grid article { padding-top: 1rem; border-top: 1px solid var(--rule); }
.approach-grid h3, .steps h3, .lesson-grid h3, .result-slot h3, .fees-grid h3 { margin-bottom: .45rem; }

.process-section { border-bottom: 1px solid var(--rule); }
.process-layout .section-heading { margin-bottom: 0; }
.process-layout .section-heading p:not(.eyebrow) { max-width: 29rem; margin-top: 1rem; }
.process-layout .button-light { border-color: var(--ink); background: transparent; color: var(--ink); }
.process-layout .button-light:hover { background: var(--ink); color: var(--paper); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { position: relative; padding: .95rem 0 1.05rem 3rem; border-top: 1px solid var(--rule); counter-increment: steps; }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before { position: absolute; inset: .94rem auto auto 0; color: var(--primary); font: italic 1.7rem/1 var(--display); content: counter(steps, decimal-leading-zero); }
.result-slot, .fees-grid article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: .45rem 1rem; padding-block: .85rem; border-top: 1px solid var(--rule); }
.fees-grid article { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, .95fr); }
.result-slot p, .fees-grid p { margin: 0; }
.fees-grid .text-link { justify-self: start; }
.fees-section { border-block: 1px solid var(--rule); background: var(--paper); }
.resource-section { padding-block: clamp(2.6rem, 5vw, 4.2rem); border-bottom: 1px solid var(--rule); background: var(--stone); }
.resource-card { display: flex; justify-content: space-between; align-items: center; gap: 1.75rem; }
.resource-card h2 { margin-bottom: .6rem; font-size: clamp(2.15rem, 3.85vw, 3.6rem); }
.resource-card .actions { flex: none; }
.faq-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); }
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; color: var(--ink); font-weight: 800; }
summary::marker { color: var(--primary); }
.faq-list summary { padding: .9rem 0; }
.faq-list details > p { padding-bottom: .75rem; }
.faq-list details > .text-link { display: inline-block; margin-bottom: .8rem; }
details[open] > :not(summary) { animation: settle .24s ease-out both; }

.closing { padding-block: clamp(2.5rem, 6vw, 4.4rem); background: var(--primary-dark); color: var(--sheet); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.closing h2 { margin-bottom: .5rem; font-size: clamp(2.3rem, 4.4vw, 4rem); }
.closing p { color: #e9f3ff; }
.closing .button { flex: none; }
.site-footer { padding-block: 2.1rem; background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; align-items: start; justify-content: space-between; gap: 1.35rem; }
.footer-inner p, .site-footer .brand small { color: #d6e4f2; }
.site-footer .brand-mark { border-radius: .3rem; background: #03070c; }
.site-footer .brand-mark img { inset: -19% auto auto -37%; width: 167%; }
.site-footer .brand-accent { color: var(--accent-light); }
.footer-inner p { margin: .75rem 0 0; font-size: .87rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .9rem; font-weight: 650; }
.footer-inner nav a { text-underline-offset: .23em; }
.footer-inner nav a:hover { color: var(--accent-light); }
.whatsapp-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 3; padding: .55rem .8rem; border: 1px solid var(--sheet); background: var(--ink); color: white; font-weight: 800; text-decoration: none; }

.subhero, .contact-hero { padding-block: clamp(3.2rem, 7vw, 6.7rem); border-bottom: 1px solid var(--rule); background: var(--paper); }
.subhero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(1.5rem, 8vw, 7rem); align-items: end; }
.subhero .hero-description { margin-top: 1.3rem; }
.subhero-aside { padding-block: 1.15rem 0; border-top: 2px solid var(--primary); }
.subhero-aside h2 { margin-bottom: .65rem; font-size: clamp(1.8rem, 2.75vw, 2.7rem); }
.course-hero { padding-top: clamp(1.25rem, 3.5vw, 2.9rem); }
.skills-hero { background: var(--stone); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .35rem .65rem; margin-bottom: clamp(2rem, 5.6vw, 5rem); color: var(--muted); font-size: .85rem; }
.breadcrumb > * + *::before { display: inline-block; margin-inline-end: .65rem; color: var(--primary); content: '/'; text-decoration: none; }
.breadcrumb a { text-underline-offset: .2em; }
.breadcrumb a:hover { color: var(--primary); }
.course-source { margin-top: 1.35rem; }
.lesson-grid, .skills-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem clamp(1.05rem, 5vw, 4rem); }
.lesson-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lesson-grid article, .skill-card { padding-top: .95rem; border-top: 1px solid var(--rule); }
.skill-card h3 { margin-bottom: .5rem; font-size: clamp(1.35rem, 2.25vw, 2.15rem); }
.skill-intro { color: var(--ink); font-weight: 750; }
.skill-card ul { margin-bottom: 0; }
.skill-card li { margin-block: .2rem; color: var(--muted); }
.course-related { padding-block: 1.65rem; border-top: 1px solid var(--rule); background: var(--paper); }
.course-related h2 { font: 800 1.12rem/1.3 var(--body); letter-spacing: -.01em; }
.course-related ul { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-bottom: 0; padding: 0; list-style: none; }
.skill-tags { display: flex; flex-wrap: wrap; gap: .3rem .8rem; color: var(--primary); font-size: .82rem; font-weight: 800; }
.target-card { margin-top: 1rem; padding: .85rem 1rem; background: var(--ink); color: var(--paper); }
.target-card p { margin-top: .42rem; color: #d9e8fa; font-size: .82rem; }
.target-top { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; font-size: .85rem; font-weight: 750; }
.target-top strong { color: var(--accent-light); font: 400 2.4rem/.85 var(--display); }
.band-scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: .32rem; margin-top: .55rem; }
.band-scale span { color: #d9e8fa; font-size: .75rem; text-align: center; }
.band-scale i { display: block; height: .85rem; margin-bottom: .14rem; background: var(--dark-rule); }
.band-scale span:nth-child(2) i { height: 1.15rem; }
.band-scale span:nth-child(3) i { height: 1.45rem; }
.band-scale span:nth-child(4) i { height: 1.75rem; }
.band-scale span:nth-child(5) i { height: 2.05rem; }
.band-scale .selected-band i { background: var(--accent-light); }

.contact-hero { padding-bottom: clamp(2.55rem, 5vw, 4.3rem); }
.contact-hero .hero-description { margin-bottom: 0; }
.demo-section { padding-block: clamp(2.6rem, 6vw, 5.3rem) 0; }
.demo-section h2 { margin-bottom: 1.3rem; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
.demo-grid article { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.25rem, 4vw, 2.4rem); }
.demo-grid h3 { margin-bottom: .65rem; font-size: clamp(1.3rem, 2.4vw, 2.15rem); }
.demo-grid .button { margin-top: auto; }
.schedule-card { background: var(--ink); color: var(--paper); }
.schedule-card p { color: #d9e8fa; }
.observation-card { background: var(--paper); }
.demo-booking { margin-top: clamp(1.75rem, 4vw, 3rem); padding-block: 1.25rem; border-top: 1px solid var(--rule); }
.demo-booking:not(:target) { display: none; }
.demo-booking h2 { margin-block: .65rem; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.contact-section { padding-top: clamp(2.75rem, 7vw, 5.8rem); }
.contact-layout { grid-template-columns: minmax(0, 1.38fr) minmax(0, .62fr); }
.contact-aside { padding-top: 1rem; border-top: 1px solid var(--primary); }
.contact-aside h2, .form-card h2 { margin-bottom: .7rem; font-size: clamp(1.75rem, 3.3vw, 3.1rem); }
.contact-links { display: grid; justify-items: start; gap: .5rem; }
.form-card { padding-top: 1rem; border-top: 1px solid var(--ink); }
.form-card .reply-note { margin-block: 0 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
fieldset.form-grid { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-grid label { display: block; font-size: .9rem; font-weight: 800; }
.form-grid label small { font-weight: 500; color: var(--muted); }
.form-grid label > span { color: var(--primary); }
.field-wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea, .draft textarea { display: block; width: 100%; min-width: 0; min-height: 3rem; margin-top: .3rem; padding: .55rem .62rem; border: 1px solid #8295ad; border-radius: 0; background: var(--sheet); color: var(--ink); font-size: 1rem; font-weight: 500; }
.form-grid textarea, .draft textarea { resize: vertical; }
.form-note, .form-status, .form-notice { font-size: .88rem; }
.form-note { margin: 1rem 0; }
.form-status { margin: .65rem 0 0; }
.form-status:empty { display: none; }
.enquiry-booking-link { margin-top: .75rem; }
.draft { margin-top: 1.2rem; padding: 1rem; border-left: 2px solid var(--primary); background: var(--paper); }
.draft h3 { margin-bottom: .4rem; }
.draft .actions { margin-top: .8rem; }

.guide-page { width: min(calc(100% - 2 * var(--gutter)), 49rem); }
.guide-page > h1 { margin-bottom: .85rem; }
.guide-page > .actions { margin-bottom: 2rem; }
.guide-list { margin: 0; padding: 0 0 0 1.6rem; }
.guide-list li { padding: .85rem 0 .95rem .45rem; border-top: 1px solid var(--rule); }
.guide-list li::marker { color: var(--primary); font-weight: 800; }
.guide-list h2 { margin-bottom: .35rem; font: 800 1.2rem/1.2 var(--body); letter-spacing: 0; }
.guide-list p { margin: 0; }
.guide-practice { margin-top: clamp(2.6rem, 6vw, 4.6rem); }
.guide-practice h2 { margin-bottom: .8rem; }
.guide-practice h3 { margin: 1rem 0 .55rem; }
.guide-practice > p { margin-bottom: 1rem; }

@keyframes settle {
  from { opacity: .68; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes image-open {
  from { clip-path: inset(0 0 0 4%); }
  to { clip-path: inset(0 0 0 0); }
}
@media (min-width: 901px) {
  .process-layout > .section-heading { position: sticky; top: 2.5rem; }
}
@media (max-width: 900px) {
  .hero-copy h1 { font-size: clamp(2.1rem, 4.45vw, 2.55rem); }
  .resource-card .actions { flex: initial; }
}
@media (max-width: 860px) {
  :root { --mobile-header-height: 4.75rem; }
  html { scroll-padding-top: calc(var(--mobile-header-height) + 1px); }
  .site-header { position: sticky; top: 0; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(var(--mobile-header-height), auto) auto; gap: 0 .65rem; min-height: 0; }
  .header-inner > .brand { grid-area: 1 / 1; min-width: 0; min-height: 3rem; justify-self: start; font-size: clamp(.95rem, 3.9vw, 1.1rem); }
  .header-inner .brand-mark { width: 3rem; }
  .menu-toggle { grid-area: 1 / 2; position: relative; display: inline-flex; align-items: center; justify-self: end; min-height: 3rem; padding: .45rem 2rem .45rem .6rem; border: 1px solid transparent; border-radius: .35rem; background: var(--sheet); color: var(--primary); font-size: .9rem; font-weight: 800; }
  .menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: var(--paper); }
  .menu-toggle::before, .menu-toggle::after { position: absolute; inset: calc(50% - 1px) .6rem auto auto; width: .95rem; height: 2px; border-radius: 1px; background: currentColor; content: ''; transition: transform .18s ease; }
  .menu-toggle::before { transform: translateY(-5px); box-shadow: 0 5px currentColor; }
  .menu-toggle::after { transform: translateY(5px); }
  .menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); box-shadow: none; }
  .menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }
  .header-inner:not(.is-enhanced) .menu-toggle { display: none; }
  .main-nav { display: grid; grid-area: 2 / 1 / auto / -1; grid-template-rows: 1fr; margin: 0; transition: grid-template-rows .22s ease, visibility 0s; }
  .is-enhanced .main-nav { position: absolute; inset: 100% 0 auto; padding-inline: var(--gutter); background: var(--sheet); box-shadow: 0 1px var(--rule); }
  .is-enhanced .main-nav:not(.is-open) { grid-template-rows: 0fr; visibility: hidden; transition-delay: 0s, .22s; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; overflow: hidden; }
  .is-enhanced .main-nav.is-open .nav-links { max-height: calc(100dvh - var(--mobile-header-height) - 1px); overflow-y: auto; }
  .nav-links > a { min-height: 3rem; padding-inline: .55rem; border-top: 1px solid var(--rule); font-size: 1rem; }
  .nav-links > a:focus-visible { outline-offset: -3px; }
  .resource-card { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 2.35rem 1.6rem; }
  .hero-copy h1 { font-size: clamp(2.35rem, 8.9vw, 3.55rem); }
  .hero-copy .hero-description { margin-block: 1rem 1.1rem; }
  .hero-copy .actions { column-gap: .85rem; }
  .hero-photo { aspect-ratio: 16 / 10; object-position: center 58%; }
  .courses-section { padding-block: 2.45rem; }
  .courses-section .section-heading { margin-bottom: 1.2rem; }
  .split-heading, .feedback-grid, .home-feedback .feedback-grid, .trainer-grid, .faq-grid, .process-layout, .subhero-grid, .contact-layout, .course-directory, .demo-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-grid .button, #enquiry-form > .button { width: 100%; }
  .trainer-grid > div, .trainer-quote { grid-column: 1; grid-row: auto; }
  .approach-grid, .lesson-grid { grid-template-columns: minmax(0, 1fr); }
  .closing-inner, .footer-inner { flex-direction: column; align-items: start; }
  .fees-grid article { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fees-grid article .text-link { grid-column: 1 / -1; }

  .course-page .subhero { padding-block: 1rem 1.4rem; }
  .course-page .breadcrumb { margin-bottom: .75rem; }
  .course-page .breadcrumb > :not(:first-child) { display: none; }
  .course-page .breadcrumb a { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; }
  .course-page .breadcrumb a::before { width: .42rem; height: .42rem; border: solid var(--primary); border-width: 0 0 1.5px 1.5px; content: ''; transform: rotate(45deg); }
  .course-page .subhero-grid { gap: .95rem; }
  .course-page .subhero h1 { font-size: clamp(2.15rem, 8vw, 3rem); text-wrap: balance; }
  .course-page .subhero .hero-description { margin-block: .75rem 1rem; }
  .course-page .subhero .eyebrow { margin-bottom: .5rem; }
  .course-page .subhero .actions { gap: .15rem .85rem; }
  .course-page .subhero .button-secondary { min-height: 2.75rem; padding-inline: 0; border-color: transparent; background: transparent; color: var(--primary); text-decoration: underline; text-underline-offset: .23em; }
  .course-page .subhero .button-secondary:hover { color: var(--primary-dark); }
  .course-page .subhero-aside { padding: 0; border-block: 1px solid var(--rule); }
  .course-page .subhero-aside h2 { margin: 0; font-size: 1.02rem; letter-spacing: -.015em; }
  .course-page .section, .trainer-section { padding-block: 2.4rem; }
  .course-page .section-heading { margin-bottom: 1.05rem; }
  .course-page .section h2 { font-size: clamp(1.65rem, 6.8vw, 2.25rem); }
  .course-page .split-heading { gap: .6rem; }
  .course-page .split-heading > p:last-child { margin-top: 0; }
  .course-page .skills-grid { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
  .course-page .skills-grid:has(.compact-detail) { gap: 0; border-bottom: 1px solid var(--rule); }
  .course-page .skill-card h3 { font-size: 1.08rem; }
  .course-page .skill-card.compact-detail, .course-page .skill-card .compact-heading { margin: 0; padding: 0; }
  .course-page .feedback-grid { gap: 1rem; }
  .course-page .feedback-card { padding: 1rem; }
  .course-page .feedback-card blockquote { font-size: 1.35rem; }
  .course-page .lesson-grid { gap: .8rem; }
  .course-page .lesson-grid article { padding-top: .75rem; }
  .course-page .course-related ul { display: grid; gap: 0; margin-top: .35rem; }
  .course-page .course-related li + li { border-top: 1px solid var(--rule); }
  .course-page .course-related a { display: flex; align-items: center; min-height: 2.75rem; }

  .trainer-grid { gap: 1.15rem; }
  .trainer-grid h2 { margin-bottom: .45rem; }
  .trainer-role { margin-bottom: .8rem; }
  .trainer-more { margin-bottom: .65rem; border-block: 1px solid var(--rule); }
  .trainer-more .compact-heading { display: block; font-size: 1.05rem; }
  .trainer-quote { padding: .3rem 0 .3rem 1rem; border: 0; border-inline-start: 2px solid var(--amber); }
  .trainer-quote blockquote { font-size: 1.55rem; }
  .trainer-quote figcaption { margin-top: .55rem; }
  .trainer-section .approach-grid { gap: .75rem; margin-top: 1.35rem; }
  .trainer-section .approach-grid article { padding-top: .7rem; }
  .trainer-section .approach-grid h3 { margin-bottom: .25rem; font-size: 1.05rem; }

  .compact-label { display: none; }
  .compact-toggle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 3rem; padding: .7rem .3rem .7rem 0; border: 0; background: transparent; color: var(--primary); font: inherit; text-align: start; }
  .compact-toggle::after { flex: none; width: .5rem; height: .5rem; margin-bottom: .25rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; content: ''; transform: rotate(45deg); transition: transform .18s ease; }
  .compact-toggle[aria-expanded="true"]::after { margin-bottom: 0; transform: rotate(225deg); }
  .compact-detail.is-collapsed > .compact-content { display: none; }
  .compact-content { padding-bottom: .95rem; }
  .compact-content p { margin-bottom: .65rem; }
  .compact-content p:last-child { margin-bottom: 0; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(2.25rem, 9vw, 2.7rem); }
  h2 { font-size: clamp(1.9rem, 7vw, 2.35rem); }
  .brand { font-size: 1.01rem; }
  .brand small { font-size: .67rem; }
  .skills-grid, .result-slot, .fees-grid article { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .brand { gap: .45rem; font-size: .95rem; }
  .hero-copy h1 { font-size: clamp(2rem, 9.35vw, 2.2rem); }
}
@media (max-width: 350px) {
  .header-inner { width: calc(100% - 2rem); }
  .header-inner .brand-mark { width: 2.6rem; }
  .menu-toggle { padding-inline-start: .35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .guide-page > .actions, .skip-link, .whatsapp-float { display: none !important; }
  body { background: white; }
  .guide-page { width: 100%; padding: 0; }
  .guide-page h1 { font-size: 32pt; }
  .guide-list li { break-inside: avoid; }
  .guide-practice .feedback-card { padding: 0; border: 0; background: white; }
}
