:root {
  --ice-blue: #CBE3EE;
  --ice-tint: #F2F8FB;
  --ice-border: #B3D3E2;
  --prime-red: #E31E24;
  --prime-red-dark: #B91419;
  --ink-black: #141414;
  --charcoal: #2B2F33;
  --muted: #5A6570;
  --white: #FFFFFF;
  --border-light: #E2E8F0;
  --shadow-sm: 0 4px 12px rgba(20, 20, 20, 0.06);
  --shadow-md: 0 12px 30px rgba(20, 20, 20, 0.1);
  --radius: 8px;
  --transition: 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--ink-black);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* Top Info Bar */
.top-bar {
  background-color: var(--ink-black);
  color: var(--ice-blue);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar span strong {
  color: var(--white);
}

/* Header & Navigation */
.site-header {
  background-color: var(--white);
  border-bottom: 3px solid var(--ice-blue);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-monogram {
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink-black);
  background: var(--ice-blue);
  display: grid;
  place-items: center;
  font-family: 'Arial Black', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  line-height: 1;
  position: relative;
}

.brand-monogram .p-letter {
  color: var(--prime-red);
  transform: translate(-4px, -2px);
}

.brand-monogram .a-letter {
  color: var(--ink-black);
  position: absolute;
  transform: translate(5px, 4px);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Georgia', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-bottom: 1.5px solid var(--ink-black);
  padding-bottom: 2px;
}

.brand-name .red { color: var(--prime-red); }
.brand-name .black { color: var(--ink-black); }

.brand-tagline {
  font-size: 0.7rem;
  color: var(--prime-red);
  font-style: italic;
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-black);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--prime-red);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: var(--prime-red);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink-black);
  border-radius: 4px;
  padding: 0.35rem 0.6rem;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--ink-black);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.78rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--prime-red);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--prime-red-dark);
  transform: translateY(-1px);
}

.btn-dark {
  background-color: var(--ink-black);
  color: var(--white);
}

.btn-dark:hover {
  background-color: #2f2f2f;
}

.btn-outline {
  border-color: var(--ink-black);
  color: var(--ink-black);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--ink-black);
  color: var(--white);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--ice-blue) 0%, var(--ice-tint) 65%, var(--white) 100%);
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--ice-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background-color: var(--white);
  color: var(--prime-red);
  border-left: 4px solid var(--prime-red);
  padding: 0.3rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  margin-bottom: 1.2rem;
}

.hero h1 span {
  color: var(--prime-red);
}

.hero p {
  font-size: 1.08rem;
  color: var(--charcoal);
  margin-bottom: 1.8rem;
  max-width: 58ch;
}

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

.hero-card {
  background-color: var(--ink-black);
  color: var(--white);
  padding: 2.2rem;
  border-radius: var(--radius);
  border-top: 5px solid var(--prime-red);
  box-shadow: var(--shadow-md);
}

.hero-card h3 {
  color: var(--ice-blue);
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--prime-red);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--ice-blue);
}

/* Page Banner (Subpages) */
.page-banner {
  background-color: var(--ice-blue);
  padding: 3.2rem 0;
  border-bottom: 3px solid var(--ink-black);
}

.page-banner h1 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.page-banner p {
  max-width: 65ch;
  color: var(--ink-black);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-tint {
  background-color: var(--ice-tint);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-header .underline {
  width: 64px;
  height: 3px;
  background-color: var(--prime-red);
  margin: 0 auto 1rem;
}

/* Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--ink-black);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-top-color: var(--prime-red);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background-color: var(--ice-blue);
  color: var(--prime-red);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.22rem;
}

/* Team Filters & Team Cards */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--white);
  border: 1.5px solid var(--ink-black);
  color: var(--ink-black);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--prime-red);
  border-color: var(--prime-red);
  color: var(--white);
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-card.hidden {
  display: none;
}

.team-avatar {
  height: 280px;
  background: linear-gradient(135deg, var(--ice-blue), #dceef6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 3px solid var(--prime-red);
}

.avatar-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: var(--ink-black);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: 'Georgia', serif;
  font-size: 2rem;
  font-weight: 700;
  border: 3px solid var(--white);
}

.role-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: var(--prime-red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.team-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.team-title {
  color: var(--prime-red);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.team-summary {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tag {
  background-color: var(--ice-tint);
  border: 1px solid var(--ice-border);
  color: var(--ink-black);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.team-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2000;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  width: min(620px, 100%);
  border-radius: var(--radius);
  border-top: 5px solid var(--prime-red);
  padding: 2rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--ice-tint);
  border: 1px solid var(--ink-black);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

.modal-meta {
  margin: 1.2rem 0;
  padding: 1rem;
  background-color: var(--ice-tint);
  border-left: 4px solid var(--ink-black);
  font-size: 0.93rem;
}

/* Contact Form */
.form-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--prime-red);
}

.alert-success {
  display: none;
  background-color: #E6F4EA;
  border-left: 4px solid #1E7E34;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
}

/* CTA Band & Footer */
.cta-band {
  background-color: var(--ink-black);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
  border-top: 4px solid var(--prime-red);
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.8rem;
}

.cta-band p {
  color: var(--ice-blue);
  max-width: 60ch;
  margin: 0 auto 1.6rem;
}

.site-footer {
  background-color: #0D0D0D;
  color: #CBD5E1;
  padding: 3.5rem 0 1.5rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-grid h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  border-left: 3px solid var(--prime-red);
  padding-left: 0.6rem;
}

.footer-grid ul li {
  margin-bottom: 0.5rem;
}

.footer-grid ul a:hover {
  color: var(--ice-blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.84rem;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.25rem;
    border-bottom: 3px solid var(--prime-red);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }
}