/* ---------- Design tokens ---------- */
:root {
  --forest: #0f341f;
  --forest-soft: #16482c;
  --gold: #d89014;
  --black: #111111;
  --white: #ffffff;
  --cream: #faf7f0;
  --cream-alt: #f0e9da;
  --gray-100: #e7dfcf;
  --gray-400: #b7c0b3;
  --gray-600: #4b4b46;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;

  --max-width: 1180px;
  --radius: 14px;
  --transition: 220ms ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--forest);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--forest);
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--gray-600); }

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--forest);
  font-weight: 700;
  margin-bottom: 12px;
}
.eyebrow.center { text-align: center; }
h2.center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--gold); color: var(--forest); }

.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-primary-inverse { background: var(--white); color: var(--forest); }
.btn-primary-inverse:hover { background: var(--gold); color: var(--forest); }

.btn-ghost-inverse { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost-inverse:hover { border-color: var(--gold); color: var(--gold); }

.btn-small { padding: 10px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; }

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.cta-row.center { justify-content: center; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--forest);
  letter-spacing: 0;
  gap: 1px;
}
.logo-fingerprint {
  width: 26px;
  height: 26px;
  margin: 0 1px;
}
.logo-footer { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--forest); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 0;
  background: var(--cream);
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero .eyebrow { letter-spacing: 0.18em; }
.hero-sub { font-size: 1.15rem; max-width: 560px; }

.hero-visual {
  position: relative;
  margin-top: 64px;
  height: 6px;
}
.hero-photo {
  width: 100%;
  height: 340px;
  background:
    linear-gradient(120deg, rgba(15,52,31,0.92), rgba(15,52,31,0.6)),
    linear-gradient(135deg, var(--forest-soft), var(--gold));
  position: relative;
}
.hero-accent-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--forest), var(--gold));
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--cream-alt); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-reverse .split-copy:first-child { order: 2; }
.split-reverse .split-copy:last-child { order: 1; }

.media-block {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--forest) 0%, var(--forest) 55%, var(--gold) 100%);
  position: relative;
}
.media-block::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1.5px solid var(--gold);
  opacity: 0.5;
  margin: 18px;
}

.lead { font-size: 1.08rem; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--forest);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Card grid ---------- */
.card-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 52, 31, 0.08);
}
.card-index {
  font-family: var(--font-heading);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}
.card h3 { margin-top: 12px; }
.card p { margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 16px;
}
.step p { margin-bottom: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--forest);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
}
.cta-banner-inner { max-width: 640px; margin: 0 auto; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: var(--gray-400); }

/* ---------- Contact ---------- */
.contact-details {
  margin: 28px 0;
  display: grid;
  gap: 16px;
}
.contact-details div { display: flex; gap: 8px; }
.contact-details dt {
  font-family: var(--font-heading);
  font-weight: 700;
  min-width: 90px;
  color: var(--forest);
}
.contact-details dd { margin: 0; color: var(--gray-600); }
.contact-details a { color: var(--forest); font-weight: 600; }
.contact-details a:hover { color: var(--gold); text-decoration: underline; }

.social-links { display: flex; gap: 20px; margin-top: 8px; }
.social-links a, .footer-social a {
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}
.social-links a:hover { color: var(--gold); }

.contact-form {
  display: grid;
  gap: 6px;
  background: var(--cream-alt);
  padding: 32px;
  border-radius: var(--radius);
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 14px;
  color: var(--forest);
}
.contact-form .optional { color: var(--gray-600); font-weight: 400; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--gray-100);
  background: var(--white);
  color: var(--forest);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form button { margin-top: 20px; }
.form-note {
  font-size: 0.8rem;
  color: var(--gray-600);
  text-align: center;
  margin: 12px 0 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest);
  color: var(--gray-400);
  padding-top: 64px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a, .footer-social a { color: var(--gray-400); }
.footer-nav a:hover { color: var(--white); }
.footer-social { display: flex; gap: 20px; }
.footer-social a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 20px 24px 32px;
  font-size: 0.82rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse .split-copy:first-child { order: 1; }
  .split-reverse .split-copy:last-child { order: 2; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-100);
  }
}
