@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Armenian:wght@400;500;600;700;800;900&display=swap');
:root{color-scheme:dark;--ink:#f1f1f1;--orange:#ef4444;--paper:#090909;--line:#404040;--muted:#b2b2b2;--green:#353535;--surface:#171717;--deep:#050505}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.65 'Noto Sans Armenian',Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--orange);outline-offset:5px}header{height:96px;display:flex;align-items:center;justify-content:space-between;max-width:1440px;margin:auto;padding:0 5%;gap:24px}.brand{display:flex;align-items:center;gap:10px;font-size:29px;font-weight:900;letter-spacing:-1.4px}.brand img{width:48px;height:48px;object-fit:contain}.brand small{display:block;font-size:8px;letter-spacing:2px;font-weight:600;margin-top:-5px}.orange{color:var(--orange)}nav{display:flex;gap:32px;font-size:13px;font-weight:600}.phone{font-size:14px;border:1px solid var(--line);padding:11px 17px;border-radius:30px}.menu{display:none}.wrap{max-width:1320px;margin:auto;padding:0 5%}.hero{display:grid;grid-template-columns:1.02fr 1fr;min-height:570px;padding-top:35px;padding-bottom:45px;gap:50px;align-items:center}.eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:2px;text-transform:uppercase;font-weight:700}.dot{width:7px;height:7px;background:var(--orange);border-radius:50%}h1{font-size:clamp(38px,4.8vw,66px);line-height:1.22;letter-spacing:-2px;margin:24px 0}h1 em{font-style:normal;color:var(--orange)}.intro{max-width:450px;color:var(--muted);font-size:16px;line-height:1.9}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:24px;border:1px solid transparent;border-radius:9px;padding:15px 22px;background:var(--orange);color:#1a1a1a;font-size:13px;font-weight:600}.btn.light{background:transparent;border-color:#595959;color:var(--ink)}.btn.orange{background:var(--orange);color:var(--ink)}.btn:hover{filter:brightness(1.12);transform:translateY(-1px)}.hero-photo{position:relative;height:480px;border-radius:160px 16px 16px 16px;background:#a0a0a0;overflow:hidden}.hero-photo>img{height:100%;width:100%;object-fit:cover;object-position:68% center}.hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#232323d9,transparent 70%)}.image-caption{position:absolute;left:30px;bottom:28px;color:white;z-index:1}.image-caption small{font-size:10px;letter-spacing:2px}.image-caption p{font-size:24px;line-height:1.5;margin:10px 0}.photo-badge{position:absolute;right:24px;top:24px;z-index:1;border:1px solid #ffffff70;color:white;backdrop-filter:blur(10px);border-radius:50%;width:90px;height:90px;display:grid;place-content:center;text-align:center;font-size:11px}.photo-badge b{font-size:26px;line-height:1.2}.mini-note{display:flex;align-items:center;gap:12px;margin-top:30px;font-size:11px;color:var(--muted)}.mini-note span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--green);color:var(--ink)}.strip{background:var(--deep);color:var(--ink);padding:24px 5%;display:flex;justify-content:space-around;gap:25px;font-size:12px}.strip span{color:#cccccc;margin-right:10px}.section{padding-top:78px;padding-bottom:78px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:32px}h2{font-size:clamp(26px,3vw,39px);line-height:1.4;letter-spacing:-1px;margin:12px 0}.section-head p{max-width:340px;color:var(--muted);font-size:13px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:28px;display:flex;flex-direction:column;align-items:start;min-height:235px;transition:.2s}.card:hover{transform:translateY(-4px);border-color:#979797}.card h3{font-size:18px;margin:24px 0 8px}.card p{font-size:12px;color:var(--muted);margin:0 0 22px}.card .arrow{margin-top:auto;font-size:22px;align-self:end}.icon{width:49px;height:49px;display:grid;place-items:center;border-radius:12px;background:var(--paper);font-size:24px}.exam-banner{display:grid;grid-template-columns:1.15fr 1fr;background:var(--green);border-radius:20px;padding:44px;gap:50px;margin-top:30px}.exam-banner h2{font-size:29px}.exam-banner p{font-size:13px}.exam-stats{display:flex;gap:26px;border-top:1px solid #5a5a5a;padding-top:25px;margin-top:20px}.exam-stats strong{display:block;font-size:34px;line-height:1.3}.exam-stats small{font-size:11px}.exam-visual{border:1px solid #4b4b4b;border-radius:13px;background:#212121;padding:24px;transform:rotate(2deg);align-self:center;box-shadow:0 10px 0 #131313}.exam-visual small{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.exam-visual h3{font-size:17px;margin:20px 0}.fake-answer{border:1px solid #4b4b4b;border-radius:8px;padding:12px;margin:8px 0;font-size:12px}.fake-answer.selected{background:#3f3f3f;border-color:#878787}.about{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.about img{width:100%;border-radius:16px;aspect-ratio:1.2;object-fit:cover}.about p{color:var(--muted);font-size:14px}.about .since{display:flex;gap:20px;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.since strong{font-size:36px}.since small{max-width:130px}.team{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.person img{width:100%;aspect-ratio:1/1.2;object-fit:cover;border-radius:12px}.person h3{font-size:13px;font-weight:600}.contact{display:grid;grid-template-columns:1fr 1fr;gap:40px;background:var(--deep);border:1px solid var(--line);border-radius:20px;color:var(--ink);padding:50px}.contact h2{font-size:34px}.contact p{color:#c0c0c0}.contact a{display:block;border-bottom:1px solid #575757;padding:15px 0}.contact small{display:block;color:#b5b5b5;font-size:10px}.contact .social{display:flex;gap:20px;font-size:12px}footer{max-width:1320px;margin:auto;padding:50px 5% 30px;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}footer p,footer small{font-size:11px;color:var(--muted)}footer div{display:flex;gap:20px;font-size:12px}.page-top{padding:45px 0 20px}.page-top h1{font-size:42px;max-width:850px}.crumb{font-size:12px;color:var(--muted)}.toolbar{display:flex;gap:15px;margin:25px 0;flex-wrap:wrap}.toolbar input{flex:1;min-width:200px}.toolbar input,.toolbar select{border:1px solid var(--line);border-radius:9px;background:var(--surface);padding:13px;color:var(--ink)}.sign-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.sign{background:var(--surface);border:1px solid var(--line);padding:25px;border-radius:13px}.sign img{height:90px;max-width:100%;object-fit:contain}.sign h3{font-size:14px}.sign p{font-size:12px;color:var(--muted)}.sign-images{display:flex;gap:10px;flex-wrap:wrap}.sign-images img{height:60px;max-width:90px}.question{background:var(--surface);padding:30px;border:1px solid var(--line);border-radius:15px;margin:20px 0}.question h3{font-size:18px;line-height:1.7;margin:12px 0 20px}.question>img{max-width:100%;max-height:280px;display:block;margin:20px auto}.option{display:block;width:100%;text-align:left;padding:15px 18px;border:1px solid var(--line);background:var(--paper);border-radius:9px;margin:10px 0;color:var(--ink)}.option:hover{border-color:#8d8d8d}.option.correct{background:#383838;border-color:#9d9d9d}.option.wrong{background:#313131;border-color:#a1a1a1}.option.chosen{border:2px solid var(--ink);background:#3a3a3a}.feedback{font-size:13px;color:#cacaca}.test-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.test-tile{background:var(--surface);border:1px solid var(--line);padding:22px 10px;border-radius:10px;font-weight:600;color:var(--ink)}.test-tile:hover{background:var(--green)}.testbar{position:sticky;top:0;z-index:5;background:var(--deep);color:var(--ink);padding:13px 22px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:15px}.testbar button{padding:9px 16px;background:var(--green);border:0;border-radius:7px}.progress{height:5px;background:#3d3d3d;border-radius:4px;margin:20px 0}.progress div{height:100%;background:var(--orange)}details{background:var(--surface);border:1px solid var(--line);padding:20px;border-radius:12px;margin:12px 0}summary{cursor:pointer;font-weight:600}details p{color:var(--muted);font-size:14px}.source-note{font-size:11px;color:var(--muted);margin:24px 0}.empty{padding:40px;text-align:center}.skip{position:absolute;top:-80px}.skip:focus{top:0;background:var(--surface);z-index:10;padding:12px}.pager{display:flex;gap:15px;align-items:center;justify-content:center;margin:25px 0}.pager button{border:1px solid var(--line);background:var(--surface);padding:10px 15px;border-radius:8px}.pager button:disabled{opacity:.4;cursor:default}@media(max-width:950px){header{padding:0 4%;height:80px}nav{gap:16px;font-size:11px}.phone{display:none}.hero{gap:30px}.hero-photo{height:420px}h1{font-size:43px}.team{grid-template-columns:repeat(3,1fr)}.cards{gap:12px}.card{padding:20px}.test-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:650px){header{height:75px}.brand{font-size:25px}.brand img{width:39px;height:39px}.menu{display:block;background:transparent;border:1px solid var(--line);border-radius:8px;padding:5px 10px;font-size:22px}nav{display:none;position:absolute;top:75px;left:0;right:0;background:var(--paper);z-index:10;padding:20px;font-size:14px;border-bottom:1px solid var(--line)}nav.open{display:flex;flex-direction:column}.hero{grid-template-columns:1fr;padding-top:25px;gap:25px}.hero h1{font-size:43px;letter-spacing:-1px}.hero-photo{height:340px;border-radius:90px 14px 14px 14px}.intro{font-size:14px}.actions{margin-top:22px}.btn{font-size:12px;padding:14px 17px;gap:14px}.mini-note{margin-top:20px}.strip{flex-wrap:wrap;gap:14px;padding:20px;font-size:10px;justify-content:start}.strip>div{width:45%}.section{padding-top:45px;padding-bottom:45px}.section-head{display:block}.section-head p{max-width:none}.cards{grid-template-columns:1fr 1fr}.card{padding:19px;min-height:215px}.card h3{font-size:14px}.card p{font-size:11px}.exam-banner{grid-template-columns:1fr;padding:25px;gap:25px}.exam-banner h2{font-size:25px}.exam-stats{gap:25px}.exam-stats strong{font-size:28px}.exam-visual{transform:none}.about{grid-template-columns:1fr;gap:25px}.team{grid-template-columns:repeat(2,1fr)}.contact{grid-template-columns:1fr;padding:28px;gap:15px}.contact h2{font-size:29px}footer{display:block}footer div{margin:25px 0}.sign-grid{grid-template-columns:1fr 1fr;gap:10px}.sign{padding:15px}.sign p{font-size:11px}.sign h3{font-size:12px}.page-top h1{font-size:30px;letter-spacing:-.5px}.toolbar>*{width:100%}.test-grid{grid-template-columns:repeat(3,1fr)}.question{padding:18px}.question h3{font-size:15px}.option{font-size:13px;padding:12px}.testbar{font-size:11px;padding:12px}.testbar button{font-size:10px}.source-note{font-size:10px}}
.photo-badge{background:#25252580}.toolbar select{max-width:100%}.source-note a{text-decoration:underline}

/* Dark controls and interaction states across every route. */
button,input,select{color:var(--ink)}input::placeholder{color:#adadad;opacity:1}select option{background:var(--surface);color:var(--ink)}.btn.orange{color:#1a1a1a}.btn.light:hover,.phone:hover,.pager button:hover,.option:hover{background:#313131}.card:hover,.test-tile:hover{background:#313131}.icon{background:#323232;color:#d3d3d3}.mini-note span{color:#d3d3d3}.option.correct{color:#e7e7e7}.option.wrong{color:#dfdfdf}.option.chosen{border-color:var(--orange)}.testbar button{color:#e4e4e4;border:1px solid #6b6b6b}.testbar button:disabled{opacity:.6;cursor:default}.menu{color:var(--ink)}.hero-photo{background:var(--surface)}.hero-photo>img{filter:brightness(.76)}.photo-badge{background:#151515b3}.strip{border-block:1px solid var(--line)}footer{border-top:1px solid var(--line)}::selection{background:#5b5b5b;color:#fff}
/* Preserve the original sign colors and dark diagram labels on a muted image plate. */
.question>img{background:#b5b5b5;border-radius:8px;padding:10px}.sign img{background:#b5b5b5;border-radius:6px;padding:5px}.option.correct:disabled:hover{background:#383838;border-color:#9d9d9d}.option.wrong:disabled:hover{background:#313131;border-color:#a1a1a1}

/* Logo palette: black, white, and red. */
.btn,.btn.orange{background:#c9252d;color:#fff}.btn.light{background:transparent;color:var(--ink)}.btn:hover{filter:brightness(1.16)}.btn.light:hover{background:#252525}.icon,.mini-note span{color:#fff;background:#292929}.dot,.progress div{background:#ef4444}.hero-photo>img{filter:grayscale(1) brightness(.72)}.about>img,.person img{filter:grayscale(1)}.option.correct,.option.correct:disabled:hover{background:#292929;border-color:#eee;color:#fff}.option.correct:before{content:"✓ ";font-weight:800}.option.wrong,.option.wrong:disabled:hover{background:#351316;border-color:#ef6970;color:#fff}.option.wrong:before{content:"✕ ";font-weight:800}.feedback{color:#ddd}.testbar button{background:#c9252d;border-color:#c9252d;color:#fff}::selection{background:#a51e25;color:#fff}

.hero-photo.driving-art{height:auto;aspect-ratio:600/540;border-radius:24px;border:1px solid #303030;background:#111}.hero-photo.driving-art>img{filter:none;object-fit:contain}.hero-photo.driving-art:after{display:none}.about>img[src*="driving-skills"]{filter:none;object-fit:contain;aspect-ratio:600/500;border:1px solid #303030}
.hero{grid-template-columns:minmax(0,1.02fr) minmax(0,1fr)}.hero-photo.driving-art{min-width:0;width:100%}.hero-photo.driving-art>img{display:block;width:100%;height:100%}@media(max-width:650px){.hero{grid-template-columns:minmax(0,1fr)}}

/* Allow columns and long Armenian text to fit narrow screens. */
.cards>* ,.about>* ,.contact>* ,.exam-banner>*{min-width:0}.about,.contact,.exam-banner{grid-template-columns:repeat(2,minmax(0,1fr))}.card h3,.contact a,h1,h2{overflow-wrap:anywhere}.about>img{min-width:0}.hero h1{font-size:clamp(32px,4.8vw,66px)}@media(max-width:650px){.about,.contact,.exam-banner{grid-template-columns:minmax(0,1fr)}.hero h1{font-size:clamp(30px,9vw,43px)}.mini-note{font-size:10px}.exam-stats{gap:16px}.contact .social{flex-wrap:wrap}}

/* Compact editorial layout and stronger logo accents. */
:root{--paper:#080808;--ink:#f5f2ed;--surface:#0c0c0c;--green:#13090a;--orange:#ef4d57;--line:#45413f;--muted:#bcb5af}
.hero{min-height:490px;padding-top:25px;padding-bottom:32px;gap:40px}.hero h1{margin:18px 0;font-size:clamp(32px,4.4vw,60px)}.intro{line-height:1.7;max-width:390px}.hero .intro{max-width:360px}.section{padding-top:56px;padding-bottom:56px}.section-head{margin-bottom:25px}.card{min-height:210px;background:#0b0b0b;border-color:#45413f}.card h3{margin-top:18px}.card p{margin-bottom:12px}.icon{background:#290b10;color:#ff6870}.card:hover{background:#180b0d;border-color:#c72b35}.card .arrow{color:#ef4d57}.btn,.btn.orange{background:#c52630}.btn.light{background:transparent}.exam-banner{background:#16090b;border:1px solid #62222a;padding:32px}.exam-visual{background:#090909;box-shadow:0 8px 0 #250b10;border-color:#71343a}.fake-answer.selected{background:#2b0c11;border-color:#b7333e}.exam-stats strong{color:#f5f2ed}.eyebrow{letter-spacing:1.4px}.contact{padding:36px;border-color:#62222a}.contact h2{margin-bottom:16px}.hero-photo.driving-art{box-shadow:0 0 65px -25px #a71929;border-color:#562029}.strip span{color:#ef4d57}.mini-note span{background:#290b10;color:#ff6870}nav a:hover,nav a[aria-current="page"]{color:#ff6870}nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:7px}
@media(max-width:650px){.hero{min-height:0;gap:24px}.hero h1{font-size:clamp(30px,9vw,43px)}.section{padding-top:36px;padding-bottom:36px}.card{min-height:200px}.exam-banner,.contact{padding:24px}.hero .intro{font-size:14px}}

/* About page: original-color portraits, text-only introduction, concise contact panel. */
.person img{filter:none}.about-copy{padding-top:20px;padding-bottom:15px;max-width:920px}.about-copy h2{font-size:26px;margin:0 0 14px}.about-copy p{font-size:14px;color:var(--muted);line-height:1.8;max-width:820px;margin:10px 0}.about-copy .since{display:flex;align-items:center;gap:14px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.about-copy .since strong{font-size:26px;color:var(--orange)}.about-copy .since small{max-width:none;font-size:12px;color:var(--muted)}
.contact.contact-compact{grid-template-columns:190px minmax(0,1fr);gap:24px;padding:22px 26px;align-items:start;border-radius:14px}.contact-compact h2{font-size:23px;margin:0 0 5px}.contact-compact p{font-size:12px;margin:0}.contact-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px}.contact-compact a{padding:0;border:0;font-size:13px;line-height:1.6}.contact-compact small{font-size:9px;margin-bottom:4px}.contact-phones{display:flex;flex-wrap:wrap;gap:4px 18px}.contact-compact .social{align-self:end;flex-wrap:wrap;gap:14px}.contact-compact .social a{font-size:11px}.contact-compact a:hover{color:#ff6870}
@media(max-width:950px){.contact.contact-compact{grid-template-columns:minmax(0,1fr);gap:16px}.contact-title{display:flex;align-items:baseline;gap:18px}.contact-compact h2{margin:0}}@media(max-width:650px){.contact.contact-compact{padding:20px}.contact-details{grid-template-columns:minmax(0,1fr);gap:12px}.contact-title{display:block}.contact-title p{margin-top:4px}.contact-compact h2{font-size:21px}.about-copy{padding-top:10px}.about-copy p{font-size:13px}}

.brand-since{font-size:12px;font-weight:400;letter-spacing:.3px;white-space:nowrap;border-left:1px solid #633039;padding-left:14px;margin-left:6px;color:#bcb5af}.brand-since b{font-weight:600;color:#f5f2ed}@media(max-width:650px){header{gap:12px}.brand{gap:7px}.brand-since{font-size:10px;margin-left:1px;padding-left:8px}.brand small{letter-spacing:1.2px}}@media(min-width:651px) and (max-width:800px){header{gap:14px}header nav{gap:12px}.brand-since{font-size:10px;padding-left:8px;margin-left:0}.brand{gap:7px}}
/* Compact learning links: content determines height, no empty footer area. */
.cards{gap:12px}.cards .card{display:grid;grid-template-columns:34px minmax(0,1fr) 18px;grid-template-rows:auto auto;column-gap:12px;row-gap:5px;align-content:center;align-items:center;min-height:0;padding:19px 16px;border-radius:12px}.cards .card .icon{grid-column:1;grid-row:1 / 3;width:34px;height:34px;font-size:20px;border-radius:9px}.cards .card h3{grid-column:2;grid-row:1;margin:0;font-size:14px;line-height:1.55}.cards .card p{grid-column:2;grid-row:2;margin:0;font-size:11px;line-height:1.55}.cards .card .arrow{grid-column:3;grid-row:1 / 3;margin:0;align-self:center;font-size:19px}@media(max-width:950px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.cards{grid-template-columns:minmax(0,1fr);gap:9px}.cards .card{padding:15px 16px}.cards .card h3{font-size:14px}.cards .card p{font-size:11px}}

/* Keep the homepage sections close without stacked vertical padding. */
.home-resources{padding-bottom:12px}.section.home-about{padding-top:12px;padding-bottom:12px}.section.home-contact{padding-top:12px;padding-bottom:28px}

.cards .card{grid-template-columns:34px minmax(0,1fr)}
/* Three-language navigation and comfortable touch layouts. */
header{gap:18px}.language-select{min-height:44px;max-width:112px;background:#100c0d;color:var(--ink);border:1px solid #623039;border-radius:9px;padding:8px;font-size:12px;flex-shrink:0}.language-select option{background:#100c0d;color:#fff}header nav{gap:22px}.material-language{border-left:3px solid #c52630;background:#1a0c0f;padding:12px 16px;font-size:13px;line-height:1.6;margin:12px 0 22px;color:#eee}.toolbar select{min-width:0;max-width:100%}.pager button,.testbar button{min-height:44px}.cards .card p{font-size:12px}img{max-width:100%}.testbar{flex-wrap:wrap}.hero>*{min-width:0}html[lang=ru] .hero h1,html[lang=en] .hero h1{font-size:clamp(32px,4vw,56px);letter-spacing:-1.3px}.mini-note{flex-wrap:wrap}
@media(max-width:1100px){header .phone{display:none}header nav{gap:18px}.brand{font-size:25px}.brand-since{font-size:10px}.hero{gap:26px}.about{gap:30px}}
@media(min-width:651px) and (max-width:950px){header{flex-wrap:wrap;height:auto;min-height:100px;padding-top:12px;padding-bottom:12px;gap:8px 20px}header .brand{margin-right:auto}header nav{order:3;width:100%;justify-content:center;font-size:13px;gap:28px}.hero{padding-top:24px}.hero h1{font-size:36px}.hero .intro{font-size:14px}.hero .actions{gap:9px}.hero .btn{padding:12px 15px}.exam-banner{gap:24px;padding:24px}.about h2{font-size:28px}.about p{font-size:13px}.team{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){header{gap:8px;padding:0 4%;height:76px;position:relative}header .brand{gap:6px;font-size:22px;letter-spacing:-1px}header .brand img{width:34px;height:34px}header .brand small{font-size:6px;letter-spacing:1px}.brand-since{display:none}.language-select{width:92px;max-width:92px;margin-left:auto;padding:7px 4px;font-size:11px}.menu{min-width:44px;min-height:44px;padding:4px}header nav{top:76px;gap:6px}header nav a{padding:10px 0;min-height:44px}.wrap{padding-left:5%;padding-right:5%}.hero .actions{display:grid;grid-template-columns:1fr 1fr}.hero .btn{padding:13px 10px;min-height:48px}.hero h1,html[lang=ru] .hero h1,html[lang=en] .hero h1{font-size:clamp(31px,8.7vw,43px);letter-spacing:-.8px}.hero-photo.driving-art{max-height:390px}.strip{gap:12px}.strip>div{width:calc(50% - 8px);min-width:0}.section-head h2{font-size:28px}.exam-banner h2{font-size:25px}.exam-stats{justify-content:space-between;gap:10px}.exam-stats small{font-size:10px}.about{gap:18px}.contact-phones a,.contact-compact .social a{min-height:36px;display:inline-flex;align-items:center}.contact-compact .social{gap:16px}.team{gap:12px}.person h3{overflow-wrap:anywhere;font-size:12px}.page-top{padding-top:18px}.page-top h1{font-size:29px}.toolbar{gap:10px}.toolbar input{min-width:0;width:100%}.toolbar select{width:100%}.sign-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sign h3{overflow-wrap:anywhere}.question{padding:16px}.option{min-height:48px}.pager{gap:10px;font-size:12px}.pager button{padding:8px 12px}.testbar{gap:10px;padding:12px}footer{padding-top:25px}footer div{display:flex;flex-wrap:wrap;gap:16px}footer div a{min-height:36px;display:flex;align-items:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.sign-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sign{min-width:0;overflow-wrap:anywhere}.sign-images{min-width:0}.sign-images img{max-width:100%}@media(max-width:950px){.sign-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.sign{padding:12px}}
@media(max-width:650px){header .brand{position:relative}header .brand-since{display:block;position:absolute;left:40px;bottom:-13px;padding:0;border:0;font-size:8px;letter-spacing:0;white-space:nowrap}}
/* Larger, closely grouped learning steps. */
.strip{justify-content:center;align-items:center;gap:28px;padding:20px 5%;font-size:16px;font-weight:600;flex-wrap:wrap}.strip>div{display:flex;align-items:center;gap:10px;width:auto;min-width:0}.strip span{font-size:22px;font-weight:700;line-height:1;margin:0}.strip>div:nth-child(4){font-size:13px;font-weight:400;color:var(--muted)}
@media(min-width:651px) and (max-width:1100px){.strip{gap:14px 24px;font-size:15px}.strip>div:nth-child(4){flex-basis:100%;justify-content:center}}
@media(max-width:650px){.strip{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:18px 5%;font-size:16px}.strip>div{width:auto}.strip span{font-size:22px}.strip>div:nth-child(4){font-size:12px;margin-top:2px;padding-top:10px;border-top:1px solid var(--line)}}
.contact-compact .social{gap:12px 18px}.contact-compact .social a{display:inline-flex;align-items:center;gap:7px;min-height:36px}.social-logo{width:22px;height:22px;object-fit:contain;flex:none;filter:none}.map-options{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.contact-compact .map-options a{display:inline-flex;align-items:center;min-height:36px;padding:5px 10px;border:1px solid #45373a;border-radius:7px;font-size:11px;line-height:1.3;background:#130d0f}.contact-compact .map-options a:hover{border-color:#c52630;color:#fff;background:#251014}.contact-compact .social a:hover span{text-decoration:underline;text-underline-offset:4px}
/* Hayki-style language buttons with DriveLive's red active state. */
.language-switch{display:flex;align-items:center;gap:5px;flex-shrink:0}.language-switch button{display:grid;place-items:center;min-width:40px;height:44px;padding:0 8px;border:1px solid #343034;border-radius:7px;background:#0b090a;color:#c8c2c3;font-size:11px;line-height:1;cursor:pointer;transition:background .15s,border-color .15s}.language-switch button:hover{border-color:#a34c55;color:#fff}.language-switch button[aria-pressed="true"]{border-color:#ca3b48;background:#291014;color:#ff929b;box-shadow:inset 0 0 0 1px #ca3b4822}.language-switch button:focus-visible{outline:2px solid #ff6870;outline-offset:3px}@media(max-width:950px) and (min-width:651px){.language-switch{margin-left:auto}}@media(max-width:650px){.language-switch{gap:3px;margin-left:auto}.language-switch button{min-width:32px;width:32px;height:44px;padding:0;font-size:10px}header{gap:6px}}
/* A compact contact header and three evenly balanced detail groups. */
.contact.contact-compact{position:relative;display:block;padding:18px 22px;border-radius:16px;border-color:#54242b;background:linear-gradient(120deg,#1a0b0e 0%,#0b090a 48%,#0b090a 100%)}.contact-compact .contact-title{display:flex;align-items:baseline;gap:14px;padding:0 340px 13px 0;margin-bottom:14px;border-bottom:1px solid #3a2428}.contact-compact h2{font-size:21px;line-height:1.4;margin:0;white-space:nowrap}.contact-compact .contact-title p{font-size:11px;color:#bdb0b2}.contact-compact .contact-details{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:14px 24px;align-items:start}.contact-details>div{min-width:0}.contact-details>div:nth-child(2),.contact-details>div:nth-child(3){border-left:1px solid #34262a;padding-left:20px}.contact-compact small{font-size:9px;color:#f2707b;letter-spacing:.6px;margin-bottom:5px}.contact-compact .contact-details a{font-size:13px}.contact-phones{gap:5px 16px}.contact-compact .social{position:absolute;right:22px;top:14px;display:flex;gap:14px;align-items:center}.contact-compact .social a{font-size:11px;min-height:36px;gap:6px}.social-logo{width:20px;height:20px}.contact-compact .map-options{margin-top:7px;gap:7px}.contact-compact .map-options a{font-size:10px;min-height:30px;padding:5px 9px;background:#1a1013;border-color:#483037}.contact-compact .map-options a:hover{background:#32141b;border-color:#cc3f4d}
@media(max-width:950px){.contact-compact .contact-title{padding-right:0;display:flex;flex-wrap:wrap;gap:6px 14px}.contact-compact .social{position:static;grid-column:1/-1;border-top:1px solid #34262a;padding-top:10px;gap:20px}.contact-compact .contact-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.contact-details>div:nth-child(3){grid-column:1/-1;border-left:0;padding-left:0}.contact-compact .map-options{display:inline-flex;margin:0 0 0 12px;vertical-align:middle}.contact-compact .contact-details>div:nth-child(3)>a{display:inline}}
@media(max-width:650px){.contact.contact-compact{padding:17px 18px}.contact-compact .contact-title{margin-bottom:12px;padding-bottom:11px;gap:4px 12px}.contact-compact h2{font-size:21px}.contact-compact .contact-details{grid-template-columns:minmax(0,1fr);gap:11px}.contact-details>div:nth-child(2),.contact-details>div:nth-child(3){grid-column:auto;border-left:0;padding-left:0}.contact-compact .contact-details>div:nth-child(3)>a{display:block}.contact-compact .map-options{display:flex;margin:7px 0 0}.contact-compact .contact-details a{font-size:13px}.contact-compact .contact-phones a{min-height:30px}.contact-compact .social{flex-wrap:wrap;gap:8px 16px;padding-top:8px}.contact-compact .social a{font-size:11px}.contact-compact small{margin-bottom:2px}}
/* About introduction: a compact founding-year panel beside the school story. */
.about-page>.page-top{padding-top:30px;padding-bottom:20px}.about-page>.page-top h1{max-width:840px;font-size:clamp(31px,3.7vw,49px);line-height:1.35;margin:24px 0 15px;letter-spacing:-1.3px}.about-page>.page-top .intro{font-size:14px;max-width:none;margin:0;color:#c1b6b7}.about-page>.page-top h1:before{content:'';display:block;width:42px;height:4px;background:#ed4554;margin-bottom:18px;border-radius:3px}.about-page .about-copy{display:grid;grid-template-columns:185px minmax(0,1fr);max-width:none;gap:28px;padding:26px;margin-top:8px;margin-bottom:0;border:1px solid #4d252c;border-radius:18px;background:linear-gradient(115deg,#200d12,#0c090a 45%)}.about-copy .since{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;margin:0;padding:0 24px 0 0;border-top:0;border-right:1px solid #4a252c}.about-copy .since strong{font-size:56px;line-height:1;letter-spacing:-2px;color:#f65360}.about-copy .since small{font-size:11px;line-height:1.7;max-width:145px;color:#d1c0c3}.year-track{display:flex;align-items:center;gap:6px;margin-top:8px}.year-track i{display:block;width:23px;height:3px;border-radius:3px;background:#573038}.year-track i:first-child{width:40px;background:#ed4554}.about-story{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;align-content:center}.about-copy .about-story h2{grid-column:1/-1;font-size:23px;margin:0 0 8px}.about-copy .about-story p{font-size:13px;line-height:1.85;margin:0;color:#d0c6c7}.about-page>.section:not(.about-copy){padding-top:36px;padding-bottom:32px}
@media(max-width:950px){.about-page .about-copy{grid-template-columns:145px minmax(0,1fr);gap:22px;padding:22px}.about-copy .since strong{font-size:48px}.about-story{grid-template-columns:minmax(0,1fr);gap:10px}.about-copy .about-story h2{margin-bottom:0}.about-page>.page-top h1{font-size:37px;max-width:750px}}
@media(max-width:650px){.about-page>.page-top{padding-top:18px;padding-bottom:16px}.about-page>.page-top h1{font-size:30px;letter-spacing:-.7px;margin-top:20px}.about-page>.page-top .intro{font-size:12px}.about-page .about-copy{grid-template-columns:minmax(0,1fr);padding:20px;gap:17px;border-radius:14px}.about-copy .since{flex-direction:row;align-items:center;justify-content:flex-start;gap:15px;padding:0 0 15px;border-right:0;border-bottom:1px solid #4a252c}.about-copy .since strong{font-size:42px}.about-copy .since small{font-size:11px;max-width:150px}.year-track{display:none}.about-copy .about-story h2{font-size:22px}.about-copy .about-story p{font-size:13px;line-height:1.8}.about-page>.section:not(.about-copy){padding-top:28px}}

/* User-supplied DriveLive photos and films. */
.home-film{display:grid;grid-template-columns:1fr minmax(240px,360px);gap:7%;align-items:center;border-bottom:1px solid var(--line)}
.film-copy{max-width:540px}.film-copy h2{font-size:clamp(30px,4vw,48px);line-height:1.25;margin:20px 0}.film-copy p{color:var(--muted);line-height:1.8}
.film-frame{width:100%;max-width:340px;justify-self:center}.school-video{display:block;width:100%;aspect-ratio:9/16;object-fit:contain;background:#000;border:1px solid #40262a;border-radius:16px;overflow:hidden}
.photo-gallery{display:grid;grid-template-columns:1fr 1fr;gap:20px}.photo-gallery img{display:block;width:100%;height:540px;object-fit:cover;border-radius:14px}.photo-gallery img:first-child{object-position:center 30%}.photo-gallery .wide-photo{grid-column:1/-1;height:auto;aspect-ratio:3029/1836;object-fit:contain;background:#111}
.film-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,340px));justify-content:center;gap:32px}.film-gallery figure{margin:0}.film-gallery figcaption{font-size:14px;color:var(--muted);padding-top:12px}
.about-page .team{grid-template-columns:minmax(0,1fr)}.about-page .person{display:flex;align-items:center;gap:28px;padding:20px;border:1px solid var(--line);border-radius:16px;max-width:700px}.about-page .person img{width:210px;height:290px;aspect-ratio:auto;object-position:center 45%}.about-page .person h3{font-size:clamp(19px,2.2vw,27px);line-height:1.5}
@media(max-width:650px){.home-film{grid-template-columns:1fr;gap:28px}.film-frame{max-width:300px}.film-copy h2{font-size:30px}.photo-gallery{gap:12px}.photo-gallery img{height:310px}.film-gallery{gap:24px;grid-template-columns:minmax(0,330px)}.about-page .person{gap:16px;padding:14px}.about-page .person img{width:42%;height:230px}.about-page .person h3{font-size:18px}.photo-gallery .wide-photo{height:auto}}

.student-page{max-width:1100px}.student-preview-label{font-size:12px;color:var(--muted);margin:12px 0}.student-preview{max-height:240px;overflow:hidden;position:relative;pointer-events:none;user-select:none}.student-preview:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,var(--paper))}.student-preview .cards{grid-template-columns:repeat(3,minmax(0,1fr));filter:blur(1px);opacity:.55}.student-preview .test-grid{filter:blur(1px);opacity:.5}.student-unlock{position:relative;margin:-30px auto 25px;max-width:650px;border:1px solid #693039;border-radius:20px;background:linear-gradient(135deg,#211114,#0d0d0d);padding:34px;box-shadow:0 12px 50px #0007}.student-unlock h2{font-size:28px;margin:8px 0 15px}.student-unlock p{color:#d4c5c7}.lock-symbol{font-size:32px;color:var(--orange)}.student-unlock label{display:block;font-size:13px;margin-bottom:8px}.passcode-row{display:flex;gap:10px}.passcode-row input{width:100%;min-width:0;border:1px solid #775259;background:#080808;color:white;border-radius:9px;padding:12px;font-size:18px;letter-spacing:1px}.passcode-row .btn{white-space:nowrap;color:#fff}.student-unlock small{display:block;color:var(--muted);font-size:12px}.student-help{display:block;text-decoration:underline;margin-top:16px;font-size:13px}.student-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.student-toolbar button{border:1px solid var(--line);border-radius:8px;color:var(--ink);background:transparent;padding:8px 12px}#student-feedback{min-height:24px;font-size:13px}.student-unlock button:disabled{opacity:.55}
@media(max-width:650px){.student-unlock{padding:24px 18px}.student-unlock h2{font-size:24px}.passcode-row{flex-direction:column}.passcode-row .btn{width:100%}.student-preview .cards{grid-template-columns:repeat(3,200px)}.student-preview .test-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.student-preview{max-height:220px}}

.access-badge{display:inline-block;font-size:11px;line-height:1.4;padding:4px 8px;border:1px solid var(--line);border-radius:20px;float:right;color:var(--muted)}.access-badge.free{color:#d9f2de;border-color:#3d6247}.access-badge.paid{color:#f1b6bd;border-color:#75424b}
