@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Lora:ital,wght@0,400;0,500;1,400;1,500&display=swap');

/* ── Variables ───────────────────────────────────────────────────────────── */

:root {
  --cream:  #F4EFE6;
  --ink:    #1A1A18;
  --forest: #2A3828;
  --gold:   #9B7D4A;
  --mist:   #E0D9CC;
  --mid:    #6B6356;
  --white:  #FDFAF5;

  --serif:   'Cormorant Garamond', Georgia, serif;
  --body:    'Lora', Georgia, serif;
  --sans:    system-ui, sans-serif;

  --max: 1160px;
  --pad: clamp(1.5rem, 5vw, 4rem);
}

/* ── Reset ───────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.75;
  min-height: 100vh;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Typography ──────────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 300; }

p { max-width: 62ch; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead {
  font-family: var(--body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.9;
  color: var(--mid);
}

/* ── Layout ──────────────────────────────────────────────────────────────── */

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
section { padding: clamp(4rem, 10vw, 9rem) 0; }

.rule {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 2rem 0;
  opacity: 0.6;
}

.rule-short {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--gold);
  margin: 1.8rem 0;
}

/* ── Navigation ──────────────────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  border-bottom: 1px solid var(--mist);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-crest {
  height: 38px;
  width: auto;
  opacity: 0.88;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--forest);
  line-height: 1;
}

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

.nav-links a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--forest); }

.page-body { padding-top: 5rem; }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--mist);
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}

.hero-crest-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero-crest {
  width: min(260px, 80%);
  height: auto;
  opacity: 0.9;
}

.hero-crest-rule {
  width: 1px;
  height: 3rem;
  background: var(--gold);
  opacity: 0.5;
  display: none;
}

.hero-text .eyebrow { display: block; margin-bottom: 1.4rem; }
.hero-text h1 { color: var(--forest); margin-bottom: 1.8rem; }
.hero-text .lead { margin-bottom: 2.4rem; max-width: 48ch; }

/* ── Text link ───────────────────────────────────────────────────────────── */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.25rem;
  transition: color 0.2s, gap 0.2s;
}

.text-link:hover { color: var(--gold); gap: 1rem; }
.text-link::after { content: '→'; font-size: 1em; }

/* ── Grid layouts ────────────────────────────────────────────────────────── */

.cols   { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 7rem); align-items: start; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 5rem); }

/* ── Pull quote ──────────────────────────────────────────────────────────── */

.pull {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.45;
  color: var(--forest);
  max-width: 28ch;
}

/* ── Section label ───────────────────────────────────────────────────────── */

.section-label {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3.5rem;
}

.section-label::after { content: ''; flex: 1; height: 1px; background: var(--mist); }

/* ── Person block ────────────────────────────────────────────────────────── */

.person-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
  color: var(--forest);
}

.person-role {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.person p { font-size: 0.92rem; color: var(--mid); line-height: 1.85; }

/* ── Dark panel ──────────────────────────────────────────────────────────── */

.panel {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
  position: relative;
  overflow: hidden;
}

.panel-crest {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(160px, 20vw, 280px);
  opacity: 0.06;
  filter: invert(1);
  pointer-events: none;
}

.panel h2   { color: var(--white); position: relative; }
.panel .lead { color: rgba(244, 239, 230, 0.7); max-width: 48ch; position: relative; }
.panel .text-link { color: var(--white); border-color: rgba(155, 125, 74, 0.5); position: relative; }
.panel .text-link:hover { color: var(--gold); }
.panel .rule-short { background: rgba(155, 125, 74, 0.5); position: relative; }
.panel .eyebrow { position: relative; }

/* ── Alternating section ─────────────────────────────────────────────────── */

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}

/* ── Form ────────────────────────────────────────────────────────────────── */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group.full { grid-column: 1 / -1; }

label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
}

input, select, textarea {
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--mist);
  border-bottom: 1px solid var(--mid);
  padding: 0.8rem 0;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  width: 100%;
  background: transparent;
}

input:focus, select:focus, textarea:focus { border-bottom-color: var(--forest); }

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6356' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
  cursor: pointer;
}

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

button[type="submit"] {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--forest);
  border: none;
  padding: 1rem 3rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 1rem;
}

button[type="submit"]:hover { background: var(--ink); }
.form-note { margin-top: 1rem; font-size: 0.72rem; color: var(--mid); }

/* ── Interior hero (non-home pages) ─────────────────────────────────────── */

.hero-interior {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 6rem);
  border-bottom: 1px solid var(--mist);
}

