/* ── RESET & TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:     #0d3b33;
  --teal-mid: #0f4a3e;
  --teal-dk:  #091f1a;
  --gold:     #c9973a;
  --gold-lt:  #d9aa5a;
  --cream:    #f7f3ee;
  --off-white:#ede9e3;
  --muted:    #8a8278;
  --text:     #1e1e1e;
  --rule:     rgba(201,151,58,0.22);
  --rule-lt:  rgba(0,0,0,0.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: var(--cream);
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'EB Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.67rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

p { max-width: 62ch; }
p + p { margin-top: 1rem; }
a { color: inherit; }

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--teal);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  height: 68px;
  border-bottom: 1px solid var(--rule);
}

.nav-brand {
  display: flex; flex-direction: column; gap: 1px;
  text-decoration: none;
}
.nav-brand-gms {
  font-family: 'EB Garamond', serif;
  font-size: 1.65rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  line-height: 1;
}
.nav-brand-full {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.4);
  line-height: 1;
}

.nav-links {
  display: flex; gap: 2.75rem;
  list-style: none;
}
.nav-links a {
  color: rgba(247,243,238,0.6);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-lt); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

/* hamburger */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE NAV DRAWER ── */
.nav-drawer {
  display: none;
  position: fixed; top: 68px; left: 0; right: 0;
  background: var(--teal-dk);
  border-bottom: 1px solid var(--rule);
  padding: 2rem 5vw;
  z-index: 199;
  flex-direction: column; gap: 1.5rem;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  color: rgba(247,243,238,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  padding: 0.78rem 2.2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--gold); color: var(--teal); }
.btn-solid {
  background: var(--gold); color: var(--teal);
}
.btn-solid:hover { background: var(--gold-lt); color: var(--teal); }

/* ── LAYOUT UTILITIES ── */
.container { padding: 0 5vw; }
.section { padding: 7rem 5vw; }
.section + .section { border-top: 1px solid var(--rule-lt); }
.section--dark {
  background: var(--teal);
  border-top: none !important;
  border-bottom: none !important;
}
.section--dark .eyebrow { color: var(--gold); }
.section--dark h2 { color: var(--cream); }
.section--dark p { color: rgba(247,243,238,0.55); max-width: 62ch; }
.section--off { background: var(--off-white); }

/* ── DIVIDER ── */
.gold-rule {
  display: flex; align-items: center; gap: 1rem;
  margin: 2rem 0;
}
.gold-rule::before, .gold-rule::after {
  content: ''; flex: 1; height: 1px; background: var(--rule);
}
.gold-rule span {
  width: 4px; height: 4px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: var(--teal);
  padding: 10rem 5vw 6rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--rule);
}
.page-hero-lines {
  position: absolute; top: 0; right: 0; bottom: 0; width: 40%;
  pointer-events: none; opacity: 0.055;
  background-image: repeating-linear-gradient(
    90deg, var(--gold) 0, var(--gold) 1px, transparent 1px, transparent 44px
  );
}
.page-hero h1 { color: var(--cream); max-width: 16ch; }
.page-hero .hero-sub {
  color: rgba(247,243,238,0.5);
  font-size: 0.95rem;
  max-width: 46ch;
  margin-top: 1.5rem;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--teal-dk);
  padding: 4rem 5vw 2.5rem;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201,151,58,0.1);
}
.footer-brand-gms {
  font-family: 'EB Garamond', serif;
  font-size: 2.2rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.footer-brand-full {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.3);
  margin-bottom: 1.25rem;
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(247,243,238,0.4);
  max-width: 30ch;
  line-height: 1.7;
}
.footer-col-title {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a {
  color: rgba(247,243,238,0.45);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-lt); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy {
  font-size: 0.68rem;
  color: rgba(247,243,238,0.22);
  letter-spacing: 0.05em;
}
.footer-legal {
  display: flex; gap: 2rem;
}
.footer-legal a {
  font-size: 0.68rem;
  color: rgba(247,243,238,0.22);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(247,243,238,0.5); }

/* ── FORMS ── */
.form-grid { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
label {
  font-size: 0.63rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.4);
}
input, textarea, select {
  background: rgba(247,243,238,0.05);
  border: 1px solid var(--rule);
  color: var(--cream);
  padding: 0.72rem 0.95rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem; font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
}
input::placeholder, textarea::placeholder { color: rgba(247,243,238,0.18); }
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
select option { background: var(--teal-mid); color: var(--cream); }
textarea { resize: vertical; min-height: 130px; }
.form-note {
  font-size: 0.72rem;
  color: rgba(247,243,238,0.3);
  margin-top: -0.25rem;
}
.form-success {
  display: none;
  color: var(--gold);
  font-size: 0.85rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule);
  margin-top: 0.5rem;
}

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--rule);
  margin-top: 3.5rem;
}
.card {
  padding: 2.75rem 2.25rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.card:last-child { border-right: none; }
.card-bar {
  width: 28px; height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}
.card h3 {
  font-family: 'EB Garamond', serif;
  font-size: 1.12rem; font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.7rem;
}
.card p {
  font-size: 0.81rem;
  color: rgba(247,243,238,0.48);
  line-height: 1.78; max-width: 100%;
}

/* ── FADE ANIMATION ── */
@media (prefers-reduced-motion: no-preference) {
  .fade { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
  .fade.visible { opacity: 1; transform: none; }
  .fade-d1 { transition-delay: 0.1s; }
  .fade-d2 { transition-delay: 0.2s; }
  .fade-d3 { transition-delay: 0.3s; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .card-grid { grid-template-columns: 1fr; }
  .card { border-right: none; }
}

/* ── DISCLAIMER BAND ── */
.disclaimer-band {
  background: rgba(247,243,238,0.04);
  border-top: 1px solid var(--rule);
  padding: 1.5rem 5vw;
}
.disclaimer-band p {
  font-size: 0.68rem;
  color: rgba(247,243,238,0.3);
  line-height: 1.7;
  max-width: 100%;
  letter-spacing: 0.02em;
}
.disclaimer-band strong {
  color: rgba(247,243,238,0.45);
  font-weight: 400;
}

/* ── FORM TABS ── */
.form-tabs {
  display: flex;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
  gap: 0;
}
.form-tab {
  padding: 0.75rem 1.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247,243,238,0.4);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s, border-color 0.2s;
}
.form-tab:hover { color: rgba(247,243,238,0.7); }
.form-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.form-panel { display: none; }
.form-panel.active { display: flex; flex-direction: column; gap: 1.25rem; }

/* ── INQUIRY TYPE BADGE ── */
.inquiry-badge {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--rule);
  padding: 0.3rem 0.75rem;
  margin-bottom: 1.5rem;
}
