@import "tailwindcss";

:root {
  --green: #167533;
  --green-dark: #105d28;
  --green-soft: #edf6f0;
  --ink: #232323;
  --muted: #5b605c;
  --line: #d7dbd6;
  --surface: #f8f6f3;
  --white: #ffffff;
  --shell: 1360px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.site-shell { width: min(calc(100% - 80px), 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; left: 16px; top: -80px; z-index: 1000;
  background: var(--green); color: white; padding: 12px 18px;
  border-radius: 6px; text-decoration: none; transition: top 160ms ease-out;
}
.skip-link:focus { top: 16px; }

.institution-bar { border-bottom: 1px solid var(--line); background: #f8f9f8; }
.institution-inner {
  min-height: 46px; display: flex; align-items: center; gap: 12px;
  color: #39413b; font-size: 15px; font-weight: 500;
}
.institution-mark { width: 9px; height: 9px; background: var(--green); display: inline-block; }

.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; position: relative; z-index: 20; }
.header-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.brand { display: inline-flex; align-items: center; gap: 26px; text-decoration: none; min-width: 0; }
.brand-acronym { color: var(--green); font-size: clamp(42px, 4vw, 55px); line-height: 1; font-weight: 850; letter-spacing: -.035em; }
.brand-divider { width: 1px; height: 64px; background: #c6cac6; }
.brand-name { max-width: 160px; font-size: 23px; font-weight: 700; line-height: 1.12; }
.primary-nav { display: flex; align-items: center; gap: clamp(26px, 3vw, 48px); }
.primary-nav a { position: relative; padding: 12px 0; color: #303430; font-size: 16px; font-weight: 560; text-decoration: none; }
.primary-nav a:not(:last-child)::after {
  content: ""; position: absolute; right: calc(clamp(26px, 3vw, 48px) / -2 - 2px); top: 50%;
  width: 5px; height: 5px; border-radius: 50%; background: var(--green); transform: translateY(-50%);
}
.primary-nav a:hover { color: var(--green); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero {
  min-height: 440px; display: grid; grid-template-columns: 50% 50%; align-items: stretch;
  overflow: hidden; border: 1px solid #ece9e5; border-radius: 9px;
  background: linear-gradient(110deg, #faf8f6 0%, #f7f5f2 62%, #faf8f6 100%);
}
.hero-copy { align-self: center; z-index: 2; padding: 42px 12px 42px 45px; }
.eyebrow, .section-kicker {
  margin: 0 0 20px; color: var(--green); font-size: 14px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
}
.hero h1 { max-width: 660px; margin: 0; font-size: clamp(40px, 3.65vw, 50px); line-height: 1.08; letter-spacing: -.035em; font-weight: 750; }
.hero-description { max-width: 600px; margin: 22px 0 0; color: #4d524e; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.48; }
.primary-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; margin-top: 32px; padding: 0 25px; border-radius: 7px;
  background: var(--green); color: white; font-size: 17px; font-weight: 650; text-decoration: none;
  transition: background 160ms ease-out, transform 160ms ease-out;
}
.primary-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.hero-art { position: relative; min-width: 0; overflow: hidden; }
.hero-art img {
  position: absolute; width: 143%; max-width: none; height: auto; right: -2%; top: 50%;
  transform: translateY(-50%); mix-blend-mode: multiply;
}

.services-section { padding: 54px 0 76px; scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 22px; }
.section-heading.compact { margin-bottom: 18px; }
.section-heading .section-kicker { margin-bottom: 8px; }
.section-heading h2, .about-copy h2 { margin: 0; font-size: clamp(31px, 3vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 14px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card {
  min-height: 150px; display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 20px;
  padding: 25px; border: 1px solid var(--line); border-radius: 8px; background: white;
  text-decoration: none; transition: border-color 160ms ease-out, background 160ms ease-out, transform 160ms ease-out;
}
.service-card:hover { border-color: var(--green); background: #fbfefc; transform: translateY(-2px); }
.service-icon { color: var(--green); }
.service-icon svg { width: 58px; height: 58px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-copy { display: flex; flex-direction: column; gap: 6px; }
.service-copy strong { font-size: 21px; line-height: 1.2; }
.service-copy > span { color: var(--muted); font-size: 15px; line-height: 1.42; }
.card-arrow { color: var(--green); font-size: 31px; line-height: 1; transition: transform 160ms ease-out; }
.service-card:hover .card-arrow { transform: translateX(4px); }

.notices-section { padding: 0 0 76px; }
.notice-list { border-top: 1px solid var(--line); }
.notice { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.notice time { color: var(--green); font-size: 14px; font-weight: 700; text-transform: uppercase; }
.notice h3 { margin: 0 0 5px; font-size: 19px; }
.notice p { margin: 0; color: var(--muted); line-height: 1.55; }

.about-section { padding: 84px 0; background: var(--surface); border-top: 1px solid #ece9e5; border-bottom: 1px solid #ece9e5; scroll-margin-top: 24px; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.about-copy > p:last-child { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #cfd4cf; }
.pillar-grid article { padding: 24px 25px; border-right: 1px solid #cfd4cf; }
.pillar-grid article:last-child { border-right: 0; }
.pillar-grid span { color: var(--green); font-size: 13px; font-weight: 750; }
.pillar-grid h3 { margin: 22px 0 10px; font-size: 21px; }
.pillar-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.site-footer { padding: 54px 0; background: #202521; color: white; scroll-margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; }
.site-footer strong { display: block; margin-bottom: 11px; font-size: 16px; }
.site-footer p { margin: 4px 0; color: #cbd2cc; line-height: 1.5; }
.site-footer a { color: white; text-underline-offset: 4px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }

a:focus-visible, button:focus-visible { outline: 3px solid #57a66e; outline-offset: 3px; }

@media (max-width: 1100px) {
  .site-shell { width: min(calc(100% - 48px), var(--shell)); }
  .header-inner { gap: 28px; }
  .primary-nav { gap: 22px; }
  .primary-nav a:not(:last-child)::after { display: none; }
  .hero { grid-template-columns: 54% 46%; }
  .hero-copy { padding-left: 34px; }
  .hero-art img { width: 166%; right: -5%; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 800px) {
  .site-shell { width: min(calc(100% - 32px), var(--shell)); }
  .institution-inner { min-height: 40px; font-size: 14px; }
  .header-inner { min-height: 88px; }
  .brand { gap: 16px; }
  .brand-divider { height: 48px; }
  .brand-name { max-width: 130px; font-size: 18px; }
  .menu-toggle { display: block; }
  .primary-nav {
    display: none; position: absolute; top: 100%; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px;
    background: white; border: 1px solid var(--line); border-radius: 8px;
    box-shadow: 0 12px 36px rgba(25,35,28,.12);
  }
  .primary-nav[data-open="true"] { display: flex; }
  .primary-nav a { padding: 13px 14px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 40px 28px 16px; }
  .hero h1 { font-size: clamp(36px, 8vw, 49px); }
  .hero-art { min-height: 330px; }
  .hero-art img { width: 128%; right: -1%; }
  .service-grid { grid-template-columns: 1fr; }
  .section-heading > p { display: none; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-grid article { border-right: 0; border-bottom: 1px solid #cfd4cf; padding-inline: 0; }
  .pillar-grid article:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 520px) {
  .brand-acronym { font-size: 36px; }
  .brand-name { font-size: 16px; }
  .hero-copy { padding: 34px 22px 10px; }
  .hero-description { font-size: 18px; }
  .primary-button { width: 100%; }
  .hero-art { min-height: 260px; }
  .hero-art img { width: 145%; right: -6%; }
  .services-section { padding: 44px 0 60px; }
  .service-card { grid-template-columns: 52px 1fr auto; gap: 14px; padding: 20px; }
  .service-icon svg { width: 48px; height: 48px; }
  .service-copy strong { font-size: 19px; }
  .notice { grid-template-columns: 1fr; gap: 8px; }
  .about-section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