.hero-interior .eyebrow { display: block; margin-bottom: 1.2rem; }
.hero-interior h1 { color: var(--forest); margin-bottom: 1.6rem; max-width: 20ch; }
.hero-interior .lead { max-width: 50ch; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

footer {
  border-top: 1px solid var(--mist);
  padding: 2.8rem var(--pad);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-crest { height: 36px; width: auto; opacity: 0.7; }
.footer-name { font-family: var(--serif); font-size: 0.95rem; color: var(--forest); font-weight: 500; }
.footer-copy { font-size: 0.68rem; color: var(--mid); line-height: 2.1; max-width: 52ch; }

/* ── Team bio page ───────────────────────────────────────────────────────── */

.team-member {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  border-bottom: 1px solid var(--mist);
}

.team-member:last-child { border-bottom: none; }

.team-photo-col {
  overflow: hidden;
  position: relative;
  min-height: 500px;
}

.team-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-text-col {
  padding: clamp(3rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}

.team-member.flip .team-photo-col { order: 2; }
.team-member.flip .team-text-col  { order: 1; background: var(--white); }

.team-text-col .person-name {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.2rem;
}

.team-text-col .person-role { margin-bottom: 1.5rem; }

.team-text-col .person-quote {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 1.8rem;
}

.team-focus {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mist);
}

.team-focus-label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.team-focus p { font-size: 0.85rem; color: var(--mid); }

/* ── Person photo thumbnail (approach page cards) ────────────────────────── */

.person-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 1.4rem;
  border: 2px solid var(--mist);
}

/* ── Person initial ──────────────────────────────────────────────────────── */

.person-card {
  display: flex;
  flex-direction: column;
}

.person-initial {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.person-quote {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  color: var(--forest);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  max-width: 32ch;
}

.person-bio {
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.85;
}

/* ── Niche card ──────────────────────────────────────────────────────────── */

.niche-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--mist);
  border-left: 1px solid var(--mist);
}

.niche-card {
  border-right: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  padding: 2.5rem;
  transition: background 0.2s;
}

.niche-card:hover { background: var(--white); }

.niche-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.niche-card .niche-label {
  display: block;
  margin-bottom: 0.6rem;
}

.niche-card h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 1rem;
  line-height: 1.3;
  max-width: 24ch;
}

.niche-card p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.85;
  max-width: 42ch;
}

.niche-fact {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--mist);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.niche-card .text-link { margin-top: 1.5rem; font-size: 0.65rem; }

/* ── Coverage grid ───────────────────────────────────────────────────────── */

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.coverage-card {
  border-top: 2px solid var(--forest);
  padding-top: 1.5rem;
}

.coverage-card .coverage-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--forest);
  display: block;
  margin-bottom: 0.3rem;
}

.coverage-card .coverage-sub {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.coverage-card p { font-size: 0.9rem; color: var(--mid); line-height: 1.85; }
.coverage-card .best-for {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--mid);
}

/* ── Niche block ─────────────────────────────────────────────────────────── */

.niche {
  border-top: 1px solid var(--mist);
  padding-top: 2.5rem;
}

.niche-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.8rem;
}

.niche h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.niche p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--mid);
}

.niche .text-link { margin-top: 1.5rem; }

/* ── Stat callout ────────────────────────────────────────────────────────── */

.stat {
  padding: 2rem 0;
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--forest);
  line-height: 1;
  display: block;
}

.stat-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  display: block;
  margin-top: 0.5rem;
}

/* ── Coverage type ───────────────────────────────────────────────────────── */

.coverage-type {
  padding: 2rem 0;
  border-bottom: 1px solid var(--mist);
}

.coverage-type:first-child { border-top: 1px solid var(--mist); }

.coverage-row {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 3rem;
  align-items: start;
}

.coverage-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--forest);
}

.coverage-sub {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-top: 0.3rem;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-crest-col { flex-direction: row; justify-content: flex-start; }
  .hero-crest { width: min(160px, 40%); }
}

@media (max-width: 900px) {
  .team-member,
  .team-member.flip {
    grid-template-columns: 1fr;
  }
  .team-member.flip .team-photo-col { order: 0; }
  .team-member.flip .team-text-col  { order: 1; }
  .team-photo-col { min-height: 320px; }
}

@media (max-width: 768px) {
  .cols, .cols-3    { grid-template-columns: 1fr; }
  .form-grid        { grid-template-columns: 1fr; }
  .niche-grid       { grid-template-columns: 1fr; border-left: none; }
  .coverage-grid    { grid-template-columns: 1fr; }
  footer            { flex-direction: column; gap: 1.5rem; }
  .panel-crest      { display: none; }
  .coverage-row     { grid-template-columns: 1fr; gap: 1rem; }
  .niche-card       { padding: 1.8rem 1.5rem; }
}

@media (max-width: 480px) {
  .nav-links { gap: 1.4rem; }
  .nav-links a { font-size: 0.6rem; }
  .nav-logo { font-size: 1rem; }
  .nav-crest { height: 30px; }
}
