/* ============ OBD Legal — design system ============ */
:root {
  --navy-950: #0a1220;
  --navy-900: #0e1a2b;
  --navy-800: #14243a;
  --navy-700: #1d3350;
  --navy-600: #2a4468;
  --navy-100: #dbe4ef;
  --navy-50: #eef2f7;

  --gold-600: #b08a3e;
  --gold-500: #c9a24b;
  --gold-400: #d9b769;
  --gold-300: #e7cd93;

  --cream: #faf8f4;
  --ink: #131a24;

  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.06), 0 12px 32px -8px rgba(16, 24, 40, 0.14);
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-400); color: var(--navy-950); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

.container { max-width: 80rem; margin-inline: auto; padding-inline: 1.5rem; }
.eyebrow {
  color: var(--gold-600);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.on-dark .eyebrow, .eyebrow.dark { color: var(--gold-400); }

/* Buttons */
.btn {
  display: inline-block;
  border: none;
  border-radius: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  text-align: center;
}
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-400); }
.btn-outline { border: 1px solid rgba(250, 248, 244, 0.3); color: var(--cream); background: transparent; }
.btn-outline:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn-navy { background: var(--navy-900); color: var(--cream); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { border: 1px solid var(--navy-100); color: var(--navy-900); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-500); }
.btn-sm { padding: 0.65rem 1.3rem; font-size: 0.875rem; }

/* ============ Header / nav ============ */
#site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.brand img { height: 3rem; width: auto; }
/* Subpages (light theme): solid black logo */
html[data-theme='light'] .brand img { filter: brightness(0); }
/* Home (dark theme): solid white logo */
html[data-theme='dark'] .brand img { filter: brightness(0) invert(1); }

.nav-links { display: none; align-items: center; gap: 0.25rem; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
html[data-theme='light'] .nav-link { color: var(--navy-900); }
html[data-theme='light'] .nav-link:hover { color: var(--gold-600); }
html[data-theme='dark'] .nav-link { color: #f4f1ea; }
html[data-theme='dark'] .nav-link:hover { color: var(--gold-400); }
.nav-link svg { width: 0.9rem; height: 0.9rem; opacity: 0.6; }

.nav-item { position: relative; }
.dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 16rem;
  border: 1px solid var(--navy-100);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.5rem;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; }
.dropdown a {
  display: block;
  border-radius: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: var(--navy-900);
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: var(--navy-50); color: var(--gold-600); }

.nav-cta {
  margin-left: 1rem;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 0.6rem 1.3rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-400); }
.nav-lang {
  margin-left: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--gold-700, #a5811f);
}
html[data-theme='light'] .nav-lang { color: var(--gold-600); }
html[data-theme='dark'] .nav-lang { color: var(--gold-400); }

.nav-toggle {
  display: block;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--navy-900);
}
.nav-toggle .menu-icon { width: 1.5rem; height: 1.5rem; stroke: currentColor; }
html[data-theme='dark'] .nav-toggle:not(:hover) { color: #f4f1ea; }
.menu-close { display: none; }

#mobile-menu {
  display: none;
  border-top: 1px solid var(--navy-100);
  background: #fff;
  padding: 1rem 1.5rem 2rem;
  box-shadow: var(--shadow-card);
}
#mobile-menu.open { display: block; }
#mobile-menu a.top { display: block; padding: 0.75rem 0; font-weight: 500; color: var(--navy-900); border-bottom: 1px solid var(--navy-50); }
#mobile-menu .sub { padding-left: 1rem; padding-bottom: 0.5rem; }
#mobile-menu .sub a { display: block; padding: 0.5rem 0; font-size: 0.875rem; color: rgba(19, 26, 36, 0.7); }
#mobile-menu .sub a:hover { color: var(--gold-600); }
#mobile-menu .nav-cta { display: block; margin: 1rem 0 0.75rem; text-align: center; }

#site-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 0 rgba(19, 26, 36, 0.06), 0 8px 24px -12px rgba(19, 26, 36, 0.18);
}
html[data-theme='dark'] #site-nav.is-scrolled {
  background: rgba(10, 18, 32, 0.92);
}
/* Light-themed pages: header is ALWAYS solid so links stay readable over dark heroes */
html[data-theme='light'] #site-nav {
  background: rgba(250, 248, 244, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 0 rgba(19, 26, 36, 0.06), 0 8px 24px -12px rgba(19, 26, 36, 0.18);
}
html[data-theme='dark'] #site-nav.is-scrolled {
  background: rgba(10, 18, 32, 0.92);
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  #mobile-menu { display: none !important; }
}

