@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@500;600&display=swap');

:root {
  --black: #050505;
  --blue: #9ceaf2;
  --blue-dim: #68cbd5;
  --line: rgba(156, 234, 242, .33);
  --white: #f7ffff;
  --sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --serif: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --mono: 'DM Mono', ui-monospace, monospace;
}

/* Inner-page opening: visual first, centered message second */
body:not([data-page="home"]) .inner-hero { width: 100%; max-width: none; padding: 0 0 clamp(72px,9vw,120px); border-bottom: 0; text-align: center; }
body:not([data-page="home"]) .inner-hero-media { position: relative; width: min(1320px,calc(100% - 56px)); height: clamp(360px,48vw,650px); margin: 0 auto clamp(52px,7vw,92px); overflow: hidden; border-radius: 0 0 22px 22px; background: #123b52; box-shadow: 0 18px 40px rgba(43,37,28,.12); }
body:not([data-page="home"]) .inner-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(18,59,82,.32),transparent 55%); pointer-events: none; }
body:not([data-page="home"]) .inner-hero-media img { width: 100%; height: 100%; object-fit: cover; }
body:not([data-page="home"]) .inner-hero > .kicker, body:not([data-page="home"]) .inner-hero > h1, body:not([data-page="home"]) .inner-hero > .lede { width: min(760px,calc(100% - 56px)); margin-right: auto; margin-left: auto; }
body:not([data-page="home"]) .inner-hero > h1 { margin-top: 18px; }
body:not([data-page="home"]) .inner-hero > .lede { line-height: 1.9; }
body:not([data-page="home"]) main > .course-section:first-of-type, body:not([data-page="home"]) main > .tony-letter:first-of-type, body:not([data-page="home"]) main > .reviews-spread:first-of-type, body:not([data-page="home"]) main > .video-feature:first-of-type { padding-top: clamp(30px,5vw,64px); }
@media (max-width: 820px) {
  body:not([data-page="home"]) .inner-hero { padding-bottom: 64px; }
  body:not([data-page="home"]) .inner-hero-media { width: calc(100% - 28px); height: 52svh; min-height: 300px; margin-bottom: 42px; border-radius: 0 0 16px 16px; }
  body:not([data-page="home"]) .inner-hero > .kicker, body:not([data-page="home"]) .inner-hero > h1, body:not([data-page="home"]) .inner-hero > .lede { width: calc(100% - 36px); }
  body:not([data-page="home"]) .inner-hero > h1 { font-size: clamp(2.8rem,12vw,5rem); }
}

/* Reviews hero: use the supplied Google Reviews artwork as a full-bleed image at every width. */
body[data-page="reviews"] main > .page-hero .inner-hero-media,
body[data-page="reviews"] main > .page-hero .inner-hero-media img {
  width: 100% !important;
  height: 100% !important;
}
body[data-page="reviews"] main > .page-hero .inner-hero-media img {
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  background: none !important;
}
body[data-page="reviews"] main > .page-hero::after {
  background: linear-gradient(90deg, rgba(4,24,38,.88), rgba(4,24,38,.18) 78%), linear-gradient(0deg, rgba(4,24,38,.68), transparent 62%) !important;
}
@media (max-width: 820px) {
  body[data-page="reviews"] main > .page-hero .inner-hero-media img { object-position: center !important; }
  body .site-header .menu-toggle { background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; }
}

/* The app page hero image should fill its header block rather than sit inside a padded frame. */
body[data-page="app"] main > .page-hero .inner-hero-media img {
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  background: none !important;
}

/* Keep the vector-circle language on gradient blocks only, never on image frames. */
.home-image::after,
body:not([data-page="home"]) .course-photo::after,
body:not([data-page="home"]) .asset-frame::after,
body:not([data-page="home"]) .feature-image::after,
body:not([data-page="home"]) .tony-letter-image::after {
  display: none !important;
}
.site-footer::before,
.site-footer::after,
body[data-page="home"] .refresh-why::before,
body[data-page="home"] .refresh-why::after,
body[data-page="home"] .refresh-cta::before,
body[data-page="home"] .refresh-cta::after,
body:not([data-page="home"]) .price-board::before,
body:not([data-page="home"]) .price-board::after,
body:not([data-page="home"]) .course-cta::before,
body:not([data-page="home"]) .course-cta::after,
body:not([data-page="home"]) .dark-note::before,
body:not([data-page="home"]) .dark-note::after,
body:not([data-page="home"]) .contact-panel::before,
body:not([data-page="home"]) .contact-panel::after {
  border-color: rgba(156,234,242,.48) !important;
}
body:not([data-page="home"]) .price-board::before,
body:not([data-page="home"]) .course-cta::before,
body:not([data-page="home"]) .dark-note::before,
body:not([data-page="home"]) .contact-panel::before,
.site-footer::before,
body[data-page="home"] .refresh-why::before,
body[data-page="home"] .refresh-cta::before { background: radial-gradient(circle, rgba(156,234,242,.28), transparent 66%) !important; }
body:not([data-page="home"]) .price-board::after,
body:not([data-page="home"]) .course-cta::after,
body:not([data-page="home"]) .dark-note::after,
body:not([data-page="home"]) .contact-panel::after,
.site-footer::after,
body[data-page="home"] .refresh-why::after,
body[data-page="home"] .refresh-cta::after { background: radial-gradient(circle, rgba(7,180,222,.24), transparent 66%) !important; }

/* Access page spacing and two-column travel layout. */
body:not([data-page="home"]) .site-footer { margin-top: clamp(24px, 3vw, 44px); }
body[data-page="access"] .travel-board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
body[data-page="access"] .map-poster { display: none !important; }
@media (max-width: 820px) {
  body[data-page="access"] .travel-board { grid-template-columns: 1fr; gap: 16px; }
}

