/* HMT: the original site, with a quiet midnight-blue reading surface. */
:root{--paper:#0b192b;--ink:#eeeae0;--sage:#b0c5be;--gold:#dfc183;--hmt-surface:#12243a;--hmt-muted:#bcc9d4;--hmt-line:#a9bed12b;color-scheme:dark}
body{background:#0b192b;color:var(--ink)}
body:before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#0b192b18,#0b192b44),url('hmt-memoire-illustration.webp') center bottom/cover no-repeat;opacity:.65}
main{position:relative}main>.wrap,main>article{position:relative}
header{background:#0b192bf5;border-bottom-color:#dfbd6360}header nav a:hover{background:#dfbd63;color:#101e35}
.home-news,.project-path,.capsules,.article-hero,.poem-reading{background:#0f2035;color:var(--ink)}
.home-news{border-bottom:1px solid var(--hmt-line)}
.news-card,.rubric,.capsule-method,.bio-callout,.student-testimony,.space-box,.work-card{background:#14283e;color:var(--ink);border-color:var(--hmt-line)}
.news-copy p,.rubric p,.note,.sectionhead p,.polak-poster figcaption,.cdi-layout figcaption,.timeline-photo figcaption{color:var(--hmt-muted)}
.news-controls button{background:#152b43;color:var(--ink);border-color:#92a9bc70}
.news-wordmark{background:#1c3149;color:var(--gold)}
.rubric-symbol{background:#1b314a;color:var(--gold)}.rubric.logo img{background:#fff}
.dark{background:#071525;color:var(--ink)}
.breadcrumb a,.rubric-link,.event time,.capsule-number,.capsule-quote span,.chronology time,.chronology span,.year-thread a{color:#c6d8cf}
.year-thread{background:#152a42}.chronology li{border-color:#789e9d}.chronology li:before{border-color:#0f2035;background:var(--gold)}
.stats,.card,.capsule-format{border-color:var(--hmt-line)}
.article-photo,.polak-bus,.cdi-main,.timeline-photo img{background:#12243a}
.student-testimony{border-left-color:var(--gold)}
footer{background:#071423;color:#c4d0dc;border-top:1px solid var(--hmt-line)}.trial{background:#13273c;color:var(--hmt-muted)}
.btn{background:#365c62;color:#fff}.btn:hover{background:#426e74}.btn.secondary{background:transparent;color:#fff}
.poem-text{color:#111;background:#fff;color-scheme:light}
.privacy-tag,.feedback,.empty,#message:not(:empty){background:#1a3349;color:#e1e8eb}.space-box,.work-card{border-color:#7b95a750}
#message.error{background:#432b30;color:#ffded6}.student-space input,.student-space textarea,.student-space select{background:#0b192b;color:#f0ede6;border-color:#7892a4}.student-space button{background:#1c344b;color:#f0ede6;border-color:#7892a4}.student-space .btn{background:#365c62;color:#fff}.student-space .status{color:#f6d693;background:#463b24}.student-space .status.validated{background:#264435;color:#d3f2dc}.student-space .status.revision{background:#4b3227;color:#ffdbc6}
.journey-chapter:nth-child(even){background:#112337}.journey-chapter{background-color:transparent}.closing{background:#11273c;color:var(--ink)}
/* Symbolic drawings are ornaments, never documentary photographs. */
.traces-section{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(180deg,#0a1728e8,#0b192bb5 60%,#0b192b75),url('hmt-memoire-illustration.webp') center bottom/cover no-repeat;border-top:1px solid var(--hmt-line);border-bottom:1px solid var(--hmt-line)}
.traces-section>.wrap{padding-top:75px;padding-bottom:65px}
.traces-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:55px;margin-bottom:40px}.traces-heading h2{margin:14px 0 0;font-size:clamp(34px,4vw,54px);line-height:1.12}.traces-heading h2 em{font-style:normal;color:var(--gold)}.traces-heading>p{max-width:370px;color:var(--hmt-muted);font-size:16px;line-height:1.85}
.traces-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:45px;align-items:start}.traces-path{min-width:0}.traces-path svg{width:100%;height:auto;overflow:visible;margin:12px 0 20px}.traces-path path{fill:none;stroke-width:2}.traces-base{stroke:#d8c49450;stroke-dasharray:5 8}.traces-progress{stroke:var(--gold);transition:stroke-dashoffset .8s ease}.trace-point{fill:#162c43;stroke:#abc2cb;stroke-width:2;transition:fill .3s}.trace-point.visited{fill:var(--gold);stroke:var(--gold)}.traces-path svg text{fill:#c2cfd5;font:16px system-ui}
.traces-dates{display:grid;grid-template-columns:1fr 1fr;gap:8px}.traces-dates button{min-width:0;background:#0e2036a6;color:#e0e6e6;border:1px solid #9eb5c534;padding:12px 14px;text-align:left;font:14px/1.5 system-ui;cursor:pointer;border-radius:4px;transition:border-color .2s,background .2s}.traces-dates button span{display:block;color:#c5d1dc;font-size:12px;margin-bottom:4px}.traces-dates button[aria-pressed=true]{border-color:var(--gold);background:#263444;color:#fff4d9}.traces-dates button[aria-pressed=true] span{color:var(--gold)}.traces-dates button:hover{border-color:var(--gold)}.traces-note{font-size:12px;line-height:1.7;color:#b9c8d4;margin:18px 0 0}
.trace-story{background:#102239ed;border:1px solid #b7c8d536;min-width:0}.trace-story figure{margin:0}.trace-story img{display:block;width:100%;height:255px;object-fit:cover;object-position:center}.trace-story figcaption{padding:8px 22px;color:#c6d2db;font-size:12px}.trace-copy{padding:25px}.trace-copy .eyebrow{margin:0;font-size:12px}.trace-place{font-size:13px;color:#b8ced0;margin:8px 0}.trace-copy h3{font-size:32px;margin:12px 0 17px;line-height:1.15}.trace-copy>p:not(.eyebrow):not(.trace-place){font-size:16px;line-height:1.85;color:#d2dce2;margin-bottom:18px}.trace-copy>a{color:var(--gold);text-underline-offset:5px;font-size:14px}.trace-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--hmt-line);margin-top:24px;padding-top:18px}.trace-controls button{background:none;border:1px solid #8399ac70;border-radius:4px;padding:8px 12px;color:#f1dfb5;font:14px system-ui;cursor:pointer;min-height:40px}.trace-controls button:hover{border-color:var(--gold)}.trace-controls span{font-size:13px;color:#bdcbd3}.traces-map-link{display:inline-block;margin-top:30px;color:var(--gold);text-underline-offset:5px;font-size:15px}.traces-details{margin-top:30px;border-top:1px solid var(--hmt-line);padding-top:22px}.traces-details>summary{font-size:15px;color:#d4e0e5;cursor:pointer;padding:10px 0}.traces-details .project-path{background:transparent}.traces-details .wrap{padding:35px 0}.traces-details .chronology a{height:auto}.traces-details .year-thread{background:#132a40}
.traces-dates button:focus-visible,.trace-controls button:focus-visible,.traces-map-link:focus-visible,.traces-details>summary:focus-visible{outline:2px solid #fff0c4;outline-offset:4px}
@media(max-width:850px){.traces-layout{grid-template-columns:1fr;gap:30px}.traces-heading{display:block}.traces-heading>p{max-width:650px;margin-top:25px}.traces-path svg{max-height:230px}.trace-story img{height:300px}}
@media(max-width:600px){.traces-section>.wrap{padding:50px 22px}.traces-heading h2{font-size:36px;overflow-wrap:anywhere}.traces-heading{margin-bottom:25px}.traces-path svg{display:none}.traces-dates{grid-template-columns:1fr 1fr;gap:8px}.traces-dates button{padding:11px 10px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.traces-dates button span{font-size:11px}.trace-story img{height:230px}.trace-copy{padding:22px}.trace-copy h3{font-size:29px}.trace-controls button{padding:8px 10px;font-size:13px}.traces-details .chronology{grid-template-columns:1fr}.traces-section{background-position:60% bottom}.traces-map-link{line-height:1.8}.traces-details>summary{line-height:1.8}}
@media(prefers-reduced-motion:reduce){.traces-progress,.trace-point{transition:none}}
/* The same commemorative illustration extends into the news section. */
body:before{background-image:linear-gradient(#0b192b18,#0b192b44),url('hmt-memoire-ciel-etoile.webp')}
.home-news,.traces-section,.article-hero{position:relative;isolation:isolate;overflow:hidden;background:#091728}
.home-news:before,.traces-section:before,.article-hero:before{content:'';position:absolute;inset:-8px;z-index:-2;pointer-events:none;background:url('hmt-memoire-ciel-etoile.webp') center bottom/cover no-repeat;opacity:.85;animation:hmt-landscape-drift 45s ease-in-out infinite alternate;will-change:transform}
.home-news:after,.traces-section:after,.article-hero:after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(1px 1px at 7% 8%,#e8d6acb0 80%,transparent),radial-gradient(1px 1px at 23% 18%,#d9e8f399 80%,transparent),radial-gradient(1.4px 1.4px at 39% 7%,#e8d6aca0 80%,transparent),radial-gradient(1px 1px at 57% 22%,#d9e8f399 80%,transparent),radial-gradient(1px 1px at 71% 13%,#e8d6acb0 80%,transparent),radial-gradient(1px 1px at 92% 6%,#d9e8f399 80%,transparent);animation:hmt-stars-breathe 9s ease-in-out infinite alternate}
.home-news>.wrap{position:relative;padding-bottom:150px;background:linear-gradient(#09172840,transparent)}
.home-news .news-card{background:#13263bef;border:1px solid #a8bec632;box-shadow:0 12px 30px #0002}.home-news .news-strip{padding-bottom:20px}.home-news .news-heading{margin-bottom:15px}.home-news .note{color:#d2dce5}
.traces-section:before{opacity:.65}.traces-section:after{opacity:.5}.traces-section>.wrap{background:linear-gradient(#09172880,#09172810)}
.article-hero:before{opacity:.45}.article-hero>*{position:relative}
.memory-motion-control{display:block;margin:20px 0 0 auto;border:1px solid #b3c8d45c;border-radius:4px;padding:9px 14px;color:#e8d3a4;background:#0b192bbf;font:13px/1.6 system-ui;cursor:pointer;min-height:42px}.memory-motion-control:focus-visible{outline:2px solid #fff0c4;outline-offset:4px}footer .memory-motion-control{margin:0;align-self:flex-start;flex:none}
.memory-still .home-news:before,.memory-still .home-news:after,.memory-still .traces-section:before,.memory-still .traces-section:after,.memory-still .article-hero:before,.memory-still .article-hero:after{animation-play-state:paused}
@keyframes hmt-landscape-drift{from{transform:translateX(-3px) scale(1.005)}to{transform:translateX(3px) scale(1.025)}}
@keyframes hmt-stars-breathe{from{opacity:.15}to{opacity:.65}}
@media(max-width:600px){.home-news>.wrap{padding-bottom:120px}.home-news:before{background-size:auto 100%;background-position:75% bottom}.memory-motion-control{margin-left:0}.traces-section:before{background-position:70% bottom}footer .memory-motion-control{margin-top:16px}}
@media(prefers-reduced-motion:reduce){.home-news:before,.home-news:after,.traces-section:before,.traces-section:after,.article-hero:before,.article-hero:after{animation:none;will-change:auto}.memory-motion-control{display:none}}
/* The welcome banner shares the illustrated night landscape. */
.hero{background:#091728;isolation:isolate;overflow:hidden}
.hero:before{content:'';position:absolute;inset:-8px;z-index:-3;pointer-events:none;background:url('hmt-memoire-ciel-etoile.webp') center bottom/cover no-repeat;animation:hmt-landscape-drift 45s ease-in-out infinite alternate;will-change:transform}
.hero .hero-slides{opacity:.12}
.hero:after{background:radial-gradient(1px 1px at 11% 10%,#e8d6ac99 80%,transparent),radial-gradient(1px 1px at 43% 7%,#d9e8f399 80%,transparent),radial-gradient(1px 1px at 80% 15%,#e8d6ac99 80%,transparent),linear-gradient(90deg,#09172840,#09172815 60%,#09172850)}
.hero .hero-presentation{background:#091728c7}.hero .inner{padding-bottom:110px}.hero .hero-slideshow-toggle{display:none}
.memory-still .hero:before{animation-play-state:paused}
@media(max-width:600px){.hero:before{background-position:73% bottom}.hero .inner{padding-bottom:125px}}
@media(prefers-reduced-motion:reduce){.hero:before{animation:none;will-change:auto}}
.hero .inner>.memory-motion-control{position:absolute;right:6%;bottom:20px;margin:0;z-index:2}.hero .hero-slides{display:none}
@media(max-width:600px){.hero .inner>.memory-motion-control{right:22px;bottom:24px}}
/* Restore the monochrome photographic slideshow behind the presentation. */
.hero:before{display:none}.hero .hero-slides{display:block;opacity:1}.hero:after{background:linear-gradient(90deg,#0917288c 0%,#09172840 60%,#09172860 100%)}.hero .hero-slideshow-toggle{display:block;z-index:2}.hero .hero-presentation{background:#091728d4}
/* Continue the illustrated night behind the navigation, without obscuring it. */
body>header{isolation:isolate;overflow:hidden;background:#091728f0;backdrop-filter:none}
body>header:before{content:'';position:absolute;inset:-18px;z-index:-2;pointer-events:none;background:linear-gradient(90deg,#09172880,#09172877),url('hmt-memoire-ciel-etoile.webp') center 80%/cover no-repeat;transform:scale(1.04)}
body>header>.brand,body>header>nav,body>header>.instagram-header-link{position:relative;z-index:2}body>header nav a{background:#091728bf}body>header nav a[aria-current=page],body>header nav a:hover{background:#dfbd63;color:#101e35}
.memory-starfield{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;opacity:.85}.memory-starfield i{position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);border-radius:50%;background:#f6e7c6;box-shadow:0 0 5px #e4d7b58c;opacity:.65}
.home-news>.wrap,.traces-section>.wrap,.article-hero>.wrap{position:relative;z-index:1}
.memory-moving .memory-starfield i{animation:hmt-star-twinkle var(--duration) ease-in-out var(--delay) infinite alternate}
.memory-moving .home-news:before,.memory-moving .traces-section:before,.memory-moving .article-hero:before,.memory-moving body>header:before{animation:hmt-landscape-visible 18s ease-in-out infinite alternate;will-change:transform}
.memory-still .memory-starfield i,.memory-still .home-news:before,.memory-still .traces-section:before,.memory-still .article-hero:before,.memory-still body>header:before{animation-play-state:paused}
.memory-motion-control{display:block!important}
@keyframes hmt-star-twinkle{0%{opacity:.25;transform:translateY(0) scale(.8)}100%{opacity:1;transform:translateY(-5px) scale(1.35)}}
@keyframes hmt-landscape-visible{from{transform:translateX(-12px) scale(1.035)}to{transform:translateX(12px) scale(1.065)}}
@media(max-width:760px){body>header:before{background-position:70% bottom}.memory-starfield{opacity:.8}}
@media(max-width:600px){body>header{gap:14px}body>header .brand{flex:1;min-width:0;gap:10px}body>header .brand img{width:58px;height:58px;flex:none}body>header .brand span{font-size:18px;line-height:1.35;letter-spacing:0;overflow-wrap:anywhere}body>header .instagram-header-link{flex:none;max-width:125px}}

@font-face{font-family:'HMT Cinzel';font-style:normal;font-weight:400;font-display:swap;src:url('cinzel-regular.ttf') format('truetype')}
body>header .brand,body>header .brand span{font-family:'HMT Cinzel',Georgia,serif;font-weight:400}body>header .brand span{font-size:clamp(20px,2vw,28px);line-height:1.35;letter-spacing:.015em}
@media(max-width:600px){body>header .brand span{font-size:17px;line-height:1.45;letter-spacing:0}}
/* Cinzel unifies the navigation and the two welcome actions. */
body>header nav a,body>header nav a[aria-current="page"],.hero .btn{font-family:'HMT Cinzel',Georgia,serif;font-weight:400;line-height:1.45;letter-spacing:.015em}
body>header nav a{font-size:clamp(14px,1.1vw,17px);white-space:normal;overflow-wrap:normal;min-width:0}.hero .btn{font-size:16px}
@media(max-width:760px){body>header nav a{font-size:14px;line-height:1.5;padding:11px 7px}.hero .btn{font-size:15px}}

/* Classic navigation typography. */
@font-face{font-family:'HMT Libre Baskerville';font-style:normal;font-weight:400 700;font-display:swap;src:url('libre-baskerville.ttf') format('truetype')}
body>header nav a,body>header nav a[aria-current="page"]{font-family:'HMT Libre Baskerville',Georgia,serif;font-weight:400;letter-spacing:0}
