/* Approved homepage additions; shared site styles and brand tokens remain unchanged. */
.hp-hero { display:grid; grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr); gap:58px; align-items:center; padding-top:55px; padding-bottom:58px; }
.hp-hero-copy { padding-bottom:20px; }
.hp-hero-copy>.eyebrow { font-size:14px; margin-bottom:20px; }
.hp-hero h1 { font-size:52px; line-height:1.2; font-weight:600; }
.hp-hero-intro { font-size:23px; line-height:1.6; margin-top:24px; font-weight:450; }
.hp-hero-note { font-size:14px; color:var(--muted); line-height:1.9; margin-top:15px; }
.hp-actions { display:flex; flex-wrap:wrap; gap:20px; align-items:center; margin-top:28px; }
.hp-actions .text-link { font-size:13px; }
.hp-course-showcase { min-width:0; }
.hp-course-showcase button,.hp-contact-panel button,.hp-contact-trigger { cursor:pointer; }
.hp-showcase-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:13px; }
.hp-showcase-heading .eyebrow { margin-bottom:0; }
.hp-course-count { font-size:11px; color:var(--muted); letter-spacing:.04em; }
.hp-course-count b { font-weight:550; color:var(--accent-text); }
.hp-video-stage { position:relative; aspect-ratio:16/9; overflow:hidden; background:#362c25; border-radius:4px; }
.hp-video-stage>img { width:100%; height:100%; object-fit:cover; object-position:center; filter:brightness(.77); }
.hp-video-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(22,17,13,.05) 30%,rgba(22,17,13,.8)); }
.hp-video-label { position:absolute; left:20px; top:17px; color:#fff; font-size:11px; font-weight:500; padding:3px 9px; background:rgba(41,38,35,.66); border:1px solid rgba(255,255,255,.25); border-radius:3px; }
.hp-play-button { position:absolute; left:50%; top:44%; transform:translate(-50%,-50%); width:62px; height:62px; border:1px solid rgba(255,255,255,.65); border-radius:50%; background:rgba(255,254,253,.96); color:var(--accent-text); display:grid; place-items:center; transition:background .2s,transform .2s; }
.hp-play-button:hover { background:#fff; transform:translate(-50%,-50%) scale(1.05); }
.hp-play-button svg { width:29px; height:29px; margin-left:3px; }
.hp-video-caption { position:absolute; left:22px; right:20px; bottom:20px; color:#fff; }
.hp-video-caption>span { font-size:11px; letter-spacing:.04em; color:rgba(255,255,255,.85); }
.hp-video-caption h2 { font-size:22px; line-height:1.4; font-weight:550; margin-top:2px; }
.hp-course-navigation { display:flex; align-items:flex-start; gap:13px; margin-top:18px; }
.hp-slide-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; flex:1; }
.hp-slide-option { border:0; background:none; padding:0 0 11px; position:relative; text-align:left; display:flex; align-items:baseline; gap:6px; white-space:nowrap; color:var(--muted); min-width:0; }
.hp-slide-number { font-size:10px; line-height:1; }
.hp-slide-name { font-size:11px; font-weight:450; }
.hp-slide-option[aria-current=true] { color:var(--accent-text); }
.hp-slide-option[aria-current=true] .hp-slide-name { font-weight:550; }
.hp-slide-line { position:absolute; bottom:0; left:0; right:0; height:2px; background:var(--line); }
.hp-slide-option[aria-current=true] .hp-slide-line { background:var(--accent); }
.hp-icon-button { width:34px; height:34px; display:grid; place-items:center; border:1px solid var(--line); background:var(--paper); color:var(--ink); border-radius:4px; padding:7px; }
.hp-icon-button svg { display:block; width:20px; height:20px; }
.hp-rotation-toggle { width:28px; height:28px; padding:4px; margin-top:-1px; color:var(--muted); border:0; }
.hp-rotation-toggle:disabled { opacity:.55; cursor:default; }
.hp-showcase-note { display:flex; justify-content:space-between; align-items:center; gap:20px; font-size:10px; color:var(--muted); margin-top:13px; }
.hp-showcase-note .text-link { font-size:11px; }
.hp-showcase-note .text-link span { font-size:14px; }
.hp-player,.hp-player-frame,.hp-player-frame iframe { position:absolute; inset:0; width:100%; height:100%; }
.hp-player { background:var(--ink); }
.hp-player-frame iframe { border:0; display:block; }
.hp-player-tools { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:10px; font-size:10px; color:var(--muted); }
.hp-return-cover { border:1px solid var(--line); border-radius:4px; background:var(--soft); padding:5px 12px; font-size:11px; color:var(--accent-text); min-height:34px; }
.hp-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Only this homepage's already existing teaching block changes position/density. */
body[data-page=home] #teaching { border-top:1px solid #f4e8dd; }
body[data-page=home] #teaching>.wrap { padding-top:35px; padding-bottom:37px; display:grid; grid-template-columns:210px 1fr; gap:45px; align-items:start; }
body[data-page=home] #teaching .section-heading { display:block; margin-bottom:0; }
body[data-page=home] #teaching .eyebrow { margin-bottom:8px; font-size:11px; }
body[data-page=home] #teaching h2 { font-size:27px; }
body[data-page=home] #teaching .section-note { margin-top:12px; font-size:11px; }
body[data-page=home] #teaching .principles { gap:25px; }
body[data-page=home] #teaching .step { font-size:10px; }
body[data-page=home] #teaching .principles h3 { font-size:14px; line-height:1.6; font-weight:550; margin-top:12px; margin-bottom:8px; }
body[data-page=home] #teaching .principles p { font-size:11px; line-height:1.8; }

.hp-contact-trigger { position:fixed; right:28px; bottom:27px; z-index:25; min-height:48px; display:flex; align-items:center; gap:9px; padding:10px 17px; border:1px solid #f0d1b4; border-radius:4px; background:var(--paper); color:var(--accent-text); font-size:13px; box-shadow:0 5px 22px rgba(94,56,26,.09); }
.hp-contact-trigger:hover,.hp-contact-trigger[aria-expanded=true] { background:var(--soft); border-color:#dfb48d; }
.hp-contact-trigger>svg { width:23px; height:23px; }
.hp-contact-backdrop { position:fixed; inset:0; z-index:26; background:rgba(255,254,253,.14); }
.hp-contact-panel { position:fixed; z-index:27; right:28px; bottom:90px; width:448px; max-width:calc(100vw - 40px); max-height:calc(100dvh - 120px); overflow-y:auto; overscroll-behavior:contain; border:1px solid var(--line); border-radius:4px; background:var(--paper); box-shadow:0 12px 56px rgba(78,47,23,.15); padding:22px 23px 17px; }
.hp-contact-panel-heading { display:flex; gap:16px; align-items:start; justify-content:space-between; }
.hp-contact-panel-heading .eyebrow { font-size:10px; margin-bottom:4px; }
.hp-contact-panel-heading h2 { font-size:18px; line-height:1.5; font-weight:550; }
.hp-contact-close { flex:0 0 30px; width:30px; height:30px; background:var(--soft); padding:5px; }
.hp-contact-people { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:22px; }
.hp-contact-person { min-width:0; }
.hp-contact-role { margin-bottom:12px; }
.hp-contact-role h3 { font-size:17px; font-weight:550; }
.hp-contact-role p { font-size:10px; color:var(--accent-text); margin-top:2px; }
.hp-qr-frame { height:175px; border:1px solid var(--line); border-radius:2px; background:#fff; display:flex; align-items:center; justify-content:center; padding:8px; }
.hp-qr-frame>img { height:100%; width:100%; object-fit:contain; }
.hp-contact-description { font-size:10px; color:var(--muted); margin-top:10px; }
.hp-save-qr { display:inline-flex; gap:8px; align-items:center; font-size:11px; color:var(--accent-text); padding-block:5px; min-height:30px; }
.hp-contact-footnote { font-size:10px; color:var(--muted); border-top:1px solid var(--line); padding-top:12px; margin-top:12px; }
.hp-contact-panel-open .hp-contact-trigger { z-index:28; }

@media(min-width:1600px) {
  .hp-hero { padding-top:70px; padding-bottom:75px; }
  .hp-hero-copy { padding-bottom:28px; }
}
@media(max-width:1180px) {
  .hp-hero { gap:38px; }
  .hp-hero h1 { font-size:46px; }
  .hp-hero-intro { font-size:21px; }
  .hp-hero-note { font-size:12px; }
  .hp-actions { gap:14px; }
  .hp-actions .button { padding-inline:16px; }
  .hp-actions .text-link { font-size:12px; }
  .hp-slide-options { gap:10px; }
  .hp-slide-name { font-size:10px; }
  body[data-page=home] #teaching>.wrap { grid-template-columns:180px 1fr; gap:28px; }
  body[data-page=home] #teaching .principles { gap:18px; }
  body[data-page=home] #teaching .principles h3 { font-size:13px; }
}
@media(max-width:900px) {
  .hp-hero { gap:28px; padding-top:40px; padding-bottom:45px; }
  .hp-hero h1 { font-size:38px; }
  .hp-hero-intro { font-size:19px; }
  .hp-hero-note { font-size:11px; }
  .hp-hero-note br { display:none; }
  .hp-actions .button { font-size:12px; min-height:40px; padding:8px 14px; }
  .hp-actions .text-link { font-size:10px; }
  .hp-video-caption { left:14px; bottom:13px; }
  .hp-video-caption h2 { font-size:18px; }
  .hp-video-caption>span { font-size:9px; }
  .hp-play-button { width:48px; height:48px; }
  .hp-video-label { left:13px; top:12px; font-size:9px; }
  .hp-course-navigation { gap:6px; }
  .hp-slide-options { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 18px; }
  .hp-slide-option { gap:5px; }
  .hp-slide-name { font-size:11px; }
  .hp-slide-number { font-size:9px; }
  .hp-contact-trigger { right:20px; bottom:20px; }
  .hp-contact-panel { right:20px; bottom:83px; }
  body[data-page=home] #teaching>.wrap { display:block; }
  body[data-page=home] #teaching .section-heading { margin-bottom:22px; }
  body[data-page=home] #teaching h2 { font-size:24px; }
  body[data-page=home] #teaching .principles { gap:26px; }
}
@media(max-width:640px) {
  .hp-hero { grid-template-columns:1fr; gap:33px; padding-top:35px; padding-bottom:32px; }
  .hp-hero-copy { padding-bottom:0; }
  .hp-hero-copy>.eyebrow { font-size:12px; margin-bottom:14px; }
  .hp-hero h1 { font-size:43px; line-height:1.2; }
  .hp-hero-intro { font-size:21px; margin-top:21px; line-height:1.55; }
  .hp-hero-note { font-size:12px; margin-top:12px; line-height:1.9; max-width:320px; }
  .hp-hero-note br { display:block; }
  .hp-actions { margin-top:23px; gap:18px; }
  .hp-actions .button { font-size:12px; min-height:43px; padding:9px 16px; }
  .hp-actions .text-link { font-size:11px; }
  .hp-showcase-heading { margin-bottom:11px; }
  .hp-showcase-heading .eyebrow { font-size:11px; }
  .hp-course-count { font-size:10px; }
  .hp-video-label { top:11px; }
  .hp-play-button { top:43%; }
  .hp-play-button svg { width:24px; height:24px; }
  .hp-video-caption h2 { font-size:18px; line-height:1.35; }
  .hp-course-navigation { margin-top:15px; gap:10px; }
  .hp-slide-options { gap:12px 20px; }
  .hp-slide-option { min-height:44px; padding-top:8px; }
  .hp-rotation-toggle { width:28px; height:28px; }
  .hp-showcase-note { gap:12px; }
  .hp-showcase-note .text-link { font-size:10px; white-space:nowrap; }
  .hp-contact-trigger { bottom:calc(16px + env(safe-area-inset-bottom,0px)); right:8px; width:48px; height:48px; min-height:48px; padding:0; justify-content:center; gap:0; }
  .hp-contact-trigger>svg { width:21px; height:21px; }
  .hp-contact-trigger>span { display:none; }
  .hp-contact-panel { left:12px; right:12px; bottom:calc(76px + env(safe-area-inset-bottom,0px)); width:auto; max-width:none; max-height:calc(100dvh - 95px - env(safe-area-inset-bottom,0px)); padding:18px 17px 14px; }
  .hp-contact-panel-heading { gap:10px; }
  .hp-contact-panel-heading h2 { font-size:16px; }
  .hp-contact-panel-heading .eyebrow { font-size:9px; }
  .hp-contact-people { gap:15px; margin-top:19px; }
  .hp-contact-role h3 { font-size:16px; }
  .hp-contact-role p { font-size:9px; }
  .hp-qr-frame { height:163px; padding:6px; }
  .hp-contact-description { font-size:9px; margin-top:8px; }
  .hp-save-qr { font-size:10px; min-height:35px; }
  .hp-contact-footnote { font-size:9px; padding-top:10px; margin-top:9px; }
  body[data-page=home] #teaching>.wrap { padding-top:28px; padding-bottom:30px; }
  body[data-page=home] #teaching .section-heading { margin-bottom:21px; }
  body[data-page=home] #teaching .eyebrow { font-size:10px; }
  body[data-page=home] #teaching h2 { font-size:25px; }
  body[data-page=home] #teaching .principles { grid-template-columns:1fr 1fr; gap:23px 24px; }
  body[data-page=home] #teaching .principles h3 { font-size:13px; margin-top:7px; margin-bottom:6px; }
}
@media(max-width:350px) {
  .hp-hero h1 { font-size:38px; }
  .hp-hero-intro { font-size:19px; }
  .hp-contact-panel { padding-inline:12px; }
  .hp-contact-people { gap:10px; }
  .hp-qr-frame { height:145px; }
  .hp-contact-panel-heading h2 { font-size:15px; }
}
@media(prefers-reduced-motion:reduce) {
  .hp-play-button { transition:none; }
}
