:root {
  --ink: #090a0b;
  --ink-soft: #121416;
  --panel: #181a1d;
  --paper: #f1eee6;
  --muted: #a9aaad;
  --line: rgba(255, 255, 255, 0.15);
  --yellow: #f4c83f;
  --red: #ed3e37;
  --blue: #2768e8;
  --green: #63c59a;
  --purple: #a879e8;
  --max: 1280px;
  --display: "Unbounded", Arial, sans-serif;
  --body: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--ink); color: var(--paper); font: 500 16px/1.65 var(--body); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.055em; }
h2 { margin-bottom: 0; font-size: clamp(2.5rem, 5.5vw, 5.7rem); line-height: 1.03; text-transform: uppercase; }
h2 em { color: var(--yellow); font-style: normal; }

.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; background: var(--yellow); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.section { position: relative; padding: clamp(88px, 11vw, 155px) 0; }
.section-shell { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }
.texture { background-image: radial-gradient(rgba(255,255,255,.055) .7px, transparent .7px); background-size: 6px 6px; }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; color: #c5c6c8; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.kicker span { display: inline-grid; place-items: center; width: 31px; height: 31px; border: 1px solid currentColor; border-radius: 50%; color: var(--yellow); letter-spacing: 0; }
.kicker-dark { color: #333; }
.kicker-dark span { color: var(--red); }
.panel-cut { clip-path: polygon(0 0, 94% 0, 100% 7%, 100% 100%, 6% 100%, 0 93%); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-width: 248px; padding: 16px 20px; border: 1px solid transparent; font-size: .78rem; font-weight: 800; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translate(-3px, -3px); }
.button-accent { background: var(--yellow); color: var(--ink); box-shadow: 5px 5px 0 var(--red); }
.button-ink { background: var(--ink); color: #fff; box-shadow: 5px 5px 0 var(--red); }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; width: 100%; min-height: 82px; padding: 0 max(24px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid var(--line); background: rgba(9,10,11,.88); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-sign { display: grid; place-items: center; width: 40px; height: 40px; background: var(--yellow); color: var(--ink); font: 800 .8rem var(--display); transform: rotate(-3deg); }
.brand-name { font-size: .65rem; font-weight: 800; letter-spacing: .08em; line-height: 1.25; text-transform: uppercase; }
.site-nav { display: flex; justify-content: center; gap: clamp(14px, 2.5vw, 38px); font-size: .72rem; font-weight: 700; }
.site-nav a { position: relative; text-decoration: none; }
.site-nav a::after { position: absolute; right: 0; bottom: -6px; left: 0; height: 2px; background: var(--yellow); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav .nav-travel { color: var(--yellow); }
.account-link { display: inline-flex; align-items: center; gap: 14px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.35); font-size: .7rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.account-link span { color: var(--yellow); font-size: 1rem; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 920px; padding-top: 82px; overflow: hidden; background: #090a0b; isolation: isolate; }
.hero::before { position: absolute; z-index: -1; inset: 82px 0 0; background: linear-gradient(90deg, #090a0b 0%, #090a0b 42%, rgba(9,10,11,.7) 62%, rgba(9,10,11,.2) 100%); content: ""; }
.hero-art { position: absolute; z-index: -2; top: 82px; right: 0; bottom: 56px; width: min(68vw, 1080px); background: url("assets/comic-studio.png") center right / cover no-repeat; filter: saturate(.82) contrast(1.04); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); align-items: center; min-height: 780px; padding: 90px max(32px, calc((100vw - var(--max)) / 2)); }
.hero-copy { position: relative; z-index: 2; max-width: 850px; }
.hero h1 { margin: 0 0 30px; font-size: clamp(3.5rem, 7vw, 7.65rem); line-height: .93; text-transform: uppercase; }
.hero h1 mark { display: inline-block; padding: 0 .05em; background: var(--yellow); color: var(--ink); transform: rotate(-1.5deg); }
.hero h1 i { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); }
.hero-lead { max-width: 620px; margin-bottom: 36px; color: #d2d3d4; font-size: clamp(1rem, 1.3vw, 1.18rem); }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.text-link { font-size: .75rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.hero-facts { display: flex; gap: 0; margin: 70px 0 0; padding: 0; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 12px; min-width: 180px; padding: 0 25px; border-left: 1px solid var(--line); }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong { font: 700 clamp(1.4rem, 2vw, 2.1rem) var(--display); }
.hero-facts span { color: #a8aaad; font-size: .67rem; font-weight: 800; letter-spacing: .07em; line-height: 1.3; text-transform: uppercase; }
.hero-side-note { position: absolute; right: 24px; bottom: 130px; margin: 0; font-size: .63rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; }
.ticker { position: absolute; z-index: 5; right: 0; bottom: 0; left: 0; overflow: hidden; border-top: 1px solid #f6d56e; border-bottom: 1px solid #f6d56e; background: var(--yellow); color: var(--ink); transform: rotate(-.55deg) scale(1.01); }
.ticker div { width: max-content; padding: 13px 0; font: 700 .72rem var(--display); letter-spacing: .08em; animation: ticker 30s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ticker div { animation: none; } }

.about { background: var(--ink); }
.about::after { position: absolute; right: 0; bottom: 12%; width: 18vw; height: 4px; background: var(--red); content: ""; transform: rotate(-7deg); }
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(50px, 9vw, 140px); }
.about-photo { position: relative; height: 650px; background: #c9c5b9; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) contrast(1.1); }
.about-photo::after { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.35); content: ""; transform: translate(12px, 12px); clip-path: inherit; pointer-events: none; }
.photo-label { position: absolute; right: 20px; bottom: 18px; left: 20px; padding: 10px 13px; background: var(--yellow); color: var(--ink); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.about-copy h2 { max-width: 890px; margin-bottom: 38px; font-size: clamp(2.3rem, 4.4vw, 4.8rem); }
.about-copy .lead-copy { max-width: 750px; font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.about-copy > p:not(.kicker) { max-width: 700px; color: #c4c5c7; }
.education-list { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; margin: 45px 0 0; }
.education-list div { min-height: 135px; padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.education-list dt { margin-bottom: 12px; font: 600 .9rem/1.3 var(--display); text-transform: uppercase; }
.education-list dd { margin: 0; color: var(--yellow); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.directions { overflow: hidden; background: var(--paper); color: var(--ink); }
.directions::before { position: absolute; top: -70px; right: -80px; width: 330px; height: 210px; border: 30px solid var(--blue); content: ""; transform: rotate(20deg); opacity: .12; }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 80px; margin-bottom: 65px; }
.section-heading > p { margin: 0 0 8px; color: #464646; }
.direction-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.direction-card { position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 25px; overflow: hidden; border: 2px solid var(--ink); background: #fff; box-shadow: 6px 6px 0 var(--ink); }
.direction-card h3 { margin: auto 0 17px; font-size: clamp(1.15rem, 1.55vw, 1.6rem); line-height: 1.12; text-transform: uppercase; }
.direction-card > p:last-of-type { margin-bottom: 0; font-size: .83rem; }
.card-number { position: absolute; top: 18px; right: 19px; font: 700 1.9rem var(--display); opacity: .35; }
.card-tag { font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.direction-main { grid-column: span 2; background: var(--ink); color: var(--paper); }
.direction-main h3 { max-width: 460px; font-size: clamp(1.6rem, 2.6vw, 2.7rem); }
.direction-main > p:last-of-type { max-width: 430px; color: #bcbec1; }
.card-sketch { position: absolute; top: 55px; right: 30px; width: 160px; height: 160px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.card-sketch span { position: absolute; inset: 50% auto auto 50%; width: 80px; height: 1px; background: var(--yellow); transform-origin: left; }
.card-sketch span:nth-child(1) { transform: rotate(15deg); }.card-sketch span:nth-child(2) { transform: rotate(80deg); }.card-sketch span:nth-child(3) { transform: rotate(145deg); }
.card-yellow { background: var(--yellow); }
.card-red { background: var(--red); color: #fff; }
.card-blue { background: var(--blue); color: #fff; }
.direction-wide { grid-column: 2 / span 3; display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: end; gap: 40px; min-height: 230px; background: #fff; }
.direction-wide h3 { margin: 15px 0 0; font-size: clamp(1.4rem, 2.3vw, 2.5rem); }
.direction-wide > p { margin: 0; }
.card-arrow { color: var(--red); font-size: 3rem; line-height: 1; }

.results { background: var(--ink); }
.results-heading { display: grid; grid-template-columns: .55fr 1.45fr; align-items: end; gap: 60px; margin-bottom: 65px; }
.results-heading .kicker { margin: 0 0 12px; }
.results-grid { display: grid; grid-template-columns: 1.45fr .77fr .77fr; gap: 12px; }
.result-card { position: relative; min-height: 580px; padding: 28px; border: 1px solid var(--line); overflow: hidden; }
.result-topline { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 16px; border-bottom: 1px solid currentColor; font-size: .61rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.result-card h3 { font-size: clamp(1.2rem, 1.75vw, 1.8rem); line-height: 1.23; }
.result-big { margin: 50px 0 25px; color: var(--yellow); font: 700 clamp(5rem, 9vw, 9rem)/.8 var(--display); letter-spacing: -.11em; }
.result-big i { color: #fff; font-style: normal; font-size: .45em; }
.award-placeholders { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 40px; }
.award-placeholders div { display: flex; flex-direction: column; justify-content: end; min-height: 145px; padding: 14px; border: 1px dashed rgba(255,255,255,.35); background: repeating-linear-gradient(-45deg, rgba(255,255,255,.025) 0 6px, transparent 6px 12px); }
.award-placeholders span { margin-bottom: auto; color: #808286; font-size: .58rem; text-transform: uppercase; }
.award-placeholders strong { color: var(--yellow); font: 600 .9rem var(--display); text-transform: uppercase; }
.award-placeholders small { color: #b8b9bb; font-size: .62rem; }
.result-score { background: var(--yellow); color: var(--ink); transform: rotate(.4deg); }
.result-travel { background: var(--blue); transform: rotate(-.35deg); }
.score-number { margin: 60px 0 0; font: 700 clamp(5rem, 8vw, 8.8rem)/.8 var(--display); letter-spacing: -.1em; }
.score-caption { display: block; margin: 8px 0 50px; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.result-note { position: absolute; right: 28px; bottom: 26px; left: 28px; margin: 0; padding-top: 12px; border-top: 1px solid currentColor; font-size: .68rem; }
.result-travel a { position: absolute; right: 28px; bottom: 26px; left: 28px; display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid currentColor; font-size: .68rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }

.works { background: #0e1012; }
.works-heading > p { color: #b0b2b4; }
.works-board { position: relative; min-height: 600px; overflow: hidden; background: #ddd; }
.works-board img { width: 100%; height: 600px; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.works-overlay { position: absolute; right: 0; bottom: 0; width: min(500px, 80%); padding: 24px; background: rgba(9,10,11,.92); border-left: 5px solid var(--yellow); }
.works-overlay span { color: var(--yellow); font-size: .63rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.works-overlay p { margin: 8px 0 0; font: 600 1rem var(--display); line-height: 1.35; text-transform: uppercase; }
.category-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.category-row span { padding: 8px 13px; border: 1px solid var(--line); color: #b6b8ba; font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.category-row span:first-child { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }

.materials { background: var(--yellow); color: var(--ink); }
.materials-grid { display: grid; grid-template-columns: .75fr 1.1fr .58fr; gap: 22px; }
.materials-intro { padding-right: 30px; }
.materials-intro h2 { font-size: clamp(2.3rem, 4vw, 4.3rem); }
.materials-intro h2 em { color: var(--red); }
.materials-intro > p { margin: 28px 0 35px; }
.lesson-article { position: relative; min-height: 660px; padding: 35px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 9px 9px 0 var(--red); }
.article-meta { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(9,10,11,.25); font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pencil-visual { position: relative; height: 155px; margin: 25px 0; overflow: hidden; background: #d7d2c7; }
.pencil-line { position: absolute; top: 82px; left: 0; width: 130%; height: 3px; background: var(--blue); transform: rotate(-8deg); }
.pencil-body { position: absolute; top: 57px; left: 22%; width: 230px; height: 24px; border: 3px solid var(--ink); background: var(--yellow); transform: rotate(-13deg); }
.pencil-tip { position: absolute; top: 42px; left: calc(22% + 221px); width: 0; height: 0; border-top: 18px solid transparent; border-bottom: 18px solid transparent; border-left: 52px solid var(--paper); transform: rotate(-13deg); }
.lesson-article h3 { margin: 30px 0 20px; font-size: clamp(1.6rem, 2.2vw, 2.35rem); line-height: 1.12; text-transform: uppercase; }
.lesson-article p, .lesson-article li { font-size: .88rem; }
.lesson-article ol { padding-left: 20px; }
.lesson-article > a { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 15px; border-top: 1px solid var(--ink); font-size: .67rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.material-placeholders { display: grid; grid-template-rows: 1fr 1fr; gap: 22px; }
.material-placeholders article { display: flex; flex-direction: column; padding: 23px; border: 2px solid var(--ink); background: rgba(255,255,255,.28); }
.material-placeholders span { width: max-content; padding: 4px 7px; background: var(--ink); color: #fff; font-size: .55rem; font-weight: 800; text-transform: uppercase; }
.material-placeholders h3 { margin: auto 0 10px; font-size: 1.1rem; line-height: 1.3; text-transform: uppercase; }
.material-placeholders p { margin: 0; font-size: .65rem; font-weight: 800; text-transform: uppercase; }

.cabinet { background: #0b0c0e; }
.cabinet-heading { display: grid; grid-template-columns: 1fr .55fr; align-items: end; gap: 70px; margin-bottom: 45px; }
.cabinet-heading > p { margin-bottom: 10px; color: #afb1b3; }
.role-tabs { display: flex; gap: 7px; margin-bottom: 14px; }
.role-tab { padding: 12px 20px; border: 1px solid var(--line); background: transparent; color: #bfc0c2; cursor: pointer; font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.role-tab.is-active { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.dashboard-frame { border: 1px solid #36383c; background: #eae8e2; color: #17191b; box-shadow: 14px 14px 0 #202327; }
.dashboard-bar { display: flex; align-items: center; justify-content: space-between; min-height: 65px; padding: 10px 22px; border-bottom: 1px solid #d0cec8; background: #111315; color: #fff; }
.dashboard-brand { display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.dashboard-brand > span { display: grid; place-items: center; width: 32px; height: 32px; background: var(--yellow); color: var(--ink); font: 800 .62rem var(--display); }
.dashboard-brand strong { font-size: .68rem; letter-spacing: .08em; }
.dashboard-bar > p { margin: 0; color: #8f9296; font-size: .62rem; text-transform: uppercase; }
.user-chip { display: flex; align-items: center; gap: 8px; font-size: .7rem; }
.user-chip span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--red); font-weight: 800; }
.dashboard-panel { min-height: 680px; }
.dashboard-panel[hidden] { display: none !important; }
.dashboard-panel.is-active { display: grid; }
#teacher-panel { grid-template-columns: 235px 1fr; }
.student-sidebar { padding: 22px 13px; border-right: 1px solid #d2d0ca; background: #f5f3ed; }
.sidebar-title { display: flex; justify-content: space-between; padding: 0 10px 17px; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.sidebar-title strong { color: #8d8d8a; }
.student-filter { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 5px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.student-filter.is-active { background: #dedbd2; }
.student-filter > span:not(.avatar) { font-size: .7rem; font-weight: 800; }
.student-filter small { display: block; color: #898985; font-size: .58rem; font-weight: 600; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: .59rem; font-weight: 800; }
.avatar.yellow { background: var(--yellow); }.avatar.blue { background: #c7dafd; color: #2254ad; }.avatar.red { background: #f5c7c4; color: #9f2822; }.avatar.ink { background: #24272b; color: #fff; }.avatar.gray { background: #dadad7; }
.calendar-area { padding: 28px; overflow: hidden; }
.calendar-head { display: flex; justify-content: space-between; gap: 20px; }
.dash-label { display: block; margin-bottom: 5px; color: #7c7d7a; font-size: .58rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.calendar-head h3, .dash-welcome h3 { margin-bottom: 0; font-size: 1.5rem; text-transform: uppercase; }
.calendar-actions { display: flex; gap: 5px; }
.calendar-actions button { padding: 8px 11px; border: 1px solid #cdcbc4; background: #f6f4ef; color: #222; cursor: pointer; font-size: .62rem; }
.calendar-actions .add-lesson { border-color: #111; background: #111; color: #fff; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin: 21px 0 13px; font-size: .58rem; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { display: block; width: 8px; height: 8px; border-radius: 50%; }.legend i.planned { background: var(--blue); }.legend i.done { background: #219b6f; }.legend i.moved { background: #8a56bd; }.legend i.cancelled { background: #92938f; }.legend b { color: #d19e00; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(80px, 1fr)); border-top: 1px solid #ceccc5; border-left: 1px solid #ceccc5; }
.weekday { padding: 7px; border-right: 1px solid #ceccc5; border-bottom: 1px solid #ceccc5; background: #dedcd5; font-size: .55rem; font-weight: 800; text-align: center; text-transform: uppercase; }
.day, .empty { min-height: 84px; padding: 6px; border-right: 1px solid #ceccc5; border-bottom: 1px solid #ceccc5; background: #f5f3ee; }
.empty { background: #e4e2dc; }
.day b { font-size: .58rem; }
.event { display: block; margin-top: 5px; padding: 4px 5px; border-left: 3px solid; background: #fff; font-size: .48rem; line-height: 1.3; }
.event[hidden] { display: none !important; }
.event.planned { border-color: var(--blue); background: #e7efff; }.event.done { border-color: #219b6f; background: #def3eb; }.event.cancelled { border-color: #92938f; background: #e5e5e2; text-decoration: line-through; }.event.moved { border-color: #8a56bd; background: #eee3f8; }.event.extra { box-shadow: inset 0 0 0 1px #d19e00; }
.payer-content, .student-content { padding: 34px; }
.dash-welcome { margin-bottom: 25px; }
.dash-welcome p { margin: 5px 0 0; color: #71726f; font-size: .72rem; }
.balance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.balance-grid article { padding: 20px; border: 1px solid #d3d0c8; background: #f7f5ef; }
.balance-grid span { display: block; color: #6c6d6a; font-size: .62rem; font-weight: 700; text-transform: uppercase; }
.balance-grid strong { display: block; margin: 13px 0 5px; font: 700 2.5rem var(--display); }
.balance-grid small { font-size: .7rem; }
.balance-grid .balance-accent { background: var(--yellow); }
.payer-columns { display: grid; grid-template-columns: .75fr 1.25fr; gap: 10px; margin: 10px 0; }
.next-lesson, .receipts { padding: 20px; border: 1px solid #d3d0c8; background: #f7f5ef; }
.date-tile { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.date-tile strong { font: 700 3.5rem/.8 var(--display); }.date-tile span { font-size: .65rem; line-height: 1.3; text-transform: uppercase; }
.next-lesson h4 { margin-bottom: 5px; font: 600 .85rem var(--display); text-transform: uppercase; }.next-lesson p { margin: 0; color: #757672; font-size: .65rem; }
.receipts-head { display: flex; justify-content: space-between; }.receipts-head button { border: 0; background: transparent; cursor: pointer; font-size: .6rem; }
.receipts > div:not(.receipts-head) { display: grid; grid-template-columns: 1fr auto; gap: 7px; padding: 13px 0; border-top: 1px solid #dedcd5; font-size: .67rem; }.receipts > div:not(.receipts-head) a { grid-column: 1 / -1; color: #2459bb; font-size: .58rem; }
.lesson-log { border: 1px solid #d1cfc8; background: #f7f5ef; }
.log-head, .log-row { display: grid; grid-template-columns: 70px 1fr 100px 1.5fr; align-items: center; gap: 12px; padding: 10px 14px; }
.log-head { background: #dedcd5; color: #676864; font-size: .52rem; font-weight: 800; text-transform: uppercase; }
.log-row { min-height: 90px; border-top: 1px solid #d7d4cc; font-size: .66rem; }
.log-row > span { color: #7b7c78; }.log-row strong { font-size: .69rem; }.log-row p { margin: 0; }
.work-thumb { width: 74px; height: 50px; border: 0; background: linear-gradient(145deg, #e0c79d, #727267); color: transparent; cursor: pointer; }
.blue-thumb { background: linear-gradient(145deg, #d7e9f5, #55779c); }
.student-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.student-summary article { min-height: 190px; padding: 22px; border: 1px solid #d1cfc8; background: #f7f5ef; }
.student-summary span { color: #797a76; font-size: .6rem; font-weight: 800; text-transform: uppercase; }.student-summary strong { display: block; margin: 30px 0 6px; font: 600 1.4rem var(--display); text-transform: uppercase; }.student-summary p { margin: 0; font-size: .7rem; }.student-summary i { display: inline-block; margin-top: 16px; padding: 4px 8px; background: #e7efff; color: #2254ad; font-size: .55rem; font-style: normal; font-weight: 800; text-transform: uppercase; }
.student-material { background: var(--yellow) !important; }.student-material a { display: inline-block; margin-top: 22px; font-size: .65rem; font-weight: 800; }
.history-title { margin: 25px 0 10px; font: 600 .75rem var(--display); text-transform: uppercase; }
.prototype-note { margin: 30px 0 0; color: #828488; font-size: .68rem; text-align: center; }
.prototype-note a { color: var(--yellow); font-weight: 800; text-decoration: none; text-transform: uppercase; }
.prototype-note a:hover { text-decoration: underline; }

.contact { background: var(--red); color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 80px; }
.contact h2 { font-size: clamp(2.5rem, 5vw, 5.3rem); }.contact h2 em { color: var(--paper); }
.contact-copy > p { max-width: 530px; font-size: 1.05rem; }.contact-copy small { display: block; margin-top: 24px; font-size: .68rem; font-weight: 800; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 30px max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); background: var(--ink); font-size: .65rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; text-transform: uppercase; }.footer-brand span { display: grid; place-items: center; width: 34px; height: 34px; background: var(--yellow); color: var(--ink); font: 800 .62rem var(--display); }.site-footer p { margin: 0; color: #8a8c90; text-align: center; text-transform: uppercase; }.footer-links { display: flex; justify-content: end; gap: 20px; }.footer-links a { text-decoration: none; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .site-nav { position: fixed; top: 82px; right: 0; left: 0; display: none; flex-direction: column; padding: 25px 32px; border-bottom: 1px solid var(--line); background: #0c0d0f; }
  .site-nav.is-open { display: flex; }
  .menu-toggle { display: block; justify-self: end; width: 42px; height: 42px; margin-right: 12px; border: 1px solid var(--line); background: transparent; }
  .menu-toggle span { display: block; width: 19px; height: 2px; margin: 5px auto; background: #fff; }
  .account-link { grid-column: 3; }
  .hero-grid { grid-template-columns: 1fr .3fr; }
  .hero::before { background: linear-gradient(90deg, #090a0b 0%, #090a0b 52%, rgba(9,10,11,.3) 100%); }
  .about-grid { grid-template-columns: .85fr 1.15fr; gap: 55px; }
  .direction-grid { grid-template-columns: repeat(2, 1fr); }.direction-main { grid-column: span 2; }.direction-wide { grid-column: span 2; }
  .results-grid { grid-template-columns: 1fr 1fr; }.result-olympiad { grid-column: span 2; }.result-card { min-height: 500px; }
  .materials-grid { grid-template-columns: .8fr 1.2fr; }.material-placeholders { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .dashboard-frame { overflow-x: auto; }.dashboard-panel { min-width: 850px; }
}

@media (max-width: 750px) {
  .section-shell { width: min(100% - 32px, var(--max)); }
  .site-header { min-height: 68px; padding: 0 16px; }.site-nav { top: 68px; }.brand-name { display: none; }.account-link { padding: 9px 10px; font-size: .58rem; }.menu-toggle { margin-right: 6px; }
  .hero { min-height: 820px; padding-top: 68px; }.hero-art { top: 68px; bottom: 44px; width: 100%; background-position: 66% center; opacity: .54; }.hero::before { inset: 68px 0 0; background: linear-gradient(90deg, rgba(9,10,11,.98), rgba(9,10,11,.72) 75%, rgba(9,10,11,.3)); }.hero-grid { display: block; min-height: 720px; padding: 75px 20px 125px; }.hero h1 { font-size: clamp(3rem, 15vw, 5rem); }.hero-lead { max-width: 92%; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }.hero-facts { flex-wrap: wrap; gap: 20px; margin-top: 50px; }.hero-facts li { min-width: auto; padding: 0 18px; }.hero-side-note { display: none; }.ticker div { padding: 10px 0; font-size: .6rem; }
  .section { padding: 80px 0; }.about-grid, .section-heading, .results-heading, .materials-grid, .cabinet-heading, .contact-grid { grid-template-columns: 1fr; gap: 38px; }.about-photo { height: 520px; }.education-list { grid-template-columns: 1fr; }.section-heading { margin-bottom: 40px; }
  .direction-grid, .results-grid { grid-template-columns: 1fr; }.direction-main, .direction-wide, .result-olympiad { grid-column: auto; }.direction-wide { display: flex; min-height: 320px; }.card-sketch { width: 110px; height: 110px; opacity: .6; }.card-sketch span { width: 120px; }
  .results-heading { margin-bottom: 40px; }.result-card { min-height: 510px; }.award-placeholders { grid-template-columns: 1fr 1fr; }
  .works-board, .works-board img { min-height: 430px; height: 430px; }.works-overlay { width: 90%; }
  .materials-intro { padding-right: 0; }.lesson-article { min-height: 0; padding: 25px; }.material-placeholders { grid-template-columns: 1fr; }.material-placeholders article { min-height: 220px; }
  .role-tabs { overflow-x: auto; padding-bottom: 4px; }.role-tab { flex: 0 0 auto; }.dashboard-frame { margin-right: -16px; }.dashboard-panel { min-width: 820px; }.dashboard-bar { min-width: 820px; }.dashboard-bar > p { display: none; }
  .site-footer { grid-template-columns: 1fr auto; }.site-footer p { display: none; }
}

@media (max-width: 430px) {
  h2 { font-size: 2.35rem; }.hero h1 { font-size: 3.25rem; }.hero-facts li { width: calc(50% - 10px); padding: 0; border: 0; }.hero-facts li:last-child { width: 100%; }
  .about-photo { height: 430px; }.direction-card { min-height: 320px; }.direction-main h3 { font-size: 1.55rem; }.result-big { font-size: 5.2rem; }.award-placeholders { grid-template-columns: 1fr; }.result-card { min-height: 530px; }.result-olympiad { min-height: 730px; }
  .works-board, .works-board img { min-height: 370px; height: 370px; }.category-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }.category-row span { flex: 0 0 auto; }
  .site-footer { grid-template-columns: 1fr; }.footer-links { justify-content: flex-start; }
}

/* V2 — continuous late-80s / early-90s street-comic direction */
html { background: var(--ink); }
body {
  background-color: var(--ink);
  background-image: linear-gradient(rgba(3,4,5,.32), rgba(3,4,5,.54)), url("assets/comic-mural-v2.png");
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}
body::after {
  position: fixed;
  z-index: 1000;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .1;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.08) 3px 4px),
    radial-gradient(circle, rgba(244,200,63,.22) 0 1px, transparent 1.5px);
  background-size: auto, 8px 8px;
  mix-blend-mode: overlay;
}

.hero { background: rgba(3,4,5,.4); }
.hero-art {
  right: 0;
  left: 0;
  width: 100%;
  background-image: url("assets/comic-mural-v2.png");
  background-position: center 11%;
  background-size: cover;
  filter: saturate(1.08) contrast(1.08);
}
.hero::before {
  background:
    linear-gradient(90deg, rgba(4,5,6,.98) 0%, rgba(4,5,6,.88) 34%, rgba(4,5,6,.48) 65%, rgba(4,5,6,.18) 100%),
    linear-gradient(0deg, rgba(4,5,6,.75), transparent 45%);
}
.hero h1 { text-shadow: 4px 2px 0 rgba(39,104,232,.22), -3px -1px 0 rgba(237,62,55,.2); }

.about,
.directions,
.results,
.works,
.materials,
.cabinet,
.contact {
  background-color: rgba(5,6,7,.84);
  color: var(--paper);
  backdrop-filter: blur(1.5px);
}
.about { background-color: rgba(5,6,7,.9); }
.results, .cabinet { background-color: rgba(5,6,7,.93); }
.works { background-color: rgba(5,6,7,.82); }
.directions, .materials, .contact { overflow: hidden; }
.directions::before {
  top: 5%;
  right: -60px;
  width: 350px;
  height: 240px;
  border: 0;
  background: var(--yellow);
  clip-path: polygon(48% 0, 57% 31%, 86% 13%, 73% 42%, 100% 51%, 70% 59%, 88% 91%, 57% 73%, 43% 100%, 37% 69%, 8% 87%, 23% 57%, 0 42%, 34% 38%);
  opacity: .09;
  transform: rotate(12deg);
}
.kicker-dark { color: #c5c6c8; }
.kicker-dark span { color: var(--yellow); }
.section-heading > p,
.works-heading > p,
.cabinet-heading > p { color: #b9babd; }

.comic-graffiti {
  position: absolute;
  z-index: 0;
  display: flex;
  flex-direction: column;
  color: transparent;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.12em;
  line-height: .72;
  text-transform: uppercase;
  transform: rotate(-11deg) skew(-8deg);
  pointer-events: none;
  opacity: .2;
  -webkit-text-stroke: 2px var(--blue);
}
.comic-graffiti strong { color: var(--red); font-size: 1.25em; -webkit-text-stroke: 0; text-shadow: 8px 6px 0 var(--yellow); }
.graffiti-directions { top: 90px; right: -15px; font-size: clamp(4.5rem, 11vw, 11rem); }
.graffiti-materials { right: 3%; bottom: 9%; font-size: clamp(3.8rem, 8vw, 8rem); opacity: .12; }

.direction-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}
.direction-card,
.direction-main,
.direction-wide,
.card-yellow,
.card-red,
.card-blue {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: auto;
  min-height: 285px;
  padding: 40px 18px 32px 94px;
  overflow: visible;
  border: 0;
  border-top: 2px solid rgba(255,255,255,.36);
  background: transparent;
  color: var(--paper);
  box-shadow: none;
  clip-path: none;
  transform: none;
}
.direction-main { grid-column: 1 / -1; min-height: 340px; padding-right: 43%; }
.direction-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 42px; min-height: 250px; }
.direction-card::before {
  position: absolute;
  z-index: -1;
  top: 33%;
  right: 3%;
  width: 145px;
  height: 98px;
  background: var(--yellow);
  content: "";
  opacity: .11;
  clip-path: polygon(0 35%, 24% 28%, 13% 0, 43% 19%, 59% 2%, 64% 28%, 100% 19%, 82% 48%, 100% 69%, 68% 65%, 62% 100%, 45% 72%, 12% 94%, 26% 61%);
  transform: rotate(-9deg);
}
.card-red::before { background: var(--red); transform: rotate(12deg); }
.card-blue::before { background: var(--blue); transform: rotate(-15deg); }
.direction-wide::before { width: 210px; height: 135px; }
.direction-card:nth-child(even) { transform: none !important; }
.direction-card h3,
.direction-main h3,
.direction-wide h3 {
  max-width: 720px;
  margin: auto 0 17px;
  color: var(--paper);
  font-size: clamp(1.45rem, 2.8vw, 3rem);
  line-height: 1.02;
  text-transform: uppercase;
  text-shadow: 3px 2px 0 rgba(39,104,232,.4);
}
.direction-card > p:last-of-type,
.direction-main > p:last-of-type,
.direction-wide > p { max-width: 520px; margin-bottom: 0; color: #c9cacc; }
.direction-wide h3 { margin-top: 15px; }
.card-number {
  top: 32px;
  right: auto;
  left: 8px;
  color: transparent;
  font-size: 3.6rem;
  opacity: .8;
  -webkit-text-stroke: 1.5px var(--yellow);
}
.card-tag { color: var(--yellow); }
.card-sketch { top: 70px; right: 10%; width: 190px; height: 190px; border-color: rgba(244,200,63,.5); }
.card-sketch span { width: 95px; background: var(--red); }
.card-arrow { color: var(--yellow); text-shadow: 4px 3px 0 var(--red); }

.materials-intro h2 em,
.contact h2 em { color: var(--yellow); }
.materials-intro > p,
.contact-copy > p { color: #c9cacc; }
.lesson-article {
  border-color: var(--yellow);
  background: rgba(8,9,10,.94);
  color: var(--paper);
  box-shadow: 9px 9px 0 var(--red);
  transform: rotate(-.45deg);
}
.article-meta { border-color: rgba(255,255,255,.28); }
.pencil-visual { background: #17191d; }
.lesson-article > a { border-color: rgba(255,255,255,.5); }
.material-placeholders article {
  border-color: rgba(255,255,255,.34);
  background: rgba(12,14,17,.84);
  color: var(--paper);
  clip-path: polygon(0 0, 94% 2%, 100% 12%, 97% 100%, 8% 97%, 0 88%);
}
.material-placeholders article:nth-child(2) { transform: rotate(1.2deg); }
.material-placeholders span { background: var(--yellow); color: var(--ink); }

.contact { border-top: 2px solid var(--red); }
.contact::before {
  position: absolute;
  right: -4%;
  bottom: -25%;
  width: 46vw;
  aspect-ratio: 1;
  background: var(--red);
  content: "";
  opacity: .16;
  clip-path: polygon(50% 0, 58% 31%, 83% 12%, 72% 40%, 100% 47%, 70% 58%, 90% 87%, 60% 72%, 44% 100%, 38% 68%, 8% 88%, 24% 56%, 0 42%, 34% 38%);
}
.contact-copy { position: relative; z-index: 1; }
.contact .button-ink { background: var(--yellow); color: var(--ink); }

@media (max-width: 750px) {
  body { background-attachment: scroll; background-size: auto 1500px; background-repeat: repeat-y; }
  .hero-art { background-position: 62% top; }
  .hero::before { background: linear-gradient(90deg, rgba(4,5,6,.96), rgba(4,5,6,.66) 78%, rgba(4,5,6,.28)); }
  .comic-graffiti { opacity: .08; }
  .direction-grid { grid-template-columns: 1fr; gap: 0; }
  .direction-card,
  .direction-main,
  .direction-wide { grid-column: auto; display: flex; min-height: 270px; padding: 34px 10px 28px 74px; transform: none !important; }
  .direction-main { padding-right: 10px; }
  .direction-card h3,
  .direction-main h3,
  .direction-wide h3 { font-size: 1.7rem; }
  .card-number { left: 4px; font-size: 2.8rem; }
  .card-sketch { display: none; }
  .lesson-article { transform: none; }
}
