@font-face {
  font-family: "HK Grotesk";
  src: url("../webfonts/hkgrotesk-regular-webfont.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "HK Grotesk";
  src: url("../webfonts/hkgrotesk-semibold-webfont.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}
:root {
  --yellow: #f7c928;
  --yellow-soft: #fff3bd;
  --yellow-soft-hover: #f4e39e;
  --yellow-pale: #fffaf0;
  --ink: #17202a;
  --ink-soft: #43505d;
  --navy: #162536;
  --white: #fff;
  --line: #dfe4e8;
  --surface: #f5f6f4;
  --blue: #125c74;
  --radius-sm: 10px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 20px 60px rgba(23, 32, 42, .11);
  --shell: min(1180px, calc(100% - 40px));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "HK Grotesk", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body.nav-open::before { content: ""; position: fixed; z-index: 999; inset: 76px 0 0; background: rgba(13, 25, 36, .34); }
img, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
a { color: var(--blue); text-decoration: none; }
.prose a:not(.button):not(:has(img)) { font-weight: 700; border-radius: 3px; transition: color .18s ease, background-color .18s ease; }
.prose a:not(.button):not(:has(img)):hover, .prose a:not(.button):not(:has(img)):focus-visible { color: var(--ink); background: var(--yellow-soft); }
h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--ink); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 800; }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 700; }
h4 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1.15em; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 2000; top: 12px; left: 12px; padding: 12px 18px; color: var(--ink); background: var(--yellow-soft); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #006f90; outline-offset: 4px; }
.topline { color: var(--white); background: var(--navy); font-size: .82rem; letter-spacing: .02em; }
.topline-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline-links { display: flex; gap: 24px; }
.topline a { color: var(--white); text-decoration: none; }
.site-header { position: sticky; z-index: 1000; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(23,32,42,.08); backdrop-filter: blur(15px); }
.nav-shell { width: min(1320px, calc(100% - 40px)); height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); text-decoration: none; min-width: max-content; }
.brand img { width: 58px; height: 58px; border-radius: 13px; box-shadow: 0 5px 20px rgba(23,32,42,.1); }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.brand small { margin-top: 6px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .24em; }
.main-nav { display: flex; align-items: center; gap: 3px; }
.main-nav > a, .nav-parent { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; color: var(--ink); background: transparent; border: 0; border-radius: 9px; font-weight: 600; font-size: .93rem; white-space: nowrap; text-decoration: none; cursor: pointer; }
.main-nav > a:hover, .nav-parent:hover, .main-nav [aria-current], .nav-parent.is-current { background: var(--yellow-soft); }
.main-nav .nav-contact { margin-left: 10px; padding-inline: 19px; color: var(--ink); background: var(--yellow-soft); }
.main-nav .nav-contact:hover, .main-nav .nav-contact:focus-visible { background: var(--yellow-soft-hover); }
.nav-chevron { width: 8px; height: 8px; display: inline-block; margin: -4px 0 0 2px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .18s ease, margin .18s ease; }
.nav-parent[aria-expanded="true"] .nav-chevron { margin-top: 4px; transform: rotate(225deg); }
.nav-group { position: relative; }
.dropdown { position: absolute; top: calc(100% + 9px); left: 0; width: 244px; display: grid; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.dropdown.mega-menu { left: 50%; width: min(340px, calc(100vw - 40px)); grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 12px; transform: translate(-50%, -8px); }
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.dropdown a { padding: 9px 11px; color: var(--ink); border-radius: 8px; font-size: .92rem; text-decoration: none; }
.dropdown.mega-menu a { display: grid; align-content: center; min-height: 74px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; }
.dropdown.mega-menu a strong { font-size: .96rem; line-height: 1.25; }
.dropdown.mega-menu a small { margin-top: 3px; color: var(--ink-soft); font-size: .78rem; line-height: 1.35; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--yellow-pale); border-color: var(--yellow); }
.nav-group:hover .dropdown, .nav-group:focus-within .dropdown, .nav-group.is-open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-group:hover .dropdown.mega-menu, .nav-group:focus-within .dropdown.mega-menu, .nav-group.is-open .dropdown.mega-menu { transform: translate(-50%, 0); }
.nav-toggle { display: none; min-width: 106px; min-height: 46px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px 8px 15px; color: var(--ink); background: var(--yellow-soft); border: 1px solid rgba(23,32,42,.08); border-radius: 11px; font-weight: 700; cursor: pointer; }
.nav-toggle:hover, .nav-toggle:focus-visible, .nav-toggle[aria-expanded="true"] { background: var(--yellow-soft-hover); }
.nav-toggle-label { line-height: 1; }
.nav-toggle-icon { width: 25px; height: 22px; display: grid; align-content: center; gap: 6px; }
.nav-toggle-icon span { display: block; width: 25px; height: 2px; background: currentColor; border-radius: 999px; transition: transform .2s ease, width .2s ease; }
.nav-toggle-icon span:last-child { width: 18px; justify-self: end; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:last-child { width: 25px; transform: translateY(-4px) rotate(-45deg); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--ink); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 36px; height: 5px; background: var(--yellow); border-radius: 999px; }
.lead { max-width: 720px; color: var(--ink-soft); font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.5; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; color: var(--ink); background: var(--yellow-soft); border: 1px solid var(--yellow-soft); border-radius: 9px; font-size: .95rem; font-weight: 700; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.button:hover, .button:focus-visible { color: var(--ink); background: var(--yellow-soft-hover); border-color: var(--yellow-soft-hover); box-shadow: 0 7px 18px rgba(159,121,0,.12); }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); box-shadow: none; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 700; }
.home-hero { position: relative; min-height: min(710px, calc(100vh - 120px)); display: grid; align-items: end; overflow: hidden; background: var(--navy); }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; filter: saturate(.9); }
.home-hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(10,22,34,.9) 0%, rgba(10,22,34,.67) 48%, rgba(10,22,34,.08) 80%), linear-gradient(0deg, rgba(10,22,34,.55), transparent 50%); }
.hero-copy { position: relative; z-index: 2; max-width: 800px; padding: clamp(52px, 6vw, 80px) 0 clamp(50px, 6vw, 72px); color: var(--white); }
.hero-copy .eyebrow, .hero-copy h1 { color: var(--white); }
.hero-copy h1 { max-width: 780px; }
.hero-copy .lead { max-width: 650px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.quick-contact { position: relative; z-index: 3; margin-top: -34px; }
.quick-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: 17px; box-shadow: var(--shadow); overflow: hidden; }
.quick-item { min-height: 104px; display: flex; align-items: center; gap: 14px; padding: 24px 28px; color: var(--ink); text-decoration: none; border-right: 1px solid var(--line); }
.quick-item:last-child { border-right: 0; }
.quick-item:hover { background: var(--yellow-pale); }
.quick-icon { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; background: var(--yellow-soft); border-radius: 50%; font-weight: 800; }
.quick-item span { display: grid; line-height: 1.25; }
.quick-item small { margin-bottom: 5px; color: var(--ink-soft); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.quick-item strong { font-size: 1rem; }
.section { padding: clamp(78px, 10vw, 130px) 0; }
.section.muted { background: var(--surface); }
.section.yellow-wash { background: var(--yellow-pale); }
.section-head { max-width: 780px; margin-bottom: 46px; }
.section-head h2 { max-width: 720px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card { position: relative; min-width: 0; min-height: 390px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: var(--white); background: var(--navy); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(23,32,42,.13); text-decoration: none; }
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,22,34,.92), rgba(10,22,34,.08) 72%); }
.feature-card-content { position: relative; z-index: 1; display: grid; grid-template-rows: auto auto 1fr; gap: 12px; padding: 28px; }
.feature-card h3 { margin: 0; color: var(--white); hyphens: auto; overflow-wrap: anywhere; }
.feature-card p { margin: 0; color: rgba(255,255,255,.82); hyphens: auto; overflow-wrap: anywhere; }
.feature-card:hover img { transform: scale(1.045); }
.feature-card-tag { display: inline-block; justify-self: start; align-self: start; padding: 5px 9px; color: var(--ink); background: var(--yellow-soft); border-radius: 5px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 721px) {
  /* The fallback reserves content space without clipping longer text. */
  .feature-card-content { min-height: 290px; }
  .feature-card h3 { min-height: 2.16em; }
  @supports (grid-template-rows: subgrid) {
    /* Each visual card row shares its tag, heading and description tracks. */
    .feature-grid { grid-auto-rows: minmax(180px, 1fr) auto auto auto; }
    .feature-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; padding: 28px; }
    .feature-card-content { display: contents; }
    .feature-card-tag, .feature-card h3, .feature-card p { position: relative; z-index: 1; align-self: start; min-height: 0; }
    .feature-card-tag { grid-row: 2; }
    .feature-card h3 { grid-row: 3; }
    .feature-card p { grid-row: 4; }
  }
}
.quote-tour { background: #f5f6f7; }
.quote-tour-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(36px, 6vw, 84px); }
.school-quote { margin: 0; }
.school-quote p { margin: 0; font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: 1.18; letter-spacing: -.045em; text-align: center; }
.school-quote em { font-family: Georgia, "Times New Roman", serif; font-size: 1.08em; font-weight: 700; letter-spacing: -.055em; }
.tour-preview { position: relative; display: block; width: 100%; min-height: 200px; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; color: var(--white); background: var(--navy); border: 0; border-radius: var(--radius); box-shadow: var(--shadow); text-align: left; cursor: pointer; }
.tour-preview[hidden], .tour-stop[hidden] { display: none; }
.tour-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.tour-preview::after { content: ""; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .56)); pointer-events: none; }
.tour-preview:hover img { transform: scale(1.035); }
.tour-preview-play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 72px; height: 51px; display: grid; place-items: center; background: #e60033; border-radius: 15px; box-shadow: 0 9px 25px rgba(0, 0, 0, .28); transform: translate(-50%, -50%); transition: background .2s ease, transform .2s ease; }
.tour-preview-play::before { content: ""; width: 0; height: 0; margin-left: 4px; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 17px solid var(--white); }
.tour-preview:hover .tour-preview-play, .tour-preview:focus-visible .tour-preview-play { background: #c9002d; transform: translate(-50%, -50%) scale(1.08); }
.tour-player { display: block; width: 100%; min-height: 200px; aspect-ratio: 16 / 9; background: var(--navy); border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.tour-privacy-note { margin: 16px 0 0; color: var(--ink-soft); font-size: .82rem; line-height: 1.5; }
.tour-privacy-note a { font-weight: 700; }
.tour-stop { margin-top: 10px; padding: 0; color: var(--blue); background: transparent; border: 0; font-size: .82rem; font-weight: 700; cursor: pointer; }
.tour-stop:hover { color: var(--ink); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.value { padding-top: 25px; border-top: 5px solid var(--yellow); }
.value .number { display: block; margin-bottom: 12px; font-size: 2.35rem; font-weight: 800; line-height: 1; }
.value p { color: var(--ink-soft); }
.split { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr); align-items: center; gap: clamp(42px, 7vw, 90px); }
.split.reverse > :first-child { order: 2; }
.image-frame { position: relative; isolation: isolate; margin: 0; }
.image-frame::before { content: ""; position: absolute; z-index: -1; inset: 18px -18px -18px 18px; background: transparent; border: 3px solid var(--yellow); border-radius: var(--radius); }
.image-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.portrait-frame { max-width: 420px; margin-inline: auto; }
.portrait-frame img { aspect-ratio: 3 / 4; object-position: center 25%; }
.image-frame.logo-frame { display: grid; place-items: center; min-height: 330px; padding: clamp(34px, 6vw, 64px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.image-frame.logo-frame img { width: min(100%, 260px); aspect-ratio: 1; object-fit: contain; border-radius: 0; box-shadow: none; }
.page-hero { position: relative; isolation: isolate; min-height: clamp(500px, 54vw, 690px); display: grid; overflow: hidden; color: var(--white); background: var(--navy); }
.page-hero-grid { min-height: inherit; display: flex; align-items: flex-end; }
.page-hero-copy { position: relative; z-index: 2; width: min(820px, 100%); padding: clamp(120px, 15vw, 185px) 0 clamp(64px, 9vw, 105px); }
.page-hero-copy h1 { max-width: 800px; color: var(--white); font-size: clamp(3rem, 6vw, 5.6rem); }
.page-hero-copy .eyebrow { color: var(--white); }
.page-hero-copy .lead { max-width: 700px; color: rgba(255,255,255,.9); }
.page-hero figure { position: absolute; z-index: 0; inset: 0; margin: 0; }
.page-hero figure::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(10,22,34,.94) 0%, rgba(10,22,34,.78) 43%, rgba(10,22,34,.22) 76%, rgba(10,22,34,.08) 100%), linear-gradient(0deg, rgba(10,22,34,.55), transparent 58%); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.content-section { padding: clamp(70px, 9vw, 115px) 0; }
.content-narrow { max-width: 850px; margin-inline: auto; }
.prose { color: var(--ink-soft); font-size: 1.05rem; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.7em; color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li { margin-bottom: .45em; }
.intro-card { padding: clamp(28px, 5vw, 50px); background: var(--yellow-pale); border-left: 7px solid var(--yellow); border-radius: 0 var(--radius) var(--radius) 0; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 36px rgba(23,32,42,.06); }
a.info-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
a.info-card:hover, a.info-card:focus-visible { color: var(--ink); border-color: var(--yellow); box-shadow: 0 14px 38px rgba(23,32,42,.1); text-decoration: none; }
a.info-card p { color: var(--ink-soft); }
a.info-card .text-link { margin-top: auto; text-decoration: none; }
a.info-card:hover .text-link, a.info-card:focus-visible .text-link { color: var(--blue); }
.info-card p:last-child { margin-bottom: 0; }
.person-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.person-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.person-card img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: top center; }
.person-card-body { padding: 25px 28px 29px; }
.person-card-body h2 { margin: 0 0 5px; font-size: 1.55rem; }
.person-card-body p { margin: 0; color: var(--ink-soft); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--ink); background: var(--yellow-soft); font-weight: 800; }
tr:last-child td { border-bottom: 0; }
.timeline { display: grid; gap: 14px; }
.timeline-item { display: grid; grid-template-columns: 86px 1fr; gap: 24px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.timeline-year { width: 70px; height: 70px; display: grid; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 50%; font-size: 1.35rem; font-weight: 800; }
.timeline-item h3 { margin-top: 4px; }
.timeline-item p:last-child, .timeline-item ul:last-child { margin-bottom: 0; }
.partner-list { columns: 3; column-gap: 34px; padding-left: 1.2em; }
.partner-list li { break-inside: avoid; margin-bottom: 8px; }
.bo-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 46px rgba(23,32,42,.07); }
.bo-table { table-layout: fixed; font-size: .96rem; }
.bo-table thead th { padding: 20px 24px; color: var(--white); background: var(--navy); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.bo-table thead th:first-child { width: 104px; }
.bo-table thead th:nth-child(2) { width: 55%; }
.bo-table tbody tr:nth-child(even) { background: #fafbf9; }
.bo-table tbody th, .bo-table tbody td { padding: 26px 24px; border-bottom: 1px solid var(--line); }
.bo-table tbody th { background: var(--yellow-pale); border-right: 1px solid var(--line); text-align: center; }
.bo-table tbody td { color: var(--ink-soft); }
.bo-table tbody td + td { border-left: 1px solid var(--line); }
.bo-table tbody tr:last-child th { border-bottom: 0; }
.bo-table ul { margin: 0; padding-left: 1.15em; }
.bo-table li + li { margin-top: .42em; }
.bo-table p:last-child { margin-bottom: 0; }
.bo-grade { display: inline-grid; width: 54px; height: 54px; place-items: center; color: var(--ink); background: var(--yellow); border-radius: 14px; font-size: 1.4rem; font-weight: 800; line-height: 1; }
.bo-mobile-label { display: none; }
.bo-team { display: grid; grid-template-columns: 1fr; gap: 32px; }
.bo-team > div:first-child { max-width: 820px; }
.bo-team h2 { hyphens: auto; overflow-wrap: anywhere; }
.bo-team > div > p:last-child { color: var(--ink-soft); }
.bo-team-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; }
.bo-team-list > div { padding: 23px; background: var(--surface); border-top: 4px solid var(--yellow); border-radius: 12px; }
.bo-team-list dt { color: var(--ink-soft); font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.bo-team-list dd { margin: 8px 0 0; color: var(--ink); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.bo-koobo-logo { width: min(100%, 390px); margin-inline: auto; }
.bo-partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin: 0; padding: 0; list-style: none; }
.bo-partners li { padding: 14px 16px; overflow-wrap: anywhere; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 11px; font-size: .94rem; font-weight: 600; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(23,32,42,.06); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface); }
.news-card-body { flex: 1; display: flex; flex-direction: column; padding: 23px; }
.news-date { margin-bottom: 9px; color: #5e6872; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.news-card h3 { font-size: 1.32rem; hyphens: auto; overflow-wrap: anywhere; }
.news-card p { color: var(--ink-soft); font-size: .95rem; }
.news-card .text-link { margin-top: auto; }
.news-article-hero { padding: clamp(60px, 8vw, 100px) 0 45px; background: var(--yellow-pale); }
.news-article-head { max-width: 960px; }
.news-article-head h1 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
.news-article-shell { max-width: 900px; padding: 58px 0 100px; }
.article-featured { margin: 0 0 42px; }
.article-featured img { width: 100%; max-height: 650px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-content { color: #303b46; font-size: 1.06rem; }
.article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6 { margin-top: 1.8em; color: var(--ink); }
.article-content a { overflow-wrap: anywhere; }
.article-content ul, .article-content ol { padding-left: 1.45em; }
.article-content blockquote { margin: 28px 0; padding: 24px 28px; color: var(--ink); background: var(--yellow-pale); border-left: 6px solid var(--yellow); }
.article-content .content-media { margin: 34px 0; }
.article-content .content-media img, .article-content > img { width: 100%; border-radius: 14px; }
.article-content video { width: 100%; margin: 28px 0; background: #000; border-radius: 14px; }
.article-content video.video-portrait { width: min(100%, 420px); margin-inline: auto; }
.article-content table { display: block; overflow-x: auto; margin: 28px 0; }
.content-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.content-gallery .content-media { margin: 0; }
.article-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); gap: 28px; }
.contact-card { padding: clamp(30px, 5vw, 50px); color: var(--white); background: var(--navy); border-radius: var(--radius); }
.contact-card h2, .contact-card h3 { color: var(--white); }
.contact-card a { color: var(--white); }
.contact-list { display: grid; gap: 21px; margin: 30px 0 0; }
.contact-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-row .quick-icon { width: 44px; height: 44px; color: var(--ink); }
.contact-row p { margin: 0; }
.contact-image { width: 100%; height: 100%; min-height: 480px; object-fit: cover; border-radius: var(--radius); }
.route-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: clamp(28px, 5vw, 48px); background: var(--yellow); border-radius: var(--radius); }
.route-card h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.route-card p { margin: 0; }
.legal { max-width: 900px; }
.legal h2 { margin-top: 1.8em; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.legal h3 { margin-top: 1.5em; }
.legal address { font-style: normal; }
.notice { padding: 20px 24px; background: var(--yellow-pale); border: 1px solid #ead17b; border-radius: 12px; }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 30px 0; }
.legal-card { min-width: 0; padding: 26px; overflow-wrap: anywhere; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.legal-card h2, .legal-card h3 { margin-top: 0; }
.implementation-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 30px; padding: 22px 24px; background: var(--yellow-pale); border: 1px solid #ead17b; border-radius: var(--radius); }
.implementation-card a { display: inline-flex; align-items: center; }
.implementation-card img { width: min(100%, 190px); height: auto; }
.site-footer { padding-top: 56px; color: var(--ink-soft); background: #f7f5ef; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 36px; padding-bottom: 36px; }
.site-footer h2 { margin-bottom: 12px; color: var(--ink); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a { display: block; width: fit-content; margin: 3px 0; color: var(--ink-soft); line-height: 1.4; text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.footer-grid p { margin-bottom: 12px; line-height: 1.5; }
.footer-brand { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-content: start; align-items: center; gap: 14px 16px; }
.footer-brand > img { width: 82px; height: 82px; border-radius: 16px; box-shadow: 0 8px 22px rgba(23,32,42,.09); }
.footer-brand p { margin: 0; color: var(--ink); font-size: 1.08rem; font-weight: 750; line-height: 1.25; }
.footer-seals { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 2px; }
.footer-seals img { width: 72px; height: 52px; object-fit: contain; }
.footer-bottom { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); font-size: .84rem; }
.footer-credit { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 11px; }
.site-footer .footer-credit a { display: inline-flex; margin: 0; }
.footer-credit img { width: 148px; height: auto; }
.privacy-settings-button { display: block; width: fit-content; margin: 3px 0; padding: 0; color: var(--ink-soft); background: transparent; border: 0; font: inherit; line-height: 1.4; text-align: left; cursor: pointer; }
.privacy-settings-button:hover { color: var(--blue); }
.privacy-settings-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.consent-panel { position: fixed; z-index: 2500; right: 20px; bottom: 20px; left: 20px; width: min(100% - 40px, 870px); display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-inline: auto; padding: 24px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 80px rgba(10,22,34,.24); }
.consent-panel[hidden] { display: none; }
.consent-copy { max-width: 560px; }
.consent-copy strong { display: block; margin-bottom: 5px; font-size: 1.05rem; }
.consent-copy p { margin: 0; font-size: .88rem; line-height: 1.5; }
.consent-actions { display: flex; flex: 0 0 auto; flex-direction: column; gap: 9px; }
.consent-actions .button { width: 170px; min-height: 44px; padding: 7px 10px; font-size: .82rem; cursor: pointer; }
.not-found { min-height: 68vh; display: grid; place-items: center; padding: clamp(42px, 5vw, 72px) 20px; text-align: center; background: var(--yellow-pale); }
.not-found strong { display: block; color: var(--ink); font-size: clamp(5.25rem, 17vw, 12rem); line-height: .78; text-shadow: none; }
.not-found h1 { margin-top: 24px; font-size: clamp(2.2rem, 5vw, 4rem); }
.not-found-visual { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 3vw, 32px); margin-inline: auto; }
.not-found-character { position: relative; flex: 0 0 auto; width: clamp(112px, 15vw, 160px); aspect-ratio: 1 / 2; }
.error-child-body { position: absolute; inset: 0 auto auto -50%; width: 200%; height: 100%; }
.error-child-body img { width: 100%; height: 100%; object-fit: contain; }
.error-tear { position: absolute; width: clamp(5px, .55vw, 8px); height: clamp(8px, .85vw, 12px); border: 1px solid #479bb7; border-radius: 50% 0 50% 50%; background: #8cddf2; opacity: 0; pointer-events: none; }
.tear-left { left: 41%; top: 34%; }
.tear-right { left: 55.4%; top: 32.3%; }
.error-child-body { animation: error-sob 2.4s ease-in-out infinite; }
.error-tear { animation: error-tear-fall 4s ease-in infinite; }
.tear-left.tear-one { --tear-scale: .8; animation-duration: 3.2s; animation-delay: -2.12s; }
.tear-left.tear-two { --tear-scale: 1.2; animation-duration: 4.7s; animation-delay: -.37s; }
.tear-left.tear-three { --tear-scale: .65; animation-duration: 5.1s; animation-delay: -4.16s; }
.tear-right.tear-one { --tear-scale: 1.05; animation-duration: 3.9s; animation-delay: -1.09s; }
.tear-right.tear-two { --tear-scale: .7; animation-duration: 4.3s; animation-delay: -3.31s; }
.tear-right.tear-three { --tear-scale: .9; animation-duration: 5.7s; animation-delay: -.64s; }
@keyframes error-sob { 0%, 35%, 65%, 100% { transform: translateY(0); } 42%, 56% { transform: translateY(1.5px); } 49% { transform: translateY(.2px); } }
@keyframes error-tear-fall {
  0% { transform: translate(-50%, 0) rotate(-45deg) scale(calc(.3 * var(--tear-scale, 1))); opacity: 0; }
  12% { opacity: .95; }
  75% { opacity: .8; }
  100% { transform: translate(-50%, clamp(40px, 5vw, 66px)) rotate(-45deg) scale(calc(.8 * var(--tear-scale, 1))); opacity: 0; }
}
@media (max-width: 1279px) {
  .topline { display: none; }
  .site-header { backdrop-filter: none; }
  .nav-shell { width: var(--shell); height: 76px; }
  .brand img { width: 52px; height: 52px; border-radius: 12px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; z-index: 1001; top: 84px; right: 16px; width: min(390px, calc(100vw - 32px)); max-height: calc(100dvh - 100px); display: block; padding: 10px 14px 14px; overflow-y: auto; overscroll-behavior: contain; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 60px rgba(23,32,42,.25); opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .main-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
  .main-nav > a, .nav-parent { width: 100%; min-height: 54px; justify-content: space-between; padding-inline: 12px; border-radius: 0; }
  .main-nav > a:not(.nav-contact), .main-nav .nav-group { border-bottom: 1px solid var(--line); }
  .main-nav .nav-contact { margin: 14px 0 0; justify-content: center; border-radius: 9px; }
  .dropdown, .dropdown.mega-menu { position: static; width: auto; display: none; padding: 4px 0 10px 18px; background: transparent; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-group.is-open .dropdown { display: grid; }
  .dropdown.mega-menu { grid-template-columns: 1fr; gap: 0; }
  .dropdown a, .dropdown.mega-menu a { min-height: 0; border: 0; border-left: 2px solid var(--yellow); border-radius: 0; }
  .nav-group.is-open .dropdown.mega-menu { transform: none; }
}
@media (max-width: 1020px) {
  :root { --shell: min(100% - 32px, 900px); }
  .feature-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .bo-team-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bo-team-list > div:last-child { grid-column: 1 / -1; }
  .bo-partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr; gap: 28px 36px; }
}
@media (min-width: 721px) and (max-width: 820px) {
  .quick-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-item:nth-child(2) { border-right: 0; }
  .quick-item:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  :root { --shell: min(100% - 26px, 620px); --radius: 16px; }
  body { font-size: 16px; }
  .brand strong { font-size: .95rem; }
  .brand small { font-size: .63rem; }
  .home-hero { min-height: 630px; align-items: end; }
  .home-hero > img { object-position: 61% center; }
  .home-hero::before { background: linear-gradient(90deg, rgba(10,22,34,.91), rgba(10,22,34,.53)), linear-gradient(0deg, rgba(10,22,34,.6), transparent); }
  .hero-copy { padding: 92px 0 75px; }
  .hero-copy h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .hero-actions .button { flex: 1 1 170px; width: auto; }
  .quick-contact { margin-top: 0; background: var(--white); }
  .quick-contact-grid { width: var(--shell); margin-inline: auto; grid-template-columns: 1fr; border-radius: 0; box-shadow: none; }
  .quick-item { min-height: 82px; padding: 18px 26px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 74px 0; }
  .feature-grid, .news-grid, .values-grid, .card-grid, .person-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 350px; }
  .quote-tour-grid { grid-template-columns: 1fr; gap: 38px; }
  .school-quote p { font-size: clamp(2rem, 8.4vw, 3rem); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .split.reverse > :first-child { order: initial; }
  .image-frame::before { inset: 12px -9px -12px 9px; }
  .page-hero { min-height: 540px; }
  .page-hero-copy { padding: 112px 0 58px; }
  .page-hero-copy h1 { font-size: clamp(2.4rem, 10.8vw, 4.4rem); hyphens: auto; overflow-wrap: anywhere; word-break: normal; }
  .page-hero figure::before { background: linear-gradient(90deg, rgba(10,22,34,.9), rgba(10,22,34,.48)), linear-gradient(0deg, rgba(10,22,34,.68), transparent 62%); }
  .timeline-item { grid-template-columns: 58px 1fr; gap: 15px; padding: 20px; }
  .timeline-year { width: 56px; height: 56px; font-size: 1rem; }
  .partner-list { columns: 1; }
  .bo-table-wrap { overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
  .bo-table, .bo-table tbody, .bo-table tbody tr, .bo-table tbody th, .bo-table tbody td { display: block; width: 100%; }
  .bo-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .bo-table tbody { display: grid; gap: 14px; }
  .bo-table tbody tr, .bo-table tbody tr:nth-child(even) { overflow: hidden; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 9px 24px rgba(23,32,42,.04); }
  .bo-table tbody th { padding: 0 0 14px; background: transparent; border: 0; text-align: left; }
  .bo-table tbody td, .bo-table tbody td + td { padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); }
  .bo-table tbody td + td { margin-top: 16px; }
  .bo-mobile-label { display: block; margin-bottom: 8px; color: var(--ink); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
  .bo-team-list { grid-template-columns: 1fr; }
  .bo-team-list > div:last-child { grid-column: auto; }
  .bo-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-gallery { grid-template-columns: 1fr; }
  .news-article-head h1 { font-size: clamp(2rem, 8.7vw, 2.6rem); overflow-wrap: break-word; hyphens: none; }
  .route-card { grid-template-columns: 1fr; }
  .route-card .button { width: 100%; }
  .contact-image { min-height: 360px; }
  .legal-grid { grid-template-columns: 1fr; }
  .site-footer { padding-top: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 25px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { min-height: 96px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .footer-credit { justify-content: flex-start; }
  .consent-panel { right: 12px; bottom: 12px; left: 12px; width: calc(100% - 24px); display: block; max-height: min(80vh, 600px); overflow-y: auto; padding: 18px; }
  .consent-actions { flex-direction: row; flex-wrap: wrap; margin-top: 16px; }
  .consent-actions .button { width: auto; flex: 1 1 140px; }
  .article-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 440px) {
  .brand span { display: none; }
  .main-nav { right: 12px; width: calc(100vw - 24px); }
  .table-wrap table { table-layout: fixed; }
  .table-wrap th, .table-wrap td { padding: 12px 10px; overflow-wrap: anywhere; font-size: .9rem; }
  .legal-card { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: auto; }
}
@media (min-width: 350px) and (max-width: 440px) {
  .nav-shell { gap: 8px; }
  .brand { gap: 7px; }
  .brand img { width: 44px; height: 44px; }
  .brand span { display: grid; }
  .brand strong { font-size: .76rem; letter-spacing: .01em; }
  .brand small { margin-top: 4px; font-size: .56rem; letter-spacing: .12em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .error-child-body, .error-tear { animation: none !important; }
  .error-tear { display: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
