@font-face {
  font-family: "Inter Display";
  src: url("InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --navy: #173a55;
  --ink: #08183f;
  --coral: #d84b50;
  --pale: #edf4fa;
  --border: #e0edf7;
  font-family: "Inter Display", Arial, sans-serif;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 32;
  font-synthesis: none;
  color: var(--ink);
  background: white;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.no-break { white-space: nowrap; }
.skip-link { position: fixed; z-index: 3; top: 12px; left: 12px; padding: 12px 18px; border-radius: 12px; color: white; background: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.portal { max-width: 1820px; padding: 0 40px 64px; margin: 0 auto; }
.portal-header { display: flex; align-items: center; flex-direction: column; }
.brand { width: min(800px, 55vw); height: auto; }
.tagline { display: flex; align-items: center; justify-content: center; gap: 34px; width: min(752px, 76vw); min-height: 108px; margin: 16px 0 24px; padding: 10px 32px; border-radius: 28px; background: linear-gradient(120deg, #eff6fb, #e5f0f9); color: var(--navy); }
.tagline img { flex: 0 0 98px; width: 98px; height: 90px; object-fit: contain; }
.tagline-rule { flex: 0 0 2px; height: 69px; background: var(--navy); }
.tagline p { margin: 0; font-size: clamp(1.2rem, 2.08vw, 2rem); font-weight: 600; line-height: 1.22; }
.projects { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; scroll-margin-top: 20px; }
.project-card { appearance: none; display: flex; align-items: center; flex-direction: column; min-width: 0; min-height: 476px; padding: 20px 15px 17px; border: 1.7px solid var(--border); border-radius: 26px; background: white; box-shadow: 0 8px 25px rgb(23 58 85 / 4%); color: var(--ink); text-decoration: none; text-align: center; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.project-icon { width: clamp(144px, 13.02vw, 200px); height: auto; aspect-ratio: 1; margin-bottom: 4px; }
.project-card h2, .project-title { display: block; margin: 0 0 11px; font-size: clamp(1.45rem, 2.2vw, 2.25rem); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; }
.project-card p, .project-description { display: block; margin: 0 0 14px; font-size: clamp(1.05rem, 1.63vw, 1.5625rem); line-height: 1.19; font-weight: 400; letter-spacing: -.035em; }
.project-credit { display: block; margin: 0 0 14px; font-size: .88rem; line-height: 1.25; }
.project-arrow { width: 68px; height: 68px; margin-top: auto; transition: transform 180ms ease; }
@media (hover: hover) {
  .project-card:hover { transform: translateY(-5px); border-color: #b9d5e9; box-shadow: 0 15px 30px rgb(23 58 85 / 10%); }
  .project-card:hover .project-arrow { transform: translateX(4px); }
}
.project-card:active { transform: translateY(-1px) scale(.99); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 5px; }
.connection-dialog { width: min(420px, calc(100% - 40px)); padding: 36px 28px 28px; border: 1px solid var(--border); border-radius: 26px; box-shadow: 0 25px 75px rgb(8 24 63 / 22%); color: var(--navy); text-align: center; background: white; }
.connection-dialog::backdrop { background: rgb(8 24 63 / 26%); backdrop-filter: blur(3px); }
.connection-dialog h2 { margin: 0 0 26px; font-size: 1.6rem; font-weight: 600; }
.close-dialog { min-height: 44px; padding: 11px 28px; border: 0; border-radius: 24px; color: var(--navy); background: #e7f1fa; font-size: 1rem; font-weight: 600; cursor: pointer; }
.close-dialog:hover { background: #dcebf6; }
.noscript-note { text-align: center; font-size: 1rem; color: var(--navy); }
@media (max-width: 1100px) {
  .portal { max-width: 920px; padding: 0 28px 40px; }
  .brand { width: min(650px, 88vw); }
  .tagline { width: 100%; gap: 24px; margin-top: 12px; }
  .tagline p { font-size: clamp(1.2rem, 3vw, 1.75rem); }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .project-card { min-height: 440px; }
  .project-icon { width: 172px; }
  .project-card h2, .project-title { font-size: 2rem; }
  .project-card p, .project-description { max-width: 310px; font-size: 1.35rem; }
}
@media (max-width: 580px) {
  .portal { padding: 0 20px 32px; }
  .brand { width: 100%; }
  .tagline { gap: 15px; margin: 8px 0 24px; padding: 16px; min-height: 98px; border-radius: 22px; }
  .tagline img { flex-basis: 58px; width: 58px; height: 60px; }
  .tagline-rule { height: 60px; }
  .tagline p { font-size: 1.1rem; }
  .desktop-break { display: none; }
  .projects { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .project-card { min-height: 410px; padding: 20px; }
  .project-icon { width: 160px; }
  .project-card h2, .project-title { font-size: 2rem; }
  .project-card p, .project-description { font-size: 1.25rem; }
  .project-arrow { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
