:root {
  --navy: #0e2a3d;
  --navy-deep: #081c2a;
  --sand: #ebe2d1;
  --sand-light: #f5efe4;
  --brass: #b08a4a;
  --brass-light: #d4b27a;
  --fog: #c4d0d6;
  --ink: #1a1a1a;
  --paper: #fbf8f1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

.serif { font-family: 'Fraunces', serif; }

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(251, 248, 241, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14, 42, 61, 0.08);
}

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.nav-links a:hover { opacity: 0.6; }
.nav-links a.active { color: var(--brass); }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--navy);
  color: var(--sand-light);
  position: relative;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
  width: 100%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(176, 138, 74, 0.15), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(196, 208, 214, 0.08), transparent 50%);
  pointer-events: none;
}

/* Topographic line pattern */
.hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: 10%;
  width: 700px;
  height: 700px;
  background-image:
    repeating-radial-gradient(circle at center,
      transparent 0,
      transparent 18px,
      rgba(176, 138, 74, 0.12) 18px,
      rgba(176, 138, 74, 0.12) 19px);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 900px) {
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: end;
  }
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--brass);
}

h1.display {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  font-variation-settings: "opsz" 144;
}

h1.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--brass-light);
}

.hero p.lede {
  font-size: 1.15rem;
  max-width: 520px;
  color: rgba(245, 239, 228, 0.75);
  line-height: 1.7;
  margin-bottom: 3rem;
}

.cta-group { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: 1px solid var(--brass);
  background: var(--brass);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
}

.btn:hover {
  background: var(--brass-light);
  border-color: var(--brass-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--sand-light);
  border-color: rgba(245, 239, 228, 0.3);
}

.btn-ghost:hover {
  background: rgba(245, 239, 228, 0.05);
  border-color: var(--sand-light);
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.75rem;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(176, 138, 74, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

@media (max-width: 899px) {
  .hero-image { max-width: 100%; }
  .hero-right { align-items: stretch; }
  .hero-meta { text-align: left; }
}

.hero-meta {
  text-align: right;
  padding-bottom: 1rem;
}

.hero-meta .coords {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--brass-light);
  margin-bottom: 0.5rem;
}

.hero-meta .location {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.5);
}

/* ============ SECTIONS ============ */
section.block {
  padding: 8rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
  align-items: start;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: 0.5rem;
  border-top: 1px solid var(--navy);
  padding-top: 1rem;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -0.015em;
}

.section-title em { font-style: italic; color: var(--brass); font-weight: 400; }

/* ============ ABOUT ============ */
#about { background: var(--sand-light); padding: 0; }
#about .block { padding-top: 8rem; padding-bottom: 8rem; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text p {
  font-size: 1.05rem;
  color: #3a3a3a;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.about-text p.first {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 2rem;
}

.about-text p.first::first-letter {
  font-size: 3.5rem;
  float: left;
  line-height: 0.9;
  padding: 0.3rem 0.6rem 0 0;
  color: var(--brass);
  font-weight: 400;
}

.stats-card {
  background: var(--navy);
  color: var(--sand-light);
  padding: 3rem;
  position: relative;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  border-top: 1px solid var(--brass);
  border-right: 1px solid var(--brass);
}

.stats-card::after {
  content: '';
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 30px;
  height: 30px;
  border-bottom: 1px solid var(--brass);
  border-left: 1px solid var(--brass);
}

.stat-row {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(176, 138, 74, 0.2);
}

.stat-row:last-child { border-bottom: none; }

.stat-row .num {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--brass-light);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-row .label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.6);
}

/* ============ SERVICES ============ */
#services { background: var(--paper); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(14, 42, 61, 0.12);
  border-left: 1px solid rgba(14, 42, 61, 0.12);
}

.service {
  padding: 3rem;
  border-right: 1px solid rgba(14, 42, 61, 0.12);
  border-bottom: 1px solid rgba(14, 42, 61, 0.12);
  position: relative;
  transition: background 0.4s;
  background: var(--paper);
}

.service:hover { background: var(--sand-light); }

.service-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--brass);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.service h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service p {
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Broker partner note — feature, not a hole */
.broker-note {
  margin-top: 4rem;
  padding: 2.5rem 3rem;
  background: var(--sand-light);
  border-left: 3px solid var(--brass);
  position: relative;
}

.broker-note-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  font-weight: 500;
}

.broker-note p {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--navy);
  margin: 0;
}

/* ============ PROCESS ============ */
#process {
  background: var(--sand-light);
  padding: 0;
}

