:root {
  --navy: #0F1B2D;
  --navy-deep: #0A1420;
  --ivory: #F5F1E8;
  --ivory-warm: #EFE9DA;
  --brass: #A8823C;
  --brass-light: #C9A66B;
  --charcoal: #1A1A1A;
  --hairline: #D9D2C2;
  --hairline-dark: rgba(245, 241, 232, 0.18);
  --ink-muted: #5B5346;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: inherit;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--brass);
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- NAV ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.site-nav.solid {
  background: var(--navy);
  padding: 18px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-mark {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--ivory);
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-mark .seal {
  width: 30px; height: 30px;
}
.nav-links {
  display: flex;
  gap: 40px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--ivory);
  opacity: 0.78;
  transition: opacity 0.2s ease;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  opacity: 1;
  border-bottom: 1px solid var(--brass-light);
}
.nav-toggle { display: none; }

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 72%;
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
    transition: right 0.35s ease;
  }
  .nav-links.open { right: 0; }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--ivory);
    font-size: 22px;
    cursor: pointer;
    z-index: 110;
  }
}

/* ---------- HERO ---------- */
.hero {
  background: var(--navy);
  color: var(--ivory);
  padding: 220px 0 140px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(201,166,107,0.045) 0px, rgba(201,166,107,0.045) 1px, transparent 1px, transparent 68px);
  pointer-events: none;
}
.hero .seal-large {
  width: 96px;
  height: 96px;
  margin-bottom: 44px;
  opacity: 0.92;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.08;
  max-width: 780px;
  color: var(--ivory);
}
.hero .lede {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--hairline);
  max-width: 560px;
  margin-top: 28px;
  line-height: 1.6;
}
.hero-cta {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.btn {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid var(--brass-light);
  color: var(--ivory);
  display: inline-block;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--brass-light); color: var(--navy-deep); }
.btn-dark {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-dark:hover { background: var(--navy); color: var(--ivory); }

/* ---------- SECTIONS ---------- */
section { padding: 120px 0; }
.section-ivory { background: var(--ivory); }
.section-warm { background: var(--ivory-warm); }
.section-navy { background: var(--navy); color: var(--ivory); }

.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-top: 14px;
  line-height: 1.2;
}

.hr {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0;
}
.hr-dark { border-top: 1px solid var(--hairline-dark); }

/* Three-column capability grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.grid-3 .col {
  padding: 44px 36px 44px 0;
  border-right: 1px solid var(--hairline);
}
.grid-3 .col:last-child { border-right: none; padding-right: 0; }
.grid-3 .col:not(:first-child) { padding-left: 36px; }
.col .num {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brass);
  margin-bottom: 18px;
  display: block;
}
.col h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.col p { color: var(--ink-muted); font-size: 15.5px; }

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-3 .col { border-right: none; border-bottom: 1px solid var(--hairline); padding: 36px 0; }
  .grid-3 .col:not(:first-child) { padding-left: 0; }
  .grid-3 .col:last-child { border-bottom: none; }
}

/* Quote / principle strip */
.principle {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.5;
  max-width: 820px;
}

/* Process list (About/Approach) */
.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
}
.process-item:last-child { border-bottom: 1px solid var(--hairline); }
.process-item .step-num {
  font-family: 'Fraunces', serif;
  font-size: 34px;
  color: var(--brass);
}
.process-item h3 { font-size: 21px; margin-bottom: 10px; }
.process-item p { color: var(--ink-muted); max-width: 560px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}
.field {
  margin-bottom: 26px;
}
.field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  padding: 10px 2px;
  color: var(--charcoal);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom: 1px solid var(--brass);
}
.field textarea { resize: vertical; min-height: 110px; }

.contact-detail { margin-bottom: 30px; }
.contact-detail .eyebrow { margin-bottom: 8px; display: block; }
.contact-detail div { font-size: 17px; }

/* Footer */
footer {
  background: var(--navy-deep);
  color: var(--hairline);
  padding: 64px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--hairline-dark);
  flex-wrap: wrap;
  gap: 30px;
}
.footer-mark {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  color: var(--ivory);
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-mark .seal { width: 26px; height: 26px; }
.footer-links {
  display: flex;
  gap: 36px;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-links a { opacity: 0.7; }
.footer-links a:hover { opacity: 1; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  opacity: 0.55;
  flex-wrap: wrap;
  gap: 10px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}

/* Page intro (About/Approach/Contact hero, shorter than home) */
.page-intro {
  background: var(--navy);
  color: var(--ivory);
  padding: 200px 0 100px;
}
.page-intro h1 { font-size: clamp(32px, 4.6vw, 52px); max-width: 700px; }
.page-intro .lede {
  font-family: 'Source Serif 4', serif;
  font-style: italic;
  color: var(--hairline);
  font-size: 18px;
  max-width: 560px;
  margin-top: 20px;
}
