:root {
  --navy: #0f1b2b;
  --navy-light: #16263c;
  --gold: #b08d57;
  --gold-light: #c9a76e;
  --cream: #f7f5f1;
  --text-dark: #1c1f24;
  --text-muted: #565d68;
  --text-light: #f7f5f1;
  --text-light-muted: #b7bfcc;
  --border: #e3ded4;
  --max-width: 1160px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; font-family: var(--sans); margin-bottom: 10px; }

p { line-height: 1.7; color: var(--text-muted); margin: 0 0 16px; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 241, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--gold); }

.nav-cta {
  padding: 10px 20px;
  border: 1px solid var(--navy);
  border-radius: 2px;
}

.nav-cta:hover {
  background: var(--navy);
  color: var(--text-light) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--text-light);
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(176, 141, 87, 0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(176, 141, 87, 0.1), transparent 40%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 760px; }

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 22px;
}

.hero h1 { color: var(--text-light); margin-bottom: 24px; }

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light-muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

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

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

.btn-ghost {
  border-color: rgba(247, 245, 241, 0.35);
  color: var(--text-light);
}

.btn-ghost:hover { border-color: var(--text-light); }

.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 141, 87, 0.6), transparent);
}

/* ---------- Sections ---------- */

.section { padding: 100px 0; }

.section-alt { background: #f1ede4; }

.section-dark {
  background: var(--navy);
  color: var(--text-light);
}

.section-dark p { color: var(--text-light-muted); }
.section-dark h2 { color: var(--text-light); }

.about-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
}

.about-content { max-width: 640px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 48px;
}

.card {
  background: var(--cream);
  padding: 40px 32px;
}

.section-alt .card { background: #f1ede4; }

.card-index {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.card p { margin-bottom: 0; font-size: 0.95rem; }

.sectors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.sector-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.sector-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-details { display: flex; flex-direction: column; gap: 14px; }

.contact-line {
  font-size: 1.15rem;
  font-family: var(--serif);
  color: var(--text-light);
  border-bottom: 1px solid transparent;
  width: fit-content;
}

a.contact-line:hover { border-bottom-color: var(--gold); }

.contact-address { font-family: var(--sans); font-size: 0.95rem; color: var(--text-light-muted); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--text-light-muted);
  border-top: 1px solid rgba(247, 245, 241, 0.12);
  padding: 28px 0;
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-note { opacity: 0.6; }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 16px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
    border-radius: 2px;
  }

  .hero { padding: 90px 0 70px; }

  .section { padding: 64px 0; }

  .card-grid { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
}
