/* Shared institutional identity and landing composition. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-variable.woff2") format("woff2");
}

.institutional-page {
  --landing-blue: #194f69;
  --landing-dark: #153f55;
  --landing-mint: #81d5b3;
  --landing-soft-blue: #eaf5f9;
  --landing-soft-mint: #e0f5ec;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
}
.landing-page main { display: flex; flex: 1 0 auto; flex-direction: column; }
.institutional-page a:focus-visible, .institutional-page button:focus-visible { outline: 3px solid #21634f; outline-offset: 4px; }

/* Header */
.institutional-page .site-header { position: relative; border-bottom: 0; }
.institutional-page .header-inner { min-height: 94px; gap: 24px; }
.landing-logo { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.landing-logo-mark { display: block; width: 52px; height: 52px; object-fit: contain; }
.landing-logo-type { display: block; width: 112px; height: 36px; overflow: hidden; }
.landing-logo-type img { display: block; width: 112px; height: auto; max-width: none; margin-top: -71px; }
.institutional-page .main-nav { margin-left: auto; gap: 30px; color: var(--landing-dark); font-size: 13px; font-weight: 600; }
.institutional-page .main-nav a { position: relative; }
.institutional-page .main-nav [aria-current="page"] { color: var(--landing-dark); font-weight: 800; }
.institutional-page .main-nav [aria-current="page"]::after { content: ""; position: absolute; bottom: 2px; left: 0; right: 0; height: 3px; border-radius: 2px; background: var(--green); }
.header-map, .primary-action {
  display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 46px; padding: 10px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 800;
}
.header-map { margin-left: 12px; background: var(--landing-mint); color: #123d50; }
.header-map:hover { background: #6bc8a1; }

/* The curve has its own silhouette; it never holds or positions content. */
.landing-hero {
  position: relative; display: flex; flex: 1 0 auto; align-items: center;
  background: #fff url("/assets/landing-hero-wave.svg") center / 100% 100% no-repeat;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(240px, 1fr);
  align-items: center; gap: 36px; min-height: 322px; padding-block: 50px 55px;
}
.hero-copy { min-width: 0; }
.hero-copy h1 { color: var(--landing-dark); font-size: clamp(48px, 5.15vw, 74px); font-weight: 800; line-height: 1.08; letter-spacing: -.052em; }
.hero-copy h1 span { margin-inline-start: .08em; white-space: nowrap; }
.hero-description { max-width: 435px; margin-top: 23px; color: #31596a; font-size: 20px; font-weight: 400; line-height: 1.5; letter-spacing: -.02em; }
.hero-place { justify-self: center; margin-top: 24px; color: var(--landing-dark); font-size: clamp(23px, 2.1vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -.035em; }
.hero-place::before { content: ""; display: block; width: 48px; height: 3px; margin-bottom: 19px; background: #5dbb85; }
.hero-place span { display: block; }
.hero-place span + span { margin-top: 9px; color: #28675f; font-size: .62em; font-weight: 500; letter-spacing: -.01em; }

/* Three practical blocks, with a shared heading and action baseline. */
.practical-section { padding-top: 18px; padding-bottom: 22px; }
.practical-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.info-card { display: flex; flex-direction: column; min-width: 0; padding: 25px 22px 23px; border: 1px solid transparent; border-radius: 14px; color: var(--landing-dark); }
.location-card, .duty-card { background: var(--landing-soft-blue); }
.hours-card { background: var(--landing-soft-mint); }
.info-card:focus-within { border-color: #72b59c; }
.info-heading { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; align-items: center; }
.info-heading h2 { color: var(--landing-dark); font-size: 18px; font-weight: 800; line-height: 1.2; letter-spacing: -.035em; }
.info-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--landing-blue); color: #fff; }
.hours-card .info-icon { background: #247a6f; }
.info-icon svg { width: 32px; height: 32px; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.info-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; min-width: 0; padding-left: 76px; }
.info-content p { margin-top: 5px; font-size: 13px; line-height: 1.55; }
.info-content p strong { display: inline-block; margin-bottom: 2px; font-size: 15px; font-weight: 750; letter-spacing: -.02em; }
.text-action { display: inline-flex; align-items: center; gap: 24px; min-height: 46px; margin-top: auto; padding-top: 7px; color: var(--landing-blue); font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.text-action:hover { color: #23694f; text-decoration-thickness: 2px; }
.info-content .hours-days { font-size: 13px; font-weight: 650; }
.hours-group { width: 100%; }
.hours-group + .hours-group { margin-top: 12px; padding-top: 8px; border-top: 1px solid #b8dace; }
.hours-list { width: 100%; margin: 8px 0 0; font-size: 12px; line-height: 1.65; font-variant-numeric: tabular-nums; }
.hours-list div { display: grid; grid-template-columns: 49px minmax(0, 1fr); align-items: baseline; gap: 5px; }
.hours-list dd { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.info-content .hours-closed { margin-top: 9px; font-size: 12px; }
.duty-card .info-content p { margin-bottom: 16px; }
.primary-action { width: 100%; justify-content: space-between; margin-top: auto; background: var(--landing-blue); color: #fff; }
.primary-action:hover { background: #103b52; }
.primary-action span { font-size: 17px; }

/* A content-sized footer; spare viewport space belongs to the hero. */
.institutional-page .site-footer {
  position: relative; flex: 0 0 auto; overflow: hidden;
  background: #f6fbf9 url("/assets/landing-footer-wave.svg") left center / 100% 100% no-repeat;
}
.institutional-page .footer-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 148px; padding: 26px 104px 30px 0; color: #e2f2ef; }
.institutional-page .footer-inner strong { display: block; color: #fff; font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.institutional-page .footer-inner > div > span { display: block; margin-top: 7px; font-size: 12px; }
.institutional-page .footer-inner small { color: var(--landing-blue); font-size: 12px; white-space: nowrap; }
.institutional-page .footer-home { display: flex; align-items: center; min-height: 44px; margin-bottom: 4px; color: inherit; }

@media (max-width: 1100px) {
  .institutional-page .main-nav { gap: 20px; }
  .header-map { margin-left: 0; }
  .hero-inner { grid-template-columns: minmax(0, 1.75fr) minmax(215px, 1fr); gap: 24px; }
  .hero-copy h1 { font-size: clamp(44px, 5.15vw, 60px); }
  .hero-description { font-size: 18px; max-width: 390px; }
  .hero-place { font-size: 24px; }
  .info-card { padding-inline: 18px; }
  .info-heading { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .info-icon { width: 48px; height: 48px; }
  .info-icon svg { width: 28px; height: 28px; }
  .info-content { padding-left: 60px; }
  .info-heading h2 { font-size: 17px; }
}
@media (max-width: 1000px) {
  .practical-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duty-card { grid-column: 1 / -1; }
  .duty-card .info-content { flex-direction: row; align-items: center; gap: 28px; padding-right: 52px; }
  .duty-card .info-content p { flex: 1; margin-bottom: 0; }
  .duty-card .primary-action { width: 180px; flex: 0 0 auto; margin-top: 0; }
  .institutional-page .footer-inner { padding-right: 86px; }
}
@media (max-width: 800px) {
  .institutional-page .header-inner { flex-wrap: wrap; gap: 0 16px; padding-top: 12px; }
  .institutional-page .main-nav { order: 3; width: 100%; justify-content: flex-start; margin-left: 0; gap: 26px; }
  .header-map { margin-left: auto; }
  .hero-inner { min-height: 286px; padding-block: 40px; grid-template-columns: minmax(0, 1.6fr) minmax(185px, 1fr); }
  .hero-copy h1 { font-size: 44px; }
  .hero-description { max-width: 330px; font-size: 17px; }
  .hero-place { font-size: 22px; }
  .institutional-page .site-footer { background-size: 1100px 100%; }
}
@media (max-width: 620px) {
  .institutional-page .header-inner { min-height: 0; padding-top: 9px; }
  .landing-logo-mark { width: 46px; height: 46px; }
  .landing-logo-type { width: 104px; height: 34px; }
  .landing-logo-type img { width: 104px; margin-top: -66px; }
  .institutional-page .main-nav { gap: 25px; font-size: 12px; }
  .institutional-page .main-nav a { min-height: 44px; }
  .institutional-page .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; }
  .institutional-page .landing-logo { grid-column: 1 / -1; }
  .institutional-page .main-nav { grid-column: 1; grid-row: 2; width: auto; gap: 20px; }
  .header-map { display: inline-flex; grid-column: 2; grid-row: 2; min-height: 44px; margin-left: 0; padding: 8px 10px; gap: 8px; border-radius: 6px; font-size: 12px; }
  .landing-hero { background-size: 860px 100%; background-position: 48% bottom; }
  .hero-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-height: 0; padding-block: 32px 38px; }
  .hero-copy { order: 2; max-width: 100%; }
  .hero-place { order: 1; margin: 0 0 13px; color: #28675f; font-size: 12px; font-weight: 650; line-height: 1.4; letter-spacing: 0; }
  .hero-place::before { display: none; }
  .hero-place span { display: inline; }
  .hero-place span + span { margin: 0; color: inherit; font-size: inherit; font-weight: inherit; }
  .hero-place span + span::before { content: " · "; }
  .hero-copy h1 { font-size: clamp(35px, 10.2vw, 53px); line-height: 1.12; letter-spacing: -.055em; }
  .hero-description { max-width: 300px; margin-top: 16px; font-size: 16px; line-height: 1.5; }
  .practical-section { padding-top: 12px; padding-bottom: 16px; }
  .practical-grid { grid-template-columns: 1fr; gap: 10px; }
  .info-card { padding: 20px 22px 18px; }
  .info-heading { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
  .info-icon { width: 44px; height: 44px; }
  .info-icon svg { width: 25px; height: 25px; }
  .info-heading h2 { max-width: 190px; font-size: 18px; letter-spacing: -.035em; }
  .info-content, .duty-card .info-content { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding-left: 0; padding-right: 54px; margin-top: 8px; }
  .info-content p { font-size: 13px; }
  .info-content p strong { font-size: 16px; }
  .info-content .hours-days { font-size: 14px; }
  .hours-list { max-width: 218px; font-size: 13px; }
  .hours-list div { grid-template-columns: 62px minmax(0, 1fr); }
  .hours-list dd { font-size: 20px; }
  .info-content .hours-closed { font-size: 12px; margin-top: 6px; }
  .text-action { margin-top: 7px; padding-top: 0; }
  .duty-card { grid-column: auto; }
  .duty-card .info-content p { margin: 5px 0 14px; }
  .duty-card .primary-action { width: 100%; max-width: 220px; }
  .institutional-page .site-footer { background: var(--landing-blue); }
  .institutional-page .site-footer::before { content: ""; position: absolute; right: -82px; bottom: -67px; width: 220px; height: 145px; border-radius: 100% 0 0 0; background: var(--landing-mint); }
  .institutional-page .footer-inner { display: block; min-height: 0; padding: 26px 80px 28px 0; }
  .institutional-page .footer-inner strong { font-size: 21px; }
  .institutional-page .footer-inner small { display: block; margin-top: 13px; color: #e2f2ef; }
}
@media (max-width: 360px) {
  .info-card { padding-inline: 18px; }
  .info-heading { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; padding-right: 45px; }
  .info-icon { width: 40px; height: 40px; }
  .info-heading h2 { font-size: 17px; }
  .info-content { padding-right: 50px; }
  .hours-list div { grid-template-columns: 54px minmax(0, 1fr); }
  .hours-list dd { font-size: 18px; }
}
