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

:root {
  --navy: #1e3a5f;
  --navy-dark: #152b47;
  --navy-mid: #2a4d7a;
  --gold: #c8972d;
  --gold-light: #e8b250;
  --gold-pale: #fbf4e7;
  --cream: #faf8f3;
  --warm-gray: #f0ede6;
  --text: #1a1a2e;
  --muted: #5c6370;
  --border: #e5e0d7;
  --white: #ffffff;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max-w: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ── NAV ─────────────────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
  gap: 0.1rem;
}

.logo-main {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.18s;
}

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

.btn-nav {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.3rem !important;
  border-radius: 4px;
  letter-spacing: 0.01em;
  transition: background 0.18s !important;
}

.btn-nav:hover {
  background: var(--navy-dark) !important;
  color: var(--white) !important;
}

/* ── HERO ────────────────────────────────────────────────── */

.hero {
  position: relative;
  background: var(--cream);
  padding: 7.5rem 1.75rem 6.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    var(--border) 1.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
  opacity: 0.55;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid rgba(200, 151, 45, 0.35);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--navy);
  max-width: 820px;
  margin-bottom: 1.6rem;
  letter-spacing: -0.025em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 2.75rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.875rem 2.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 2px solid var(--navy);
  transition:
    background 0.18s,
    transform 0.15s;
}

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

.btn-outline {
  display: inline-block;
  color: var(--navy);
  padding: 0.875rem 2.25rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--navy);
  transition: all 0.18s;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2.25rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
}

.scroll-bar {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--muted));
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

/* ── MISSION ─────────────────────────────────────────────── */

.mission {
  padding: 6.5rem 1.75rem;
  background: var(--white);
}

.section-label-group {
  margin-bottom: 3.25rem;
}

.section-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-label-group h2,
.about-text h2,
.contact-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.card {
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s ease;
}

.card:hover {
  box-shadow: 0 10px 40px rgba(30, 58, 95, 0.09);
  transform: translateY(-3px);
}

.card:hover::after {
  transform: scaleY(1);
}

.card-icon {
  width: 38px;
  height: 38px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── ABOUT ───────────────────────────────────────────────── */

.about {
  padding: 6.5rem 1.75rem;
  background: var(--navy);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 5rem;
  align-items: start;
}

.about-text .section-label {
  color: var(--gold);
}

.about-text h2 {
  color: var(--white);
  margin-bottom: 0;
}

.about-text p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 1.3rem;
  font-size: 0.975rem;
  line-height: 1.82;
}

.tax-note {
  margin-top: 1.75rem !important;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--gold);
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.85rem !important;
  line-height: 1.65 !important;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 2rem 1.75rem;
}

dl {
  display: flex;
  flex-direction: column;
}

.dl-row {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.dl-row:first-child {
  padding-top: 0;
}
.dl-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

dt {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.3rem;
}

dd {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

dd a {
  color: var(--gold-light);
  text-decoration: none;
}

dd a:hover {
  text-decoration: underline;
}

/* ── CONTACT ─────────────────────────────────────────────── */

.contact {
  padding: 6.5rem 1.75rem;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-intro .section-label {
  color: var(--gold);
}

.contact-intro h2 {
  margin-bottom: 1.1rem;
}

.contact-intro p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.78;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

input,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  transition:
    border-color 0.18s,
    background 0.18s;
  outline: none;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #a8a8b0;
}

input:focus,
textarea:focus {
  border-color: var(--navy);
  background: var(--white);
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

#contact-form button[type="submit"] {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
  padding: 0.875rem 2.5rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition:
    background 0.18s,
    transform 0.15s;
}

#contact-form button[type="submit"]:hover:not(:disabled) {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
}

#contact-form button[type="submit"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-status {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.form-status.success {
  color: #1f7a45;
}
.form-status.error {
  color: #c0392b;
}

/* ── FOOTER ──────────────────────────────────────────────── */

footer {
  background: var(--navy-dark);
  padding: 4rem 1.75rem 2.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 1.75rem;
}

.footer-brand .logo-main {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.footer-brand .logo-sub {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  max-width: 340px;
  line-height: 1.65;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 0.5rem;
}

.footer-info address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  line-height: 1.65;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.18s;
}

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

.sister-link {
  margin-top: 0.5rem;
  color: var(--gold-light) !important;
  font-weight: 500;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-info {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .nav-links a:not(.btn-nav) {
    display: none;
  }
  .hero {
    padding: 5.5rem 1.25rem 4.5rem;
  }
  .hero-scroll {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .mission,
  .about,
  .contact {
    padding: 4.5rem 1.25rem;
  }
}
