:root {
  --ink: #17365D;
  --ink-soft: #526276;
  --gold: #E0DCAF;
  --accent: #17365D;
  --cream: #F8F4E8;
  --line: #e7e2d5;
  --white: #F8F4E8;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 16px rgb(0 0 0 / 15%);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-nav {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  width: 100%;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.75rem max(6vw, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid rgb(23 54 93 / 8%);
  background: rgb(248 244 232 / 96%);
  box-shadow: 0 4px 18px rgb(40 40 35 / 4%);
  backdrop-filter: blur(12px);
}

.site-logo {
  flex: 0 0 auto;
}

.site-logo img {
  display: block;
  width: 145px;
  max-height: 62px;
  object-fit: contain;
}

.site-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2.2vw, 2rem);
}

.site-links a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.site-links a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-links a:hover,
.site-links a[aria-current="page"] {
  color: var(--ink);
}

.site-links a:hover::after,
.site-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-links .nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 0.65rem 1.1rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-links .nav-cta:hover,
.button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) max(7vw, calc((100vw - 1100px) / 2));
  background:
    radial-gradient(ellipse at 92% 10%, rgb(224 220 175 / 16%), transparent 34%),
    linear-gradient(118deg, #244A70, #17365D);
  color: var(--white);
}

.page-hero::after {
  position: absolute;
  right: max(4vw, calc((100vw - 1280px) / 2));
  bottom: -150px;
  width: 330px;
  height: 330px;
  border: 1px solid rgb(224 220 175 / 20%);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 32px rgb(224 220 175 / 4%), 0 0 0 66px rgb(224 220 175 / 3%);
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5rem);
  letter-spacing: -0.035em;
}

.page-hero > p:last-child {
  max-width: 680px;
  margin: 1.4rem 0 0;
  color: rgb(255 254 250 / 78%);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.8;
}

.content-section {
  width: min(1100px, 86%);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.content-section + .content-section {
  border-top: 1px solid var(--line);
}

.content-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.025em;
}

.content-section > p {
  max-width: 780px;
}

.muted {
  color: var(--ink-soft);
}

.timeline,
.card-grid,
.team-grid,
.contact-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.timeline {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.team-grid {
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.card,
.person-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.65rem;
  background: var(--white);
  box-shadow: 0 10px 28px rgb(40 40 35 / 5%);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.card::before,
.person-card::before,
.contact-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.card:hover,
.person-card:hover,
.contact-card:hover {
  border-color: #d7d2bd;
  box-shadow: 0 16px 34px rgb(40 40 35 / 9%);
  transform: translateY(-3px);
}

.card:hover::before,
.person-card:hover::before,
.contact-card:hover::before {
  transform: scaleX(1);
}

.card h3,
.person-card h3,
.contact-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.3rem;
}

.card p,
.person-card p,
.contact-card p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.timeline-year,
.card-number,
.person-role {
  margin-bottom: 0.65rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.person-card {
  padding: 0 0 1.5rem;
}

.person-card > :not(img) {
  margin-right: 1.5rem;
  margin-left: 1.5rem;
}

.person-card img {
  display: block;
  width: 100%;
  height: 300px;
  background: var(--cream);
  object-fit: cover;
  object-position: center 25%;
}

.person-card h3 {
  margin-top: 1.35rem;
}

.person-card .person-role {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.contact-card {
  min-height: 190px;
  padding: 1.75rem;
}

.contact-card h3 {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.contact-card a {
  color: var(--accent);
  font-weight: 600;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.section-cta {
  margin-top: 2rem !important;
}

.contact-note {
  margin-top: 2rem !important;
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1rem;
  color: var(--ink-soft);
}

.site-footer {
  padding: 2rem max(7vw, calc((100vw - 1100px) / 2));
  background: #17365D;
  color: var(--white);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

.footer-content p {
  margin: 0;
  color: rgb(255 254 250 / 75%);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
}

.footer-links a {
  color: var(--white);
  font-size: 0.84rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--gold);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .site-nav {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.6rem 6%;
  }

  .site-logo img {
    width: 122px;
    max-height: 48px;
  }

  .site-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    padding: 0.2rem 0 0.45rem;
  }

  .site-links a {
    font-size: 0.8rem;
  }

  .site-links a:not(.nav-cta)::after {
    bottom: -0.25rem;
  }

  .site-links .nav-cta {
    min-height: 38px;
    padding: 0.45rem 0.7rem;
  }

  .page-hero {
    padding: 4.5rem 7%;
  }

  .page-hero::after {
    right: -210px;
    bottom: -190px;
  }

  .content-section {
    width: 86%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
