.edu-stories-section{padding-top:75px}.edu-stories-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 32px;align-items:start}.edu-story{aspect-ratio:1 / 1.618;min-width:0;display:flex;flex-direction:column;padding:22px;background:#363636;border:1px solid #3e3c34;scroll-margin-top:28px}.edu-story:nth-child(even){transform:translateY(72px)}.edu-story:last-child{margin-bottom:72px}.edu-story-top{margin-bottom:20px}.edu-story-top .edu-kicker{font-size:9px;letter-spacing:.1em;color:#b8b2a5}.edu-story h3{font:400 clamp(27px,2.9vw,43px)/1.07 Georgia,serif;letter-spacing:-.035em;margin:14px 0 0;color:#eee}.edu-story-cover{padding:0;display:block;position:relative;width:100%;flex-shrink:0;background:#080808;text-align:left;border:5px solid #aaa79e;overflow:hidden}.edu-story-cover img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}.edu-story-image-hint{position:absolute;right:9px;bottom:9px;padding:7px 9px;background:#080808d9;color:#ffc45c;font:9px monospace;text-transform:uppercase;letter-spacing:.08em;opacity:0;transition:opacity .2s}.edu-story-cover:hover .edu-story-image-hint,.edu-story-cover:focus-visible .edu-story-image-hint{opacity:1}.edu-story-text{padding-top:23px;flex:1}.edu-story-text>p{font:16px/1.65 Georgia,serif;color:#d3d0c7;margin:0 0 18px}.edu-story-text ul{list-style:none;margin:0 0 22px;padding:0}.edu-story-text li{font:12px/1.65 Arial,sans-serif;color:#b6b3a9;padding-left:15px;position:relative;margin:7px 0}.edu-story-text li::before{content:'—';position:absolute;left:0;color:#cba45d}.edu-story-reflection{border-top:1px solid #3c392f;padding-top:17px}.edu-story-reflection h4{font:9px/1.6 monospace;text-transform:uppercase;color:#ffc45c;letter-spacing:.15em;font-weight:400;margin:0 0 9px}.edu-story-reflection p{font:13px/1.75 Arial,sans-serif;color:#b8b5ab;margin:0}.edu-story-open{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;margin-top:24px;padding:16px 0 0;border-top:1px solid #62533a;text-align:left;color:#ffc45c;font:10px/1.5 monospace;text-transform:uppercase;letter-spacing:.08em}.edu-story-open small{display:block;color:#aaa69c;font:9px/1.5 monospace;text-transform:none;letter-spacing:0;margin-top:5px}.edu-story-open>span:last-child{font:25px Georgia,serif}.edu-story-cover:hover{border-color:#d5c49d}.edu-story-open:hover{color:#ffe4ac}.edu-stories-section>.edu-wide-link{margin-top:90px}
.edu-story-dialog{width:min(1440px,95vw);max-width:none;max-height:94svh;overflow:auto;padding:0;border:1px solid #625a48;background:#141413;color:#eee;overscroll-behavior:contain}.edu-story-dialog::backdrop{background:#000e;backdrop-filter:blur(8px)}.edu-dialog-bar{display:flex;justify-content:space-between;align-items:start;gap:24px;padding:25px 28px;border-bottom:1px solid #38362f}.edu-story-dialog .edu-dialog-bar h2{font:400 clamp(24px,3vw,43px)/1.1 Georgia,serif;letter-spacing:-.03em;margin:10px 0 0}.edu-dialog-close{font:30px/1 Arial,sans-serif;flex-shrink:0;min-width:44px;min-height:44px;border:1px solid #6c624c;color:#ffc45c}.edu-dialog-close:hover{background:#2a2720}.edu-dialog-stage{display:grid;grid-template-columns:50px minmax(0,1fr) 50px;align-items:center;gap:6px;background:#080808;padding:15px 8px;min-height:220px}.edu-dialog-stage>img{width:100%;height:min(61vh,720px);object-fit:contain}.edu-dialog-stage button{font:27px/1 Georgia,serif;min-width:44px;min-height:60px;color:#ffc45c}.edu-dialog-stage button:hover{background:#242018}.edu-gallery-caption{display:flex;gap:20px;align-items:baseline;padding:18px 28px;border-top:1px solid #38362f;font:11px/1.6 monospace;color:#b8b4a9}.edu-gallery-caption p{flex:1;margin:0}.edu-gallery-caption a{color:#ffc45c;white-space:nowrap}.edu-gallery-caption>span{white-space:nowrap}.edu-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding:0 28px 20px}.edu-gallery-thumbs button{padding:3px;background:#070707;border:1px solid #514a3e;flex-shrink:0;width:95px;height:66px}.edu-gallery-thumbs button[aria-current="true"]{border-color:#ffc45c;box-shadow:0 0 0 1px #ffc45c}.edu-gallery-thumbs img{width:100%;height:100%;object-fit:contain}.edu-dialog-copy{padding:20px 28px 35px;border-top:1px solid #38362f}.edu-dialog-copy>#story-dialog-credit{font:11px/1.7 monospace;color:#cbb682;margin:0 0 22px}.edu-dialog-copy>#story-dialog-credit:empty{display:none}.edu-dialog-notes{display:grid;grid-template-columns:1fr 1fr;gap:7%}.edu-dialog-notes h3{font:400 28px Georgia,serif;margin:10px 0 18px}.edu-dialog-notes p,.edu-dialog-notes li{font:15px/1.8 Arial,sans-serif;color:#c3beb2}.edu-dialog-notes ul{padding-left:20px}.edu-dialog-notes h4{font:10px/1.6 monospace;letter-spacing:.1em;text-transform:uppercase;color:#ffc45c;font-weight:400;margin:30px 0 14px}#story-dialog-sources a{display:block;font:12px/1.8 Arial,sans-serif;color:#c9bea4;border-bottom:1px solid #454034;padding:9px 0}#story-dialog-sources a:hover{color:#ffc45c}
@media(min-width:1550px){.edu-story{padding:28px}.edu-story-text>p{font-size:20px}.edu-story-text li{font-size:14px}.edu-story-reflection p{font-size:15px}.edu-story-open{font-size:11px}.edu-story-text{padding-top:28px}}
@media(max-width:1000px){.edu-stories-grid{gap:38px 22px}.edu-story{padding:17px;aspect-ratio:auto;min-height:900px}.edu-story h3{font-size:30px}.edu-story-top .edu-kicker{font-size:8px}.edu-story-text>p{font-size:16px}.edu-story-text li{font-size:12px}.edu-story-reflection p{font-size:13px}}
@media(max-width:650px){.edu-stories-section{padding-top:55px}.edu-stories-grid{grid-template-columns:1fr;gap:28px}.edu-story{aspect-ratio:auto;min-height:0;padding:20px 16px}.edu-story:nth-child(even){transform:none}.edu-story:last-child{margin-bottom:0}.edu-story h3{font-size:34px}.edu-story-top{margin-bottom:20px}.edu-story-top .edu-kicker{font-size:8px}.edu-story-text>p{font-size:18px}.edu-story-text li{font-size:13px;line-height:1.75}.edu-story-reflection p{font-size:14px;line-height:1.8}.edu-story-open{padding-top:18px;font-size:10px}.edu-story-image-hint{opacity:1;font-size:7px;padding:5px 7px;right:4px;bottom:4px}.edu-story-cover{border-width:4px}.edu-stories-section>.edu-wide-link{margin-top:50px}.edu-story-dialog{width:98vw;max-height:96svh}.edu-dialog-bar{padding:18px 16px;gap:12px}.edu-story-dialog .edu-dialog-bar h2{font-size:26px}.edu-dialog-bar .edu-kicker{font-size:8px}.edu-dialog-close{min-width:42px;min-height:42px}.edu-dialog-stage{grid-template-columns:34px minmax(0,1fr) 34px;gap:0;padding:8px 0;min-height:180px}.edu-dialog-stage>img{height:34vh;min-height:160px}.edu-dialog-stage button{font-size:22px;min-width:34px;min-height:54px}.edu-gallery-caption{padding:14px 16px;gap:8px 16px;flex-wrap:wrap;font-size:10px}.edu-gallery-caption p{flex-basis:100%}.edu-gallery-caption a{margin-left:auto}.edu-gallery-thumbs{padding:0 16px 18px;gap:8px}.edu-gallery-thumbs button{width:80px;height:57px}.edu-dialog-copy{padding:15px 18px 25px}.edu-dialog-notes{grid-template-columns:1fr;gap:16px}.edu-dialog-notes h3{font-size:26px}.edu-dialog-notes p,.edu-dialog-notes li{font-size:14px}}

.edu-story-top{margin-bottom:16px}.edu-story-text{padding-top:20px}.edu-story-text>p{margin-bottom:16px}.edu-story-text ul{margin-bottom:18px}.edu-story-open{margin-top:20px}.edu-dialog-bar{position:sticky;top:0;z-index:3;background:#141413}
.edu-story-inline-link{color:#ffc45c;text-decoration:underline;text-underline-offset:4px}.edu-project-video{display:block;font:10px/1.65 monospace;margin:8px 0 14px;letter-spacing:0}.edu-dialog-stage>video{display:block;width:100%;height:min(61vh,720px);object-fit:contain;background:#080808}.edu-gallery-thumbs button{position:relative}.edu-thumb-play{position:absolute;inset:0;display:grid;place-items:center;color:#ffc45c;font-size:22px;text-shadow:0 1px 8px #000}.edu-video-library{border-block:1px solid #494236;padding:32px 0;margin-top:85px;display:grid;grid-template-columns:1fr 1fr;gap:30px 7%}.edu-video-library>.edu-kicker{grid-column:1/-1}.edu-video-library h3{font:400 40px/1.1 Georgia,serif;letter-spacing:-.03em;margin:0}.edu-video-library a{display:flex;justify-content:space-between;gap:20px;color:#cfc7b6;border-bottom:1px solid #3b382f;padding:13px 0;font:12px/1.6 Arial,sans-serif}.edu-video-library a span{color:#ffc45c}.edu-photo-consent{border-top:1px solid #3d392e;padding:24px 0 0;margin-top:30px;max-width:900px}.edu-photo-consent p{font:12px/1.7 Arial,sans-serif;color:#b7b2a8;margin:0 0 10px}.edu-photo-consent p[lang="et"]{color:#99978f}.edu-story-dialog .edu-photo-consent{max-width:none;margin-top:30px}.edu-story-dialog .edu-photo-consent p{font-size:11px}
@media(max-width:650px){.edu-dialog-stage>video{height:34vh;min-height:160px}.edu-video-library{grid-template-columns:1fr;margin-top:45px}.edu-video-library h3{font-size:34px}.edu-photo-consent p{font-size:11px;line-height:1.8}}

/* Card previews fill the frame; gallery originals retain their complete composition. */
.edu-story-cover{aspect-ratio:16 / 9;display:flex;align-items:stretch}
.edu-story-cover img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center;min-width:0}
.edu-story-cover-pair{gap:6px}
.edu-story-cover-pair img{width:calc(50% - 3px);flex:1 1 0;object-position:center 35%}

/* Education follows the Work page's type scale and compact, aligned grid. */
.education-page .edu-hero,.education-page .edu-stories-section{width:92%;max-width:none}
.edu-hero{position:relative;padding-top:20px}
.edu-hero-top{position:absolute;right:0;top:20px}
.edu-hero h1{font:400 clamp(44px,7vw,105px)/1 Georgia,serif;letter-spacing:-4px;margin:0 0 22px;max-width:70%}
.edu-hero-bottom{margin:0;max-width:650px}
.edu-hero-bottom p{font:italic clamp(15px,1.05vw,18px)/1.14 Georgia,'Times New Roman',serif;letter-spacing:-.02em;max-width:none;margin:0}
.edu-stories-section{padding-top:55px}
.edu-stories-section .edu-heading-row{display:block;margin-bottom:30px}
.education-page #projects-title{font:400 clamp(44px,7vw,105px)/1 Georgia,serif;letter-spacing:-4px;color:#eee;margin:18px 0 16px}
.education-page #projects-title em{color:#9f9f9f}
.edu-projects-intro{font:italic clamp(15px,1.05vw,18px)/1.14 Georgia,'Times New Roman',serif;color:#aaa9a4;letter-spacing:-.02em;margin:0;white-space:nowrap}
.edu-stories-grid{gap:4px;align-items:stretch}
.edu-story:nth-child(n){transform:none;margin-bottom:0}
.edu-story-top{min-height:132px}
@media(min-width:1001px){.edu-story{min-height:0}}
@media(max-width:1000px){.edu-story-top{min-height:115px}}
@media(max-width:700px){
 .education-page .edu-hero,.education-page .edu-stories-section{width:88%}
 .edu-hero{padding-top:18px}
 .edu-hero-top{top:18px}
 .edu-exhibition{font-size:23px}
 .edu-exhibition small{font-size:7px}
 .edu-hero h1{font-size:clamp(38px,8vw,60px);letter-spacing:-.045em;line-height:1.12;max-width:65%;margin-bottom:22px}
 .edu-hero-bottom{max-width:none}
 .edu-hero-bottom p{font-size:17px;line-height:1.25;margin:0}
 .edu-stories-section{padding-top:40px}
 .education-page #projects-title{font-size:clamp(38px,10vw,60px);line-height:1.12;letter-spacing:-.045em}
 .edu-projects-intro{white-space:normal;font-size:17px;line-height:1.25}
 .edu-stories-grid{grid-template-columns:1fr;gap:4px}
 .edu-story{aspect-ratio:auto;min-height:0}
 .edu-story-top{min-height:0}
}

.edu-hero h1{white-space:nowrap;max-width:none}
@media(max-width:700px){.edu-hero-top{position:static;justify-content:flex-end;margin-bottom:22px}.edu-hero h1{font-size:clamp(22px,7.4vw,52px);max-width:none;white-space:nowrap}.edu-stories-section{padding-top:32px}}

/* Shared left edge and the Work introduction colour. */

.education-page .edu-hero,.education-page .edu-stories-section{width:92%;max-width:none}
.edu-hero-bottom p,.edu-hero-bottom p em{color:#c8c8c5}

/* Match the cover frames to the Room headline accent. */
.education-page .edu-story-cover,.education-page .edu-story:hover .edu-story-cover,.education-page .edu-story-cover:hover{border-color:#aaa79e}
.education-page .edu-story:hover h3{color:#ffc45c}

/* Sentence-case story links stay orange in every state. */
.education-page .edu-story-open{text-transform:none;color:#ffc45c;letter-spacing:0}
.education-page .edu-story-open:hover{color:#ffc45c}

/* Design uses separate layers: rows for inertia, cards for the .9s reveal. */
.edu-stories-grid:has(>.edu-story-row){display:block}
.edu-story-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;align-items:stretch;margin-bottom:4px}
.edu-story-row:last-child{margin-bottom:0}
.education-page .edu-story-row>.edu-story.reveal{opacity:0;transform:translateY(50px);transition:opacity .9s,transform .9s}
.education-page .edu-story-row>.edu-story.reveal.seen{opacity:1;transform:none}
@media(max-width:700px){.edu-story-row{grid-template-columns:1fr}}


.edu-project-description{max-width:900px;margin:0 0 30px}
.edu-project-description h3{font:400 28px Georgia,serif;margin:10px 0 18px}
.edu-project-description p{font:15px/1.8 Arial,sans-serif;color:#c3beb2;margin:0 0 18px}
.edu-dialog-notes>[hidden],.edu-dialog-notes[hidden],.edu-project-description[hidden]{display:none}
.edu-dialog-notes:has(>[hidden]){grid-template-columns:1fr}
@media(max-width:700px){.edu-project-description h3{font-size:26px}.edu-project-description p{font-size:14px}}

/* Shared neutral surface for Teaching cards and their open galleries. */
.education-page{--teaching-surface:#262626}
.education-page .edu-story,.education-page .edu-story-dialog,
.education-page .edu-dialog-bar,.education-page .edu-dialog-stage,
.education-page .edu-dialog-stage>video{background:var(--teaching-surface)}
@media(max-width:700px){
 
 .education-page .edu-stories-section{width:88%;max-width:none}
 .education-page .edu-hero{width:calc(88% - 10px);max-width:none}
}

/* Remove the fine outer card outline; preserve the slide frames. */
.education-page .edu-story{border-color:transparent}

/* Hover preview layers leave the original cover and paired-slide layout intact. */
.education-page .edu-story-cover>.edu-hover-frame{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;min-width:0;flex:none;aspect-ratio:auto;object-fit:contain;object-position:center;background:#080808;opacity:0;transition:opacity 1.1s ease-in-out;pointer-events:none;z-index:1}
.edu-story-image-hint{z-index:2}


/* Topic captions follow each card title and match the story-link type. */
.education-page .edu-story-subtitle{font:9px/1.5 monospace;letter-spacing:.1em;color:#c8c8c5;margin:10px 0 0;transition:color .25s ease}
.education-page .edu-story:hover .edu-story-subtitle,.education-page .edu-story:focus-within .edu-story-subtitle{color:#ffc45c}

@media(max-width:650px){.education-page .edu-story-subtitle{font-size:8px}}

/* Teaching uses the same right edge as Design navigation and portfolio link. */
.education-page .edu-hero-top{right:0;text-align:right}
.education-page .edu-exhibition{text-align:right}
@media(max-width:700px){.education-page .edu-hero-top{display:flex;justify-content:flex-end}.education-page .edu-exhibition{margin-left:auto}}

/* Match Teaching text and navigation to the outer card-grid edges. */
.education-page .edu-hero,.education-page .edu-stories-section{width:88%;max-width:none;margin-left:auto;margin-right:auto}
.education-page .edu-hero h1,.education-page .edu-hero-bottom{text-align:left}
.education-page .edu-hero-top{right:0}

/* Card titles start directly, without the former numbered topic line. */
.education-page .edu-story-top h3{margin-top:0}

/* Equal breathing room above and below every card preview. */
.education-page .edu-story-top{min-height:0;margin-bottom:23px}
.education-page .edu-story-text{padding-top:23px}

/* The image area, excluding the grey border, is exactly 16:9. */
.education-page .edu-story-cover{box-sizing:content-box;width:calc(100% - 10px);height:auto;aspect-ratio:16 / 9;border-width:5px;padding:0}

/* Open Teaching stories have no outer contour, matching their cards. */
.education-page .edu-story-dialog{border:0}

/* Gallery headings mirror the card title and its project caption. */
.education-page .edu-story-dialog .edu-dialog-bar h2{font:400 clamp(27px,2.9vw,43px)/1.07 Georgia,serif;letter-spacing:-.035em;margin:0;color:#eee}
.education-page .edu-dialog-bar:hover .edu-story-subtitle{color:#ffc45c}
.education-page .edu-dialog-bar .edu-story-subtitle[hidden]{display:none}