/* ============ Heroes ============ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--cream);
}
.hero-short { min-height: 46rem; }
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.4;
}
.hero.short .hero-bg { opacity: 1; object-position: center top; }
.hero .hero-bg.faint { opacity: 0.25; object-position: center; }
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy-950), rgba(10, 18, 32, 0.75) 45%, rgba(10, 18, 32, 0.2));
}
.hero-gradient.bottom { background: linear-gradient(to top, var(--navy-950) 5%, rgba(10, 18, 32, 0.6) 45%, rgba(10, 18, 32, 0.8)); }
.hero-content { position: relative; width: 100%; padding: 9rem 0 5rem; }
.hero-title { max-width: 46rem; font-size: clamp(2.6rem, 6vw, 4.5rem); }
.hero-title .gold { color: var(--gold-400); }
.hero p.lead { margin-top: 1.5rem; max-width: 36rem; font-size: 1.125rem; color: rgba(219, 228, 239, 0.9); }
.hero .actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .fineprint { margin-top: 2rem; font-size: 0.875rem; color: rgba(219, 228, 239, 0.6); }

/* page hero (subpages) */
.page-hero { position: relative; background: var(--navy-950); color: var(--cream); overflow: hidden; }
.page-hero .hero-bg { opacity: 0.25; object-position: center; }
.page-hero .hero-content { padding-top: 11rem; padding-bottom: 5.5rem; }
.page-title { max-width: 44rem; margin-top: 0.75rem; font-size: clamp(2.2rem, 5vw, 3.75rem); }
.page-hero p.lead { margin-top: 1.5rem; max-width: 40rem; color: rgba(219, 228, 239, 0.9); font-size: 1.125rem; }
.page-hero .actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============ Sections ============ */
.section { padding: 5rem 0; }
.section-lg { padding: 7rem 0; }
.section-alt { background: #fff; }
.section-head { max-width: 40rem; }
.section-head h2, .center-head h2 { margin-top: 0.75rem; font-size: clamp(2rem, 4vw, 3rem); color: var(--navy-900); }
.center-head { text-align: center; max-width: 44rem; margin: 0 auto; }
.center-head p { margin: 1rem 0 0; color: rgba(19, 26, 36, 0.7); }
.center-head a { color: var(--gold-600); font-weight: 600; }
.center-head a:hover { text-decoration: underline; }

/* stats bar */
.stats { border-bottom: 1px solid var(--navy-100); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding: 2.5rem 0; text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; color: var(--navy-900); }
.stat .lbl { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(19, 26, 36, 0.6); }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } .stat .num { font-size: 2.25rem; } }

/* practice cards */
.cards-3 { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .cards-3.two { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-3.three { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--navy-100);
  border-radius: 1rem;
  background: #fff;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card.featured {
  background: var(--navy-900);
  color: var(--cream);
  border-color: var(--navy-800);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.4);
}
.card .tag {
  margin-bottom: 1rem;
  align-self: flex-start;
  border-radius: 999px;
  background: rgba(201, 162, 75, 0.15);
  padding: 0.25rem 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.card h3 { font-size: 1.5rem; color: var(--navy-900); }
.card.featured h3 { color: var(--gold-300); }
.card p.desc { margin: 1rem 0 0; font-size: 0.9rem; color: rgba(19, 26, 36, 0.7); flex: 1; }
.card.featured p.desc { color: rgba(219, 228, 239, 0.8); }
.card .points { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.card .points li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 500; color: var(--navy-900); }
.card.featured .points li { color: rgba(250, 248, 244, 0.9); }
.card .points svg { width: 1rem; height: 1rem; color: var(--gold-600); flex-shrink: 0; }
.card.featured .points svg { color: var(--gold-400); }
.card .more {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-600);
}
.card.featured .more { color: var(--gold-400); }
.card .more svg { width: 1rem; height: 1rem; transition: transform 0.2s; }
.card:hover .more svg { transform: translateX(4px); }

