:root {
  --navy: #0b1f33;
  --navy-2: #132a44;
  --navy-3: #1b3a5a;
  --ink: #1c232b;
  --muted: #5b6673;
  --paper: #f7f4ee;
  --cream: #efe8d9;
  --white: #fffcf8;
  --gold: #b8923a;
  --gold-2: #d4b36a;
  --line: rgba(11, 31, 51, 0.12);
  --shadow: 0 18px 50px rgba(11, 31, 51, 0.12);
  --radius: 18px;
  --max: 1120px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 1000;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  background: var(--navy);
  color: var(--cream);
  font-size: 0.9rem;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--cream);
  text-decoration: none;
}

.topbar a:hover {
  color: var(--gold-2);
}

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.mark {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-text strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.1;
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav.primary a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--navy);
}

nav.primary a:hover,
nav.primary a.active {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-family: inherit;
  transition: 0.2s ease;
}

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

.btn-gold:hover {
  background: var(--gold-2);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
}

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

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.hero {
  background:
    linear-gradient(115deg, rgba(11, 31, 51, 0.92) 0%, rgba(11, 31, 51, 0.72) 48%, rgba(11, 31, 51, 0.35) 100%),
    url("../images/masthead.jpg") left center / cover no-repeat;
  color: #fff;
  min-height: 78vh;
  display: grid;
  align-items: end;
}

.hero-inner {
  padding: 72px 0 80px;
  max-width: 720px;
}

.eyebrow {
  color: var(--gold-2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0 14px;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 14px;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }

.lede {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 54ch;
}

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

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.stat {
  border-top: 1px solid rgba(255,255,255,0.22);
  padding-top: 12px;
}

.stat b {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
}

.stat span {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
}

section {
  padding: 80px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cream);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--navy);
}

.about-grid,
.contact-grid,
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.portrait {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  background: #2a1b12 url("../images/masthead.jpg") left center / cover no-repeat;
  box-shadow: var(--shadow);
}

.portrait-cap {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(11, 31, 51, 0.82);
  color: #fff;
  padding: 16px;
  border-radius: 14px;
}

.muted { color: var(--muted); }
.bio p { margin: 0 0 14px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.chip {
  background: var(--cream);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.85rem;
}

.notice {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 16px 18px;
  border-radius: 12px;
  margin: 24px 0;
}

details.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

details.faq summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

details.faq summary::-webkit-details-marker { display: none; }

details.faq p,
details.faq li {
  color: var(--muted);
}

.prose p { margin: 0 0 14px; color: var(--muted); }
.prose h3 { margin-top: 28px; }

form.consult {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  margin: 12px 0 6px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

textarea { min-height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
}

.contact-card a { color: var(--gold-2); text-decoration: none; }
.contact-card h3 { color: #fff; }

footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 28px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

footer a { color: #fff; text-decoration: none; }
footer a:hover { color: var(--gold-2); }

.legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 28px;
  padding-top: 16px;
  font-size: 0.82rem;
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
}

.mobile-cta a {
  width: 100%;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .cards,
  .about-grid,
  .contact-grid,
  .split,
  .foot-grid,
  .stats,
  .form-row {
    grid-template-columns: 1fr;
  }

  .menu-toggle { display: grid; place-items: center; }

  nav.primary {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 0;
  }

  nav.primary.open { display: flex; }

  nav.primary a,
  nav.primary .btn {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  nav.primary .btn {
    margin-top: 10px;
    border-bottom: 0;
    border-radius: 999px;
    justify-content: center;
  }

  .hero { min-height: 88vh; background-position: 18% center; }
  .mobile-cta { display: block; }
  body { padding-bottom: 76px; }
  section { padding: 56px 0; }
}
