/* ---------------- DESIGN TOKENS ---------------- */
:root {
  --navy: #0F1B2D;
  --navy-soft: #1C2D44;
  --brass: #A47E3B;
  --brass-light: #C9A05F;
  --cream: #FAF7F2;
  --cream-warm: #F2EDE3;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --border: #E5E1D8;

  --max-width: 1280px;
  --reading-width: 720px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --space-3xl: 12rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------- RESET ---------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------------- TYPOGRAPHY ---------------- */
.display, h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144;
}

.display { font-size: clamp(3rem, 6vw, 4.75rem); line-height: 1.05; }
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); line-height: 1.15; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.3; letter-spacing: -0.01em; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brass);
  display: inline-block;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--brass);
  vertical-align: middle;
  margin-right: 0.75rem;
  margin-bottom: 0.2em;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 60ch;
}

p { max-width: 65ch; }

/* ---------------- LAYOUT ---------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 3rem; } }
@media (min-width: 1280px) { .container { padding: 0 4rem; } }

section { padding: var(--space-xl) 0; }
@media (min-width: 768px) { section { padding: var(--space-2xl) 0; } }

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.875rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--brass);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--cream);
}
.btn-arrow {
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ---------------- NAVIGATION ---------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) { .nav-inner { padding: 1.5rem 3rem; } }
@media (min-width: 1280px) { .nav-inner { padding: 1.5rem 4rem; } }

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark {
  width: 1.5rem;
  height: 1.5rem;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--brass);
  border-radius: 50%;
}

.nav-links {
  display: none;
  gap: 2.5rem;
  align-items: center;
  list-style: none;
}
@media (min-width: 968px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.9375rem;
  color: var(--navy);
  font-weight: 400;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--brass);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--brass); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--brass); }

.nav-cta {
  display: none;
}
@media (min-width: 968px) { .nav-cta { display: inline-flex; } }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
}
@media (min-width: 968px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transition: all 0.3s var(--ease);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  color: var(--cream);
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem;
  color: var(--cream);
}
.mobile-menu a:hover { color: var(--brass-light); }
.mobile-menu .btn { margin-top: 1rem; }

/* ---------------- PAGE HERO (sub pages) ---------------- */
.page-hero {
  padding-top: calc(var(--space-3xl) + 1rem);
  padding-bottom: var(--space-xl);
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  margin-bottom: 1.5rem;
  max-width: 18ch;
}
.page-hero .lead {
  max-width: 56ch;
}

/* ---------------- CARDS ---------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  transition: all 0.3s var(--ease);
}
@media (min-width: 768px) { .card { padding: 3rem 2.5rem; } }
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(15, 27, 45, 0.15);
}

/* ---------------- FOOTER ---------------- */
footer {
  background: var(--navy);
  color: rgba(250, 247, 242, 0.7);
  padding: var(--space-xl) 0 var(--space-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-md); }
}
.footer-brand .logo { color: var(--cream); margin-bottom: 1rem; }
.footer-brand .logo-mark { border-color: var(--brass-light); }
.footer-brand .logo-mark::after { background: var(--brass-light); }
.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 32ch;
  color: rgba(250, 247, 242, 0.6);
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brass-light);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.625rem; }
.footer-col a {
  font-size: 0.9375rem;
  color: rgba(250, 247, 242, 0.7);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--brass-light); }
.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(250, 247, 242, 0.5);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-legal a { margin-left: 1.5rem; }
.footer-legal a:first-child { margin-left: 0; }

/* ---------------- ANIMATIONS ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

::selection { background: var(--brass); color: var(--cream); }

/* ---------------- PROCESS PAGE ---------------- */
.timeline {
  position: relative;
  margin: var(--space-lg) 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
@media (min-width: 768px) {
  .timeline::before { left: 50%; transform: translateX(-50%); }
}

.timeline-item {
  position: relative;
  padding-left: 4rem;
  padding-bottom: var(--space-lg);
}
@media (min-width: 768px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: var(--space-lg);
  }
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: var(--space-lg);
    padding-right: 0;
  }
}
.timeline-marker {
  position: absolute;
  left: 0.5rem;
  top: 0.25rem;
  width: 2rem;
  height: 2rem;
  background: var(--cream);
  border: 2px solid var(--brass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 0.875rem;
  color: var(--brass);
  font-weight: 500;
  z-index: 2;
}
@media (min-width: 768px) {
  .timeline-marker { left: 50%; transform: translateX(-50%); }
}

/* ---------------- FORMS ---------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr 1fr; }
}
.field-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}
.field-label .required { color: var(--brass); }
.field-input,
.field-select,
.field-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: border-color 0.2s var(--ease);
}
.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.field-textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
}
.field-help {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
}