/* mission */
.mission-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .mission-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.mission-grid p { margin: 1rem 0 0; font-size: 1.05rem; color: rgba(19, 26, 36, 0.75); }
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2rem; font-weight: 600; color: var(--gold-600); transition: color 0.2s; }
.text-link:hover { color: var(--navy-900); }
.text-link svg { width: 1rem; height: 1rem; }
.photo-wrap { position: relative; }
.photo-wrap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1rem; box-shadow: var(--shadow-card); }
.badge-year {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  display: none;
  border-radius: 1rem;
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-card);
}
.badge-year .num { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; }
.badge-year .lbl { font-size: 0.875rem; font-weight: 500; }
@media (min-width: 640px) { .badge-year { display: block; } }
.photo-wide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; border-radius: 1rem; box-shadow: var(--shadow-card); }

/* values */
.values-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }
.value-card {
  border: 1px solid var(--navy-100);
  border-radius: 1rem;
  background: #fff;
  padding: 1.75rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.value-card:hover { box-shadow: var(--shadow-card); }
.value-card .num { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: rgba(201, 162, 75, 0.4); }
.value-card h3 { margin-top: 1rem; font-size: 1.2rem; color: var(--navy-900); }
.value-card p { margin: 0.75rem 0 0; font-size: 0.9rem; color: rgba(19, 26, 36, 0.7); }
.mini-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
.mini-card { border-radius: 1rem; background: var(--navy-50); padding: 1.5rem; }
.mini-card h3 { font-size: 1.1rem; color: var(--navy-900); }
.mini-card p { margin: 0.5rem 0 0; font-size: 0.9rem; color: rgba(19, 26, 36, 0.7); }
.two-col { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.two-col p { margin: 1.5rem 0 0; font-size: 1.05rem; color: rgba(19, 26, 36, 0.75); }

/* FAQ */
.faq-list { margin-top: 3rem; border-top: 1px solid var(--navy-100); border-bottom: 1px solid var(--navy-100); }
.faq-list details { padding: 1.25rem 0; }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  color: var(--navy-900);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 2rem; height: 2rem; padding: 0.4rem; border: 1px solid var(--navy-100); border-radius: 999px; flex-shrink: 0; transition: transform 0.25s; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list .answer { margin: 1rem 0 0; color: rgba(19, 26, 36, 0.75); max-width: 60rem; }

/* consultation */
.consult { background: var(--navy-950); color: var(--cream); }
.consult-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .consult-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.consult h2 { margin-top: 0.75rem; font-size: clamp(2rem, 4vw, 3rem); }
.consult .lead { margin: 1.25rem 0 0; max-width: 28rem; color: rgba(219, 228, 239, 0.9); font-size: 1.05rem; }
.consult .touch { margin-top: 2rem; display: flex; align-items: center; gap: 0.75rem; font-weight: 500; font-size: 1.1rem; }
.consult .touch a:hover { color: var(--gold-400); }
.consult .touch svg { width: 1.25rem; height: 1.25rem; color: var(--gold-400); }
.consult address { margin-top: 1rem; font-style: normal; color: rgba(219, 228, 239, 0.7); }

/* contact form */
.form-grid { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-grid label { display: block; margin-bottom: 0.25rem; font-size: 0.875rem; font-weight: 500; }
.form-grid .req { color: var(--gold-400); }
.input {
  width: 100%;
  border: 1px solid var(--navy-600);
  border-radius: 0.5rem;
  background: rgba(14, 26, 43, 0.6);
  color: var(--cream);
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: rgba(219, 228, 239, 0.4); }
.input:focus { border-color: var(--gold-400); outline: none; box-shadow: 0 0 0 1px var(--gold-400); }
.consult form .btn-gold { margin-top: 0.5rem; width: auto; }
#form-status { display: none; margin: 0; font-size: 0.875rem; font-weight: 500; color: var(--gold-400); }
#form-status.show, .form-status.show { display: block; }
.form-note { margin: 0; font-size: 0.75rem; color: rgba(219, 228, 239, 0.6); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* form on light background (contact page) */
.form-light .input {
  border-color: var(--navy-100);
  background: #fff;
  color: var(--ink);
}
.form-light .input::placeholder { color: rgba(19, 26, 36, 0.4); }
.form-light .input:focus { border-color: var(--gold-500); box-shadow: 0 0 0 1px var(--gold-500); }
.form-light #form-status { color: var(--gold-600); }
.form-light .req { color: var(--gold-600); }
.form-light .form-note { color: rgba(19, 26, 36, 0.6); }
.form-light .btn-gold:hover { background: var(--gold-400); }

/* footer */
footer { background: var(--navy-950); color: var(--navy-100); }
.footer-grid { display: grid; gap: 3rem; padding: 4rem 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
footer .footer-grid > div:first-child > img { height: 3.5rem; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
footer h3 { font-size: 1.1rem; color: var(--cream); }
footer ul { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
footer ul a { font-size: 0.875rem; color: rgba(219, 228, 239, 0.7); transition: color 0.2s; }
footer ul a:hover { color: var(--gold-400); }
footer .about { margin-top: 1.25rem; font-size: 0.875rem; color: rgba(219, 228, 239, 0.7); }
footer .langs { margin-top: 1rem; font-size: 0.875rem; font-weight: 500; color: var(--gold-400); }
footer address { margin-top: 1.25rem; font-style: normal; font-size: 0.875rem; color: rgba(219, 228, 239, 0.7); }
footer .tel { display: inline-block; margin-top: 0.75rem; font-size: 1rem; font-weight: 600; color: var(--gold-400); }
footer .tel:hover { color: var(--gold-300); }
.socials { display: flex; gap: 1rem; margin-top: 0.75rem; }
.socials a { color: rgba(219, 228, 239, 0.7); transition: color 0.2s; }
.socials a:hover { color: var(--gold-400); }
.socials svg { width: 1.25rem; height: 1.25rem; }
.footer-bottom { margin-top: 0; border-top: 1px solid rgba(29, 51, 80, 0.5); padding: 2rem 0; text-align: center; font-size: 0.75rem; color: rgba(219, 228, 239, 0.5); }

/* ============ Service pages ============ */
.service-grid { display: grid; gap: 3.5rem; padding: 4rem 0; }
@media (min-width: 1024px) { .service-grid { grid-template-columns: 1fr 20rem; gap: 4rem; align-items: start; } }
.prose { max-width: none; color: rgba(14, 26, 43, 0.9); }
.prose .intro-h { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 1.5rem; color: var(--navy-900); }
.prose h2 { font-size: 1.9rem; margin: 3rem 0 1rem; color: var(--navy-900); }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.5rem; display: grid; gap: 0.5rem; }
.prose strong { color: var(--navy-900); }
.prose a { color: var(--gold-600); font-weight: 600; }
.points-grid { margin: 2rem 0; display: grid; gap: 1rem; list-style: none; padding: 0; }
@media (min-width: 640px) { .points-grid { grid-template-columns: 1fr 1fr; } }
.points-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--navy-100);
  border-radius: 0.75rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}
.points-grid svg { width: 1rem; height: 1rem; margin-top: 0.25rem; color: var(--gold-600); flex-shrink: 0; }
.points-grid .pt { font-size: 0.9rem; font-weight: 500; color: var(--navy-900); margin: 0; }
.sidebar { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: 7rem; } }
.sidebar-card {
  border-radius: 1rem;
  background: var(--navy-900);
  color: var(--cream);
  padding: 1.75rem;
}
.sidebar-card .title { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-300); }
.sidebar-card p { margin: 0.75rem 0 0; font-size: 0.9rem; color: rgba(219, 228, 239, 0.8); }
.sidebar-card .btn { display: block; margin-top: 1.25rem; font-size: 0.9rem; padding: 0.75rem 1.25rem; }
.sidebar-card .btn-outline { border-color: rgba(250, 248, 244, 0.25); }
.sidebar-info { border: 1px solid var(--navy-100); border-radius: 1rem; background: #fff; padding: 1.75rem; }
.sidebar-info .lbl { font-size: 0.875rem; font-weight: 600; color: var(--navy-900); margin: 0; }
.sidebar-info .lbl + p { margin: 0.5rem 0; font-size: 0.875rem; color: rgba(19, 26, 36, 0.7); }

/* ============ Team ============ */
.team-grid { margin-top: 3rem; display: grid; gap: 2rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card {
  overflow: hidden;
  border: 1px solid var(--navy-100);
  border-radius: 1rem;
  background: var(--cream);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.team-card:hover { box-shadow: var(--shadow-card); }
.team-card .photo { aspect-ratio: 4 / 5; overflow: hidden; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s; }
.team-card:hover .photo img { transform: scale(1.05); }
.team-card .body { padding: 1.5rem; }
.team-card h3 { font-size: 1.15rem; color: var(--navy-900); }
.team-card .role { font-size: 0.875rem; font-weight: 500; color: var(--gold-600); margin: 0; }
.team-card .bio { margin: 0.75rem 0 0; font-size: 0.85rem; color: rgba(19, 26, 36, 0.7); }
.tri-col { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .tri-col { grid-template-columns: repeat(3, 1fr); } }
.tri-card { border-radius: 1rem; background: var(--navy-50); padding: 2rem; }
.tri-card h3 { font-size: 1.25rem; color: var(--navy-900); }
.tri-card p { margin: 0.75rem 0 0; font-size: 0.9rem; color: rgba(19, 26, 36, 0.7); }

/* ============ Blog ============ */
.blog-grid { margin-top: 3rem; display: grid; gap: 2rem; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--navy-100);
  border-radius: 1rem;
  background: #fff;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.blog-card .cat { align-self: flex-start; border-radius: 999px; background: rgba(201, 162, 75, 0.15); padding: 0.25rem 0.8rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-600); }
.blog-card h2 { margin-top: 1rem; font-size: 1.3rem; color: var(--navy-900); transition: color 0.2s; }
.blog-card:hover h2 { color: var(--gold-600); }
.blog-card p { margin: 0.75rem 0 0; font-size: 0.9rem; color: rgba(19, 26, 36, 0.7); flex: 1; }
.blog-card time { margin-top: 1.5rem; font-size: 0.75rem; color: rgba(19, 26, 36, 0.4); }
.post-wrap { max-width: 44rem; margin: 0 auto; padding: 6rem 1.5rem; }
.post-meta time { color: rgba(19, 26, 36, 0.5); font-size: 0.85rem; }
.post-cta {
  margin-top: 4rem;
  border-radius: 1rem;
  background: var(--navy-900);
  color: var(--cream);
  padding: 2rem;
}
.post-cta .title { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-300); }
.post-cta p { margin: 0.5rem 0 0; font-size: 0.9rem; color: rgba(219, 228, 239, 0.8); }
.post-cta .btn { margin-top: 1.25rem; display: inline-block; font-size: 0.9rem; padding: 0.75rem 1.5rem; }

/* ============ Contact page ============ */
.contact-grid { display: grid; gap: 3.5rem; padding: 4rem 0; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 24rem; gap: 4rem; align-items: start; } }
.contact-card {
  margin-top: 2rem;
  border: 1px solid var(--navy-100);
  border-radius: 1rem;
  background: #fff;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.contact-card .form-note { color: rgba(19, 26, 36, 0.6); }
.side-card-dark { border-radius: 1rem; background: var(--navy-900); color: var(--cream); padding: 1.75rem; }
.side-card-dark .title { font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-300); }
.side-card-dark address { margin-top: 1rem; font-style: normal; font-size: 0.9rem; color: rgba(219, 228, 239, 0.8); }
.side-card-dark .tel { display: inline-block; margin-top: 0.75rem; font-size: 1.05rem; font-weight: 600; color: var(--gold-400); }
.side-card-dark .tel:hover { color: var(--gold-300); }
.map { margin-top: 1.5rem; border-radius: 0.75rem; overflow: hidden; }
.map iframe { width: 100%; height: 14rem; border: 0; display: block; }
.side-stack { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .contact-grid .side-stack { padding-top: 6rem; } }

/* 404 */
.notfound { display: grid; min-height: 70vh; place-items: center; padding: 6rem 1.5rem 3rem; text-align: center; }
.notfound .num { font-family: var(--font-display); font-size: 4.5rem; font-weight: 700; color: var(--gold-500); }
.notfound h1 { margin-top: 1rem; font-size: 2rem; color: var(--navy-900); }
.notfound p { margin-top: 1rem; color: rgba(19, 26, 36, 0.7); }
.notfound .btn { margin-top: 2rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