/* Reviews page refresh: a calmer hero and a readable editorial review grid. */
body[data-page="reviews"] main > .page-hero {
  min-height: clamp(500px, 58vw, 680px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  background: #082238;
}
body[data-page="reviews"] main > .page-hero::before {
  display: block !important;
  background-image: url("assets/generated/reviews-book.png");
  background-repeat: no-repeat;
  background-size: min(470px, 42vw) auto;
  background-position: 82% 54%;
  opacity: .96;
}
body[data-page="reviews"] main > .page-hero::after {
  background: linear-gradient(90deg, rgba(4,24,38,.98) 0%, rgba(4,24,38,.86) 42%, rgba(4,24,38,.1) 78%), linear-gradient(0deg, rgba(4,24,38,.42), transparent 60%);
}
body[data-page="reviews"] main > .page-hero h1 { max-width: 600px; font-size: clamp(3.3rem, 7vw, 6.8rem); line-height: .98; }
body[data-page="reviews"] main > .page-hero .lede { font-size: clamp(1rem, 1.4vw, 1.2rem); }
body[data-page="reviews"] main > .page-hero .inner-hero-media img {
  object-fit: contain !important;
  object-position: center !important;
  padding: 44px 7% 44px 54% !important;
  background: transparent !important;
}
body[data-page="reviews"] .reviews-spread { display: block; background: #f7f6f2; }
body[data-page="reviews"] .reviews-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 8vw, 120px); align-items: end; margin-bottom: clamp(38px, 5vw, 68px); }
body[data-page="reviews"] .reviews-intro h2 { margin: 12px 0 0; color: #123b52; font: 700 clamp(2.6rem, 5vw, 5.2rem)/.98 var(--sans); letter-spacing: -.08em; }
body[data-page="reviews"] .reviews-intro h2 em { color: #1cb8de; font-style: normal; }
body[data-page="reviews"] .reviews-rating { padding: 28px 0 0 30px; border-left: 2px solid #1cb8de; }
body[data-page="reviews"] .reviews-rating strong { display: block; color: #f0ad2e; font: 700 1.7rem/1 var(--sans); letter-spacing: .12em; }
body[data-page="reviews"] .reviews-rating > span { display: block; margin-top: 8px; color: #587080; font: 500 .7rem var(--mono); letter-spacing: .16em; text-transform: uppercase; }
body[data-page="reviews"] .reviews-rating p { max-width: 410px; margin: 18px 0 22px; color: #4e5b61; font-size: .98rem; line-height: 1.8; }
body[data-page="reviews"] .reviews-rating .button { display: inline-flex; }
body[data-page="reviews"] .reviews-only .review-stack { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
body[data-page="reviews"] .reviews-only .review-stack blockquote { min-height: 230px; margin: 0; padding: 28px 30px 24px; border: 1px solid #dce5e7; border-top: 4px solid #1cb8de; border-radius: 14px; background: #fff; box-shadow: 0 12px 28px rgba(18,59,82,.06); }
body[data-page="reviews"] .reviews-only .review-stack blockquote:first-child { grid-column: 1 / -1; min-height: 0; background: linear-gradient(135deg,#123b52,#176078); border: 0; border-top: 4px solid #f0ad2e; }
body[data-page="reviews"] .reviews-only .review-stack blockquote b { display: block; color: #f0ad2e; font: 700 1rem/1 var(--sans); letter-spacing: .18em; }
body[data-page="reviews"] .reviews-only .review-stack blockquote span { margin-top: 18px; color: #324a56; font: 400 1rem/1.9 var(--sans); }
body[data-page="reviews"] .reviews-only .review-stack blockquote:first-child span { color: rgba(255,255,255,.94); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
body[data-page="reviews"] .reviews-only .review-stack blockquote cite { margin-top: 20px; color: #66808b; font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
body[data-page="reviews"] .reviews-only .review-stack blockquote:first-child cite { color: #9ceaf2; }
@media (max-width: 820px) {
  body[data-page="reviews"] main > .page-hero { min-height: 560px; padding-top: 150px; padding-bottom: 90px; }
  body[data-page="reviews"] main > .page-hero::before { background-size: 300px auto; background-position: 92% 22%; opacity: .42; }
  body[data-page="reviews"] main > .page-hero::after { background: linear-gradient(180deg, rgba(4,24,38,.46), rgba(4,24,38,.98) 65%); }
  body[data-page="reviews"] main > .page-hero .inner-hero-media img { padding: 30px 5% 250px 38% !important; }
  body[data-page="reviews"] main > .page-hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  body[data-page="reviews"] .reviews-intro { display: block; margin-bottom: 38px; }
  body[data-page="reviews"] .reviews-rating { margin-top: 34px; padding: 22px 0 0; border-top: 2px solid #1cb8de; border-left: 0; }
  body[data-page="reviews"] .reviews-only .review-stack { grid-template-columns: 1fr; }
  body[data-page="reviews"] .reviews-only .review-stack blockquote:first-child { grid-column: auto; }
}

/* YouTube archive: lightweight thumbnails open one privacy-enhanced player. */
body[data-page="youtube"] .youtube-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(34px, 8vw, 120px);
  align-items: center;
}
body[data-page="youtube"] .youtube-intro h2,
body[data-page="youtube"] .youtube-gallery-heading h2 {
  margin: 10px 0 18px;
  color: #123b52;
}
body[data-page="youtube"] .youtube-intro h2 span,
body[data-page="youtube"] .youtube-gallery-heading h2 span { color: #176078; }
body[data-page="youtube"] .youtube-intro > div > p:not(.kicker),
body[data-page="youtube"] .youtube-gallery-heading > p { color: #4e4a44; }
.youtube-archive-count {
  display: grid;
  min-height: 280px;
  padding: clamp(28px, 4vw, 52px);
  align-content: center;
  justify-items: start;
  overflow: hidden;
  color: #fff;
  border-radius: 22px;
  background: linear-gradient(135deg, #082238 0%, #176078 100%);
  box-shadow: 0 22px 48px rgba(18,59,82,.18);
}
.youtube-archive-count strong {
  font: 700 clamp(5rem, 10vw, 9rem)/.8 var(--serif);
  letter-spacing: -.08em;
  color: rgb(28,184,222);
}
.youtube-archive-count span { margin-top: 16px; font: 800 .8rem/1.1 var(--mono); letter-spacing: .16em; }
.youtube-archive-count small { margin-top: 8px; color: rgba(255,255,255,.72); }
.youtube-archive-count .button { margin-top: 28px; color: #123b52 !important; background: #fff !important; }
.youtube-gallery-section { padding-top: clamp(48px, 6vw, 82px) !important; }
.youtube-gallery-heading {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: clamp(30px, 4vw, 56px);
}
.youtube-gallery-heading > p { max-width: 29rem; margin: 0 0 11px; }
.youtube-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.3vw, 32px);
}
.youtube-card {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: #123b52;
  cursor: pointer;
  text-align: left;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(18,59,82,.08);
  transition: transform .24s ease, box-shadow .24s ease;
}
.youtube-card:hover,
.youtube-card:focus-visible { transform: translateY(-6px); box-shadow: 0 22px 42px rgba(18,59,82,.18); outline: 3px solid rgb(28,184,222); outline-offset: 3px; }
.youtube-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #082238; }
.youtube-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.youtube-card:hover .youtube-thumb img { transform: scale(1.04); }
.youtube-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,34,56,.06), rgba(8,34,56,.5)); }
.youtube-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  width: 56px;
  aspect-ratio: 1;
  place-items: center;
  padding-left: 3px;
  color: #123b52;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}
.youtube-duration { position: absolute; z-index: 1; right: 10px; bottom: 10px; padding: 5px 7px; color: #fff; border-radius: 5px; background: rgba(8,34,56,.9); font: 700 .72rem/1 var(--mono); }
.youtube-card-meta { display: grid; gap: 8px; padding: 0 18px 20px; }
.youtube-card-meta b { color: #176078; font: 800 .67rem/1 var(--mono); letter-spacing: .12em; }
.youtube-card-meta strong { display: -webkit-box; overflow: hidden; min-height: 3.2em; color: #123b52; font: 700 1rem/1.55 var(--sans); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.video-dialog { width: min(1100px, calc(100vw - 32px)); padding: 0; overflow: visible; border: 0; background: transparent; }
.video-dialog::backdrop { background: rgba(8,34,56,.84); backdrop-filter: blur(8px); }
.video-dialog-frame { overflow: hidden; aspect-ratio: 16 / 9; border: 4px solid #fff; border-radius: 16px; background: #000; box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.video-dialog-frame iframe { width: 100%; height: 100%; border: 0; }
.video-dialog-close { position: absolute; z-index: 1; top: -18px; right: -18px; display: grid; width: 46px; aspect-ratio: 1; place-items: center; color: #fff; cursor: pointer; border: 3px solid #fff; border-radius: 50%; background: #123b52; font: 2rem/1 var(--sans); }

@media (max-width: 820px) {
  body[data-page="youtube"] .youtube-intro { grid-template-columns: 1fr; }
  .youtube-gallery-heading { display: grid; align-items: start; }
  .youtube-gallery { grid-template-columns: 1fr; gap: 20px; }
  .youtube-card-meta strong { min-height: auto; }
  .youtube-archive-count { min-height: 230px; }
}

/* Current brand and typography pass */
body[data-page="home"] .refresh-hero-greeting,
body[data-page="home"] .refresh-hero-greeting strong { color: #fff !important; }
body[data-page="home"] .refresh-hero-content h1,
body[data-page="home"] .refresh-hero-content h1 em,
body[data-page="home"] .refresh-section h2,
body[data-page="home"] .refresh-section h3,
body:not([data-page="home"]) .page-hero h1,
body:not([data-page="home"]) .page-hero h1 em,
body:not([data-page="home"]) main h2,
body:not([data-page="home"]) main h3 {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: -.07em;
}
body[data-page="home"] .refresh-option-card h3 { font-family: var(--sans) !important; font-weight: 800 !important; }
.brand img,
body[data-page="home"] .site-header .brand img,
body:not([data-page="home"]) .site-header .brand img {
  width: 68px !important;
  height: 68px !important;
  object-fit: contain;
  filter: none !important;
  background: transparent !important;
  padding: 0 !important;
}
.footer-brand img {
  width: 82px !important;
  height: 82px !important;
  object-fit: contain;
  filter: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.payment-logos img { object-fit: contain !important; background: #fff; padding: 12px; }
.button, .button-dark, .refresh-button, .nav-cta { color: #fff !important; }
body[data-page="home"] .site-header .site-nav .nav-cta { color: #fff !important; background: rgb(11,184,222) !important; border-color: rgb(11,184,222) !important; }
body[data-page="home"] .refresh-section .kicker,
body[data-page="home"] .refresh-why .kicker,
body[data-page="home"] .refresh-cta .kicker { display: none !important; }
.social-link svg { width: 34px !important; height: 34px !important; stroke-width: 1.7; }
body[data-page="home"] .site-footer .footer-grid { display: grid !important; }
.site-footer .footer-map > div,
.site-footer .footer-bottom span:first-child { display: none !important; }
@media (min-width: 901px) {
  body[data-page="home"] .site-header .header-inner { justify-content: flex-start !important; }
  body[data-page="home"] .site-header .site-nav { position: absolute; left: 50%; transform: translateX(-50%); }
  body[data-page="home"] .site-header .brand img { width: 86px !important; height: 86px !important; }
}

/* Final homepage overrides: these intentionally sit after the legacy card rules. */
body[data-page="home"] .menu-toggle::before { background-image: linear-gradient(#176078,#176078) !important; box-shadow: 0 -9px 0 #176078, 0 9px 0 #176078 !important; }
body[data-page="home"] .refresh-hero-content h1,
body[data-page="home"] .refresh-hero-content h1 em { font-family: var(--sans); font-style: normal; font-weight: 800; letter-spacing: -.09em; }
body[data-page="home"] .refresh-hero-content h1 em { color: #9ceaf2; }
body[data-page="home"] .refresh-option-card { color: #fff; background: #123b52; }
body[data-page="home"] .refresh-option-card::before { opacity: 1 !important; transform: scale(1) !important; }
body[data-page="home"] .refresh-option-card::after { opacity: .5 !important; background: rgba(18,59,82,.5); }
body[data-page="home"] .refresh-option-card h3,
body[data-page="home"] .refresh-option-card p,
body[data-page="home"] .refresh-option-card small { color: #fff; }
body[data-page="home"] .refresh-option-card:hover { color: #292621; background: #fff; }
body[data-page="home"] .refresh-option-card:hover::before,
body[data-page="home"] .refresh-option-card:hover::before { opacity: 1 !important; }
body[data-page="home"] .refresh-option-card:hover::after { opacity: 1 !important; background: rgba(255,255,255,.5); }
body[data-page="home"] .refresh-option-card:hover { background: transparent; }
body[data-page="home"] .refresh-option-card:hover h3,
body[data-page="home"] .refresh-option-card:hover p,
body[data-page="home"] .refresh-option-card:hover small { color: #292621; }
body[data-page="home"] .refresh-option-online::before { display: block !important; }
body[data-page="home"] .refresh-option-video { opacity: 1 !important; }
body[data-page="home"] .refresh-option-online:hover .refresh-option-video { opacity: 0 !important; }

/* Homepage shares the full inner-page footer and centered desktop navigation. */
body[data-page="home"] .site-footer .footer-grid { display: grid !important; }
.site-footer .footer-map > div,
.site-footer .footer-bottom span:first-child { display: none !important; }
.social-link svg { width: 34px !important; height: 34px !important; }
@media (min-width: 901px) {
  body[data-page="home"] .site-header .header-inner { position: static !important; display: grid !important; grid-template-columns: 1fr auto 1fr; justify-content: initial !important; }
  body[data-page="home"] .site-header .brand { grid-column: 1; justify-self: start; }
  body[data-page="home"] .site-header .site-nav { display: flex !important; width: max-content !important; grid-column: auto !important; position: absolute !important; top: 24px !important; left: 50vw !important; transform: translateX(-50%) !important; justify-self: initial; }
  body[data-page="home"] .site-header .menu-toggle { display: none !important; }
  body[data-page="home"] .site-header .brand img { width: 150px !important; height: 150px !important; }
}
.site-footer .footer-brand img { width: 150px !important; height: 150px !important; }

/* Final brand, contrast, and heading overrides */
body[data-page="home"] .refresh-hero-greeting,
body[data-page="home"] .refresh-hero-greeting strong { color: #fff !important; }
body[data-page="home"] .refresh-hero-content h1,
body[data-page="home"] .refresh-hero-content h1 em,
body[data-page="home"] .refresh-section h2,
body[data-page="home"] .refresh-section h3,
body:not([data-page="home"]) .page-hero h1,
body:not([data-page="home"]) .page-hero h1 em,
body:not([data-page="home"]) main h2,
body:not([data-page="home"]) main h3 {
  font-family: var(--sans) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: -.07em;
}
body[data-page="home"] .refresh-option-card h3 { font-family: var(--sans) !important; font-weight: 800 !important; }
.brand img,
body[data-page="home"] .site-header .brand img,
body:not([data-page="home"]) .site-header .brand img {
  width: 68px !important; height: 68px !important; object-fit: contain;
  filter: none !important; background: transparent !important; padding: 0 !important;
}
.footer-brand img {
  width: 82px !important; height: 82px !important; object-fit: contain;
  filter: none !important; background: transparent !important;
  border-radius: 0 !important; padding: 0 !important;
}
.payment-logos img { object-fit: contain !important; background: #fff; padding: 12px; }
.button, .button-dark, .refresh-button, .nav-cta { color: #fff !important; }
body[data-page="home"] { --aqua: rgb(11,184,222); }
body[data-page="home"] .refresh-hero-content .kicker,
body[data-page="home"] .refresh-hero-content h1 em,
body[data-page="home"] .refresh-button-accent,
body[data-page="home"] .refresh-hero-greeting { color: rgb(11,184,222); }
body[data-page="home"] .refresh-button-accent { background: rgb(11,184,222); }
body[data-page="home"] .refresh-hero-greeting { right: clamp(11%,17vw,23%); transform: rotate(0deg); font-size: clamp(2rem,4vw,4.8rem); }
body[data-page="home"] .refresh-option-card:nth-child(4) { --option-bg: url("assets/kids-dontknow.jpg"); }
.social-link { display: inline-flex !important; align-items: center; gap: 9px; }
.social-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body:not([data-page="home"]) .site-header .brand img,
body:not([data-page="home"]) .footer-brand img { object-fit: contain; }
body:not([data-page="home"]) .page-hero h1,
body:not([data-page="home"]) .page-hero h1 em { font-family: var(--sans) !important; font-style: normal !important; font-weight: 800 !important; letter-spacing: -.09em; }
body[data-page="home"] .menu-toggle::before { background-image: linear-gradient(#176078,#176078) !important; box-shadow: 0 -9px 0 #176078, 0 9px 0 #176078 !important; }
body:not([data-page="home"]) .page-hero h1,
body:not([data-page="home"]) .page-hero h1 em { font-family: var(--sans) !important; font-style: normal !important; font-weight: 800 !important; letter-spacing: -.09em; }
body[data-page="home"] .menu-toggle::before { background-image: linear-gradient(#176078,#176078) !important; box-shadow: 0 -9px 0 #176078, 0 9px 0 #176078 !important; }
body:not([data-page="home"]) .page-hero h1,
body:not([data-page="home"]) .page-hero h1 em { font-family: var(--sans) !important; font-style: normal !important; font-weight: 800 !important; letter-spacing: -.09em; }
body:not([data-page="home"]) .page-hero h1,
body:not([data-page="home"]) .page-hero h1 em { font-family: var(--sans); font-style: normal; font-weight: 800; letter-spacing: -.09em; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--blue);
  font-family: var(--sans);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.page-frame { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.section-pad { padding-block: clamp(80px, 11vw, 150px); }
.kicker, .section-index, .cover-meta, .cover-footer, .content-card > span,
.issue-note, .list-row b, .access-copy dt, .video-list .section-index {
  color: var(--blue-dim);
  font: 500 10px/1.3 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.triple-stroke { display: none !important; }

/* Shared header */
.site-header { position: relative; z-index: 20; background: var(--black); }
.header-inner {
  width: min(1160px, calc(100% - 56px));
  min-height: 116px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--blue); font-weight: 700; }
.brand img { width: 46px; height: 52px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(145deg); }
.brand span { font: 700 clamp(15px, 2vw, 23px)/1.2 var(--sans); text-align: center; }
.brand small { display: block; margin-top: 7px; color: var(--blue-dim); font: 9px/1 var(--mono); letter-spacing: .12em; }
.site-header .brand { flex-direction: column; gap: 7px; }
.site-header .brand img { width: 38px; height: 42px; }
.site-header .brand small { display: none; }
.menu-toggle {
  position: absolute; right: 0; top: 50%; width: 54px; height: 54px;
  display: grid; place-items: center; transform: translateY(-50%);
  color: transparent; background: none; border: 0; cursor: pointer;
}
.menu-toggle::before, .menu-toggle::after, .menu-toggle {
  background-image: linear-gradient(var(--blue), var(--blue));
  background-repeat: no-repeat;
}
.menu-toggle { background-size: 0 0; }
.menu-toggle::before, .menu-toggle::after { content: ''; width: 30px; height: 3px; border-radius: 99px; box-shadow: 0 -9px 0 var(--blue), 0 9px 0 var(--blue); }
body[data-page="home"] .menu-toggle::before { background: #176078 !important; background-image: none !important; box-shadow: 0 -9px 0 #176078, 0 9px 0 #176078 !important; }
.menu-toggle::after { display: none; }
.site-nav {
  position: absolute; right: 0; top: calc(100% + 1px); z-index: 30;
  display: none; width: min(320px, 100vw - 32px); padding: 18px 22px;
  flex-direction: column; align-items: stretch; gap: 0;
  border: 1px solid var(--line); background: var(--black);
}
.site-nav.open { display: flex; }
.site-nav a { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--blue); font-size: 13px; }
.site-nav .nav-cta { margin-top: 10px; border: 1px solid var(--blue); border-radius: 999px; text-align: center; }

/* Homepage: one vertical image-led sequence */
.cover { width: min(1160px, calc(100% - 56px)); padding-top: 20px; }
.cover-meta { display: none; }
.cover-grid { display: block; min-height: 0; }
.cover-copy { padding: 58px 0 22px; text-align: center; }
.hero-lockup { margin: 0 auto; }
.brand-display { display: none; }
.service-label, .brand-underline, .paint-strip, .cover-footer, .cover-number, .hero-feature, .hero-coral-shape, .cover-caption { display: none; }
.cover-art { min-height: 0; padding: 0; position: relative; overflow: visible; }
.cover-cutout {
  position: relative; z-index: 2; display: block; width: min(730px, 96%);
  margin: 0 auto; cursor: pointer;
  filter: drop-shadow(0 18px 20px rgba(0,0,0,.55));
  transition: filter .25s ease;
}
.cover-cutout:hover { animation: tony-shudder .8s ease-in-out both; filter: drop-shadow(0 22px 24px rgba(0,0,0,.8)); }
.cover-cutout > img { width: 100%; filter: drop-shadow(-8px 0 0 var(--white)) drop-shadow(8px 0 0 var(--white)) drop-shadow(0 -8px 0 var(--white)) drop-shadow(0 8px 0 var(--white)); }
.cover-cutout .speech-bubble {
  display: flex; position: absolute; right: 1%; top: 7%; width: 230px; aspect-ratio: 1.35;
  padding: 25px; flex-direction: column; justify-content: center; align-items: center;
  border: 2px solid var(--blue); border-radius: 50%; background: var(--black);
  color: var(--blue); text-align: center; transform: rotate(4deg); font: 500 23px/1.05 var(--serif);
}
.cover-cutout .speech-bubble::after { content: ''; position: absolute; left: 12%; bottom: -17px; width: 30px; height: 30px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); background: var(--black); transform: skew(-18deg) rotate(-22deg); }
.cover-cutout .speech-bubble span { display: block; }
.cover-cutout .speech-bubble strong { display: block; margin-top: 7px; font: 700 32px/1 var(--sans); }
.cover-cutout .speech-bubble i { display: block; width: 96px; height: 2px; margin-top: 11px; background: var(--blue); }
@keyframes tony-shudder {
  0%,100% { transform: translate(0) rotate(0); }
  14% { transform: translate(-9px,-5px) rotate(-2deg); }
  28% { transform: translate(8px,2px) rotate(1.6deg); }
  43% { transform: translate(-7px,-3px) rotate(-1.5deg); }
  58% { transform: translate(6px,2px) rotate(1.2deg); }
  73% { transform: translate(-3px,-1px) rotate(-.7deg); }
  88% { transform: translate(2px,1px) rotate(.4deg); }
}

/* Hide former homepage systems: the new home is intentionally sparse. */
body[data-page="home"] .quick-ribbon,
body[data-page="home"] .contents,
body[data-page="home"] .watch-reviews,
body[data-page="home"] .quote-band,
body[data-page="home"] .final-cta { display: none; }
.home-image-nav { width: min(760px, calc(100% - 56px)); margin: 0 auto; padding: 24px 0 120px; }
.home-image-link {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 180px); align-items: center; gap: clamp(22px, 6vw, 75px);
  padding: clamp(30px, 6vw, 68px) 0; border-bottom: 1px solid var(--line);
}
.home-image-link:nth-child(even) { grid-template-columns: minmax(120px, 180px) minmax(0, 1fr); }
.home-image-link:nth-child(even) .home-image { order: 2; }
.home-image-link:nth-child(even) .home-label { text-align: right; }
.home-image { position: relative; min-height: 230px; display: grid; place-items: center; }
.home-image::after { content: ''; position: absolute; inset: 10% 7%; z-index: -1; border: 1px solid var(--line); border-radius: 50%; }
.home-image img { width: 100%; height: 310px; object-fit: contain; transition: transform .3s ease; }
.home-image img[src*="generated/"] { filter: drop-shadow(-6px 0 0 var(--white)) drop-shadow(6px 0 0 var(--white)) drop-shadow(0 -6px 0 var(--white)) drop-shadow(0 6px 0 var(--white)); }
.home-image-link:hover .home-image img { transform: rotate(-2deg) scale(1.04); }
.home-image-link:first-child .home-image img { height: 370px; }
.home-image-link:first-child .home-image { min-height: 300px; }
.home-label { color: var(--blue); font: 500 clamp(20px, 3vw, 34px)/1.2 var(--serif); letter-spacing: -.04em; }
.home-label small { display: block; margin-top: 11px; color: var(--blue-dim); font: 500 9px/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.home-image.youtube-mark, .home-image.review-mark { min-height: 170px; }
.home-image.youtube-mark::after, .home-image.review-mark::after { display: none; }
.youtube-outline { width: 180px; height: 126px; border: 4px solid var(--white); border-radius: 24px; display: grid; place-items: center; }
.youtube-outline::after { content: ''; margin-left: 9px; border-top: 24px solid transparent; border-bottom: 24px solid transparent; border-left: 34px solid var(--white); }
.star-outline { color: #f5df52; font: 150px/1 var(--sans); -webkit-text-stroke: 4px var(--white); }

/* A note from Tony */
.home-note { padding: 76px 0 116px; background: var(--blue); color: var(--black); }
.home-note-inner { width: min(760px, calc(100% - 56px)); margin: 0 auto; }
.home-note .kicker { color: rgba(0,0,0,.62); }
.home-note blockquote { margin: 22px 0 18px; font: 500 clamp(28px, 5vw, 56px)/1.3 var(--serif); letter-spacing: -.06em; }
.home-note cite { font: 500 10px var(--mono); letter-spacing: .1em; }

/* Generic inner page style */
.page-hero { width: min(1160px, calc(100% - 56px)); padding: 95px 0 88px; border-bottom: 1px solid var(--line); }
.contact-hero { position: relative; width: min(1320px, calc(100% - 56px)); height: clamp(420px, 48vw, 650px); margin: 28px auto 0; overflow: hidden; padding: 0; border: 0; border-radius: 0 0 22px 22px; background: #9ceaf2; box-shadow: 0 18px 40px rgba(43,37,28,.12); }
.contact-hero > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.contact-hero-copy { position: absolute; z-index: 1; top: 50%; left: clamp(28px, 7vw, 110px); width: min(48%, 560px); transform: translateY(-50%); }
.contact-hero-copy .kicker { margin: 0; color: #176078; }
.contact-hero-copy h1 { margin: 22px 0 20px; color: #123b52; font: 800 clamp(43px, 6vw, 88px)/1.12 var(--sans); letter-spacing: -.09em; }
.contact-hero-copy h1 em { color: #123b52; font: inherit; font-style: normal; }
.contact-hero-copy .lede { max-width: 540px; margin: 0; color: #123b52; font-size: 16px; line-height: 1.9; }
.page-hero h1 { margin: 22px 0 20px; color: var(--blue); font: 800 clamp(43px, 7vw, 92px)/1.12 var(--sans); letter-spacing: -.09em; }
.page-hero h1 em { color: var(--blue); font: inherit; font-style: normal; }
.page-hero .lede { max-width: 650px; margin: 0; color: var(--blue-dim); font-size: 16px; }
.course-section, .tony-letter, .tony-journey { width: min(1160px, calc(100% - 56px)); }
.course-intro, .course-split, .tony-letter, .app-showcase, .story-spread, .reviews-spread, .video-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 7vw, 100px); align-items: center; }
.course-intro.reverse > .course-photo { order: 2; }
.course-photo, .asset-frame, .feature-image, .story-spread > img, .reviews-spread > img, .video-feature > img { height: clamp(350px, 48vw, 610px); margin: 0; overflow: hidden; }
.course-photo img, .asset-frame img, .feature-image img, .story-spread > img, .reviews-spread > img, .video-feature > img { width: 100%; height: 100%; object-fit: cover; }
.course-photo.tall, .asset-frame.tall { height: clamp(420px, 58vw, 680px); }
.course-copy h2, .course-split h2, .app-showcase h2, .tony-letter-copy h2, .tony-journey-heading h2, .dark-note h2, .contact-panel h2, .course-cta h2, .price-board h2 { margin: 16px 0 22px; color: var(--blue); font: 500 clamp(32px, 4.5vw, 62px)/1.2 var(--serif); letter-spacing: -.07em; }
.course-copy h2 span, .course-split h2 span, .app-showcase h2 span, .tony-letter-copy h2 span, .tony-journey-heading h2 span, .contact-panel h2 em, .course-cta h2 span, .price-board h2 span { color: var(--blue); font: inherit; }
.course-copy > p:not(.kicker), .course-split > div > p:not(.kicker), .app-showcase > div > p:not(.kicker), .tony-letter-copy > p:not(.kicker), .contact-panel > div > p:not(.kicker), .course-cta > p { max-width: 570px; color: var(--blue-dim); font-size: 14px; }
.button { display: inline-flex; align-items: center; gap: 16px; margin-top: 20px; padding: 12px 18px; border: 1px solid var(--blue); border-radius: 999px; color: var(--blue); font: 700 12px var(--sans); }
.button:hover { background: var(--blue); color: var(--black); }
.button-dark { background: var(--blue); color: var(--black); }
.skill-strip, .price-grid, .detail-grid, .usecase-grid, .quote-cards, .schedule-grid, .travel-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 44px; }
.skill-strip { grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skill-chip { min-height: 90px; padding: 20px 0; border-right: 1px solid var(--line); }
.skill-chip:last-child { border-right: 0; }
.skill-chip b { display: block; margin-bottom: 8px; color: var(--blue-dim); font: 10px var(--mono); }
.skill-chip span { font-size: 15px; }
.fact-list { display: grid; gap: 0; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.fact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact-list li b { color: var(--blue-dim); font: 10px var(--mono); letter-spacing: .1em; }
.fact-list li span { color: var(--blue); font-size: 13px; }
.homework-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 42px; }
.homework-gallery figure { margin: 0; }
.homework-gallery img { width: 100%; height: 240px; object-fit: cover; }
.homework-gallery figcaption { padding-top: 10px; color: var(--blue-dim); font-size: 12px; }
/* Image cards stay visual: remove the small light-blue footer captions sitewide. */
figcaption { display: none !important; }
body[data-page="english"] .homework-gallery-single { grid-template-columns: minmax(0, 1fr); }
body[data-page="english"] .homework-gallery-single img { height: auto; aspect-ratio: 1500 / 948; object-fit: contain; background: #fff; }
.detail-card, .usecase-card, .quote-card, .schedule-card, .travel-card { min-height: 210px; padding: 24px; border: 1px solid var(--line); background: rgba(156,234,242,.03); }
.detail-card .card-no { color: var(--blue-dim); font: 10px var(--mono); }
.detail-card h3, .usecase-card h2, .schedule-card strong, .travel-card h3, .payment-panel h3 { margin: 35px 0 12px; color: var(--blue); font: 500 23px var(--serif); }
.detail-card p, .usecase-card li, .travel-card p, .schedule-card span { color: var(--blue-dim); font-size: 13px; }
.usecase-card { padding: 0; overflow: hidden; }
.usecase-card img { width: 100%; height: 220px; object-fit: cover; }
.usecase-card > p.kicker, .usecase-card > h2, .usecase-card > ul { margin-inline: 24px; }
.usecase-card > p.kicker { margin-top: 20px; }
.usecase-card > h2 { margin-top: 10px; }
.usecase-card > ul { padding-bottom: 22px; }
.schedule-card strong { display: block; margin-top: 30px; font-size: 40px; }
.price-board { padding: 110px 0; background: var(--blue); color: var(--black); }
.price-board .kicker, .price-board h2, .price-board h2 span { color: var(--black); }
.price-card { min-height: 200px; padding: 24px; border: 1px solid rgba(0,0,0,.3); background: rgba(0,0,0,.04); }
.price-card > span { font: 10px var(--mono); letter-spacing: .1em; }
.price-card strong { display: block; margin: 30px 0 12px; font: 500 40px/1 var(--serif); }
.price-card p, .price-note { color: rgba(0,0,0,.68); font-size: 12px; }
.price-note { margin-top: 24px; }
.app-banner { height: clamp(350px, 44vw, 590px); overflow: hidden; }
.app-banner img { width: 100%; height: 100%; object-fit: cover; }
.app-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; color: var(--blue); }
.app-link img { width: 48px; height: 48px; border-radius: 11px; }
.app-link b { display: block; font-size: 13px; }
.app-link small { display: block; color: var(--blue-dim); font-size: 11px; }
.quote-card blockquote { margin: 0 0 28px; color: var(--blue); font: 500 16px/1.7 var(--serif); }
.quote-card cite { color: var(--blue-dim); font: 10px var(--mono); }
.payment-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--line); }
.payment-panel h3 { margin-top: 16px; }
.payment-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.payment-logos img { width: 100%; height: 120px; object-fit: cover; }
.course-faq { max-width: 900px; margin-top: 36px; border-top: 1px solid var(--line); }
.course-faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.course-faq summary { cursor: pointer; color: var(--blue); font-size: 16px; }
.course-faq p { color: var(--blue-dim); font-size: 13px; }
.course-cta { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px; padding: 110px max(28px, calc((100% - 1160px) / 2)); background: var(--blue); color: var(--black); }
.course-cta h2, .course-cta h2 span { color: var(--black); }
.course-cta > p { color: rgba(0,0,0,.7); }
.course-cta .button { border-color: var(--black); color: var(--black); }
.online-hero { position: relative; min-height: 560px; display: flex; align-items: end; overflow: hidden; }
.online-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(1) contrast(1.1); }
.online-hero-copy { position: relative; z-index: 1; padding: 48px 0; }
.online-hero-copy h1 { margin-bottom: 16px; }
.map-card { height: clamp(360px, 48vw, 600px); padding: 0; overflow: hidden; background: var(--black); }
.map-card > span { position: absolute; z-index: 1; margin: 16px; padding: 6px 8px; background: var(--black); color: var(--blue); font: 10px var(--mono); }
.map-card iframe { width: 100%; height: 100%; border: 0; }
.map-poster { margin-top: 36px; }
.map-poster img { width: 100%; height: 230px; object-fit: cover; }
.map-poster span { display: block; margin-top: 10px; color: var(--blue-dim); font: 10px var(--mono); }
.contact-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 110px max(28px, calc((100% - 1160px) / 2)); background: var(--blue); color: var(--black); }
.contact-panel h2, .contact-panel h2 em { color: var(--black); }
.contact-panel > div > p:not(.kicker) { color: rgba(0,0,0,.7); }
.contact-panel form { display: grid; gap: 16px; }
.contact-panel label { color: rgba(0,0,0,.7); font: 10px var(--mono); letter-spacing: .08em; }
.contact-panel input, .contact-panel textarea { width: 100%; display: block; margin-top: 7px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(0,0,0,.35); background: transparent; color: var(--black); outline: none; }
.contact-panel .button { justify-self: start; border-color: var(--black); color: var(--black); }
.dark-note { max-width: none; background: var(--blue); color: var(--black); }
.dark-note .kicker, .dark-note h2 { color: var(--black); }
.dark-note p { max-width: 600px; color: rgba(0,0,0,.72); }
.tony-letter-image img { width: 100%; height: clamp(380px, 55vw, 690px); object-fit: cover; }
.tony-signoff { color: var(--blue); font: 500 20px/1.6 var(--serif); }
.tony-signoff strong { font: 11px var(--mono); letter-spacing: .1em; }
.tony-timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; border-top: 1px solid var(--line); }
.tony-timeline article { min-height: 240px; padding: 20px 18px 20px 0; border-right: 1px solid var(--line); }
.tony-timeline article:not(:first-child) { padding-left: 18px; }
.tony-timeline article:last-child { border-right: 0; }
.tony-timeline article > span { color: var(--blue-dim); font: 10px var(--mono); }
.tony-timeline h3 { margin: 30px 0 10px; color: var(--blue); font: 500 20px var(--serif); }
.tony-timeline p { color: var(--blue-dim); font-size: 13px; }
.review-stack blockquote { margin: 0; padding: 22px 0; border-top: 1px solid var(--line); color: var(--blue); font: 500 17px/1.7 var(--serif); }
.review-stack blockquote span { display: block; margin-top: 8px; color: var(--blue-dim); font: 400 13px/1.8 var(--sans); }
.review-stack cite { display: block; margin-top: 8px; color: var(--blue-dim); font: 10px var(--mono); }
.list-row { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.list-row h3 { margin: 0; color: var(--blue); font: 500 23px var(--serif); }
.list-row p { margin: 0; color: var(--blue-dim); font-size: 13px; }
.site-footer { margin-top: 0; padding: 75px 0 22px; background: var(--black); color: var(--blue); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer-brand { color: var(--blue); }
.footer-grid > div > p { color: var(--blue-dim); font-size: 13px; }
.footer-grid h3 { color: var(--blue-dim); font: 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) a { display: block; margin: 10px 0; color: var(--blue); font-size: 13px; }
.brand-lockup { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.brand-lockup strong { color: inherit; font: 700 clamp(16px,2vw,24px)/1.05 var(--serif); letter-spacing: -.04em; }
.brand-lockup b { color: #68cbd5; font: 700 clamp(11px,1.2vw,15px)/1.15 var(--sans); letter-spacing: .08em; }
.brand-lockup small { margin-top: 6px; }
.footer-brand .brand-lockup strong { color: #fff; }
.footer-brand .brand-lockup b { color: #9ceaf2; }
.footer-brand img { width: 180px !important; height: 42px !important; object-fit: contain; filter: none !important; background: #fff; border-radius: 6px; padding: 5px; }
.footer-map { position: relative; width: min(1160px,calc(100% - 56px)); height: 190px; margin: 34px auto 48px; overflow: hidden; border: 1px solid rgba(156,234,242,.24); border-radius: 16px; background: #123b52; }
.footer-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(18,59,82,.88),rgba(18,59,82,.12)); pointer-events: none; }
.footer-map iframe { width: 100%; height: 100%; border: 0; opacity: .9; }
.footer-map > div { position: absolute; top: 26px; left: 28px; z-index: 1; display: grid; gap: 8px; color: #fff; }
.footer-map b { color: #9ceaf2; font: 700 .68rem var(--mono); letter-spacing: .12em; }
.footer-map span { font: 500 1.3rem var(--serif); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--blue-dim); font: 9px var(--mono); }
body[data-page="home"] .site-footer .footer-grid { display: none; }
body[data-page="home"] .site-footer .footer-bottom { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .page-frame, .header-inner, .cover, .page-hero, .course-section, .tony-letter, .tony-journey { width: calc(100% - 36px); }
  .header-inner { min-height: 96px; }
  .site-header .brand span { font-size: 15px; }
  .menu-toggle { right: -4px; }
  .cover { padding-top: 5px; }
  .cover-copy { padding: 35px 0 4px; }
  .cover-cutout { width: 100%; }
  .cover-cutout .speech-bubble { right: 1%; top: 7%; width: 155px; padding: 16px; font-size: 16px; }
  .cover-cutout .speech-bubble strong { font-size: 22px; }
  .cover-cutout .speech-bubble i { width: 66px; margin-top: 7px; }
  .home-image-nav { width: calc(100% - 36px); padding-bottom: 85px; }
  .home-image-link, .home-image-link:nth-child(even) { grid-template-columns: minmax(0, 1fr) 92px; gap: 16px; padding: 34px 0; }
  .home-image-link:nth-child(even) .home-image { order: 0; }
  .home-image-link:nth-child(even) .home-label { order: 2; text-align: right; }
  .home-image { min-height: 160px; }
  .home-image img, .home-image-link:first-child .home-image img { height: 225px; }
  .home-image-link:first-child .home-image { min-height: 195px; }
  .home-label { font-size: 20px; }
  .home-label small { font-size: 8px; }
  .youtube-outline { width: 94px; height: 66px; border-width: 3px; border-radius: 15px; }
  .youtube-outline::after { border-top-width: 13px; border-bottom-width: 13px; border-left-width: 20px; }
  .star-outline { font-size: 85px; -webkit-text-stroke-width: 3px; }
  .home-note { padding: 62px 0 80px; }
  .home-note-inner { width: calc(100% - 36px); }
  .contact-hero { width: calc(100% - 28px); height: 58svh; min-height: 470px; margin-top: 14px; border-radius: 0 0 16px 16px; }
  .contact-hero > img { object-position: 63% center; }
  .contact-hero-copy { top: 11%; left: 24px; width: calc(100% - 48px); transform: none; }
  .contact-hero-copy h1 { margin: 14px 0 14px; font-size: clamp(35px, 10vw, 58px); }
  .contact-hero-copy .lede { font-size: 14px; line-height: 1.7; }
  .page-hero { padding: 65px 0 60px; }
  .page-hero h1 { font-size: clamp(41px, 12vw, 68px); }
  .course-intro, .course-split, .tony-letter, .app-showcase, .story-spread, .reviews-spread, .video-feature, .contact-panel, .course-cta, .payment-panel { grid-template-columns: 1fr; }
  .course-intro.reverse > .course-photo { order: 0; }
  .course-photo, .asset-frame, .course-photo.tall, .asset-frame.tall { height: 330px; }
  .skill-strip { grid-template-columns: repeat(2, 1fr); }
  .skill-chip:nth-child(2) { border-right: 0; }
  .skill-chip:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact-list li { grid-template-columns: 85px 1fr; gap: 10px; }
  .homework-gallery, .detail-grid, .usecase-grid, .quote-cards, .schedule-grid, .travel-board, .price-grid { grid-template-columns: 1fr; }
  .detail-card, .schedule-card, .travel-card { min-height: 170px; }
  .price-board, .contact-panel, .course-cta { padding-block: 78px; }
  .price-card { min-height: 165px; }
  .price-card strong { margin-top: 20px; }
  .payment-logos img { height: 100px; }
  .tony-letter-image img { height: 330px; }
  .tony-timeline { grid-template-columns: 1fr; }
  .tony-timeline article, .tony-timeline article:not(:first-child) { border-right: 0; border-top: 1px solid var(--line); padding: 20px 0; }
  .tony-timeline article:first-child { border-top: 0; }
  .list-row { grid-template-columns: 50px 1fr; }
  .list-row p { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } .cover-cutout:hover { animation: none; } }

/* Homepage character-select carousel */
body[data-page="home"] { background: var(--black); color: var(--blue); }
body[data-page="home"] .site-header { background: var(--black); border-bottom: 0; }
body[data-page="home"] .site-footer { background: var(--black); color: var(--blue); border-color: rgba(187,245,255,.22); }
body[data-page="home"] .site-header .header-inner { min-height: 150px; border-bottom: 0; }
body[data-page="home"] .site-header .brand span { display: none; }
body[data-page="home"] .site-header .brand img { width: 172px; height: 50px; filter: none; }
body[data-page="home"] .site-header .menu-toggle { right: 0; }
.character-home { min-height: calc(100svh - 96px); overflow: hidden; padding: 0 0 72px; }
.selector-intro { width: min(1400px,calc(100% - 48px)); margin: 0 auto 4px; text-align: center; }
.selector-intro p { margin: 0 0 10px; color: rgba(187,245,255,.62); font: 700 .76rem/1.3 var(--mono); letter-spacing: .18em; text-transform: uppercase; }
.selector-intro h1 { margin: 0; color: var(--white); font: 700 clamp(2.1rem,5vw,5rem)/.95 var(--serif); letter-spacing: -.04em; white-space: nowrap; }
.selector-intro h1 span { color: var(--blue); }
.character-selector { width: min(1400px,calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,360px); gap: clamp(22px,5vw,86px); align-items: center; }
.selector-stage { position: relative; min-height: clamp(570px,70vh,820px); overflow: hidden; touch-action: pan-y; cursor: default; user-select: none; overscroll-behavior: contain; }
.selector-stage::before, .selector-stage::after { content: ""; position: absolute; z-index: 0; border: 1px solid rgba(187,245,255,.12); border-radius: 50%; pointer-events: none; }
.selector-stage::before { width: min(62vw,760px); height: min(62vw,760px); left: 50%; top: 50%; transform: translate(-50%,-50%); }
.selector-stage::after { width: min(42vw,520px); height: min(42vw,520px); left: 50%; top: 50%; transform: translate(-50%,-50%); border-color: rgba(187,245,255,.08); }
.selector-cards { position: absolute; inset: 0; z-index: 1; perspective: 1400px; transform-style: preserve-3d; }
.selector-card { position: absolute; top: 50%; left: 50%; width: clamp(260px,33vw,475px); height: clamp(430px,68vh,700px); padding: 0; overflow: visible; border: 0; border-radius: 0; color: var(--blue); background: transparent; box-shadow: none; transform-style: preserve-3d; transform-origin: center center; transition: transform .56s cubic-bezier(.22,.8,.2,1), opacity .42s ease, filter .42s ease; transform: translate3d(calc(-50% + var(--drag,0px)),-50%,-380px) scale(.48); opacity: 0; filter: saturate(.65) brightness(.58); pointer-events: none; }
.selector-stage.is-dragging .selector-card { transition: none; }
.selector-card[data-distance="0"] { z-index: 100 !important; transform: translate3d(calc(-50% + var(--drag,0px)),-50%,180px) scale(1); opacity: 1; filter: none; pointer-events: auto; }
.selector-card[data-distance="-1"] { z-index: 20; transform: translate3d(calc(-50% - 56% + var(--drag,0px)),-50%,-180px) scale(.68) rotateY(12deg); opacity: .62; pointer-events: auto; }
.selector-card[data-distance="1"] { z-index: 20; transform: translate3d(calc(-50% + 56% + var(--drag,0px)),-50%,-180px) scale(.68) rotateY(-12deg); opacity: .62; pointer-events: auto; }
.selector-card[data-distance="-2"] { z-index: 10; transform: translate3d(calc(-50% - 92% + var(--drag,0px)),-50%,-360px) scale(.48) rotateY(18deg); opacity: .28; pointer-events: auto; }
.selector-card[data-distance="2"] { z-index: 10; transform: translate3d(calc(-50% + 92% + var(--drag,0px)),-50%,-360px) scale(.48) rotateY(-18deg); opacity: .28; pointer-events: auto; }
.selector-control { position: absolute; top: 50%; z-index: 120; width: 42px; height: 74px; display: grid; place-items: center; transform: translateY(-50%); border: 1px solid rgba(187,245,255,.4); border-radius: 50%; color: rgba(187,245,255,.75); background: rgba(5,5,5,.4); cursor: pointer; font: 400 3rem/.8 var(--sans); transition: color .25s ease, background .25s ease, border-color .25s ease; }
.selector-control:hover { color: var(--white); background: rgba(156,234,242,.14); border-color: var(--blue); }
.selector-control-prev { left: 2%; }
.selector-control-next { right: 2%; }
.selector-card img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 0; background: transparent; filter: drop-shadow(0 22px 20px rgba(0,0,0,.35)); pointer-events: none; user-select: none; -webkit-user-drag: none; }
.selector-card[data-distance="0"] { cursor: pointer; }
.selector-card:hover img, .selector-card[data-active="true"] img { animation: selector-wobble .8s ease both; }
@keyframes selector-wobble { 0%,100% { transform: rotate(0deg) translateY(0); } 20% { transform: rotate(-2.5deg) translateY(-3px); } 45% { transform: rotate(2deg) translateY(1px); } 70% { transform: rotate(-1deg) translateY(-1px); } }
.selector-detail { align-self: center; padding: 30px 0 34px; border-top: 1px solid rgba(187,245,255,.35); border-bottom: 1px solid rgba(187,245,255,.35); }
.selector-detail-count { margin-bottom: 30px; color: rgba(187,245,255,.58); font: 700 .72rem/1.4 var(--mono); letter-spacing: .16em; }
.selector-detail h2 { margin: 0 0 8px; color: var(--white); font: 700 clamp(2.2rem,5vw,4.7rem)/.92 var(--serif); letter-spacing: -.04em; }
.selector-detail-label { margin: 0 0 24px; color: var(--blue); font: 700 clamp(1rem,2vw,1.25rem)/1.3 var(--serif); }
.selector-detail-copy { margin: 0 0 30px; color: rgba(255,255,255,.72); font: 500 1rem/1.9 var(--sans); }
.selector-detail-link { display: inline-flex; align-items: center; gap: 16px; color: var(--blue); font: 700 .78rem/1.2 var(--mono); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.selector-detail-link::after { content: "↗"; font-size: 1.35rem; transition: transform .25s ease; }
.selector-detail-link:hover::after { transform: translate(4px,-4px); }
.service-directory { width: min(1000px,calc(100% - 48px)); margin: 60px auto 0; padding-top: 70px; border-top: 1px solid rgba(187,245,255,.22); }
.service-directory-heading { margin-bottom: 30px; }
.service-directory-heading h2 { margin: 8px 0 0; color: var(--white); font: 700 clamp(2rem,5vw,4.5rem)/1 var(--serif); letter-spacing: -.04em; }
.service-directory-item { scroll-margin-top: 30px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 30px; align-items: end; padding: 46px 0; border-bottom: 1px solid rgba(187,245,255,.22); }
.service-directory-item h3 { margin: 6px 0 10px; color: var(--white); font: 700 clamp(2rem,4vw,3.8rem)/1 var(--serif); }
.service-directory-item > div > p:not(.kicker) { max-width: 640px; margin: 0 0 18px; color: rgba(255,255,255,.7); font: 500 1rem/1.8 var(--sans); }
.service-directory-item ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.86); font: 500 .95rem/1.65 var(--sans); }
.service-directory-item li::before { content: "•"; display: inline-block; width: 18px; color: var(--blue); }
.service-directory-link { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; color: var(--blue); font: 700 .76rem/1.2 var(--mono); letter-spacing: .08em; text-decoration: none; }
.service-directory-link::after { content: "↗"; font-size: 1.25rem; }
.selector-hint { position: absolute; right: 18px; bottom: 12px; left: 18px; z-index: 10; color: rgba(187,245,255,.52); font: 700 .68rem/1.3 var(--mono); letter-spacing: .14em; text-align: center; text-transform: uppercase; pointer-events: none; }
.selector-tabs { position: absolute; right: 3%; bottom: 42px; left: 3%; z-index: 11; display: grid; grid-template-columns: repeat(9, minmax(0,1fr)); gap: clamp(5px,1vw,14px); }
.selector-tab { display: block; width: 100%; height: 16px; padding: 0; border: 0; border-radius: 99px; background: rgba(187,245,255,.25); cursor: pointer; transition: background .25s ease, transform .25s ease; }
.selector-tab:hover, .selector-tab.is-active { background: var(--blue); transform: translateY(-2px); }
@media (max-width: 820px) {
  .character-home { padding-top: 0; }
  .selector-intro, .character-selector { width: min(100% - 28px,620px); }
  .selector-intro h1 { font-size: clamp(2.1rem,10vw,3.5rem); }
  .character-selector { display: block; }
  .selector-stage { min-height: clamp(500px,76svh,700px); margin: 0 -14px; }
  .selector-stage::before { width: min(100vw,560px); height: min(100vw,560px); }
  .selector-stage::after { width: min(72vw,410px); height: min(72vw,410px); }
  .selector-card { width: min(80vw,390px); height: min(67svh,560px); }
  .selector-card[data-distance="-1"] { transform: translate3d(calc(-50% - 74%),-50%,-180px) scale(.62) rotateY(12deg); }
  .selector-card[data-distance="1"] { transform: translate3d(calc(-50% + 74%),-50%,-180px) scale(.62) rotateY(-12deg); }
  .selector-card[data-distance="-2"] { transform: translate3d(calc(-50% - 116%),-50%,-360px) scale(.42) rotateY(18deg); }
  .selector-card[data-distance="2"] { transform: translate3d(calc(-50% + 116%),-50%,-360px) scale(.42) rotateY(-18deg); }
  .selector-control { width: 34px; height: 60px; font-size: 2.5rem; }
  .selector-control-prev { left: 1%; }
  .selector-control-next { right: 1%; }
  .service-directory { width: calc(100% - 28px); margin-top: 36px; padding-top: 48px; }
  .service-directory-item { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
  .selector-detail { margin: 8px 0 0; padding: 28px 4px 36px; }
  .selector-detail-count { margin-bottom: 20px; }
  .selector-detail h2 { font-size: clamp(2.5rem,14vw,4.5rem); }
  .selector-tabs { right: 3%; bottom: 38px; left: 3%; gap: 4px; }
  .selector-tab { height: 14px; }
  body[data-page="home"] .site-header .header-inner { min-height: 118px; }
  body[data-page="home"] .site-header .brand img { width: 138px; height: 98px; }
}

/* Shared inner-page refresh: the homepage's calm editorial system */
body:not([data-page="home"]) {
  --black: #f7f6f2;
  --blue: #176078;
  --blue-dim: #5c9eaa;
  --line: #e4e0d9;
  --white: #24211d;
  background: #f7f6f2;
  color: #24211d;
}
body:not([data-page="home"]) .site-header { position: relative; background: #f7f6f2; color: #123b52; }
body:not([data-page="home"]) .header-inner { border-bottom: 1px solid #e4e0d9; }
body:not([data-page="home"]) .site-header .brand { flex-direction: row; gap: 12px; color: #123b52; text-shadow: none; }
body:not([data-page="home"]) .site-header .brand img { width: 172px; height: 50px; filter: none; }
body:not([data-page="home"]) .site-header .brand span { text-align: left; }
body:not([data-page="home"]) .site-header .brand small { color: #8a8277; }
body:not([data-page="home"]) .site-header .brand-lockup strong { color: #123b52; }
body:not([data-page="home"]) .site-header .brand-lockup b { color: #176078; }
body[data-page="contact"] .site-header .site-nav a { color: #123b52 !important; text-shadow: none; }
body[data-page="contact"] .site-header .menu-toggle::before { box-shadow: 0 -9px 0 #123b52, 0 9px 0 #123b52; }
body:not([data-page="home"]) .menu-toggle::before { box-shadow: 0 -9px 0 #123b52, 0 9px 0 #123b52; }
body:not([data-page="home"]) .site-nav { background: #f7f6f2; border-color: #e4e0d9; }
body:not([data-page="home"]) .site-nav a { color: #123b52; border-color: #e4e0d9; }
body:not([data-page="home"]) .page-hero { background: #f7f6f2; color: #24211d; }
body:not([data-page="home"]) .page-hero h1, body:not([data-page="home"]) .page-hero h1 em { color: #24211d; }
body:not([data-page="home"]) .page-hero .lede, body:not([data-page="home"]) .course-copy > p, body:not([data-page="home"]) .course-cta p { color: #70695f; }
body:not([data-page="home"]) .kicker { color: #176078; }
body:not([data-page="home"]) .course-section, body:not([data-page="home"]) .reviews-spread, body:not([data-page="home"]) .final-cta, body:not([data-page="home"]) .course-cta { background: #f7f6f2; color: #24211d; }
body:not([data-page="home"]) .course-copy h2, body:not([data-page="home"]) .course-section h2, body:not([data-page="home"]) .final-cta h2, body:not([data-page="home"]) .course-cta h2 { color: #24211d; }
body:not([data-page="home"]) .course-copy h2 span, body:not([data-page="home"]) .course-section h2 span, body:not([data-page="home"]) .final-cta h2 em, body:not([data-page="home"]) .course-cta h2 span { color: #176078; }
body:not([data-page="home"]) .course-photo, body:not([data-page="home"]) .map-poster, body:not([data-page="home"]) .reviews-spread > img, body:not([data-page="home"]) .feature-image, body:not([data-page="home"]) .asset-frame { border-radius: 16px; box-shadow: 0 18px 40px rgba(43,37,28,.12); }
body:not([data-page="home"]) .skill-strip, body:not([data-page="home"]) .travel-board, body:not([data-page="home"]) .price-grid, body:not([data-page="home"]) .detail-grid, body:not([data-page="home"]) .quote-cards { gap: 18px; }
body:not([data-page="home"]) .skill-chip, body:not([data-page="home"]) .travel-card, body:not([data-page="home"]) .price-card, body:not([data-page="home"]) .detail-card, body:not([data-page="home"]) .quote-card { border: 1px solid #e4e0d9; border-radius: 16px; background: #fbfaf8; color: #24211d; box-shadow: 0 10px 26px rgba(43,37,28,.06); }
body:not([data-page="home"]) .travel-card p, body:not([data-page="home"]) .price-card p, body:not([data-page="home"]) .detail-card p, body:not([data-page="home"]) .quote-card span, body:not([data-page="home"]) .fact-list span { color: #70695f; }
body:not([data-page="home"]) .button { border: 0; border-radius: 999px; color: #fff; background: #176078; box-shadow: none; }
body:not([data-page="home"]) .button:hover { color: #123b52; background: #9ceaf2; }
body:not([data-page="home"]) .dark-note, body:not([data-page="home"]) .contact-panel { color: #fff; background: linear-gradient(135deg,#123b52,#176078); border: 0; border-radius: 18px; }
body:not([data-page="home"]) .dark-note h2, body:not([data-page="home"]) .contact-panel h2 { color: #fff; }
body:not([data-page="home"]) .contact-panel-note { display: grid; align-content: center; gap: 12px; padding: 28px; border-left: 1px solid rgba(156,234,242,.34); color: rgba(255,255,255,.78); }
body:not([data-page="home"]) .contact-panel-note b { color: #9ceaf2; font: 500 1.45rem var(--serif); }
body:not([data-page="home"]) .contact-panel-note span { max-width: 330px; line-height: 1.9; }
body:not([data-page="home"]) .button-dark { background: linear-gradient(135deg,#176078,#2a8395); }
body:not([data-page="home"]) .price-board, body:not([data-page="home"]) .course-cta { background: linear-gradient(135deg,#176078,#123b52); }
body:not([data-page="home"]) .course-cta { border-top: 1px solid #e4e0d9; }
body:not([data-page="home"]) .site-footer { color: rgba(255,255,255,.8); background: #123b52; }
body:not([data-page="home"]) .site-footer a { color: #9ceaf2; }

/* Desktop navigation: full menu; hamburger remains tablet/mobile only */
@media (min-width: 821px) {
  .site-header .header-inner { justify-content: space-between; }
  .site-header .menu-toggle { display: none; }
  .site-header .site-nav { position: static; display: flex; width: auto; padding: 0; flex-direction: row; align-items: center; gap: clamp(14px,2vw,30px); border: 0; background: transparent; }
  .site-header .site-nav a { padding: 8px 0; border: 0; font-size: 13px; white-space: nowrap; }
  .site-header .site-nav a:not(.nav-cta) { position: relative; }
  .site-header .site-nav a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; border-radius: 99px; background: #9ceaf2; transform: scaleX(0); transform-origin: center; transition: transform .25s ease; }
  .site-header .site-nav a:not(.nav-cta):hover::after, .site-header .site-nav a:not(.nav-cta).active::after { transform: scaleX(1); }
  .site-header .site-nav .nav-cta { margin: 0 0 0 8px; padding: 12px 18px; border: 1px solid currentColor; }
  body[data-page="home"] .site-header .site-nav a { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
  body[data-page="home"] .site-header .site-nav .nav-cta { color: #123b52; background: #9ceaf2; border-color: #9ceaf2; text-shadow: none; }
  body:not([data-page="home"]) .site-header .site-nav a { color: #123b52; }
  body:not([data-page="home"]) .site-header .site-nav .nav-cta { color: #fff; background: linear-gradient(135deg,#176078,#2a8395); border-color: transparent; }
}

/* Keep the footer map clear and unfiltered by the decorative overlay. */
.footer-map::after { display: none; }

/* Contrast pass for shared light and gradient sections */
body:not([data-page="home"]) .price-board,
body:not([data-page="home"]) .price-board h2,
body:not([data-page="home"]) .price-board .kicker,
body:not([data-page="home"]) .course-cta,
body:not([data-page="home"]) .course-cta h2,
body:not([data-page="home"]) .course-cta .kicker { color: #fff; }
body:not([data-page="home"]) .price-board h2 span,
body:not([data-page="home"]) .course-cta h2 span { color: #9ceaf2; }
body:not([data-page="home"]) .price-board .price-note,
body:not([data-page="home"]) .course-cta p:not(.kicker) { color: rgba(255,255,255,.8); }
body:not([data-page="home"]) .price-card { color: #24211d; background: rgba(255,255,255,.9); }
body:not([data-page="home"]) .price-card > span { color: #176078; }
body:not([data-page="home"]) .price-card strong { color: #123b52; }
body:not([data-page="home"]) .site-footer .footer-grid > div > p { color: rgba(255,255,255,.72); }
body:not([data-page="home"]) .site-footer .footer-grid h3 { color: #9ceaf2; }

/* Homepage hero refinements */
.brand-lockup strong { font-weight: 800; letter-spacing: -.045em; }
.site-header .site-nav a { font-weight: 700; }
body[data-page="home"] .menu-toggle::before { box-shadow: 0 -9px 0 #176078, 0 9px 0 #176078; }
body[data-page="home"] .refresh-hero-image { object-position: 50% center; }
.refresh-hero-greeting { position: absolute; top: clamp(20%,26vw,31%); right: clamp(11%,17vw,23%); z-index: 2; color: #fff; font: 500 clamp(2rem,4vw,4.8rem)/.98 var(--serif); letter-spacing: -.08em; text-align: center; text-shadow: 0 3px 18px rgba(0,0,0,.38); transform: rotate(0deg); }
.refresh-hero-greeting strong { display: inline-block; margin-top: 8px; color: #fff; font-weight: 700; }
.refresh-option-card::before { opacity: 1; transform: scale(1); }
.refresh-option-card::after { opacity: .28; background: linear-gradient(135deg,rgba(8,39,55,.58),rgba(19,92,116,.12)); }
.refresh-option-card { color: #fff; }
.refresh-option-card h3, .refresh-option-card p, .refresh-option-card small { color: #fff; }
.refresh-option-card:hover { color: #292621; background: #fff; box-shadow: 0 18px 40px rgba(53,42,29,.18); }
.refresh-option-card:hover::before, .refresh-option-card:hover::after { opacity: 0; }
.refresh-option-card:hover h3, .refresh-option-card:hover p, .refresh-option-card:hover small { color: #292621; }
.refresh-option-online::before { display: block; }
.refresh-option-video { opacity: 1; }
.refresh-option-online:hover .refresh-option-video { opacity: 0; }
@media (max-width: 820px) {
  .refresh-hero-image { object-position: 50% center; }
  .refresh-hero-greeting { top: 29%; right: 13%; font-size: clamp(1.8rem,8vw,3.3rem); transform: rotate(0deg); }
}

/* Homepage access and reviews replacement */
.refresh-access-reviews { padding-block: clamp(90px,12vw,160px); }
.refresh-access-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 22px; align-items: stretch; }
.refresh-map-card { position: relative; min-height: 430px; overflow: hidden; border-radius: 16px; color: #fff; background: #123b52; text-decoration: none; }
.refresh-map-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(18,59,82,.88),transparent 55%); }
.refresh-map-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.refresh-map-card:hover img { transform: scale(1.04); }
.refresh-map-label { position: absolute; top: 24px; left: 26px; z-index: 1; color: #9ceaf2; font: 700 .7rem var(--mono); letter-spacing: .12em; }
.refresh-map-card strong { position: absolute; right: 26px; bottom: 24px; left: 26px; z-index: 1; font: 500 clamp(1.7rem,3vw,2.6rem)/1 var(--serif); }
.refresh-map-card strong b { float: right; color: #9ceaf2; font: 400 1.7rem var(--sans); }
.refresh-travel-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px,4vw,54px); border-radius: 16px; color: #24211d; background: #e5f7f8; }
.refresh-travel-card h3 { margin: 14px 0 34px; font: 500 clamp(2rem,4vw,3.5rem)/1.05 var(--serif); letter-spacing: -.06em; }
.refresh-travel-row { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(23,96,120,.24); font-size: .9rem; line-height: 1.7; }
.refresh-travel-row b { color: #176078; }
.refresh-travel-row span { color: #5e6f70; }
.refresh-text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; color: #176078; font: 700 .78rem var(--sans); text-decoration: none; }
.refresh-text-link span { font-size: 1.25rem; transition: transform .25s ease; }
.refresh-text-link:hover span { transform: translate(4px,-4px); }
.refresh-review-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: clamp(86px,11vw,140px) 0 36px; }
.refresh-review-head h3 { margin: 14px 0 0; color: #24211d; font: 500 clamp(2.4rem,5vw,5rem)/1 var(--serif); letter-spacing: -.08em; }
.refresh-review-head h3 span { color: #176078; }
.refresh-review-head .refresh-text-link { margin: 0 0 8px; }
.refresh-review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.refresh-review-grid article { min-height: 210px; padding: 28px; border: 1px solid #e4e0d9; border-radius: 16px; background: #fbfaf8; }
.refresh-review-grid article b { color: #176078; letter-spacing: .12em; }
.refresh-review-grid article p { margin: 20px 0 28px; color: #4e4942; font-size: .92rem; line-height: 1.9; }
.refresh-review-grid article span { color: #9b9287; font: .72rem var(--mono); }
@media (max-width: 820px) {
  .refresh-access-grid, .refresh-review-grid { grid-template-columns: 1fr; }
  .refresh-map-card { min-height: 330px; }
  .refresh-review-head { display: block; }
  .refresh-review-head .refresh-text-link { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .selector-card, .selector-detail-link::after { transition-duration: .01ms; }
  .selector-card:hover img, .selector-card[data-active="true"] img { animation: none; }
}

/* Homepage refresh: photographic welcome / profile / service grid */
body[data-page="home"] { background: #f7f6f2; color: #23211e; }
body[data-page="home"] .site-header { position: absolute; inset: 0 0 auto; background: transparent; }
body[data-page="home"] .header-inner { border-bottom: 0; justify-content: flex-start; }
body[data-page="home"] .site-header .brand { color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.3); }
body[data-page="home"] .site-header .brand img { filter: none; }
body[data-page="home"] .menu-toggle::before { box-shadow: 0 -9px 0 #fff, 0 9px 0 #fff; }
body[data-page="home"] .menu-toggle { z-index: 40; }
.home-refresh { background: #f7f6f2; }
.refresh-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.refresh-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.refresh-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.68),rgba(0,0,0,.08) 72%), linear-gradient(0deg,rgba(0,0,0,.54),transparent 55%); }
.refresh-hero-content { position: relative; z-index: 1; padding-bottom: clamp(70px,11vw,150px); }
.refresh-hero-content .kicker, .refresh-hero-content h1, .refresh-hero-content > p:not(.kicker) { max-width: 620px; }
.refresh-hero-content .kicker { color: rgb(11,184,222); }
.refresh-hero-content h1 { margin: 20px 0 22px; font: 800 clamp(3.4rem,7vw,7.8rem)/.98 var(--sans); letter-spacing: -.09em; }
.refresh-hero-content h1 em { display: block; color: rgb(11,184,222); font: 800 clamp(3rem,6vw,6.4rem)/1 var(--sans); font-style: normal; }
.refresh-hero-content > p:not(.kicker) { color: rgba(255,255,255,.86); font-size: clamp(1rem,1.5vw,1.2rem); }
.refresh-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.refresh-button { display: inline-flex; align-items: center; gap: 14px; padding: 14px 24px; border-radius: 999px; font: 700 .8rem/1 var(--sans); text-decoration: none; }
.refresh-button-accent { color: #123b52; background: rgb(11,184,222); }
.refresh-button-quiet { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.refresh-hero-scroll { position: absolute; right: 28px; bottom: 26px; z-index: 2; color: rgba(255,255,255,.68); font: 10px var(--mono); letter-spacing: .14em; writing-mode: vertical-rl; }
.refresh-section { width: min(1260px,calc(100% - 56px)); margin: auto; }
.refresh-profile { display: grid; grid-template-columns: minmax(300px,1fr) minmax(0,1fr); gap: clamp(45px,8vw,120px); align-items: center; padding-block: clamp(100px,13vw,180px); }
.refresh-profile-image { position: relative; min-height: 570px; display: grid; place-items: end center; border-radius: 14px; background: #e9e7e2; overflow: visible; }
.refresh-profile-image::before { content: ""; position: absolute; inset: 0; border-radius: 14px; background: url("assets/hero.jpg") center/cover; opacity: .12; filter: grayscale(1); }
.refresh-profile-photo { position: relative; z-index: 1; width: 100%; height: 570px; object-fit: cover; object-position: center; border-radius: 14px; }
.refresh-profile-tag { position: absolute; right: -18px; bottom: -20px; z-index: 2; padding: 18px 28px; border-radius: 16px; color: #fff; background: #176078; font: 700 1.8rem/1 var(--serif); box-shadow: 0 18px 30px rgba(0,0,0,.16); }
.refresh-profile-tag small { display: block; margin-top: 8px; font: 500 .72rem/1 var(--sans); }
.refresh-profile-copy .kicker, .refresh-heading .kicker { color: #176078; }
.refresh-profile-copy h2, .refresh-heading h2 { margin: 16px 0 26px; color: #24211d; font: 500 clamp(2.5rem,5vw,5.5rem)/1.08 var(--serif); letter-spacing: -.08em; }
.refresh-profile-copy > p:not(.kicker), .refresh-heading > p:not(.kicker) { max-width: 660px; color: #70695f; font-size: 1rem; line-height: 2; }
.refresh-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 50px; }
.refresh-stats strong { display: block; color: #24211d; font: 700 2rem/1 var(--serif); }
.refresh-stats span { display: block; margin-top: 8px; color: #8a8277; font-size: .75rem; }
.refresh-options { padding-block: clamp(90px,12vw,170px); }
.refresh-heading { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.refresh-option-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.refresh-option-card { position: relative; min-height: 310px; padding: 32px; overflow: hidden; border: 1px solid #e4e0d9; border-radius: 16px; color: #292621; background: #fbfaf8; text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, color .3s ease; }
.refresh-option-card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--option-bg) center/cover no-repeat; opacity: 0; transform: scale(1.05); transition: opacity .35s ease, transform .45s ease; }
.refresh-option-card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg,rgba(8,39,55,.92),rgba(19,92,116,.7)); opacity: 0; transition: opacity .35s ease; }
.refresh-option-card:hover { transform: translateY(-6px); color: #fff; box-shadow: 0 18px 40px rgba(53,42,29,.18); }
.refresh-option-card:hover::before { opacity: 1; transform: scale(1); }
.refresh-option-card:hover::after { opacity: 1; }
.refresh-option-card > * { position: relative; z-index: 1; }
.refresh-option-card:hover h3, .refresh-option-card:hover p, .refresh-option-card:hover small { color: #fff; }
.refresh-option-card:nth-child(1) { --option-bg: url("assets/private-lessons.jpg"); }
.refresh-option-card:nth-child(2) { --option-bg: url("assets/online-zoom.jpg"); }
.refresh-option-card:nth-child(3) { --option-bg: url("assets/business.jpg"); }
.refresh-option-card:nth-child(4) { --option-bg: url("assets/kids-dontknow.jpg"); }
.refresh-option-card:nth-child(5) { --option-bg: url("assets/app.jpg"); }
.refresh-option-icon { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 14px; color: #fff; background: #9ceaf2; font-size: 1.8rem; }
.refresh-option-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.refresh-option-icon.icon-kids svg { stroke-width: 1.45; }
.refresh-option-icon.icon-phone svg circle:first-of-type { fill: currentColor; stroke: none; opacity: .16; }
.refresh-option-card:hover .refresh-option-icon { color: #123b52; background: #9ceaf2; }
.refresh-option-card:nth-child(2) .refresh-option-icon, .refresh-option-card:nth-child(5) .refresh-option-icon { background: #176078; }
.refresh-option-card:nth-child(3) .refresh-option-icon { background: #123b52; }
.refresh-option-card h3 { margin: 28px 0 2px; font: 500 1.8rem/1 var(--serif); }
.refresh-option-card small { color: #9b9287; font-size: .78rem; }
.refresh-option-card p { margin-top: 22px; color: #70695f; font-size: .9rem; line-height: 1.8; }
.refresh-option-video { position: absolute !important; inset: 0; z-index: 0 !important; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.refresh-option-online::before { display: none; }
.refresh-option-online:hover .refresh-option-video { opacity: 1; }
.refresh-card-arrow { position: absolute; top: 28px; right: 28px; color: #aaa399; font-size: 1.2rem; }
.refresh-option-contact { display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; background: #24231f; text-align: center; }
.refresh-option-contact .kicker { color: #9ceaf2; }
.refresh-option-contact h3 { margin: 14px 0 24px; color: #fff; line-height: 1.25; }
.refresh-option-contact > span:last-child { color: #9ceaf2; font-size: .85rem; }
.refresh-why { color: #fff; background: #24231f; }
.refresh-why-inner { padding-block: clamp(90px,12vw,160px); }
.refresh-why .refresh-heading h2, .refresh-why .refresh-heading > p:not(.kicker) { color: #fff; }
.refresh-why .refresh-heading > p:not(.kicker) { opacity: .7; }
.refresh-why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.refresh-why-grid article { min-height: 250px; padding: 30px 22px; border: 1px solid rgba(156,234,242,.28); border-radius: 16px; text-align: center; }
.refresh-why-grid b { color: #9ceaf2; font: 700 .8rem var(--mono); }
.refresh-why-grid h3 { margin: 44px 0 14px; font: 500 1.4rem var(--serif); }
.refresh-why-grid p { color: rgba(255,255,255,.58); font-size: .85rem; line-height: 1.8; }
.refresh-media { padding-block: clamp(90px,12vw,160px); }
.refresh-media-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.refresh-media-grid a { position: relative; display: block; min-height: 280px; overflow: hidden; border-radius: 14px; color: #fff; text-decoration: none; }
.refresh-media-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%,rgba(0,0,0,.68)); }
.refresh-media-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.refresh-media-grid a:hover img { transform: scale(1.04); }
.refresh-media-grid span { position: absolute; left: 22px; bottom: 20px; z-index: 1; font: 700 .85rem var(--sans); }
.refresh-cta { padding: clamp(100px,13vw,180px) 28px; color: #fff; background: #176078; text-align: center; }
.refresh-cta h2 { margin: 18px auto; font: 800 clamp(2.5rem,5vw,5.5rem)/1.05 var(--sans); letter-spacing: -.08em; }
.refresh-cta p:not(.kicker) { color: rgba(255,255,255,.8); }
.refresh-cta .refresh-button { margin-top: 24px; color: #176078; background: #fff; }
@media (max-width: 820px) {
  .site-header .site-nav { display: none; }
  .site-header .site-nav.open { display: flex; }
  .site-header .menu-toggle { display: grid; }
  body:not([data-page="home"]) .contact-panel-note { margin-top: 18px; padding: 24px 0 0; border-top: 1px solid rgba(156,234,242,.34); border-left: 0; }
  .footer-map { width: calc(100% - 36px); height: 220px; }
  .footer-map > div { top: 20px; left: 20px; }
  body[data-page="home"] .header-inner { width: calc(100% - 36px); }
  .refresh-hero { min-height: 780px; }
  .refresh-hero-image { object-position: 58% center; }
  .refresh-hero-content { width: calc(100% - 36px); padding-bottom: 88px; }
  .refresh-hero-content h1 { font-size: clamp(3rem,13vw,5rem); }
  .refresh-hero-content h1 em { font-size: clamp(2.8rem,12vw,4.8rem); }
  .refresh-hero-scroll { display: none; }
  .refresh-section { width: calc(100% - 36px); }
  .refresh-profile { grid-template-columns: 1fr; gap: 64px; padding-block: 85px; }
  .refresh-profile-image { min-height: 410px; }
  .refresh-profile-photo { height: 410px; }
  .refresh-profile-tag { right: 10px; font-size: 1.35rem; }
  .refresh-stats { gap: 12px; }
  .refresh-stats strong { font-size: 1.6rem; }
  .refresh-option-grid, .refresh-why-grid, .refresh-media-grid { grid-template-columns: 1fr; }
  .refresh-option-card { min-height: 260px; }
  .refresh-why-grid article { min-height: 190px; }
  .refresh-why-grid h3 { margin-top: 20px; }
  .refresh-media-grid a { min-height: 230px; }
}

/* Final homepage overrides: these intentionally sit after the legacy card rules. */
body[data-page="home"] .menu-toggle::before { box-shadow: 0 -9px 0 #176078, 0 9px 0 #176078 !important; }
body[data-page="home"] .refresh-hero-content h1,
body[data-page="home"] .refresh-hero-content h1 em { font-family: var(--sans); font-style: normal; font-weight: 800; letter-spacing: -.09em; }
body[data-page="home"] .refresh-hero-content h1 em { color: #9ceaf2; }
body[data-page="home"] .refresh-option-card { color: #fff; background: #123b52; }
body[data-page="home"] .refresh-option-card::before { opacity: 1 !important; transform: scale(1) !important; }
body[data-page="home"] .refresh-option-card::after { opacity: .5 !important; background: rgba(18,59,82,.5); }
body[data-page="home"] .refresh-option-card h3,
body[data-page="home"] .refresh-option-card p,
body[data-page="home"] .refresh-option-card small { color: #fff; }
body[data-page="home"] .refresh-option-card:hover { color: #292621; background: #fff; }
body[data-page="home"] .refresh-option-card:hover::before { opacity: 1 !important; }
body[data-page="home"] .refresh-option-card:hover::after { opacity: 1 !important; background: rgba(255,255,255,.78) !important; }
body[data-page="home"] .refresh-option-card:hover h3,
body[data-page="home"] .refresh-option-card:hover p,
body[data-page="home"] .refresh-option-card:hover small { color: #292621; }
body[data-page="home"] .refresh-option-card:not(.refresh-option-contact) { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
body[data-page="home"] .refresh-option-card:not(.refresh-option-contact) .refresh-option-icon,
body[data-page="home"] .refresh-option-card:not(.refresh-option-contact) small,
body[data-page="home"] .refresh-option-card:not(.refresh-option-contact) p,
body[data-page="home"] .refresh-option-card:not(.refresh-option-contact) .refresh-card-arrow { display: none; }
body[data-page="home"] .refresh-option-card:not(.refresh-option-contact) h3 { margin: 0; color: #fff; }
body[data-page="home"] .refresh-option-card:not(.refresh-option-contact):hover p { display: block; max-width: 300px; margin: 16px 0 0; color: #292621; }
body[data-page="home"] .refresh-option-card:not(.refresh-option-contact):hover h3 { color: #292621; }
body[data-page="home"] .refresh-option-online::before { display: block !important; }
body[data-page="home"] .refresh-option-video { opacity: 1 !important; }
body[data-page="home"] .refresh-option-online:hover .refresh-option-video { opacity: 0 !important; }
/* Final header/footer sizing and navigation alignment */
body[data-page="home"] .site-footer .footer-grid { display: grid !important; }
.site-footer .footer-map > div,
.site-footer .footer-bottom span:first-child { display: none !important; }
.site-footer .footer-brand img { width: 150px !important; height: 150px !important; }
.social-link svg { width: 38px !important; height: 38px !important; }
.footer-location { display: flex; flex-wrap: wrap; gap: 18px 26px; }
.footer-location h3,
.footer-location .footer-map-link { flex-basis: 100%; }
.footer-location .footer-map-link { margin-top: 8px !important; }
@media (min-width: 1201px) {
  body[data-page="home"] .site-header .header-inner { display: grid !important; grid-template-columns: 1fr auto 1fr; justify-content: initial !important; }
  body[data-page="home"] .site-header .brand { grid-column: 1; justify-self: start; }
  body[data-page="home"] .site-header .site-nav { grid-column: 2; position: absolute !important; top: 24px !important; left: 50vw !important; transform: translateX(-50%) !important; justify-self: initial; }
  body[data-page="home"] .site-header .brand img { width: 150px !important; height: 150px !important; }
  body[data-page="home"] .refresh-hero-content h1 { font-size: clamp(3.8rem, 5.3vw, 5.9rem) !important; }
}

/* Let the enlarged logo breathe at tablet and compact-desktop widths. */
@media (min-width: 821px) and (max-width: 1200px) {
  body[data-page="home"] .site-header .site-nav { display: none !important; }
  body[data-page="home"] .site-header .menu-toggle { display: grid !important; }
  body[data-page="home"] .site-header .site-nav.open { display: flex !important; }
}

/* Restrained depth for the solid colour sections. */
.site-footer,
body[data-page="home"] .refresh-why,
body[data-page="home"] .refresh-cta,
body:not([data-page="home"]) .price-board,
body:not([data-page="home"]) .course-cta,
body:not([data-page="home"]) .dark-note,
body:not([data-page="home"]) .contact-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.site-footer { background: linear-gradient(135deg, #082238 0%, #123b52 56%, #176078 100%) !important; }
body[data-page="home"] .refresh-why { background: linear-gradient(135deg, #142b38 0%, #123b52 100%); }
body[data-page="home"] .refresh-cta { background: linear-gradient(135deg, #176078 0%, #0c3f59 100%); }
body:not([data-page="home"]) .price-board,
body:not([data-page="home"]) .course-cta,
body:not([data-page="home"]) .dark-note,
body:not([data-page="home"]) .contact-panel { background: linear-gradient(135deg, #123b52 0%, #0d5a78 100%); }
.site-footer::before,
.site-footer::after,
body[data-page="home"] .refresh-why::before,
body[data-page="home"] .refresh-why::after,
body[data-page="home"] .refresh-cta::before,
body[data-page="home"] .refresh-cta::after,
body:not([data-page="home"]) .price-board::before,
body:not([data-page="home"]) .price-board::after,
body:not([data-page="home"]) .course-cta::before,
body:not([data-page="home"]) .course-cta::after,
body:not([data-page="home"]) .dark-note::before,
body:not([data-page="home"]) .dark-note::after,
body:not([data-page="home"]) .contact-panel::before,
body:not([data-page="home"]) .contact-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(180px, 24vw, 390px);
  aspect-ratio: 1;
  border: 1px solid rgba(156, 234, 242, .25);
  border-radius: 50%;
  pointer-events: none;
}
.site-footer::before,
body[data-page="home"] .refresh-why::before,
body[data-page="home"] .refresh-cta::before,
body:not([data-page="home"]) .price-board::before,
body:not([data-page="home"]) .course-cta::before,
body:not([data-page="home"]) .dark-note::before,
body:not([data-page="home"]) .contact-panel::before { top: -38%; right: -8%; background: radial-gradient(circle, rgba(156,234,242,.18), transparent 66%); }
.site-footer::after,
body[data-page="home"] .refresh-why::after,
body[data-page="home"] .refresh-cta::after,
body:not([data-page="home"]) .price-board::after,
body:not([data-page="home"]) .course-cta::after,
body:not([data-page="home"]) .dark-note::after,
body:not([data-page="home"]) .contact-panel::after { bottom: -46%; left: -10%; background: radial-gradient(circle, rgba(7,180,222,.13), transparent 66%); }

/* Final mobile hero polish. */
body[data-page="home"] .menu-toggle::before {
  background: rgb(28, 184, 222) !important;
  background-image: none !important;
  box-shadow: 0 -9px 0 rgb(28, 184, 222), 0 9px 0 rgb(28, 184, 222) !important;
}
@media (max-width: 820px) {
  body[data-page="home"] .refresh-hero-content h1 { font-size: clamp(2.55rem, 10.2vw, 4.2rem) !important; }
  body[data-page="home"] .refresh-hero-content h1 em { font-size: clamp(2.4rem, 9.5vw, 4rem) !important; }
  body[data-page="home"] .refresh-hero-greeting { right: 9% !important; }
}

/* The homepage now moves directly from the welcome image into About. */
body[data-page="home"] .refresh-profile-copy { grid-column: 1 / -1; width: min(860px, 100%); margin-inline: auto; }
.adult-plan .price-details-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: #9ceaf2; font-weight: 700; text-decoration: none; }
.adult-plan .price-details-link:hover { color: #fff; }

/* CTA links with diagonal arrows are full-sized buttons throughout the site. */
.refresh-text-link,
.adult-plan .price-details-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #123b52 !important;
  background: rgb(28, 184, 222);
  box-shadow: 0 10px 24px rgba(18, 59, 82, .14);
  font: 800 .86rem/1 var(--sans);
  letter-spacing: .01em;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.refresh-text-link:hover,
.adult-plan .price-details-link:hover {
  color: #123b52 !important;
  background: #9ceaf2;
  box-shadow: 0 14px 30px rgba(18, 59, 82, .2);
  transform: translateY(-3px);
}
.refresh-text-link span,
.adult-plan .price-details-link span { font-size: 1.2rem; transition: transform .22s ease; }
.refresh-text-link:hover span,
.adult-plan .price-details-link:hover span { transform: translate(3px, -3px); }
@media (max-width: 560px) {
  .refresh-text-link,
  .adult-plan .price-details-link { width: 100%; min-height: 56px; padding-inline: 18px; }
}

/* Sitewide header standardisation: every page shares the homepage navigation system. */
body .site-header .menu-toggle::before {
  background: rgb(28, 184, 222) !important;
  background-image: none !important;
  box-shadow: 0 -9px 0 rgb(28, 184, 222), 0 9px 0 rgb(28, 184, 222) !important;
}
@media (min-width: 1201px) {
  body .site-header .header-inner {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    justify-content: initial !important;
  }
  body .site-header .brand { grid-column: 1; justify-self: start; }
  body .site-header .site-nav {
    display: flex !important;
    width: max-content !important;
    grid-column: auto !important;
    position: absolute !important;
    top: 24px !important;
    left: 50vw !important;
    right: auto !important;
    transform: translateX(-50%) !important;
  }
  body .site-header .menu-toggle { display: none !important; }
  body:not([data-page="home"]) .site-header .site-nav a { color: #123b52 !important; }
  body:not([data-page="home"]) .site-header .site-nav .nav-cta {
    color: #123b52 !important;
    background: rgb(28, 184, 222) !important;
    border-color: rgb(28, 184, 222) !important;
  }
}
@media (min-width: 821px) and (max-width: 1200px) {
  body .site-header .site-nav { display: none !important; }
  body .site-header .site-nav.open { display: flex !important; }
  body .site-header .menu-toggle { display: grid !important; }
  body .site-header .menu-toggle { right: 18px !important; }
}

/* Child-page refresh: homepage-inspired image-led openings and a calmer rhythm. */
body:not([data-page="home"]) main > .page-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: clamp(470px, 58vw, 720px);
  margin: 0;
  padding: clamp(150px, 18vw, 230px) max(28px, calc((100% - 1160px) / 2)) clamp(62px, 8vw, 110px);
  overflow: hidden;
  border: 0;
  color: #fff;
  isolation: isolate;
}
body:not([data-page="home"]) main > .page-hero::before,
body:not([data-page="home"]) main > .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
body:not([data-page="home"]) main > .page-hero::before {
  z-index: -2;
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}
body:not([data-page="home"]) main > .page-hero::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 24, 38, .82), rgba(4, 24, 38, .2) 74%), linear-gradient(0deg, rgba(4, 24, 38, .76), transparent 62%);
}
body[data-page="about"] main > .page-hero::before { background-image: url("assets/english-teacher.jpg"); }
body[data-page="english"] main > .page-hero::before { background-image: url("assets/private-lessons.jpg"); }
body[data-page="business"] main > .page-hero::before { background-image: url("assets/business-handshake.png"); }
body[data-page="kids"] main > .page-hero::before { background-image: url("assets/kids-dontknow.jpg"); }
body[data-page="app"] main > .page-hero::before { background-image: url("assets/app.jpg"); }
body[data-page="access"] main > .page-hero::before { background-image: url("assets/room.jpg"); }
body[data-page="youtube"] main > .page-hero::before { background-image: url("assets/online-zoom.jpg"); }
body[data-page="reviews"] main > .page-hero::before { background-image: url("assets/generated/reviews-book.png"); }
body:not([data-page="home"]) main > .page-hero > * { position: relative; z-index: 1; }
body:not([data-page="home"]) main > .page-hero .kicker { color: #9ceaf2 !important; }
body:not([data-page="home"]) main > .page-hero h1,
body:not([data-page="home"]) main > .page-hero h1 em { max-width: 820px; color: #fff !important; text-shadow: 0 2px 18px rgba(0,0,0,.2); }
body:not([data-page="home"]) main > .page-hero .lede { max-width: 680px; color: rgba(255,255,255,.88) !important; }
body:not([data-page="home"]) main > .page-hero::before { display: none; }
body:not([data-page="home"]) main > .page-hero .inner-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: auto;
  height: auto;
  margin: 0;
  overflow: hidden;
}
body:not([data-page="home"]) main > .page-hero .inner-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body[data-page="business"] main > .page-hero .inner-hero-media img,
body[data-page="app"] main > .page-hero .inner-hero-media img,
body[data-page="reviews"] main > .page-hero .inner-hero-media img { object-fit: contain; padding: 70px; background: #123b52; }
body[data-page="kids"] main > .page-hero .inner-hero-media img { object-position: center 42%; }

/* The online hero keeps its video, but uses the same full-bleed treatment. */
body[data-page="online"] main > .online-hero {
  width: 100%;
  height: clamp(470px, 58vw, 720px);
  min-height: 0 !important;
  margin: 0;
  padding: clamp(150px, 18vw, 230px) max(28px, calc((100% - 1160px) / 2)) clamp(62px, 8vw, 110px);
  border: 0;
}
body[data-page="online"] .online-hero-video { opacity: .52; filter: none; }
body[data-page="online"] .online-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(4,24,38,.78), rgba(4,24,38,.16) 74%), linear-gradient(0deg, rgba(4,24,38,.72), transparent 62%);
}
body[data-page="online"] .online-hero-copy { width: 100%; padding: 0; }
body[data-page="online"] .online-hero-copy > * { position: relative; z-index: 1; }
body[data-page="online"] .online-hero-copy .kicker { color: #9ceaf2 !important; }
body[data-page="online"] .online-hero-copy h1,
body[data-page="online"] .online-hero-copy h1 em { color: #fff !important; }
body[data-page="online"] .online-hero-copy .lede { color: rgba(255,255,255,.88) !important; }

body:not([data-page="home"]) .course-section,
body:not([data-page="home"]) .tony-letter,
body:not([data-page="home"]) .tony-journey,
body:not([data-page="home"]) .reviews-spread,
body:not([data-page="home"]) .video-feature {
  padding-block: clamp(90px, 11vw, 155px);
}
body:not([data-page="home"]) .course-photo,
body:not([data-page="home"]) .asset-frame,
body:not([data-page="home"]) .feature-image,
body:not([data-page="home"]) .reviews-spread > img,
body:not([data-page="home"]) .video-feature > img {
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(18,59,82,.14);
}
body:not([data-page="home"]) .button {
  min-height: 54px;
  padding: 15px 25px;
  border: 0;
  border-radius: 999px;
  color: #123b52 !important;
  background: rgb(28,184,222) !important;
  box-shadow: 0 10px 24px rgba(18,59,82,.14);
  font-size: .86rem;
  font-weight: 800;
}
body:not([data-page="home"]) .button:hover {
  color: #123b52 !important;
  background: #9ceaf2 !important;
  box-shadow: 0 14px 30px rgba(18,59,82,.2);
  transform: translateY(-3px);
}
body:not([data-page="home"]) .course-section + .course-section { border-top: 1px solid rgba(23,96,120,.12); }

@media (max-width: 820px) {
  body:not([data-page="home"]) main > .page-hero,
  body[data-page="online"] main > .online-hero {
    height: 560px;
    min-height: 0 !important;
    padding: 132px 18px 52px;
  }
  body:not([data-page="home"]) main > .page-hero h1 { font-size: clamp(2.8rem, 12vw, 4.8rem); }
  body:not([data-page="home"]) main > .page-hero .lede { font-size: .95rem; }
  body[data-page="kids"] main > .page-hero .inner-hero-media img { object-position: 58% center; }
}

/* Make the About statistics read as a visible proof-point feature. */
body[data-page="home"] .refresh-stats {
  gap: 14px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(23, 96, 120, .22);
}
body[data-page="home"] .refresh-stats > div {
  position: relative;
  min-height: 132px;
  padding: 22px 14px 18px;
  border: 1px solid rgba(28, 184, 222, .28);
  border-radius: 16px;
  background: linear-gradient(145deg, #eefbfd, #d9f4f7);
  box-shadow: 0 12px 24px rgba(18, 59, 82, .08);
  text-align: center;
}
body[data-page="home"] .refresh-stats > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 4px;
  border-radius: 0 0 99px 99px;
  background: rgb(28, 184, 222);
}
body[data-page="home"] .refresh-stats strong {
  color: #123b52;
  font-size: clamp(2.1rem, 4.3vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.06em;
}
body[data-page="home"] .refresh-stats span {
  margin-top: 12px;
  color: #176078;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
body[data-page="home"] .refresh-why-grid b {
  display: block;
  color: #9ceaf2;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: .9;
  letter-spacing: -.08em;
}
@media (max-width: 560px) {
  body[data-page="home"] .refresh-stats { gap: 8px; }
  body[data-page="home"] .refresh-stats > div { min-height: 118px; padding-inline: 8px; }
  body[data-page="home"] .refresh-stats strong { font-size: clamp(1.7rem, 8vw, 2.6rem); }
  body[data-page="home"] .refresh-stats span { font-size: .67rem; }
}

/* Special mobile/tablet menu: a soft glass panel with a clear active rhythm. */
@media (max-width: 1200px) {
  .site-header .site-nav {
    top: calc(100% + 14px);
    right: 0;
    width: min(360px, calc(100vw - 32px));
    padding: 18px;
    gap: 3px;
    border: 1px solid rgba(156, 234, 242, .36);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(7, 30, 48, .97), rgba(18, 59, 82, .96));
    box-shadow: 0 22px 60px rgba(0, 0, 0, .3), 0 0 0 7px rgba(156, 234, 242, .06);
    backdrop-filter: blur(16px);
    transform-origin: top right;
  }
  .site-header .site-nav.open { animation: menu-panel-in .24s cubic-bezier(.2,.8,.2,1) both; }
  .site-header .site-nav::before {
    content: "どこからはじめる？";
    display: block;
    margin: 0 4px 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(156, 234, 242, .24);
    color: #9ceaf2;
    font: 700 .68rem var(--mono);
    letter-spacing: .16em;
  }
  .site-header .site-nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 12px;
    border: 0;
    border-radius: 11px;
    color: #fff !important;
    font-size: 14px;
    letter-spacing: .04em;
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
  }
  .site-header .site-nav a:not(.nav-cta)::after {
    content: "↗";
    position: absolute;
    right: 13px;
    opacity: 0;
    color: #123b52;
    transition: opacity .2s ease, transform .2s ease;
    transform: translateX(-5px);
  }
  .site-header .site-nav a:not(.nav-cta):hover,
  .site-header .site-nav a:not(.nav-cta).active {
    padding-left: 17px;
    color: #123b52 !important;
    background: #9ceaf2;
  }
  .site-header .site-nav a:not(.nav-cta):hover::after,
  .site-header .site-nav a:not(.nav-cta).active::after { opacity: 1; transform: none; }
  .site-header .site-nav .nav-cta {
    justify-content: center;
    margin: 11px 0 0;
    min-height: 48px;
    border: 0;
    color: #123b52 !important;
    background: rgb(28, 184, 222) !important;
    box-shadow: 0 8px 18px rgba(28, 184, 222, .2);
  }
}
@media (min-width: 821px) and (max-width: 1200px) {
  body[data-page="home"] .site-header .menu-toggle {
    right: 18px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}
@keyframes menu-panel-in {
  from { opacity: 0; transform: translateY(-8px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Child-page editorial polish: strong hierarchy, proof-point numbers and reliable contrast. */
body:not([data-page="home"]) main {
  overflow: hidden;
  background: #f7f6f2;
}
body:not([data-page="home"]) .course-section,
body:not([data-page="home"]) .tony-letter,
body:not([data-page="home"]) .tony-journey,
body:not([data-page="home"]) .reviews-spread,
body:not([data-page="home"]) .video-feature {
  position: relative;
}
body:not([data-page="home"]) .course-section::before,
body:not([data-page="home"]) .tony-letter::before,
body:not([data-page="home"]) .tony-journey::before {
  content: "";
  position: absolute;
  top: 42px;
  right: -90px;
  width: 230px;
  aspect-ratio: 1;
  border: 1px solid rgba(28,184,222,.14);
  border-radius: 50%;
  pointer-events: none;
}
body:not([data-page="home"]) .course-copy > p:not(.kicker),
body:not([data-page="home"]) .course-split > div > p:not(.kicker),
body:not([data-page="home"]) .app-showcase > div > p:not(.kicker),
body:not([data-page="home"]) .tony-letter-copy > p:not(.kicker),
body:not([data-page="home"]) .detail-card p,
body:not([data-page="home"]) .usecase-card li,
body:not([data-page="home"]) .schedule-card span,
body:not([data-page="home"]) .travel-card p,
body:not([data-page="home"]) .quote-card p {
  color: #4e4a44 !important;
  font-size: clamp(.92rem, 1.15vw, 1.02rem);
  line-height: 1.9;
}
body:not([data-page="home"]) .course-copy h2,
body:not([data-page="home"]) .course-split h2,
body:not([data-page="home"]) .app-showcase h2,
body:not([data-page="home"]) .tony-letter-copy h2,
body:not([data-page="home"]) .tony-journey-heading h2,
body:not([data-page="home"]) .course-section > h2 {
  max-width: 760px;
  font-weight: 700;
  line-height: 1.12;
}
body:not([data-page="home"]) .kicker {
  color: #176078;
  font-weight: 800;
}

/* Match the homepage's oversized 01–04 language everywhere it denotes a sequence. */
body:not([data-page="home"]) .skill-chip b,
body:not([data-page="home"]) .detail-card .card-no,
body:not([data-page="home"]) .tony-timeline article > span,
body[data-page="business"] .price-card > span {
  display: block;
  margin: 0 0 22px;
  color: #1cb8de;
  font: 800 clamp(3rem, 5.2vw, 5rem)/.82 var(--sans);
  letter-spacing: -.09em;
}
body[data-page="business"] .price-card > span::before { content: "0"; }
body:not([data-page="home"]) .skill-strip {
  gap: 14px;
  border: 0;
}
body:not([data-page="home"]) .skill-chip {
  min-height: 190px;
  padding: 28px;
  border: 1px solid rgba(23,96,120,.16) !important;
  border-radius: 18px;
  background: linear-gradient(145deg,#fbfaf8,#eefbfd) !important;
  box-shadow: 0 14px 34px rgba(18,59,82,.07);
}
body:not([data-page="home"]) .skill-chip span {
  color: #123b52;
  font: 700 clamp(1.25rem,2vw,1.75rem)/1.2 var(--serif);
}
body:not([data-page="home"]) .detail-card,
body:not([data-page="home"]) .tony-timeline article {
  position: relative;
  overflow: hidden;
}
body:not([data-page="home"]) .detail-card {
  min-height: 300px;
  padding: 30px;
  background: linear-gradient(145deg,#fbfaf8 60%,#e9f9fb) !important;
  transition: transform .28s ease, box-shadow .28s ease;
}
body:not([data-page="home"]) .detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(18,59,82,.13);
}
body:not([data-page="home"]) .detail-card h3 {
  margin: 0 0 12px;
  color: #123b52;
  font-size: clamp(1.45rem,2.1vw,2rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}
body[data-page="app"] .detail-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
body[data-page="app"] .detail-grid.two .detail-card { min-width: 0; }
body:not([data-page="home"]) .tony-timeline {
  gap: 14px;
  border: 0;
}
body:not([data-page="home"]) .tony-timeline article,
body:not([data-page="home"]) .tony-timeline article:not(:first-child) {
  min-height: 330px;
  padding: 30px;
  border: 1px solid rgba(23,96,120,.16);
  border-radius: 18px;
  background: linear-gradient(145deg,#fbfaf8,#eefbfd);
}
body:not([data-page="home"]) .tony-timeline h3 { margin: 0 0 12px; font-size: 1.35rem; font-weight: 700; }
body:not([data-page="home"]) .tony-timeline p { color: #4e4a44; font-size: .92rem; line-height: 1.85; }

/* Dark feature blocks: explicit white typography prevents inherited low-contrast text. */
body:not([data-page="home"]) .price-board,
body:not([data-page="home"]) .course-cta,
body:not([data-page="home"]) .dark-note,
body:not([data-page="home"]) .contact-panel {
  color: #fff !important;
}
body:not([data-page="home"]) .price-board p:not(.price-card p),
body:not([data-page="home"]) .course-cta p,
body:not([data-page="home"]) .dark-note p,
body:not([data-page="home"]) .contact-panel p,
body:not([data-page="home"]) .contact-panel label {
  color: rgba(255,255,255,.84) !important;
}
body:not([data-page="home"]) .price-board .kicker,
body:not([data-page="home"]) .course-cta .kicker,
body:not([data-page="home"]) .dark-note .kicker,
body:not([data-page="home"]) .contact-panel .kicker { color: #9ceaf2 !important; }
body:not([data-page="home"]) .price-board h2,
body:not([data-page="home"]) .course-cta h2,
body:not([data-page="home"]) .dark-note h2,
body:not([data-page="home"]) .contact-panel h2 { color: #fff !important; font-weight: 700; }
body:not([data-page="home"]) .price-board h2 span,
body:not([data-page="home"]) .course-cta h2 span,
body:not([data-page="home"]) .contact-panel h2 em { color: #9ceaf2 !important; }
body:not([data-page="home"]) .price-card p { color: #4e4a44 !important; }
body:not([data-page="home"]) .price-card {
  min-height: 240px;
  padding: 30px;
  border: 0;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 16px 34px rgba(3,21,34,.16);
}
body:not([data-page="home"]) .price-card strong { font-weight: 700; }

/* Image treatment shared with the homepage: clean framing and purposeful crops. */
body:not([data-page="home"]) .course-photo,
body:not([data-page="home"]) .asset-frame,
body:not([data-page="home"]) .feature-image,
body:not([data-page="home"]) .homework-gallery figure,
body:not([data-page="home"]) .tony-letter-image {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #dff7fa;
  box-shadow: 0 24px 54px rgba(18,59,82,.15);
}
body:not([data-page="home"]) .course-photo::after,
body:not([data-page="home"]) .asset-frame::after,
body:not([data-page="home"]) .feature-image::after,
body:not([data-page="home"]) .tony-letter-image::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(28,184,222,.18);
  pointer-events: none;
}

@media (max-width: 820px) {
  body[data-page="app"] .detail-grid.two { grid-template-columns: 1fr; }
  body:not([data-page="home"]) .course-section,
  body:not([data-page="home"]) .tony-letter,
  body:not([data-page="home"]) .tony-journey,
  body:not([data-page="home"]) .reviews-spread,
  body:not([data-page="home"]) .video-feature { padding-block: 76px; }
  body:not([data-page="home"]) .skill-strip { grid-template-columns: repeat(2,1fr); }
  body:not([data-page="home"]) .skill-chip { min-height: 150px; padding: 22px; }
  body:not([data-page="home"]) .detail-card { min-height: 235px; }
  body:not([data-page="home"]) .tony-timeline article,
  body:not([data-page="home"]) .tony-timeline article:not(:first-child) { min-height: 255px; }
}
@media (max-width: 520px) {
  body:not([data-page="home"]) .skill-chip b,
  body:not([data-page="home"]) .detail-card .card-no,
  body:not([data-page="home"]) .tony-timeline article > span,
  body[data-page="business"] .price-card > span { font-size: 3.35rem; }
  body:not([data-page="home"]) .detail-card,
  body:not([data-page="home"]) .price-card { padding: 24px; }
}

/* Header parity: child pages now use the same transparent hero header as the homepage. */
body .site-header,
body:not([data-page="home"]) .site-header {
  position: absolute !important;
  inset: 0 0 auto !important;
  z-index: 30;
  color: #fff;
  background: transparent !important;
}
body .site-header .header-inner,
body:not([data-page="home"]) .site-header .header-inner {
  min-height: 150px;
  border-bottom: 0 !important;
}
body .site-header .brand img,
body:not([data-page="home"]) .site-header .brand img {
  width: 150px !important;
  height: 150px !important;
  object-fit: contain;
}
@media (min-width: 1201px) {
  body .site-header .site-nav,
  body:not([data-page="home"]) .site-header .site-nav {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body .site-header .site-nav a,
  body:not([data-page="home"]) .site-header .site-nav a {
    color: #fff !important;
    text-shadow: 0 1px 12px rgba(0,0,0,.48);
  }
  body .site-header .site-nav .nav-cta,
  body:not([data-page="home"]) .site-header .site-nav .nav-cta {
    color: #123b52 !important;
    background: rgb(28,184,222) !important;
    border-color: rgb(28,184,222) !important;
    text-shadow: none;
  }
}

/* Mobile/tablet navigation: opaque surfaces and explicit states for consistent readability. */
@media (max-width: 1200px) {
  body .site-header .header-inner,
  body:not([data-page="home"]) .site-header .header-inner { min-height: 112px; }
  body .site-header .brand img,
  body:not([data-page="home"]) .site-header .brand img { width: 92px !important; height: 92px !important; }
  body .site-header .menu-toggle {
    right: 0 !important;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
    color: transparent;
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 28px rgba(3,21,34,.18);
  }
  body .site-header .menu-toggle::before {
    width: 27px;
    height: 3px;
    background: rgb(28,184,222) !important;
    box-shadow: 0 -8px 0 rgb(28,184,222), 0 8px 0 rgb(28,184,222) !important;
  }
  body .site-header .site-nav,
  body:not([data-page="home"]) .site-header .site-nav {
    top: calc(100% - 2px);
    right: 0;
    max-height: calc(100vh - 125px);
    overflow-y: auto;
    border: 1px solid rgba(156,234,242,.42) !important;
    background: #082238 !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.48);
  }
  body .site-header .site-nav::before {
    color: #9ceaf2 !important;
    border-color: rgba(156,234,242,.28) !important;
  }
  body .site-header .site-nav a,
  body:not([data-page="home"]) .site-header .site-nav a {
    min-height: 50px;
    color: #fff !important;
    border-color: rgba(255,255,255,.1) !important;
    font-size: 15px;
    font-weight: 800;
    text-shadow: none;
  }
  body .site-header .site-nav a:not(.nav-cta):hover,
  body .site-header .site-nav a:not(.nav-cta).active {
    color: #082238 !important;
    background: #9ceaf2 !important;
  }
  body .site-header .site-nav .nav-cta,
  body:not([data-page="home"]) .site-header .site-nav .nav-cta {
    color: #082238 !important;
    background: rgb(28,184,222) !important;
  }
}

/* Replace the recent textbook hero art with direct, photographic page imagery. */
body[data-page="business"] main > .page-hero .inner-hero-media img,
body[data-page="reviews"] main > .page-hero .inner-hero-media img {
  object-fit: cover;
  padding: 0;
  background: none;
}
body[data-page="business"] main > .page-hero .inner-hero-media img { object-position: center 44%; }
body[data-page="reviews"] main > .page-hero .inner-hero-media img { object-position: center; }
body[data-page="kids"] .wide-art { aspect-ratio: 3 / 2; }
.office-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg,#123b52,#176078) !important;
}
.office-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 260px;
  aspect-ratio: 1;
  border: 1px solid rgba(156,234,242,.3);
  border-radius: 50%;
}
.office-card-mark {
  display: grid;
  width: 100%;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  background: #123b52;
}
.office-card-mark img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: center;
}
.office-card .kicker { color: #9ceaf2 !important; }
body:not([data-page="home"]) .office-card h2,
body:not([data-page="home"]) .office-card li { color: #fff !important; }
.office-card > h2 { position: relative; z-index: 1; margin-top: 10px; }
.office-card > ul { position: relative; z-index: 1; }
body:not([data-page="home"]) .office-card li { font-size: 15px; line-height: 1.75; opacity: .96; }
.reviews-only { display: block; }
.reviews-only .review-stack { width: min(920px,100%); margin-inline: auto; }

/* Cohesive child-page system: the homepage is the source of truth. */
@media (min-width: 1201px) {
  body .site-header .header-inner,
  body:not([data-page="home"]) .site-header .header-inner {
    position: static !important;
  }
  body .site-header .site-nav,
  body:not([data-page="home"]) .site-header .site-nav {
    top: 24px !important;
    left: 50vw !important;
    transform: translateX(-50%) !important;
  }
}

/* A tighter, homepage-like editorial rhythm. */
body:not([data-page="home"]) .course-section,
body:not([data-page="home"]) .tony-letter,
body:not([data-page="home"]) .tony-journey,
body:not([data-page="home"]) .reviews-spread,
body:not([data-page="home"]) .video-feature {
  padding-block: clamp(56px, 6vw, 82px);
}
body:not([data-page="home"]) main > .course-section:first-of-type,
body:not([data-page="home"]) main > .tony-letter:first-of-type,
body:not([data-page="home"]) main > .reviews-spread:first-of-type,
body:not([data-page="home"]) main > .video-feature:first-of-type {
  padding-top: clamp(50px, 5vw, 68px);
}
body:not([data-page="home"]) .course-intro,
body:not([data-page="home"]) .course-split,
body:not([data-page="home"]) .tony-letter,
body:not([data-page="home"]) .app-showcase,
body:not([data-page="home"]) .video-feature {
  gap: clamp(34px, 5vw, 72px);
}
body:not([data-page="home"]) .course-copy h2,
body:not([data-page="home"]) .course-split h2,
body:not([data-page="home"]) .app-showcase h2 {
  margin-block: 12px 18px;
}
body:not([data-page="home"]) .course-copy > p:not(.kicker) + p,
body:not([data-page="home"]) .course-split > div > p:not(.kicker) + p,
body:not([data-page="home"]) .app-showcase > div > p:not(.kicker) + p {
  margin-top: 12px;
}

/* Photos crop deliberately; diagrams, graphs and designed banners never do. */
body:not([data-page="home"]) .course-photo {
  height: auto;
  aspect-ratio: 4 / 3;
}
body:not([data-page="home"]) .course-photo img { object-fit: cover; object-position: center; }
body[data-page="english"] .course-photo img { object-position: 54% center; }
body[data-page="kids"] .course-photo img { object-position: center 42%; }
body:not([data-page="home"]) .asset-frame.media-contain {
  display: grid;
  height: auto;
  place-items: center;
  padding: clamp(14px,2vw,26px);
  background: #fff;
}
body:not([data-page="home"]) .asset-frame.media-contain img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}
body:not([data-page="home"]) .graph-frame { aspect-ratio: 1454 / 1160; }
body:not([data-page="home"]) .material-frame { aspect-ratio: 1500 / 948; }
body:not([data-page="home"]) .wide-art { aspect-ratio: 2 / 1; }
body[data-page="kids"] .course-split .wide-art { aspect-ratio: 3 / 2; align-self: start; height: auto; }
body:not([data-page="home"]) .portrait-media { height: auto; aspect-ratio: 1 / 1; }
body:not([data-page="home"]) .portrait-media img { object-fit: cover; object-position: center; }
body:not([data-page="home"]) .app-banner {
  display: grid;
  height: auto;
  aspect-ratio: 1500 / 680;
  place-items: center;
  padding: clamp(10px,1.5vw,20px);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(43,37,28,.1);
}
body:not([data-page="home"]) .app-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}
body:not([data-page="home"]) .usecase-card > img {
  height: auto;
  aspect-ratio: 3344 / 2180;
  object-fit: contain;
  background: #eefbfd;
}
body:not([data-page="home"]) .video-feature > img {
  height: auto;
  aspect-ratio: 3500 / 1328;
  object-fit: contain;
  background: #082238;
}
body:not([data-page="home"]) .payment-logos img {
  object-fit: contain !important;
  background: #fff;
  padding: 12px;
}

/* Banner video must fill the banner edge-to-edge. */
body[data-page="online"] main > .online-hero {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
}
body[data-page="online"] .online-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body[data-page="online"] main > .page-hero > .online-hero-video {
  position: absolute !important;
  inset: 0 !important;
  z-index: -2 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  opacity: 1;
  object-fit: cover;
}
body[data-page="online"] main > .online-hero { isolation: isolate; }

/* Pricing is dark; the following CTA is intentionally light and unmistakably separate. */
body:not([data-page="home"]) .price-board + .course-cta,
body:not([data-page="home"]) .course-cta {
  color: #123b52 !important;
  background: linear-gradient(135deg,#eefbfd 0%,#d9f4f7 100%) !important;
  border-top: 0;
}
body:not([data-page="home"]) .course-cta::before,
body:not([data-page="home"]) .course-cta::after { opacity: .32; }
body:not([data-page="home"]) .course-cta .kicker { color: #176078 !important; }
body:not([data-page="home"]) .course-cta h2 { color: #123b52 !important; }
body:not([data-page="home"]) .course-cta h2 span { color: #176078 !important; }
body:not([data-page="home"]) .course-cta p { color: #4e4a44 !important; }
body:not([data-page="home"]) .course-cta .button {
  color: #123b52 !important;
  background: rgb(28,184,222) !important;
}
body:not([data-page="home"]) .course-cta h2 {
  grid-column: 1;
  grid-row: 1 / span 2;
}
body:not([data-page="home"]) .course-cta > p {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}
body:not([data-page="home"]) .course-cta > .button {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  width: max-content;
}

@media (max-width: 820px) {
  body:not([data-page="home"]) .course-section,
  body:not([data-page="home"]) .tony-letter,
  body:not([data-page="home"]) .tony-journey,
  body:not([data-page="home"]) .reviews-spread,
  body:not([data-page="home"]) .video-feature { padding-block: 48px; }
  body:not([data-page="home"]) .course-photo { aspect-ratio: 4 / 3; }
  body:not([data-page="home"]) .course-cta { padding-block: 64px; }
  body:not([data-page="home"]) .course-cta h2,
  body:not([data-page="home"]) .course-cta > p,
  body:not([data-page="home"]) .course-cta > .button {
    grid-column: 1;
    grid-row: auto;
  }
  body:not([data-page="home"]) .app-showcase { gap: 30px; }
}

/* One responsive header system: every child page follows the homepage exactly. */
@media (min-width: 821px) and (max-width: 1200px) {
  body:not([data-page="home"]) .site-header .header-inner {
    min-height: 150px !important;
    height: 150px !important;
  }
  body:not([data-page="home"]) .site-header .brand {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  body:not([data-page="home"]) .site-header .brand img {
    width: 68px !important;
    height: 68px !important;
  }
  body:not([data-page="home"]) .site-header .menu-toggle {
    top: 50% !important;
    right: -28px !important;
    transform: translateY(-50%) !important;
  }
}

@media (max-width: 820px) {
  body:not([data-page="home"]) .site-header .header-inner {
    min-height: 118px !important;
    height: 118px !important;
  }
  body:not([data-page="home"]) .site-header .brand {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  body:not([data-page="home"]) .site-header .brand img {
    width: 68px !important;
    height: 68px !important;
  }
  body:not([data-page="home"]) .site-header .menu-toggle {
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
  }
}
/* Final reviews hero override: the Google Reviews image fills the entire hero. */
body[data-page="reviews"] main > .page-hero .inner-hero-media,
body[data-page="reviews"] main > .page-hero .inner-hero-media img { width: 100% !important; height: 100% !important; }
body[data-page="reviews"] main > .page-hero .inner-hero-media img {
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  background: none !important;
}
body[data-page="reviews"] main > .page-hero::after {
  background: linear-gradient(90deg, rgba(4,24,38,.88), rgba(4,24,38,.18) 78%), linear-gradient(0deg, rgba(4,24,38,.68), transparent 62%) !important;
}
@media (max-width: 820px) {
  body[data-page="reviews"] main > .page-hero .inner-hero-media img { object-position: center !important; }
  body .site-header .menu-toggle { background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; }
}
/* Final access-page layout overrides. */
body[data-page="access"] .contact-panel {
  box-sizing: border-box;
  width: min(1160px, calc(100% - 56px));
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr) !important;
  gap: clamp(42px, 7vw, 88px);
  padding: clamp(64px, 8vw, 108px) clamp(28px, 6vw, 86px);
}
body[data-page="access"] .contact-panel > div { min-width: 0; }
body[data-page="access"] .contact-panel h2 { max-width: 620px; }
body[data-page="access"] .contact-panel-note { min-width: 0; }
body:not([data-page="home"]) .site-footer { margin-top: clamp(24px, 3vw, 44px); }
body[data-page="access"] .travel-board { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px !important; }
body[data-page="access"] .map-poster { display: none !important; }
@media (max-width: 820px) {
  body[data-page="access"] .travel-board { grid-template-columns: 1fr !important; gap: 16px !important; }
}

/* Payment logos: visually remove the white JPEG matte and give both marks room to breathe. */
body[data-page="online"] .payment-logos { align-items: center; gap: clamp(20px, 4vw, 42px); }
body[data-page="online"] .payment-logos img { height: 170px !important; padding: 0 !important; object-fit: contain !important; background: transparent !important; mix-blend-mode: multiply; }

/* Business use cases fill the desktop canvas evenly. */
body[data-page="business"] .usecase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0 !important; }

/* Contact page form. */
body[data-page="contact"] .contact-form-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 8vw, 120px); align-items: start; background: #f7f6f2; }
body[data-page="contact"] .contact-form-intro h2 { margin: 14px 0 22px; color: #123b52; font: 700 clamp(2.6rem, 5vw, 5rem)/.98 var(--sans); letter-spacing: -.08em; }
body[data-page="contact"] .contact-form-intro h2 span { color: #1cb8de; }
body[data-page="contact"] .contact-form-intro > p:not(.kicker) { max-width: 410px; color: #53666d; line-height: 1.9; }
body[data-page="contact"] .contact-form-note { display: grid; gap: 8px; margin-top: 34px; padding: 20px 0 0; border-top: 2px solid #1cb8de; color: #587080; }
body[data-page="contact"] .contact-form-note b { color: #123b52; }
body[data-page="contact"] .contact-form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 42px); border: 1px solid #dce5e7; border-radius: 18px; background: #fff; box-shadow: 0 20px 48px rgba(18,59,82,.08); }
body[data-page="contact"] .contact-form label { display: grid; gap: 8px; color: #123b52; font-size: .86rem; font-weight: 700; }
body[data-page="contact"] .contact-form label > span { color: #1cb8de; }
body[data-page="contact"] .contact-form label small { display: inline; color: #8b9ba0; font-weight: 400; }
body[data-page="contact"] .contact-form input:not([type="hidden"]),
body[data-page="contact"] .contact-form select,
body[data-page="contact"] .contact-form textarea { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid #d5e1e4; border-radius: 8px; background: #fbfdfd; color: #123b52; font: inherit; }
body[data-page="contact"] .contact-form textarea { resize: vertical; min-height: 140px; }
body[data-page="contact"] .contact-form input:focus,
body[data-page="contact"] .contact-form select:focus,
body[data-page="contact"] .contact-form textarea:focus { outline: 3px solid rgba(28,184,222,.2); border-color: #1cb8de; }
body[data-page="contact"] .contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
body[data-page="contact"] .contact-challenge { padding-top: 4px; }
body[data-page="contact"] .contact-privacy { margin: 0; color: #72858b; font-size: .76rem; line-height: 1.6; }
body[data-page="contact"] .contact-form .button { justify-self: start; margin-top: 4px; }
body[data-page="contact"] .contact-success { margin: 0; padding: 14px 16px; border-radius: 8px; background: #e5f8fb; color: #176078; font-weight: 700; line-height: 1.6; }
body[data-page="contact"] .message-sent { min-height: 58vh; display: grid; align-content: center; justify-items: start; padding-top: 100px; padding-bottom: 100px; }
body[data-page="contact"] .message-sent h1 { margin: 16px 0 20px; color: #123b52; font: 700 clamp(3rem, 7vw, 6.5rem)/1.02 var(--sans); letter-spacing: -.09em; }
body[data-page="contact"] .message-sent h1 em { color: #176078; font: inherit; font-style: normal; }
body[data-page="contact"] .message-sent > p:not(.kicker) { max-width: 520px; color: #53666d; line-height: 1.9; }
body[data-page="contact"] .message-sent-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
@media (max-width: 820px) {
  body[data-page="access"] .contact-panel { width: calc(100% - 36px); grid-template-columns: 1fr !important; padding-block: 78px; }
  body[data-page="business"] .usecase-grid { grid-template-columns: 1fr !important; }
  body[data-page="contact"] .contact-form-section { grid-template-columns: 1fr; gap: 42px; }
  body[data-page="contact"] .contact-form { padding: 22px; }
}

/* Unlisted schedule page. It shares the site system without entering the public navigation. */
body[data-page="schedule"] .schedule-hero { padding-bottom: clamp(42px, 7vw, 90px); }
body[data-page="schedule"] .schedule-section { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr); gap:clamp(32px,7vw,110px); align-items:end; }
body[data-page="schedule"] .schedule-intro h2 { margin:14px 0 20px; color:#123b52; font:700 clamp(2.4rem,5vw,5.2rem)/1.02 var(--sans); letter-spacing:-.08em; }
body[data-page="schedule"] .schedule-intro h2 span { color:#1cb8de; }
body[data-page="schedule"] .schedule-intro > p:not(.kicker) { max-width:620px; color:#53666d; line-height:1.9; }
body[data-page="schedule"] .schedule-feature { display:grid; gap:10px; padding:clamp(28px,4vw,50px); border-radius:20px; background:linear-gradient(135deg,#123b52,#176985); color:#fff; box-shadow:0 22px 50px rgba(18,59,82,.14); }
body[data-page="schedule"] .schedule-feature strong { color:#9eefff; font:700 clamp(2rem,4vw,4rem)/1 var(--sans); letter-spacing:-.07em; }
body[data-page="schedule"] .schedule-feature span { font-size:1.25rem; font-weight:700; }
body[data-page="schedule"] .schedule-feature small { color:#d8f5fb; }
body[data-page="schedule"] .calendar-section { display:grid; grid-template-columns:minmax(240px,.62fr) minmax(0,1.38fr); gap:clamp(32px,6vw,92px); align-items:start; }
body[data-page="schedule"] .calendar-heading h2 { margin:14px 0 20px; color:#123b52; font:700 clamp(2.2rem,4.5vw,4.4rem)/1.02 var(--sans); letter-spacing:-.08em; }
body[data-page="schedule"] .calendar-heading h2 span { color:#1cb8de; }
body[data-page="schedule"] .calendar-heading > p:not(.kicker) { color:#53666d; line-height:1.9; }
body[data-page="schedule"] .calendar-embed { min-width:0; overflow:hidden; border:1px solid #dce5e7; border-radius:18px; background:#fff; box-shadow:0 14px 34px rgba(18,59,82,.08); }
body[data-page="schedule"] .calendar-embed iframe { display:block; width:100%; min-height:600px; border:0; }
body[data-page="schedule"] .schedule-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
body[data-page="schedule"] .schedule-card { min-height:250px; padding:clamp(24px,4vw,42px); border:1px solid #dce5e7; border-radius:18px; background:#fff; box-shadow:0 14px 34px rgba(18,59,82,.06); }
body[data-page="schedule"] .schedule-card-blue { background:linear-gradient(135deg,#123b52,#1a6e88); color:#fff; border-color:transparent; }
body[data-page="schedule"] .schedule-card h3 { margin:30px 0 16px; color:#123b52; font:700 clamp(1.4rem,2.3vw,2.25rem)/1.15 var(--sans); letter-spacing:-.06em; }
body[data-page="schedule"] .schedule-card-blue h3 { color:#fff; }
body[data-page="schedule"] .schedule-card p:not(.kicker) { color:#53666d; line-height:1.85; }
body[data-page="schedule"] .schedule-card-blue p:not(.kicker) { color:#d8f5fb; }
body[data-page="schedule"] .schedule-note { display:grid; grid-template-columns:.8fr 1.2fr; gap:clamp(32px,8vw,130px); align-items:center; border-radius:20px; background:#f7f6f2; }
body[data-page="schedule"] .schedule-note h2 { margin:14px 0 0; color:#123b52; font:700 clamp(2.4rem,5vw,5rem)/.98 var(--sans); letter-spacing:-.08em; }
body[data-page="schedule"] .schedule-note h2 em { color:#1cb8de; font-style:normal; }
body[data-page="schedule"] .schedule-note > div:last-child { display:grid; gap:24px; }
body[data-page="schedule"] .schedule-note > div:last-child p { max-width:650px; color:#53666d; line-height:1.9; }
body[data-page="schedule"] .schedule-note .button { justify-self:start; }
/* Private schedule request panel: keep the calendar primary and make the follow-up quick. */
body[data-page="schedule"] .calendar-section { margin-top:clamp(28px,5vw,70px); }
body[data-page="schedule"] .schedule-note { margin-top:clamp(32px,5vw,72px); }
body[data-page="schedule"] .schedule-contact-actions { display:flex; flex-wrap:wrap; align-items:center; gap:16px; }
body[data-page="schedule"] .schedule-contact-actions .line-button { background:#06c755 !important; border-color:#06c755 !important; color:#fff !important; }
body[data-page="schedule"] .schedule-contact-actions .line-button:hover { background:#05a948 !important; border-color:#05a948 !important; color:#fff !important; }

/* Responsive shared logo sizing: a little quieter on wide desktop, more visible on touch widths. */
@media (min-width:1201px) {
  body .site-header .brand img,
  body:not([data-page="home"]) .site-header .brand img { width:132px !important; height:132px !important; }
}
@media (max-width:1200px) {
  body .site-header .brand img,
  body:not([data-page="home"]) .site-header .brand img { width:108px !important; height:108px !important; }
}

/* Child-page hero headings stand on their own without the numbered kicker line. */
body:not([data-page="home"]) main > .page-hero .kicker { display:none !important; }
@media (max-width:1200px) {
  body[data-page="schedule"] .site-header .menu-toggle {
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }
}
@media (max-width:1200px) {
  body[data-page="home"] .site-header .brand img { width:124px !important; height:124px !important; }
}
@media (max-width:520px) {
  body[data-page="home"] .site-header .brand img { width:118px !important; height:118px !important; }
}
@media (min-width:1201px) {
  body[data-page="home"] .site-header .brand { transform:translateX(-24px); }
}
body[data-page="schedule"] .schedule-or { color:#587080; font-size:.82rem; }
body[data-page="schedule"] .schedule-request-form { display:grid; gap:16px; margin-top:10px; padding:clamp(20px,3vw,30px); border:1px solid #dce5e7; border-radius:16px; background:#fff; box-shadow:0 12px 28px rgba(18,59,82,.06); }
body[data-page="schedule"] .schedule-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 16px; }
body[data-page="schedule"] .schedule-request-form label { display:grid; gap:7px; color:#123b52; font-size:.78rem; font-weight:700; }
body[data-page="schedule"] .schedule-request-form label > span { color:#1cb8de; }
body[data-page="schedule"] .schedule-request-form input:not([type="hidden"]), body[data-page="schedule"] .schedule-request-form select { width:100%; min-height:44px; padding:10px 12px; border:1px solid #d5e0e3; border-radius:8px; background:#fbfdfd; color:#123b52; font:inherit; }
body[data-page="schedule"] .schedule-request-form input:focus, body[data-page="schedule"] .schedule-request-form select:focus { border-color:#1cb8de; outline:3px solid rgba(28,184,222,.18); }
body[data-page="schedule"] .schedule-challenge { grid-template-columns:auto 72px; align-items:center; justify-content:start; gap:10px !important; color:#587080 !important; font-weight:500 !important; }
body[data-page="schedule"] .schedule-challenge input { min-height:38px !important; }
body[data-page="schedule"] .schedule-form-hint { margin:0 !important; color:#6b7f86 !important; font-size:.76rem; line-height:1.65 !important; }
body[data-page="schedule"] .schedule-request-form .button { justify-self:start; margin-top:0; }
body[data-page="schedule"] .contact-honeypot { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
@media (max-width:820px) {
  body[data-page="schedule"] .schedule-section,
  body[data-page="schedule"] .calendar-section,
  body[data-page="schedule"] .schedule-note { grid-template-columns:1fr; }
  body[data-page="schedule"] .schedule-grid { grid-template-columns:1fr; }
  body[data-page="schedule"] .schedule-card { min-height:0; }
  body[data-page="schedule"] .schedule-form-grid { grid-template-columns:1fr; }
  body[data-page="schedule"] .schedule-contact-actions { align-items:flex-start; flex-direction:column; gap:10px; }
}

/* Unlisted listening library */
body[data-page="listening"] .listening-hero { padding-bottom: clamp(38px, 6vw, 74px); isolation:isolate; }
body[data-page="listening"] .listening-hero-image { position:absolute !important; inset:0; z-index:-2 !important; margin:0 !important; }
body[data-page="listening"] .listening-hero-image img { width:100%; height:100%; object-fit:cover; object-position:center; }
body[data-page="listening"] .listening-hero::after { z-index:-1; background:linear-gradient(90deg,rgba(4,24,38,.86),rgba(4,24,38,.18) 72%),linear-gradient(0deg,rgba(4,24,38,.7),transparent 62%); }
body[data-page="listening"] .listening-hero > *:not(.listening-hero-image) { position:relative; z-index:1; }
body[data-page="listening"] .listening-hero h1 { max-width: 720px; }
body[data-page="listening"] .listening-hero h1 em { color: #1cb8de; font-style: normal; }
body[data-page="listening"] .listening-library { background: #f7f6f2; border-radius: 22px; }
body[data-page="listening"] .listening-intro { display:grid; grid-template-columns: 1fr .75fr; gap: clamp(24px, 7vw, 110px); align-items:end; margin-bottom: 28px; }
body[data-page="listening"] .listening-intro h2 { margin: 12px 0 0; color:#123b52; font:700 clamp(2.4rem, 5vw, 5rem)/1.02 var(--sans); letter-spacing:-.08em; }
body[data-page="listening"] .listening-intro h2 span { color:#1cb8de; }
body[data-page="listening"] .listening-intro > p { color:#53666d; line-height:1.9; }
body[data-page="listening"] .listening-status { margin: 26px 0 14px; color:#587080; font-size:.85rem; letter-spacing:.06em; }
body[data-page="listening"] .listening-groups { display:grid; gap:12px; }
body[data-page="listening"] .listening-group { overflow:hidden; border:1px solid #dce5e7; border-radius:15px; background:#fff; }
body[data-page="listening"] .listening-group summary { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:19px 22px; cursor:pointer; color:#123b52; font-weight:800; list-style:none; }
body[data-page="listening"] .listening-group summary::-webkit-details-marker { display:none; }
body[data-page="listening"] .listening-group summary::after { content:'＋'; color:#1cb8de; font-size:1.3rem; }
body[data-page="listening"] .listening-group[open] summary::after { content:'−'; }
body[data-page="listening"] .listening-group summary b { margin-left:auto; color:#78909a; font-size:.78rem; font-weight:600; }
body[data-page="listening"] .listening-group > div { border-top:1px solid #edf1f2; }
body[data-page="listening"] .listening-track { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:15px 22px; border-bottom:1px solid #edf1f2; }
body[data-page="listening"] .listening-track:last-child { border-bottom:0; }
body[data-page="listening"] .listening-track strong { display:block; color:#123b52; font-size:.95rem; }
body[data-page="listening"] .listening-track small { display:block; margin-top:3px; color:#8a9ba1; font-size:.72rem; }
body[data-page="listening"] .listening-track audio { width:min(42%, 360px); height:34px; }
@media (max-width:820px) { body[data-page="listening"] .listening-intro { grid-template-columns:1fr; } body[data-page="listening"] .listening-track { display:grid; gap:10px; } body[data-page="listening"] .listening-track audio { width:100%; } }
/* Listening library: grade-first navigation and clear, scannable groups. */
body[data-page="listening"] .listening-grades {
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:10px;
  margin:26px 0 34px;
  position:sticky;
  top:12px;
  z-index:3;
  padding:10px;
  border:1px solid #dce5e7;
  border-radius:16px;
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 24px rgba(10,44,61,.08);
  backdrop-filter:blur(10px);
}
body[data-page="listening"] .listening-grade-button {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:108px;
  min-height:62px;
  padding:12px 18px;
  border:1px solid #b9dfe5;
  border-radius:12px;
  background:#eefbfd;
  color:#123b52;
  text-decoration:none;
  font-weight:800;
  text-align:center;
  box-shadow:0 4px 12px rgba(18,59,82,.08);
  transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
body[data-page="listening"] .listening-grade-button:hover,
body[data-page="listening"] .listening-grade-button:focus-visible {
  background:#12b4d6;
  border-color:#12b4d6;
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(18,59,82,.16);
}
body[data-page="listening"] .listening-grade-name {
  position:relative;
  z-index:1;
  font-size:clamp(1.05rem,2vw,1.3rem);
  line-height:1;
  letter-spacing:-.03em;
}
body[data-page="listening"] .listening-grade {
  scroll-margin-top:100px;
  margin-top:28px;
  overflow:hidden;
  border:1px solid #dce5e7;
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 35px rgba(10,44,61,.06);
}
body[data-page="listening"] .listening-grade-heading {
  display:flex;
  align-items:end;
  gap:18px;
  padding:clamp(20px,3vw,34px);
  background:linear-gradient(135deg,#123b52,#176985);
  color:#fff;
}
body[data-page="listening"] .listening-grade-heading .kicker { margin:0; color:#9eefff; }
body[data-page="listening"] .listening-grade-heading h3 {
  margin:0;
  font:700 clamp(1.8rem,4vw,3.2rem)/1 var(--sans);
  letter-spacing:-.06em;
}
body[data-page="listening"] .listening-grade-heading > span {
  margin-left:auto;
  color:#d8f5fb;
  font-size:.8rem;
}
body[data-page="listening"] .listening-grade-tracks { display:grid; }
body[data-page="listening"] .listening-test-groups {
  display:grid;
  gap:18px;
  padding:18px;
  background:#f4f8f9;
}
body[data-page="listening"] .listening-test-group {
  overflow:hidden;
  border:1px solid #dce5e7;
  border-radius:14px;
  background:#fff;
  box-shadow:0 6px 18px rgba(10,44,61,.05);
}
body[data-page="listening"] .listening-test-group > summary {
  list-style:none;
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px 22px;
  background:linear-gradient(100deg,#eefbfd,#fff);
  cursor:pointer;
  transition:background .2s ease;
}
body[data-page="listening"] .listening-test-group > summary::-webkit-details-marker { display:none; }
body[data-page="listening"] .listening-test-group > summary:hover,
body[data-page="listening"] .listening-test-group > summary:focus-visible { background:linear-gradient(100deg,#dff9fc,#fff); }
body[data-page="listening"] .listening-test-group[open] > summary { border-bottom:1px solid #dce5e7; }
body[data-page="listening"] .listening-test-toggle {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  margin-left:4px;
  border-radius:50%;
  background:#123b52;
  color:#9ceaf2;
  font-size:1.25rem;
  line-height:1;
  transition:transform .2s ease,background .2s ease;
}
body[data-page="listening"] .listening-test-group[open] .listening-test-toggle {
  background:#12b4d6;
  transform:rotate(45deg);
}
body[data-page="listening"] .listening-test-number {
  display:grid;
  place-items:center;
  width:56px;
  height:56px;
  flex:0 0 56px;
  border-radius:50%;
  background:#123b52;
  color:#9ceaf2;
  font:700 1.05rem/1 var(--sans);
}
body[data-page="listening"] .listening-test-group .kicker { display:block; margin:0 0 3px; color:#0b7f9a; }
body[data-page="listening"] .listening-test-group h4 {
  margin:0;
  color:#123b52;
  font:700 clamp(1.15rem,2vw,1.5rem)/1.15 var(--sans);
}
body[data-page="listening"] .listening-test-count {
  margin-left:auto;
  color:#637983;
  font-size:.78rem;
  font-weight:700;
  white-space:nowrap;
}
body[data-page="listening"] .listening-test-tracks {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
body[data-page="listening"] .listening-test-tracks .listening-track {
  border-bottom:1px solid #edf1f2;
}
body[data-page="listening"] .listening-test-tracks .listening-track:nth-child(odd) {
  border-right:1px solid #edf1f2;
}
body[data-page="listening"] .listening-player { min-width:0; margin-top:14px; }
body[data-page="listening"] .listening-player { position:relative; }
body[data-page="listening"] .listening-player-loading {
  position:absolute;
  z-index:2;
  inset:-8px;
  display:none;
  place-items:center;
  align-content:center;
  gap:3px;
  border-radius:12px;
  background:rgba(18,59,82,.94);
  color:#fff;
  text-align:center;
  box-shadow:0 8px 22px rgba(10,44,61,.2);
}
body[data-page="listening"] .listening-player.is-loading .listening-player-loading { display:grid; }
body[data-page="listening"] .listening-player-loading strong { font-size:.9rem; letter-spacing:.05em; }
body[data-page="listening"] .listening-player-loading span { color:#bceff5; font-size:.7rem; }
body[data-page="listening"] .listening-player-controls button:disabled { cursor:wait; opacity:.5; }
body[data-page="listening"] .listening-player-controls {
  display:flex;
  align-items:center;
  gap:8px;
}
body[data-page="listening"] .listening-player-button,
body[data-page="listening"] .listening-player-skip,
body[data-page="listening"] .listening-player-download {
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border:0;
  border-radius:8px;
  background:#123b52;
  color:#fff;
  text-decoration:none;
  cursor:pointer;
  transition:background .2s ease,transform .2s ease;
}
body[data-page="listening"] .listening-player-button { width:38px; height:38px; font-size:.8rem; }
body[data-page="listening"] .listening-player-skip { width:42px; height:32px; font-size:.7rem; font-weight:800; }
body[data-page="listening"] .listening-player-download { width:32px; height:32px; font-size:1.1rem; }
body[data-page="listening"] .listening-player-button:hover,
body[data-page="listening"] .listening-player-skip:hover,
body[data-page="listening"] .listening-player-download:hover { background:#0b7f9a; transform:translateY(-1px); }
body[data-page="listening"] .listening-waveform {
  display:block;
  width:100%;
  min-width:80px;
  height:42px;
  border-radius:8px;
  background:#f0f8f9;
  cursor:ew-resize;
  touch-action:none;
}
body[data-page="listening"] .listening-waveform:focus-visible { outline:3px solid #12b4d6; outline-offset:2px; }
body[data-page="listening"] .listening-player-meta {
  display:flex;
  gap:8px;
  margin-top:5px;
  color:#6a8088;
  font-size:.68rem;
  font-variant-numeric:tabular-nums;
}
body[data-page="listening"] .listening-player-meta span:nth-child(2) { flex:1; text-align:center; }
@media (max-width:820px) {
  body[data-page="listening"] .listening-grades {
    grid-template-columns:repeat(4,minmax(0,1fr));
    top:8px;
  }
  body[data-page="listening"] .listening-grade-button {
    min-width:0;
    padding-inline:8px;
  }
  body[data-page="listening"] .listening-grade-heading {
    align-items:start;
    flex-wrap:wrap;
  }
  body[data-page="listening"] .listening-grade-heading > span {
    margin-left:0;
    width:100%;
  }
  body[data-page="listening"] .listening-test-tracks { grid-template-columns:1fr; }
  body[data-page="listening"] .listening-test-tracks .listening-track:nth-child(odd) { border-right:0; }
  body[data-page="listening"] .listening-test-group > summary { padding:15px; }
  body[data-page="listening"] .listening-test-number { width:46px; height:46px; flex-basis:46px; }
  body[data-page="listening"] .listening-test-count { font-size:.7rem; }
  body[data-page="listening"] .listening-player-controls { gap:5px; }
  body[data-page="listening"] .listening-player-skip { width:38px; }
}