#process .block {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.process-intro {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--navy);
  max-width: 780px;
  margin-bottom: 4rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(14, 42, 61, 0.15);
  border-left: 1px solid rgba(14, 42, 61, 0.15);
}

.process-card {
  padding: 2.5rem;
  border-right: 1px solid rgba(14, 42, 61, 0.15);
  border-bottom: 1px solid rgba(14, 42, 61, 0.15);
  background: var(--paper);
  transition: background 0.4s;
  position: relative;
}

.process-card:hover { background: var(--sand-light); }

.process-freq {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--brass);
  margin-bottom: 1.75rem;
}

.process-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.process-card p {
  color: #4a4a4a;
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
  .broker-note { padding: 2rem 1.5rem; margin-top: 2rem; }
}

/* ============ CONTACT ============ */
#contact {
  background: var(--navy);
  color: var(--sand-light);
  padding: 0;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}

#contact .block { padding-top: 8rem; padding-bottom: 6rem; }

#contact .section-label { color: var(--brass-light); border-color: var(--brass); }
#contact .section-title { color: var(--sand-light); }
#contact .section-title em { color: var(--brass-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info p.intro {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--sand-light);
  margin-bottom: 3rem;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(176, 138, 74, 0.2);
  font-size: 0.95rem;
}

.contact-line .key {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.contact-line .val {
  color: var(--sand-light);
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
}

/* Form */
form { display: flex; flex-direction: column; gap: 1.5rem; }

.field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 0.6rem;
}

.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(176, 138, 74, 0.3);
  padding: 0.75rem 0;
  color: var(--sand-light);
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  transition: border-color 0.3s;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
}

.field textarea { resize: vertical; min-height: 100px; }

/* ============ FOOTER ============ */
footer {
  background: var(--navy-deep);
  color: rgba(245, 239, 228, 0.5);
  padding: 3rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

footer .serif { color: var(--brass-light); font-style: italic; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1, .hero .eyebrow, .hero .lede, .hero .cta-group, .hero-meta {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.hero .eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.25s; }
.hero .lede { animation-delay: 0.4s; }
.hero .cta-group { animation-delay: 0.55s; }
.hero-meta { animation-delay: 0.7s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 7rem 1.5rem 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-meta { text-align: left; }
  section.block { padding: 5rem 1.5rem; }
  .section-header { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 3rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service { padding: 2rem 1.5rem; }
}

/* ============ ADDED Oct 2026 ============ */
a.val, .contact-line a { color: var(--sand-light); text-decoration: none; border-bottom: 1px solid rgba(212,178,122,0.4); }
a.val:hover, .contact-line a:hover { color: var(--brass-light); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5rem; font-size: 0.95rem; line-height: 1.5; }
.form-status.ok { color: #9fd3a8; }
.form-status.err { color: #f0a8a0; }
.form-status a { color: var(--brass-light); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
footer a { color: var(--brass-light); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.logo { text-decoration: none; }

/* Interior pages */
.page-hero { min-height: auto; padding: 10rem 1.5rem 6rem; }
.page-hero h1.display { font-size: clamp(2.5rem, 6vw, 4.75rem); }
.prose { max-width: 820px; }
.prose p { font-size: 1.05rem; color: #3a3a3a; line-height: 1.75; margin-bottom: 1.5rem; }
.prose h3 { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 400; color: var(--navy); margin: 2.5rem 0 1rem; line-height: 1.25; }
.prose ul { margin: 0 0 1.5rem 1.25rem; color: #3a3a3a; }
.prose li { margin-bottom: 0.6rem; line-height: 1.65; }
.prose a { color: var(--navy); }
.faq details { border-top: 1px solid rgba(14,42,61,0.15); padding: 1.5rem 0; }
.faq details:last-child { border-bottom: 1px solid rgba(14,42,61,0.15); }
.faq summary { cursor: pointer; font-family: 'Fraunces', serif; font-size: 1.25rem; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--brass); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 1rem; color: #4a4a4a; line-height: 1.7; }
.breadcrumb { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(245,239,228,0.55); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--brass-light); text-decoration: none; }

/* Layout fix: the original rule targets `section.block`, but the markup uses <div class="block"> inside each
   section, so content had no side padding (text touched the screen edge on phones). Same values as the original rule. */
div.block { padding: 8rem 3rem; max-width: 1400px; margin: 0 auto; }
@media (max-width: 768px) {
  div.block { padding-left: 1.5rem; padding-right: 1.5rem; }
  #about .block, #process .block, #contact .block { padding-top: 5rem; padding-bottom: 5rem; }
  .contact-line { gap: 1rem; flex-wrap: wrap; }
  .contact-line .val { word-break: break-word; }
}
