/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6f9;
  --color-text: #1a1e24;
  --color-text-muted: #545b66;
  --color-primary: #0a3866;
  --color-primary-dark: #072a4d;
  --color-navy-ink: #051d34;
  --color-border: #e1e4ea;
  --color-focus: #0a3866;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 72rem;
  --radius: 0.6rem;
  --shadow-sm: 0 1px 2px rgba(5, 29, 52, 0.06), 0 1px 1px rgba(5, 29, 52, 0.04);
  --shadow-md: 0 12px 24px -12px rgba(5, 29, 52, 0.22), 0 4px 10px -4px rgba(5, 29, 52, 0.1);
  --shadow-lg: 0 24px 48px -16px rgba(5, 29, 52, 0.28);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4,
p, figure, blockquote {
  margin: 0;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul[class],
ol[class] {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ==========================================================================
   Base
   ========================================================================== */
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  line-height: 1.15;
  font-weight: 700;
  color: var(--color-navy-ink);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 3vw + 1.4rem, 3.25rem);
}

h2 {
  font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.1rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

p {
  max-width: 65ch;
}

a {
  text-decoration-color: var(--color-border);
}

a:hover {
  text-decoration-color: currentColor;
}

/* Visible, consistent focus state for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.visually-hidden {
  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: hidden until focused, then jumps above everything */
.skip-link {
  position: absolute;
  top: -3rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  transition: top 0.15s ease-in-out;
}

.skip-link:focus {
  top: 0.5rem;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(6px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: 0.85rem;
}

.site-logo {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--color-navy-ink);
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
}

.site-logo img {
  height: 2.35rem;
  width: auto;
}

.site-logo-text small {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.nav-toggle {
  grid-column: 3;
  justify-self: end;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: var(--color-text);
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.primary-nav {
  grid-column: 2;
  justify-self: center;
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1.5rem;
  }

  .primary-nav a {
    display: block;
    padding: 0.75rem 0;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(10, 56, 102, 0.07), transparent 60%),
    var(--color-bg);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 3fr 2fr;
  }
}

.hero-eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.hero-lede {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-cta {
  margin-top: 2.5rem;
}

.section-intro {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 58ch;
}

.pull-quote {
  margin: 0;
  padding: 2rem 2rem 2rem 2.25rem;
  border-left: 4px solid var(--color-primary);
  background-color: var(--color-bg-alt);
  border-radius: var(--radius);
}

.pull-quote p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--color-navy-ink);
  font-style: italic;
  max-width: none;
  margin-bottom: 0.75rem;
}

.pull-quote cite {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.hero-image--wide {
  aspect-ratio: 4 / 3;
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-image--compact {
  aspect-ratio: 5 / 3;
}

.media-image {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-media {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .split-media {
    grid-template-columns: 3fr 2fr;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: var(--color-border);
  color: var(--color-text);
  background-color: var(--color-bg);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
}

/* ==========================================================================
   Cards / Grids
   ========================================================================== */
.grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #cfd6e2;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  color: var(--color-navy-ink);
}

.card-body p {
  color: var(--color-text-muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-field .hint {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.3rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-bg);
  font: inherit;
  color: var(--color-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10, 56, 102, 0.12);
}

.form-field input:required,
.form-field select:required,
.form-field textarea:required {
  border-left: 3px solid var(--color-primary);
}

.form-hint {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-left: 1.1rem;
}

.form-hint li {
  color: var(--color-text-muted);
  position: relative;
}

.form-hint li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card blockquote {
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 2px solid var(--color-border);
  object-fit: cover;
}

.testimonial-card blockquote::before {
  content: open-quote;
}

.testimonial-card blockquote::after {
  content: close-quote;
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-navy-ink);
}

.testimonial-role {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Events
   ========================================================================== */
.event-date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  background-color: var(--color-bg-alt);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.event-location {
  display: block;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-info-list li {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-list a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.contact-info-list a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-navy-ink);
  color: #cbd6e3;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer-main {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer-main {
    grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
    gap: 2rem;
  }
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  height: 2.25rem;
  width: auto;
}

.footer-brand span {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b9bb0;
  margin-bottom: 0.85rem;
}

.footer-bio {
  font-size: 0.925rem;
  line-height: 1.6;
  color: #a9b7c8;
  max-width: 28ch;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b9bb0;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: #cbd6e3;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links li {
  color: #a9b7c8;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.footer-social a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  color: #cbd6e3;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.15rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.footer-social a:hover {
  color: #fff;
  border-bottom-color: #6f95c2;
}

.footer-cta-text {
  font-size: 0.925rem;
  color: #a9b7c8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.btn-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  background-color: #fff;
  color: var(--color-navy-ink);
  border: 2px solid #fff;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn-footer:hover {
  background-color: transparent;
  color: #fff;
  transform: translateY(-1px);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: #8b9bb0;
  margin: 0;
}

.card--plain .card-body {
  padding-block: 1.75rem;
}

.card--plain {
  border-top: 3px solid var(--color-primary);
}

/* ==========================================================================
   Placeholder callouts (for client-facing edit notes)
   ========================================================================== */
.placeholder-note {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-primary);
  background-color: #eaf0fd;
  padding: 0.2rem 0.6rem;
  border-radius: 0.35rem;
}
