@font-face{font-family:'HSE Sans';src:url('../fonts/HSESans-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'HSE Sans';src:url('../fonts/HSESans-SemiBold.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:'HSE Sans';src:url('../fonts/HSESans-Bold.woff2') format('woff2');font-style:normal;font-weight:700 900;font-display:swap}
@font-face{font-family:'HSE Slab';src:url('../fonts/HSESlab-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
.reference-one{--sans:'HSE Sans',Arial,sans-serif;--serif:'HSE Sans',Arial,sans-serif;--hand:'HSE Sans',Arial,sans-serif;--ink:#24282d;--muted:#565f68;--body-text:#30353a;--secondary-text:#555f69;background:#fff;font-family:var(--sans);color:var(--ink)}
.reference-one :is(h1,h2,h3,.ref-section-heading h2,.ref-news-body h3,.ref-awards-grid h3){font-family:var(--sans);font-weight:600;letter-spacing:-.025em}
.reference-one:not(.high-contrast) :is(.ref-section-heading h2,.ref-news-body h3,.ref-teacher-card h3,.ref-audience-link strong,.ref-quick-links strong){color:var(--ink)}
.reference-one:not(.high-contrast) :is(.ref-section-link,.nav-toggle,.nav-official-link){color:#28343e}
.reference-one .ref-hero h1{font-weight:600;font-size:3.35rem;line-height:1.12}
.reference-one .ref-hero h1 em{font-family:var(--sans);font-size:3.85rem;font-weight:600;line-height:1.12;margin-top:8px;white-space:normal}
.reference-one .ref-hero h1>span{white-space:normal}
.reference-one .ref-handwritten{font-size:1.3rem;line-height:1.35;font-weight:600}
.reference-one .ref-help-note{font-size:1.35rem;line-height:1.4}
.reference-one .ref-news-body h3{font-size:1.35rem;line-height:1.25}
.reference-one .ref-news-body p{font-size:1.05rem;line-height:1.55}
.reference-one .ref-news-body .news-meta{font-size:.875rem;line-height:1.5}
.reference-one .ref-news-body{padding:20px}
.reference-one .ref-about-copy>p{font-size:1.125rem;line-height:1.6}
.reference-one .ref-section-heading h2{font-size:2.15rem}
.reference-one .ref-section-link{font-size:.9375rem}
.reference-one :is(.ref-help-links>a,.ref-direction-card>span,.ref-event-list strong,.ref-teacher-card h3){font-size:1rem}
.reference-one :is(.ref-illustration-note,.ref-event-list>a>span:last-child>span,.ref-teacher-card span){font-size:.875rem}

/* Desktop lists sit below the selected item; phones retain the full-screen menu. */
.reference-one .desktop-menu-button{display:none}
.reference-one .ref-dropdown-list{display:flex;flex-direction:column}
.reference-one .ref-dropdown-overview{padding:13px 16px;color:#124f80;font-size:1rem;font-weight:600;border-bottom:1px solid #dbe5ec;margin-bottom:5px;line-height:1.4}
.reference-one .ref-dropdown-list .mega-link{font-size:1.05rem;line-height:1.45;padding:13px 16px;border:0;border-radius:5px;color:#252b32}
.reference-one .ref-dropdown-list .mega-link:hover,.reference-one .ref-dropdown-list .mega-link:focus-visible{background:#edf5fb;color:#164f86}
.reference-one .ref-desktop-group{border-bottom:1px solid #e4ebef}
.reference-one .ref-desktop-group summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 16px;font-size:1.05rem;line-height:1.4;cursor:pointer}
.reference-one .ref-desktop-group summary::-webkit-details-marker{display:none}
.reference-one .ref-desktop-group summary .icon{width:17px;height:17px}
.reference-one .ref-desktop-group[open] summary{color:#164f86;font-weight:600}
.reference-one .ref-desktop-group[open] summary .icon{transform:rotate(180deg)}
.reference-one .ref-desktop-group>div{padding-left:12px}
@media(min-width:1024px){
  .reference-one .ref-header-row{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:18px;min-height:88px}
  .reference-one .desktop-menu-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 11px;border:1px solid #d6e0e8;border-radius:7px;font-weight:600;font-size:.9375rem}
  .reference-one .desktop-menu-button .icon{width:19px;height:19px}
  .reference-one .ref-desktop-nav{display:flex;width:auto;height:auto;min-height:64px;gap:14px;justify-content:center}
  .reference-one .nav-toggle{min-height:64px;font-size:.9375rem;font-weight:600;gap:6px}
  .reference-one .nav-toggle .icon{width:12px;height:12px}
  .reference-one .ref-brand .brand-copy{font-size:1rem}
  .reference-one .ref-book-logo{width:43px;height:49px}
  .reference-one .ref-book-logo .icon{width:43px;height:43px}
  .reference-one .ref-brand{gap:9px}
  .reference-one .header-actions{gap:4px}
  .reference-one .ref-diary-button{display:inline-flex;margin-left:3px;padding-inline:17px;font-size:.8125rem}
  .reference-one .mobile-menu-button{display:none}
  .reference-one .mega-panel{right:auto;top:100%;padding:12px;background:#fff;border:1px solid #e0e6eb;border-radius:8px;box-shadow:0 12px 36px #14233224;overflow-y:auto;overscroll-behavior:contain;backdrop-filter:none}
  .reference-one .menu-backdrop{background:transparent}
  .reference-one.large-text .desktop-menu-button{display:none}
  .reference-one.large-text .mobile-menu-button{display:inline-flex}
}
@media(min-width:1024px) and (max-width:1389px){
  .reference-one .ref-header-row{grid-template-columns:auto 1fr auto;gap:0 18px;padding-top:12px;min-height:0}
  .reference-one .ref-desktop-nav{grid-column:1/-1;grid-row:2;justify-content:space-between;min-height:57px;height:57px;border-top:1px solid #e6edf2;margin-top:10px}
  .reference-one .nav-toggle{min-height:57px;font-size:1rem}
  .reference-one .ref-diary-button{display:inline-flex}
}
@media(max-width:1023px){.reference-one .ref-desktop-nav,.reference-one .desktop-menu-button{display:none}.reference-one .mobile-menu-button{display:inline-flex}.reference-one .ref-diary-button{display:none}}

/* Article composition follows the supplied editorial reference. */
.reference-one .article-masthead{background:#f1f5f7;padding:28px 0 56px;border-bottom:1px solid #e6edf1}
.reference-one .article-masthead .breadcrumbs{margin:0 0 42px;font-size:.9375rem;color:#48535e}
.reference-one .article-school{display:flex;align-items:center;gap:25px;width:fit-content}
.reference-one .article-school-mark{display:flex;align-items:center;justify-content:center;width:84px;height:84px;border-radius:15px;background:#164f86;color:#fff;flex-shrink:0}
.reference-one .article-school-mark .icon{width:49px;height:49px;stroke-width:1.5}
.reference-one .article-school-name{display:block;font-size:3rem;font-weight:600;line-height:1.12;letter-spacing:-.025em;color:#262c32}
.reference-one .article-school-caption{display:block;font-size:1.25rem;margin-top:12px;line-height:1.4;color:#444e58}
.reference-one .editorial-article{width:min(1064px,calc(100% - 100px));max-width:none;padding:60px 0 0}
.reference-one .editorial-article .article-heading{margin-bottom:44px}
.reference-one .editorial-article .article-heading>.eyebrow{font-size:.875rem;letter-spacing:.08em;margin-bottom:21px}
.reference-one .editorial-article h1{font-family:var(--sans);font-size:3.25rem;line-height:1.1;letter-spacing:-.025em;font-weight:600;color:#24282d;margin:0}
.reference-one .editorial-article .article-lead{font-family:'HSE Slab',Georgia,serif;font-size:1.75rem;line-height:1.45;letter-spacing:0;color:#2c3035;margin-top:34px}
.reference-one .editorial-article .article-body{max-width:none;margin:48px 0 0;font-size:1.375rem;line-height:1.6;color:var(--ink)}
.reference-one .editorial-article .article-body>p+p{margin-top:26px}
.reference-one .article-bottom{display:flex;align-items:center;gap:28px;border-top:1px solid #dce4ea;padding-top:30px;margin-top:42px;font-size:1rem}
.reference-one .article-bottom .button{font-size:1rem}
.reference-one .article-gallery-track{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;border-radius:0;background:#f1f4f6}
.reference-one .article-gallery-track::-webkit-scrollbar{display:none}
.reference-one .article-gallery-slide{flex:0 0 100%;width:100%;min-width:0;margin:0;scroll-snap-align:start;display:flex;flex-direction:column;justify-content:center}
.reference-one .article-photo-open{display:flex;justify-content:center;align-items:center;padding:0;width:100%;height:100%;background:#f1f4f6;cursor:zoom-in}
.reference-one .article-photo-open>img{display:block;width:100%;height:auto;max-height:min(75svh,760px);object-fit:contain;object-position:center}
.reference-one .article-gallery-slide figcaption{padding:12px 16px;background:#fff;color:#555f69;font-size:.9375rem}
.reference-one .article-gallery-toolbar{display:flex;align-items:center;gap:20px;min-height:70px;border-bottom:1px solid #dce4ea;padding:13px 0}
.reference-one .carousel-counter{font-size:.9375rem;color:#53606b;font-variant-numeric:tabular-nums}
.reference-one .gallery-enlarge{font-size:1rem;text-decoration:underline;text-underline-offset:4px;padding:10px 0;color:#164f86;margin-left:auto;min-height:44px}
.reference-one .carousel-buttons{display:flex;gap:10px}
.reference-one .gallery-pagination{display:flex;align-items:center;gap:3px}
.reference-one .gallery-pagination button{display:flex;align-items:center;justify-content:center;width:36px;height:44px;padding:10px}
.reference-one .gallery-pagination button>span{width:7px;height:7px;background:#b5c4d0;border-radius:50%}
.reference-one .gallery-pagination button[aria-pressed=true]>span{background:#1a527e;box-shadow:0 0 0 3px #e0ebf3}
.reference-one .carousel-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #bfcdd8;border-radius:50%;width:46px;height:46px;min-width:46px;padding:10px;background:#fff;color:#263e51;transition:background .15s}
.reference-one .carousel-button:hover{background:#e9f2f9}
.reference-one .carousel-button:disabled{opacity:.35;cursor:default}
.reference-one .carousel-button .icon{width:23px;height:23px;stroke-width:2}
.reference-one .ref-news-controls{display:none}
.reference-one .ref-news-carousel{position:relative}
.reference-one .gallery-viewer{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:20px 28px;border:0;background:#191d23;color:#f8fafc;overflow:hidden}
.reference-one .gallery-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:16px}
.reference-one .gallery-viewer::backdrop{background:#191d23}
.reference-one .gallery-viewer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:1rem}
.reference-one .gallery-viewer-close{display:flex;align-items:center;gap:10px;min-height:44px;color:#fff;font-size:1rem}
.reference-one .gallery-viewer-stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center}
.reference-one .gallery-viewer-image{width:100%;height:100%;min-height:0;object-fit:contain;object-position:center;display:block}
.reference-one .gallery-viewer-caption{font-size:.9375rem;color:#dce4ee;line-height:1.5;text-align:center;max-width:950px;justify-self:center}
.reference-one .viewer-previous,.reference-one .viewer-next{position:absolute;z-index:1;top:50%;transform:translateY(-50%);background:#fff;color:#172b3d}
.reference-one .viewer-previous{left:0}.reference-one .viewer-next{right:0}
@media(max-width:720px){
  .reference-one .ref-hero h1{font-size:2.25rem;line-height:1.13}
  .reference-one .ref-hero h1 em{font-size:2.55rem;line-height:1.12}
  .reference-one .ref-hero .hero-copy{padding-bottom:300px}
  .reference-one .ref-section-heading h2{font-size:1.85rem}
  .reference-one .ref-section-link{font-size:.875rem}
  .reference-one .ref-news-grid{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;align-items:stretch;padding:2px 0 7px}
  .reference-one .ref-news-grid::-webkit-scrollbar{display:none}
  .reference-one .ref-news-grid .news-card{flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
  .reference-one .ref-news-carousel{--news-photo-height:220px}
  .reference-one .ref-news-grid .ref-photo{height:var(--news-photo-height)}
  .reference-one .ref-news-grid .ref-news-body{padding-top:38px}
  .reference-one .ref-news-body h3{font-size:1.45rem;line-height:1.25}
  .reference-one .ref-news-body p{font-size:1.0625rem;line-height:1.55}
  .reference-one .ref-news-controls{display:flex;align-items:center;justify-content:center;margin-top:12px}
  .reference-one .ref-news-controls .carousel-buttons{position:absolute;top:calc(var(--news-photo-height) + 3px);left:12px;right:12px;transform:translateY(-50%);justify-content:space-between;pointer-events:none;z-index:4}
  .reference-one .ref-news-controls .carousel-button{pointer-events:auto;background:#fff;color:#123b5b;border-color:#c8d6e1;box-shadow:0 3px 14px #15324c2b}
  .reference-one .ref-news-controls .carousel-button:hover{background:#eaf3fa}
  .reference-one .ref-news-controls .carousel-button:disabled{opacity:1;color:#95a7b6;background:#f7f9fb;box-shadow:0 2px 9px #15324c12}
  .reference-one .ref-news-controls .carousel-button .icon{stroke-width:2.5}
  .reference-one .ref-news-body .news-meta{flex-direction:row;font-size:.875rem;gap:12px}
  .reference-one .ref-news-body .news-meta>span:last-child{display:block}
  .reference-one .article-masthead{padding:24px 0 32px}
  .reference-one .article-masthead .breadcrumbs{font-size:.875rem;margin-bottom:25px}
  .reference-one .article-school{gap:16px}
  .reference-one .article-school-mark{width:58px;height:64px;border-radius:10px}
  .reference-one .article-school-mark .icon{width:34px;height:34px}
  .reference-one .article-school-name{font-size:1.9rem}
  .reference-one .article-school-caption{font-size:.9375rem;margin-top:7px}
  .reference-one .editorial-article{width:calc(100% - 32px);padding-top:34px}
  .reference-one .editorial-article h1{font-size:2.2rem;line-height:1.12}
  .reference-one .editorial-article .article-heading>.eyebrow{font-size:.8125rem;margin-bottom:16px}
  .reference-one .editorial-article .article-lead{font-size:1.3rem;line-height:1.5;margin-top:24px}
  .reference-one .editorial-article .article-heading{margin-bottom:30px}
  .reference-one .editorial-article .article-body{margin-top:28px;font-size:1.125rem;line-height:1.65}
  .reference-one .article-gallery-toolbar{gap:14px;flex-wrap:wrap}
  .reference-one .article-photo-open>img{max-height:75svh}
  .reference-one .gallery-viewer{padding:12px}
  .reference-one .gallery-viewer-caption{font-size:.875rem}
  .reference-one .article-bottom{gap:20px;flex-wrap:wrap}
}
@media(max-width:350px){.reference-one .ref-hero h1{font-size:1.95rem}.reference-one .ref-hero h1 em{font-size:2.15rem}.reference-one .ref-news-carousel{--news-photo-height:190px}.reference-one .editorial-article h1{font-size:1.9rem}.reference-one .article-school-name{font-size:1.6rem}}

/* Prepared banner gallery, certificates and useful school services. */
.reference-one .ref-hero-placeholder{position:absolute;top:12%;right:5%;width:42%;height:72%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:15px;padding:28px;border:1px dashed #9cb6c9;border-radius:18px;background:linear-gradient(140deg,#edf5fb,#dcecf3);color:#31576f}
.reference-one .ref-hero-placeholder-1{background:linear-gradient(140deg,#e8f3f5,#d8eaf0)}
.reference-one .ref-hero-placeholder-2{background:linear-gradient(140deg,#eaf0f9,#e2e9f5)}
.reference-one .ref-hero-placeholder>.icon{width:76px;height:76px;stroke-width:1}
.reference-one .ref-hero-placeholder strong{font-size:1.75rem;font-weight:600;line-height:1.2}
.reference-one .ref-hero-placeholder>span{font-size:1rem;line-height:1.5;max-width:260px}
.reference-one .ref-hero:has(.ref-hero-placeholder) .ref-hero-fade{display:none}
.reference-one .ref-hero:has(.ref-hero-placeholder) :is(.ref-handwritten,.ref-hero-quote){display:none}
.reference-one .ref-hero:has(.ref-hero-placeholder) .hero-copy{max-width:52%;padding-top:75px}
.reference-one #main>:is(.school-recognition,.school-resources){margin-block:var(--section-gap) 0}
.reference-one .materials-intro{font-size:1.125rem;line-height:1.6;color:var(--body-text);max-width:700px;margin-top:-5px;margin-bottom:28px}
.reference-one .school-rankings{display:grid;grid-template-columns:1fr 1fr 1.1fr;align-items:center;gap:30px;padding:28px 32px;margin-bottom:32px;background:#edf5fa;border:1px solid #dce8f0;border-radius:12px}
.reference-one .school-rankings strong{display:block;font-size:2.35rem;font-weight:600;letter-spacing:-.035em;line-height:1.15;color:#174d76}
.reference-one .school-rankings div>span{display:block;font-size:1.1rem;margin-top:7px;line-height:1.4}
.reference-one .school-rankings>p{font-size:1rem;line-height:1.6;color:#394a58}
.reference-one .school-rankings>p>span{font-size:.875rem;color:#5d6b76}
.reference-one .certificate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.reference-one .certificate-card{padding:0 0 22px;display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;overflow:hidden;border:1px solid #dce5ec;border-radius:10px;background:#fff;transition:border-color .15s,box-shadow .15s}
.reference-one .certificate-card:hover{border-color:#9ebacf;box-shadow:0 7px 24px #21435b12}
.reference-one .certificate-preview{display:flex;align-items:center;justify-content:center;aspect-ratio:1.18;background:#f4f7f9;padding:20px}
.reference-one .certificate-preview>img{display:block;width:100%;height:100%;object-fit:contain;max-height:235px}
.reference-one .certificate-title{font-size:1.15rem;font-weight:600;line-height:1.3;padding:20px 20px 0}
.reference-one .certificate-detail{font-size:.9375rem;line-height:1.5;color:#586572;padding:10px 20px 20px}
.reference-one .certificate-action{font-size:.9375rem;color:#164f86;text-decoration:underline;text-underline-offset:4px;margin-top:auto;padding-inline:20px}
.reference-one .resource-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.reference-one .resource-group-card{padding:28px;border:1px solid #dce5ec;border-radius:12px;background:#f7fafc;min-width:0;height:100%}
.reference-one .resource-group-card h3,.reference-one .resource-group-card h2{font-size:1.5rem;line-height:1.25;margin:18px 0 12px;color:#293541}
.reference-one .resource-group-card>p{font-size:1.0625rem;line-height:1.55;color:#4b5a67;margin-bottom:20px}
.reference-one .resource-group-card ul{list-style:none;padding:0;margin:0}
.reference-one .resource-group-card li+li{border-top:1px solid #dce5ec}
.reference-one .resource-link{display:block;padding:14px 0;line-height:1.45;font-size:1.0625rem;color:#194e77;overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:#c4d7e6;text-underline-offset:4px}
.reference-one .resource-link:hover{color:#102f4b;text-decoration-color:currentColor}
.reference-one .resource-group-icon{display:flex;align-items:center;justify-content:center;width:47px;height:47px;background:#dfedf6;border-radius:11px;color:#235f8b}
.reference-one .resource-group-icon .icon{width:27px;height:27px}
.reference-one .school-partners{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:center;gap:32px;padding:30px 0;margin-top:32px;border-top:1px solid #dce5ec}
.reference-one .school-partners h3{font-size:1.3rem;line-height:1.3}
.reference-one .school-partners img{display:block;width:100%;height:auto;object-fit:contain}
@media(max-width:1100px){.reference-one .certificate-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-one .resource-group-grid{grid-template-columns:1fr 1fr}.reference-one .school-rankings{gap:22px;padding:26px}.reference-one .school-rankings strong{font-size:2rem}}
@media(max-width:720px){
  .reference-one .ref-hero-placeholder{width:calc(100% - 32px);height:calc(100% - 24px);top:0;right:16px;border-radius:12px;padding:20px}
  .reference-one .ref-hero-placeholder>.icon{width:55px;height:55px}
  .reference-one .ref-hero-placeholder strong{font-size:1.45rem}
  .reference-one .ref-hero-placeholder>span{font-size:.9375rem}
  .reference-one .ref-hero:has(.ref-hero-placeholder) .hero-copy{max-width:none;padding-top:30px}
  .reference-one .ref-hero:has(.ref-hero-placeholder) .ref-hero-image{height:280px;bottom:42px}
  .reference-one .ref-hero:has(.ref-hero-placeholder) .ref-hero-content,.reference-one .ref-hero:has(.ref-hero-placeholder) .ref-hero-slide{min-height:740px}
  .reference-one .certificate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .reference-one .certificate-preview{padding:12px;aspect-ratio:1}
  .reference-one .certificate-card{padding-bottom:17px}
  .reference-one .certificate-title{font-size:1.0625rem;padding:16px 15px 0}
  .reference-one .certificate-detail{font-size:.875rem;padding:9px 15px 15px}
  .reference-one .certificate-action{font-size:.875rem;padding-inline:15px}
  .reference-one .school-rankings{grid-template-columns:1fr 1fr;padding:22px;gap:22px 16px}
  .reference-one .school-rankings>p{grid-column:1/-1;font-size:.9375rem}
  .reference-one .school-rankings div>span{font-size:.9375rem}
  .reference-one .resource-group-grid{grid-template-columns:1fr;gap:18px}
  .reference-one .resource-group-card{padding:25px}
  .reference-one .materials-intro{font-size:1.0625rem}
  .reference-one .school-partners{grid-template-columns:1fr;gap:12px;margin-top:25px;padding-bottom:0}
}
@media(max-width:350px){.reference-one .certificate-grid{grid-template-columns:1fr}.reference-one .certificate-preview{aspect-ratio:1.3}.reference-one .school-rankings{padding:18px}.reference-one .school-rankings strong{font-size:1.7rem}}
