:root {
  --navy: #1a2a6c;
  --navy-dark: #111c4e;
  --navy-soft: #243280;
  --red: #cc1a1a;
  --red-dark: #a81414;
  --cream: #f7f5f0;
  --warm: #eef0f8;
  --sand: #dde0ea;
  --ink: #111827;
  --mid: #4b5563;
  --light: #9ca3af;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(17, 28, 78, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--warm);
  color: var(--navy);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}

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

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--navy-dark);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
}

.brand img {
  height: 64px;
  width: auto;
}

.brand span {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--mid);
  font-size: 0.92rem;
  font-weight: 600;
}

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

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

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--sand);
  background: var(--white);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu .container {
  display: grid;
  gap: 12px;
  padding: 18px 0 22px;
}

.mobile-menu a,
.mobile-menu button {
  text-align: left;
}

.page-hero {
  padding: 72px 0 54px;
  background:
    radial-gradient(circle at top right, rgba(26, 42, 108, 0.08), transparent 36%),
    radial-gradient(circle at bottom left, rgba(204, 26, 26, 0.06), transparent 30%),
    linear-gradient(118deg, #eef0fa 0%, #f7f5f0 52%, #fdf0f0 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.hero-copy h1,
.section-intro h2,
.cta-brand h2,
.modal-card h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.12;
}

.hero-copy h1 {
  margin-top: 16px;
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.hero-copy p {
  margin: 18px 0 0;
  color: var(--mid);
  font-size: 1.02rem;
  line-height: 1.78;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-tag {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
}

.media-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--white);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 26px;
  border: 2px dashed #c8cde0;
  background:
    linear-gradient(135deg, rgba(238, 240, 248, 1), rgba(221, 224, 234, 1)),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(0, 0, 0, 0.015) 12px, rgba(0, 0, 0, 0.015) 24px);
  color: var(--light);
}

.media-placeholder strong {
  color: var(--navy);
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
}

.media-placeholder span {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 84px 0;
}

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

.section-intro {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-intro h2 {
  color: var(--navy);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

.section-intro p {
  margin: 14px 0 0;
  color: var(--mid);
  line-height: 1.72;
  font-size: 1rem;
}

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

.info-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 12px 30px rgba(17, 28, 78, 0.05);
}

.info-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

.info-card p {
  margin: 12px 0 0;
  color: var(--mid);
  line-height: 1.7;
  font-size: 0.95rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 30px;
  align-items: center;
}

.detail-panel {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.detail-panel h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Fraunces", serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.detail-panel p {
  margin: 16px 0 0;
  color: var(--mid);
  line-height: 1.75;
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.bullet-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  line-height: 1.65;
}

.bullet-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 auto;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-card {
  display: block;
  text-decoration: none;
  background: linear-gradient(160deg, var(--white), #f9fafc);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy);
  box-shadow: 0 16px 30px rgba(17, 28, 78, 0.08);
}

.related-card strong {
  display: block;
  color: var(--navy);
  font-family: "Fraunces", serif;
  font-size: 1.08rem;
}

.related-card span {
  display: block;
  margin-top: 8px;
  color: var(--mid);
  line-height: 1.65;
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
}

.contact-card,
.contact-form,
.policy-panel {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-card h3,
.contact-form h3,
.policy-panel h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Fraunces", serif;
}

.contact-card p,
.contact-form p,
.policy-panel p,
.policy-panel li {
  color: var(--mid);
  line-height: 1.72;
}

.policy-grid {
  display: grid;
  gap: 18px;
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

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

.input-field,
.textarea-field {
  width: 100%;
  border: 1px solid #cad0e0;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: #fbfcfe;
}

.textarea-field {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  min-height: 20px;
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--navy);
}

.cta-band {
  padding: 32px 0 92px;
}

.cta-panel {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  border-radius: 30px;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(17, 28, 78, 0.18);
}

.cta-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.cta-brand img {
  width: 78px;
  height: auto;
  filter: brightness(0) invert(1);
}

.cta-brand p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer {
  background: #0d1538;
  color: rgba(255, 255, 255, 0.62);
  padding: 58px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  width: 150px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 30ch;
  line-height: 1.75;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: "Fraunces", serif;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  margin: 0 0 10px;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding-top: 20px;
  font-size: 0.84rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 13, 34, 0.58);
  z-index: 200;
}

.modal.open {
  display: flex;
}

.modal-card {
  width: min(560px, 100%);
  background: var(--white);
  border-radius: 26px;
  padding: 28px;
  position: relative;
  box-shadow: 0 30px 60px rgba(8, 13, 34, 0.24);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--warm);
  color: var(--navy);
  font-size: 1.35rem;
  cursor: pointer;
}

.modal-logo {
  width: 96px;
  margin-bottom: 18px;
}

.modal-card p {
  color: var(--mid);
  line-height: 1.7;
}

@media (max-width: 960px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-grid,
  .detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-brand {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .page-hero,
  .section {
    padding: 62px 0;
  }

  .cards-grid,
  .related-grid,
  .footer-grid,
  .form-grid.two-col {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .brand span {
    font-size: 1.25rem;
  }

  .brand img {
    height: 56px;
  }

  .cta-panel,
  .modal-card,
  .detail-panel,
  .contact-card,
  .contact-form,
  .policy-panel {
    padding: 22px;
  }
}
