@font-face{font-family:DM;src:url('assets/dm-sans.woff2') format('woff2');font-weight:400 700;font-display:swap}
:root{--red:#c90021;--paper:#faf7f5;--ink:#0a0a0a;--ease:cubic-bezier(.2,.7,.2,1)}*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:92px}body{margin:0;color:var(--ink);background:radial-gradient(ellipse at 20% 12%,#ffffffa0,transparent 55%),var(--paper);font:400 16px/1.45 DM,Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}img{display:block;width:100%;height:auto}h1,h2,h3,p,figure{margin:0}h1,h2{font-weight:400;letter-spacing:-.045em;line-height:1.03}h1 strong,h2 strong{font-weight:700}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}a:focus-visible,button:focus-visible{outline:3px solid #2456e9;outline-offset:4px}.container{width:min(1360px,calc(100% - 7%));margin-inline:auto}.button{background:linear-gradient(115deg,#e00024,#ad0016);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:clamp(.85rem,1.25vw,1.05rem);font-weight:600;line-height:1.25;padding:11px 19px;border:0;border-radius:3px;transition:transform .22s,filter .22s,box-shadow .22s;text-align:center}.button:hover{filter:brightness(1.08);transform:translateY(-2px);box-shadow:0 5px 15px #b0002024}.text-link{display:inline-flex;align-items:center;gap:10px;font-size:clamp(.75rem,1.1vw,.95rem);line-height:1.3;position:relative;padding-bottom:2px;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}.text-link svg{width:19px;height:19px}.text-link:hover{color:var(--red)}.section-label{display:flex;align-items:center;gap:14px;color:var(--red);font-weight:700;font-size:clamp(.75rem,1.3vw,1.15rem);letter-spacing:.005em;line-height:1.3;white-space:nowrap}.section-label>span{height:1px;background:var(--red);flex:1;min-width:20px}.skip{position:fixed;left:15px;top:-90px;z-index:300;background:#fff;padding:14px}.skip:focus{top:10px}.header{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 1px 0 #11101412}.header-inner{height:clamp(72px,6.4vw,94px);display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;align-items:center;gap:16px;flex-shrink:0}.brand img{width:clamp(58px,6.1vw,83px);height:clamp(58px,6.1vw,83px);object-fit:contain;border-radius:50%}.brand-text{display:block;border-left:2px solid var(--red);padding-left:16px;line-height:1.05;white-space:nowrap}.brand-text>span{display:block;font-size:clamp(1.03rem,1.85vw,1.6rem);letter-spacing:-.025em}.brand-text>strong{display:block;font-weight:700;font-size:clamp(1rem,1.7vw,1.5rem);letter-spacing:-.035em;margin-top:2px}.brand-text small{display:block;font-size:clamp(.48rem,.8vw,.65rem);letter-spacing:.33em;margin-top:6px}.header nav{display:flex;align-items:center;gap:clamp(16px,2vw,31px)}.header nav>a:not(.button){font-size:clamp(.8rem,1.3vw,1.08rem);white-space:nowrap;position:relative}.header nav>a:not(.button)::after{content:"";position:absolute;bottom:-6px;left:0;right:0;background:var(--red);height:1px;transform:scaleX(0);transform-origin:left;transition:transform .2s}.header nav>a:hover::after{transform:scaleX(1)}.header .nav-cta{white-space:nowrap;padding:9px 13px;font-size:clamp(.8rem,1.2vw,1rem)}.menu-toggle{display:none}.hero{position:relative;overflow:hidden;height:clamp(310px,30vw,435px)}.hero-photo{position:absolute;inset:0 0 0 34%;clip-path:polygon(15% 0,100% 0,100% 100%,0 100%);background:#b9b5b2}.hero-photo img{height:100%;object-fit:cover;object-position:60% 0%;animation:hero-in 1s var(--ease)}.hero-inner{height:100%;position:relative;display:flex;align-items:center}.hero-copy{width:41%;padding:12px 0 16px}.hero .section-label{margin-bottom:12px;font-size:clamp(.7rem,1.25vw,1.05rem)}.hero h1{font-size:clamp(2.45rem,4.15vw,3.75rem);line-height:.96;margin-bottom:12px;letter-spacing:-.05em}.hero-copy>p:not(.section-label){font-size:clamp(.85rem,1.4vw,1.2rem);line-height:1.25;max-width:100%}.hero-actions{display:flex;align-items:center;gap:20px;margin-top:15px;white-space:nowrap}.hero-actions .button{font-size:clamp(.8rem,1.25vw,1.05rem);padding:9px 17px}.hero-actions .text-link{font-size:clamp(.65rem,1vw,.9rem);gap:8px}.motto{background:linear-gradient(100deg,#111,#232323 50%,#111);color:#fff}.motto .container{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:clamp(44px,4.2vw,61px);padding:5px 0}.motto p{font-size:clamp(1.05rem,2.1vw,1.8rem);line-height:1.25;letter-spacing:-.025em}.motto i{height:26px;width:2px;background:var(--red);flex-shrink:0}.programs{padding:13px 0 18px}.programs>h2{font-size:clamp(1.9rem,3.55vw,3.1rem);margin-top:4px;margin-bottom:12px;line-height:1.13;white-space:nowrap}.program-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.5vw,35px)}.program-card{display:block;min-width:0}.card-image{aspect-ratio:2.05;overflow:hidden;background:#d7d1cb}.card-image img{width:100%;height:100%;object-fit:cover;object-position:center 45%;transition:transform .55s var(--ease),filter .4s}.program-card:hover .card-image img{transform:scale(1.045);filter:contrast(1.03)}.card-caption{border-left:3px solid var(--red);padding-left:12px;margin:7px 0 0 1px}.card-caption h3{font-size:clamp(1.25rem,2.1vw,1.9rem);line-height:1.05;font-weight:700;letter-spacing:-.03em}.card-caption p{font-size:clamp(.72rem,1.15vw,1rem);line-height:1.25;margin-top:2px}.about{display:grid;grid-template-columns:1.5fr 1fr;gap:20px;align-items:stretch;margin-bottom:15px}.about-picture{position:relative;overflow:hidden;min-height:210px;background:#ccc}.about-picture>img{height:100%;width:100%;object-fit:cover;object-position:center 48%}.diagonal-right{clip-path:polygon(0 0,100% 0,85.5% 100%,0 100%)}.slash{position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,#e50024,#ad0018)}.diagonal-right .slash{clip-path:polygon(96% 0,100% 0,85.5% 100%,81.5% 100%)}.about-copy{padding:2px 0 3px;margin-left:-8px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0}.about-copy .section-label{width:100%;margin-bottom:12px}.about h2{font-size:clamp(2rem,3.55vw,3.1rem);margin-left:-14px;margin-bottom:7px;line-height:1.04}.about-copy>p:not(.section-label){font-size:clamp(.85rem,1.35vw,1.2rem);line-height:1.2;margin-left:-29px;margin-bottom:9px}.about-copy .text-link{margin-left:-33px}.teacher{display:grid;grid-template-columns:.92fr 1.22fr;gap:0;align-items:stretch;margin-bottom:17px}.teacher-copy{padding:0 8px 6px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;position:relative;z-index:1}.teacher-copy .section-label{margin-bottom:12px;width:calc(100% - 12px)}.teacher-copy h2{font-size:clamp(2rem,3.55vw,3.15rem);line-height:1.02;margin-bottom:8px}.teacher-copy>p:not(.section-label){font-size:clamp(.8rem,1.2vw,1.05rem);line-height:1.25;max-width:87%;margin-bottom:10px}.teacher-copy .text-link{font-size:clamp(.72rem,1.1vw,.95rem)}.teacher-picture{position:relative;overflow:hidden;min-height:215px;background:#ccc;margin-left:-45px}.teacher-picture>img{height:100%;width:100%;object-fit:cover;object-position:50% 0%;position:absolute;inset:0}.diagonal-left{clip-path:polygon(16% 0,100% 0,100% 100%,0 100%)}.diagonal-left .slash{clip-path:polygon(16% 0,19.5% 0,3.5% 100%,0 100%)}.schedule{display:grid;grid-template-columns:.8fr 1.65fr 1fr;gap:27px;align-items:center;margin-bottom:18px}.schedule-heading{padding:0 14px 0 5px;border-right:2px solid var(--red)}.schedule h2{font-size:clamp(1.9rem,3.3vw,2.9rem);line-height:.98;margin-bottom:5px}.example-tag{display:inline-block;padding:3px 8px;font-size:clamp(.6rem,.95vw,.8rem);background:#e9e8e7;border-radius:2px;white-space:nowrap}.example-tag span{color:var(--red)}.schedule-table{min-width:0}table{border-collapse:collapse;width:100%;text-align:left;font-size:clamp(.72rem,1.1vw,.95rem);line-height:1.3}th,td{padding:3px 14px;white-space:nowrap}thead{background:#d2d2d2}thead th{font-weight:700}thead th:first-child{border-radius:3px 0 0 3px}thead th:last-child{border-radius:0 3px 3px 0}tbody tr{border-bottom:1px solid #737373}tbody th{font-weight:700}.schedule-contact{border-left:2px solid var(--red);padding-left:28px}.schedule-contact p{font-size:clamp(.8rem,1.2vw,1.05rem);line-height:1.3;margin-bottom:12px}.schedule-contact .button{font-size:clamp(.75rem,1.1vw,1rem);padding:9px 14px;white-space:nowrap}.location{border-top:1px solid #9b8d8d;padding:8px 5px 13px}.location>h2{font-size:clamp(1.65rem,2.7vw,2.5rem);line-height:1.15;margin-bottom:8px}.location-grid{display:grid;grid-template-columns:1.38fr 1fr;gap:27px;align-items:stretch}.map{position:relative;overflow:hidden;background:#dedede;border-radius:7px;min-height:124px}.location-copy{padding-left:25px;border-left:2px solid var(--red);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.location-copy h3{font-size:clamp(1.15rem,1.9vw,1.7rem);line-height:1.1;letter-spacing:-.02em}.location-copy>p{font-size:clamp(.75rem,1.15vw,1rem);line-height:1.3;margin:2px 0 7px}.contact-link{display:flex;align-items:center;gap:8px;font-size:clamp(.7rem,1.1vw,.98rem);line-height:1.25;margin-bottom:7px;max-width:100%}.contact-link svg{width:22px;height:22px}.contact-link strong{font-weight:700}.contact-link:hover{color:var(--red)}.contact-button{min-width:195px;padding:8px 18px;font-size:clamp(.8rem,1.2vw,1.05rem)}.closing{background:linear-gradient(110deg,#bd0018,#d10020 65%,#b9001b);color:#fff;position:relative;overflow:hidden}.closing::after{content:"";position:absolute;right:1.2%;top:-10px;height:200%;width:12px;background:var(--paper);transform:rotate(31deg)}.closing .container{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:62px;padding-block:8px;position:relative;z-index:1}.closing h2{font-size:clamp(1.7rem,2.85vw,2.6rem);line-height:1.1;white-space:nowrap}.closing .container>span{height:34px;width:1px;flex-shrink:0;background:#fff}.closing .button{border-radius:0;min-width:270px;min-height:34px;padding:8px 20px;gap:12px}.button-light{background:#fff;color:#080808}.button-light:hover{filter:brightness(.98)}.button-light svg{width:19px;height:19px}.footer{background:linear-gradient(110deg,#121212,#222 50%,#111);color:#fff;padding:6px 0 5px}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.reveal{opacity:1}.reveal.is-entering{animation:reveal-in .6s var(--ease) both}@keyframes reveal-in{from{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes hero-in{from{transform:scale(1.025);opacity:.75}to{transform:scale(1);opacity:1}}
@media(min-width:1450px){.hero{height:440px}.about-picture{min-height:285px}.teacher-picture{min-height:285px}.map{min-height:160px}.programs{padding-top:18px;padding-bottom:24px}.about,.teacher{margin-bottom:20px}.schedule{margin-bottom:25px}.location{padding-top:13px;padding-bottom:18px}}
@media(max-width:1150px){.header-inner{gap:20px}.header nav{gap:18px}.brand{gap:13px}.brand-text{padding-left:13px}.brand-text>span{font-size:1.05rem}.brand-text>strong{font-size:1.05rem}.brand-text small{font-size:.47rem}.brand img{width:58px;height:58px}.header nav>a:not(.button){font-size:.8rem}.header .nav-cta{font-size:.8rem;padding-inline:10px}.hero-actions{gap:18px}.schedule{gap:24px;grid-template-columns:.8fr 1.6fr 1.05fr}.schedule-contact{padding-left:24px}.schedule-contact .button{padding-inline:12px}.contact-link{gap:7px}}
@media(max-width:950px){.container{width:calc(100% - 48px)}.header-inner{height:78px}.brand img{width:59px;height:59px}.brand-text>span{font-size:1.15rem}.brand-text>strong{font-size:1.1rem}.header nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);padding:15px 24px 23px;border-bottom:1px solid #dbd0cc;box-shadow:0 10px 20px #0001}.header nav.open{display:flex;flex-direction:column;align-items:stretch;gap:0}.header nav>a:not(.button){font-size:1rem;padding:11px 0;border-bottom:1px solid #e2d9d5}.header nav>a::after{display:none}.header .nav-cta{font-size:.9rem;margin-top:15px;min-height:44px}.menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:42px;height:42px;background:transparent;border:1px solid #cfbdb7;border-radius:3px;flex-shrink:0}.menu-toggle span{width:20px;height:2px;background:var(--ink);transition:transform .2s}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(4px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-4px) rotate(-45deg)}.hero{height:320px}.hero-copy{width:45%;padding-block:8px}.hero h1{font-size:2.55rem;margin-bottom:10px}.hero-copy>p:not(.section-label){font-size:.85rem}.hero-photo{left:35%;clip-path:polygon(20% 0,100% 0,100% 100%,0 100%)}.hero-actions{gap:10px;align-items:flex-start;flex-direction:column;margin-top:13px}.hero-actions .button{font-size:.8rem;padding:9px 14px}.hero-actions .text-link{font-size:.7rem}.hero .section-label{font-size:.7rem;margin-bottom:11px}.motto .container{gap:15px;min-height:44px}.motto p{font-size:1.05rem}.motto i{height:24px}.programs>h2{font-size:2.1rem;white-space:normal}.section-label{font-size:.75rem}.card-caption{padding-left:9px}.card-caption h3{font-size:1.3rem}.card-caption p{font-size:.7rem}.program-grid{gap:20px}.about{grid-template-columns:1.25fr 1fr;gap:12px}.about-picture{min-height:210px}.about h2{font-size:2rem;margin-left:-10px}.about-copy .section-label{margin-bottom:10px}.about-copy>p:not(.section-label){font-size:.8rem;line-height:1.3;margin-left:-18px}.about-copy .text-link{font-size:.7rem;margin-left:-20px}.teacher-copy .section-label{font-size:.7rem;gap:10px}.teacher-copy h2{font-size:2rem}.teacher-copy>p:not(.section-label){font-size:.75rem;max-width:90%;line-height:1.3}.teacher-copy .text-link{font-size:.65rem}.teacher-picture{min-height:225px;margin-left:-15px}.schedule{grid-template-columns:.8fr 1.55fr;gap:20px}.schedule-heading{grid-row:span 2;align-self:stretch;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.schedule h2{font-size:2.1rem}.example-tag{font-size:.55rem;padding-inline:5px}table{font-size:.75rem}th,td{padding:4px 10px}.schedule-contact{border-left:0;padding:0;display:flex;align-items:center;gap:20px;justify-content:space-between}.schedule-contact p{font-size:.75rem;line-height:1.25;margin:0}.schedule-contact .button{font-size:.7rem;padding:8px 11px}.schedule-contact p br{display:none}.location-copy{padding-left:18px}.location-grid{gap:22px;grid-template-columns:1.1fr 1fr}.location-copy h3{font-size:1.2rem}.location-copy>p{font-size:.7rem}.contact-link{font-size:.65rem;gap:5px}.contact-link svg{width:19px;height:19px}.contact-button{min-width:170px;font-size:.8rem}.map{min-height:135px}.closing .container{gap:20px;min-height:64px}.closing h2{font-size:1.75rem;white-space:normal}.closing .button{min-width:220px;font-size:.75rem;padding:8px 13px}}
@media(max-width:720px){html{scroll-padding-top:20px}.container{width:calc(100% - 36px)}.header-inner{height:80px;gap:15px}.brand{gap:11px}.brand img{width:55px;height:55px}.brand-text{padding-left:11px;border-width:2px}.brand-text>span{font-size:.95rem}.brand-text>strong{font-size:.98rem}.brand-text small{font-size:.4rem;letter-spacing:.25em;margin-top:5px}.menu-toggle{width:39px;height:39px}.hero{height:auto;display:flex;flex-direction:column;background:var(--paper)}.hero-inner{height:auto;order:0}.hero-copy{width:100%;padding:22px 0 25px}.hero .section-label{font-size:.75rem;margin-bottom:16px;gap:13px}.hero h1{font-size:clamp(2.7rem,10.6vw,3.5rem);line-height:.99;max-width:100%;margin-bottom:15px}.hero-copy>p:not(.section-label){font-size:.9rem;line-height:1.5}.hero-copy>p:not(.section-label) br{display:none}.hero-actions{flex-direction:row;flex-wrap:wrap;gap:16px;align-items:center;margin-top:20px}.hero-actions .button{font-size:.8rem;padding:12px 14px;min-height:44px}.hero-actions .text-link{font-size:.7rem;gap:6px}.hero-photo{position:relative;inset:auto;order:1;width:100%;height:255px;clip-path:polygon(9% 0,100% 0,100% 100%,0 100%)}.hero-photo img{object-position:60% 0%}.motto .container{padding:14px 0;min-height:0;gap:9px;justify-content:space-between}.motto p{font-size:.76rem;line-height:1.35;max-width:100px;text-align:center}.motto p strong{display:block;font-size:.94rem}.motto i{width:1px;height:29px}.programs{padding-top:24px;padding-bottom:28px}.section-label{font-size:.7rem;letter-spacing:.015em;gap:12px;white-space:normal}.section-label>span{min-width:20px}.programs>h2{font-size:2rem;line-height:1.08;margin:8px 0 20px;letter-spacing:-.045em;max-width:345px}.program-grid{grid-template-columns:1fr;gap:23px}.card-image{aspect-ratio:1.85}.card-caption{margin-top:9px;padding-left:11px;border-left-width:3px}.card-caption h3{font-size:1.45rem}.card-caption p{font-size:.85rem;line-height:1.4;margin-top:3px}.about{grid-template-columns:1fr;gap:18px;margin-bottom:30px}.about-picture{height:210px;min-height:0;order:1;clip-path:polygon(0 0,100% 0,90% 100%,0 100%)}.about-picture>img{object-position:center 45%}.diagonal-right .slash{clip-path:polygon(96% 0,100% 0,90% 100%,86% 100%)}.about-copy{order:0;margin-left:0;padding:0;display:block}.about-copy .section-label{margin-bottom:12px}.about h2{font-size:2.3rem;margin:0 0 13px;line-height:1.05}.about-copy>p:not(.section-label){font-size:.9rem;line-height:1.6;margin:0 0 12px}.about-copy .text-link{font-size:.8rem;margin-left:0;line-height:1.4;gap:6px}.about h2 br{display:none}.teacher{grid-template-columns:1fr;gap:18px;margin-bottom:29px}.teacher-copy{padding:0;display:block}.teacher-copy .section-label{font-size:.7rem;width:100%;margin-bottom:12px}.teacher-copy h2{font-size:2.3rem;line-height:1.03;margin-bottom:13px}.teacher-copy>p:not(.section-label){max-width:none;font-size:.9rem;line-height:1.6;margin-bottom:13px}.teacher-copy .text-link{font-size:.8rem;line-height:1.4}.teacher-picture{height:235px;min-height:0;margin-left:0;clip-path:polygon(10% 0,100% 0,100% 100%,0 100%)}.teacher-picture>img{object-position:50% 0%}.diagonal-left .slash{clip-path:polygon(10% 0,14% 0,4% 100%,0 100%)}.schedule{display:block;margin-bottom:27px}.schedule-heading{display:block;position:relative;border:0;border-left:3px solid var(--red);padding:0 0 0 12px;margin-bottom:17px}.schedule h2{font-size:2rem;line-height:1.08;margin-bottom:9px}.schedule h2 br{display:none}.example-tag{font-size:.65rem;padding:4px 7px}.schedule-table{width:100%;overflow-x:auto}table{font-size:.73rem;line-height:1.5}th,td{padding:7px 9px}tbody tr:last-child{border-bottom:1px solid #737373}.schedule-contact{margin-top:17px;display:block;padding:0}.schedule-contact p{font-size:.8rem;margin-bottom:11px}.schedule-contact .button{font-size:.8rem;min-height:44px;padding:12px 16px}.location{padding:20px 0 25px;border-top-color:#c7b9b5}.location>h2{font-size:1.9rem;line-height:1.1;margin-bottom:17px}.location-grid{grid-template-columns:1fr;gap:20px}.map{height:155px;min-height:0;border-radius:5px}.location-copy{padding-left:13px;border-left-width:3px}.location-copy h3{font-size:1.35rem;margin-bottom:4px}.location-copy>p{font-size:.85rem;margin-bottom:14px}.contact-link{font-size:.78rem;gap:7px;margin-bottom:12px;flex-wrap:wrap}.contact-link svg{width:22px;height:22px}.contact-link>span{overflow-wrap:anywhere}.contact-link strong{font-size:.8rem}.contact-button{font-size:.85rem;min-height:43px;padding:11px 23px;margin-top:3px}.closing .container{display:block;padding:22px 0 25px;min-height:0}.closing h2{font-size:1.85rem;line-height:1.12;margin-bottom:17px;max-width:330px}.closing .container>span{display:none}.closing .button{font-size:.85rem;min-height:43px;min-width:250px;padding:11px 15px}.closing::after{right:3%;width:7px}.footer{padding:18px 0 14px}}
@media(max-width:355px){.container{width:calc(100% - 30px)}.brand img{width:47px;height:47px}.brand-text>strong{font-size:.82rem}.brand-text>span{font-size:.85rem}.brand-text small{font-size:.35rem}.brand{gap:9px}.brand-text{padding-left:9px}.header-inner{height:72px}.hero-actions{gap:14px}.hero-actions .button{font-size:.75rem;padding-inline:12px}.hero-actions .text-link{font-size:.68rem}.hero-photo{height:220px}.motto p{font-size:.67rem}.motto p strong{font-size:.85rem}table{font-size:.66rem}th,td{padding-inline:7px}.contact-link{font-size:.7rem;gap:6px}.closing .button{min-width:235px;font-size:.8rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

@media (min-width: 721px) {
  .teacher-picture { min-height: clamp(225px, 22vw, 320px); }
  .teacher-picture > img { object-position: 50% 4%; }
}

/* Keep section titles below the navigation when opening an anchor. */
html {
  scroll-padding-top: calc(clamp(72px, 6.4vw, 94px) + 14px);
}

.location-map {
  overflow: hidden;
  min-width: 0;
  border: 1px solid #cbbdbb;
  border-top: 3px solid var(--red);
  border-radius: 7px;
  background: #fff;
}

.map-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 14px;
  padding: 9px 14px;
  border-bottom: 1px solid #e8e0df;
  font-size: 0.875rem;
}

.map-heading > span,
.map-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
}

.map-heading svg {
  width: 18px;
  height: 18px;
}

.map-heading > span svg,
.map-heading > a {
  color: #ae001b;
}

.map-heading > a {
  padding: 5px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: clamp(260px, 26vw, 360px);
  border: 0;
}

.school-address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
  margin: 6px 0 16px;
}

.site-footer {
  background: #191919;
  color: #fff;
  padding: 28px 0 18px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 28px;
}

.footer-identity > a,
.footer-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-identity > a {
  align-items: center;
  font-size: 1.0625rem;
  line-height: 1.35;
}

.footer-identity img {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
}

.footer-discipline {
  display: block;
  font-size: 0.9375rem;
  color: #ddd;
  margin-top: 4px;
}

.footer-group {
  min-width: 0;
  border-left: 1px solid #5c5355;
  padding-left: 22px;
}

.footer-group h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: 6px;
}

.footer-link {
  padding: 6px 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.footer-link svg {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: #ff8b9c;
}

.footer-detail {
  display: block;
  color: #dedede;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 22px;
  border-top: 1px solid #5c5355;
  margin-top: 22px;
  padding-top: 15px;
  font-size: 0.875rem;
  color: #dedede;
}

.footer-meta a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link:hover,
.footer-meta a:hover {
  color: #ffb3c0;
}

@media (max-width: 950px) {
  html { scroll-padding-top: 92px; }
  .header nav {
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
  }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .footer-identity { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 94px; }
}

@media (max-width: 560px) {
  .footer-columns { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .footer-group { padding: 16px 0 0; border-left: 0; border-top: 1px solid #5c5355; }
  .footer-link { min-height: 44px; }
  .footer-meta { flex-direction: column; }
}

@media (max-width: 355px) {
  html { scroll-padding-top: 86px; }
}
