:root {
  --blt-navy: #00385b;
  --blt-navy-dark: #002a44;
  --blt-blue: #187ec4;
  --blt-blue-hover: #31b2ed;
  --blt-white: #ffffff;
  --blt-gray-50: #f8f9fa;
  --blt-gray-100: #e9ecef;
  --blt-gray-200: #dee2e6;
  --blt-gray-600: #6c757d;
  --blt-body: #212529;
  --blt-card-border: #d7d7d7;
  --focus-ring: 0 0 0 0.1rem #ffffff, 0 0 0 0.25rem #258cfb;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.blt-home-v2 {
  font-family: "Libre Franklin", Arial, sans-serif;
  font-size: 16px;
  color: var(--blt-body);
  background: #ffffff;
  line-height: 1.45;
}

a {
  color: var(--blt-blue);
  text-decoration: none;
}

a:hover {
  color: var(--blt-blue-hover);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--blt-navy);
  box-shadow: var(--focus-ring);
}

.shell {
  width: min(1360px, 100% - 40px);
  margin: 0 auto;
}

.site-header {
  background: var(--blt-white);
  margin-top: 0;
}

.utility-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 64px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blt-white);
}

.brand-mark:hover {
  text-decoration: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-title {
  color: #2d78b2;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: 0.6px;
  line-height: 1;
}

.brand-title:hover {
  color: #2d78b2;
  text-decoration: none;
}

.utility-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.utility-links a {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--blt-blue);
  letter-spacing: 0.5px;
  padding: 0 12px;
  border-right: 1px solid #888;
  white-space: nowrap;
}

.utility-links a:last-child {
  border-right: 0;
}

.utility-links .utility-login {
  color: var(--blt-navy);
  font-weight: 700;
}

.skyline-strip {
  width: 100%;
  height: clamp(96px, 8.2vw, 150px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--blt-white);
  border-bottom: 3px solid var(--blt-navy);
}

.skyline-strip img {
  display: block;
  width: min(1360px, 100% - 40px);
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
  object-position: center bottom;
}

.primary-nav {
  background: var(--blt-navy);
}

.primary-nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.primary-nav-list li {
  margin: 0;
}

.primary-nav-list a {
  display: block;
  color: var(--blt-white);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 22px;
}

.primary-nav-list a:hover,
.primary-nav-list a[aria-current="page"] {
  color: var(--blt-blue-hover);
  text-decoration: none;
}

.home-main {
  padding: 34px 0 26px;
}

.hero {
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 0 10px;
  color: var(--blt-navy);
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.1;
}

.hero p {
  margin: 0;
  max-width: 840px;
  font-size: 18px;
  color: #40464d;
}

.login-wrap {
  margin-top: 26px;
}

.login-cta {
  display: inline-block;
  min-width: 240px;
  text-align: center;
  background: var(--blt-navy);
  border: 1px solid var(--blt-navy);
  color: var(--blt-white);
  border-radius: 4px;
  padding: 10px 18px;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.4px;
}

.login-cta:hover {
  background: #004d7a;
  border-color: #004d7a;
  color: var(--blt-white);
  text-decoration: none;
}

.login-note {
  margin: 8px 0 0;
  color: var(--blt-gray-600);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.section-title {
  margin: 30px 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--blt-navy);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 8px;
}

.home-card {
  background: var(--blt-white);
  border: 1px solid var(--blt-card-border);
  border-left: 4px solid var(--blt-navy);
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.home-card-link {
  display: block;
  padding: 20px;
  color: inherit;
  text-decoration: none;
}

.home-card-link:hover,
.home-card-link:focus-visible {
  color: inherit;
  text-decoration: none;
}

.home-card h2 {
  margin: 0 0 8px;
  color: var(--blt-navy);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-card p {
  margin: 0;
  color: #555;
  font-size: 15px;
}

.card-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  margin-top: 30px;
  background: #ffffff;
  padding: 24px 0 28px;
  border-top: 1px solid #e2e5e8;
}

.site-footer h2 {
  margin: 0 0 12px;
  max-width: 920px;
  text-align: left;
  color: #2c2c2c;
  font-size: clamp(14px, 1.3vw, 20px);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-grid {
  display: grid;
  max-width: 920px;
  gap: 14px;
  grid-template-columns: auto 1.1fr auto;
  align-items: start;
}

.footer-seals {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  display: block;
  object-fit: contain;
}

.footer-institution {
  margin: 0;
  color: #202020;
  font-size: 14px;
  line-height: 1.35;
}

.footer-links {
  text-align: left;
  justify-self: start;
}

.footer-links a {
  display: block;
  color: #2d2d2d;
  font-size: 14px;
  margin: 0 0 7px;
}

@media (max-width: 1024px) {
  .utility-row {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 14px;
  }

  .utility-links {
    justify-content: flex-start;
  }

  .brand-title {
    font-size: clamp(30px, 4.2vw, 44px);
  }

  .home-card h2 {
    font-size: 19px;
  }

  .home-card p {
    font-size: 14px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer h2 {
    font-size: 18px;
  }

  .footer-institution,
  .footer-links a {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  body.blt-home-v2 {
    font-size: 14px;
  }

  .shell {
    width: min(1360px, 100% - 26px);
  }

  .utility-links a {
    font-size: 12px;
    padding: 4px 10px;
  }

  .skyline-strip {
    height: clamp(78px, 16vw, 108px);
    border-bottom-width: 2px;
  }

  .primary-nav-list a {
    padding: 12px 14px;
    font-size: 16px;
  }

  .hero h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .hero p {
    font-size: 16px;
  }

  .login-cta {
    display: block;
    min-width: 0;
    width: 100%;
    font-size: 24px;
    padding: 16px 16px;
  }

  .home-card h2 {
    font-size: 18px;
  }

  .home-card p {
    font-size: 14px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-seals {
    justify-content: center;
  }

  .footer-links {
    text-align: center;
  }

  .site-footer h2 {
    font-size: 17px;
    text-align: center;
  }

  .footer-institution,
  .footer-links a {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .brand {
    width: 100%;
  }

  .brand-mark {
    width: 54px;
    height: 38px;
  }

  .utility-links a {
    font-size: 11px;
    padding: 2px 8px;
    border-right: 0;
  }

  .primary-nav-list {
    display: block;
  }

  .primary-nav-list a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero p {
    font-size: 15px;
  }

  .home-card h2 {
    font-size: 17px;
  }

  .home-card p {
    font-size: 14px;
  }

  .site-footer h2 {
    font-size: 16px;
  }

  .footer-logo {
    width: 54px;
    height: 54px;
  }
}
