/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }

/* Design Tokens */
:root {
  --ink: #1F3C5A;
  --ink-deep: #1C2D45;
  --cream: #F1E9D8;
  --stone: #E6DCC4;
  --sage: #9BB0A4;
  --gold: #C8A968;
  --footer-bg: #0F1D2E;

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 128px;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ink);
}

/* Shared section padding */
section {
  padding: clamp(64px, 9vw, 128px) clamp(28px, 6vw, 96px);
}

/* Typography base classes */
.serif { font-family: var(--font-serif); font-weight: 300; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 22px;
}
.rule {
  height: 1px;
  background: var(--gold);
  opacity: 0.65;
  width: 44px;
}

/* Button base */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid currentColor;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, outline-color 0.2s;
  cursor: pointer;
}
.btn:hover { background: currentColor; }
.btn-primary {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
  outline: 1px solid var(--cream);
  outline-offset: 7px;
}
.btn-primary:hover { background: var(--gold); color: var(--ink); border-color: transparent; outline-color: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  outline: 1px solid currentColor;
  outline-offset: 7px;
}
.btn-ghost:hover { background: var(--gold); color: var(--ink); border-color: transparent; outline-color: var(--cream); }

/* Page container */
.page { max-width: none; }

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(28px, 6vw, 96px);
  background: transparent;
  color: var(--cream);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s;
}
.nav.scrolled {
  background: var(--ink);
  border-bottom: 1px solid rgba(241, 233, 216, 0.08);
}
.nav-wordmark {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.has-dropdown { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 0 0 0;
  list-style: none;
  min-width: 148px;
  z-index: 200;
}
.nav-dropdown::before {
  content: '';
  display: block;
  background: var(--ink-deep);
  border: 1px solid rgba(241, 233, 216, 0.1);
  position: absolute;
  inset: 14px 0 0 0;
  z-index: -1;
}
.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  white-space: nowrap;
  opacity: 0.75;
  text-align: center;
}
.nav-dropdown li a:hover { opacity: 1; }
.has-dropdown:hover .nav-dropdown { display: block; }
.nav-phone {
  color: inherit;
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}
.nav-toggle { display: none; }

/* Hero */
.hero {
  background: var(--ink);
  color: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(80px, 9vw, 128px);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.hero h1 {
  font-size: clamp(44px, 6.8vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.018em;
}
.hero h1 em { font-style: italic; font-weight: 300; }
.hero-sub {
  max-width: 48ch;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.82;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  opacity: 0.6;
  margin-top: 16px;
}
.hero-ctas {
  display: flex;
  gap: 24px;
  margin-top: 38px;
  flex-wrap: wrap;
}
.hero-seal {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-seal img {
  width: 40vw;
  height: auto;
  max-width: none;
  object-fit: contain;
  clip-path: inset(0 12px 0 0);
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 48px;
  margin-top: 80px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* Notes from Charlene */
.notes {
  background: var(--cream);
  color: var(--ink);
}
.note-card {
  max-width: 720px;
  margin: 0 auto;
}
.note-card h2 {
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.3;
  margin: 0;
}
.note-card h2 em { font-style: italic; }
.note-body {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  margin-top: 20px;
}
.note-headline {
  display: flex;
  flex-direction: column;
}
.note-portrait {
  width: 300px;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}
.note-right {
  display: flex;
  flex-direction: column;
  margin-top: 36px;
}
.note-card p {
  font-size: 15px;
  line-height: 1.8;
  max-width: none;
  margin-top: 0;
}
.note-right p + p { margin-top: 18px; }
.note-sig {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
}
.note-role {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 6px;
}

/* Why Bluebird */
.why {
  background: var(--ink);
  color: var(--cream);
  background-image: url('../assets/pattern-birds.svg');
  background-repeat: repeat;
  background-size: 280px 220px;
}
.why-head { max-width: 60ch; margin-bottom: 72px; }
.why h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.pillar {
  background: var(--ink);
  border-top: 1px solid rgba(241, 233, 216, 0.18);
  padding-top: 24px;
}
.pillar-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--gold);
  opacity: 0.85;
  letter-spacing: 0.1em;
}
.pillar h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  margin: 14px 0 12px;
  line-height: 1.2;
}
.pillar p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.75;
}

/* Services */
.services { background: var(--cream); color: var(--ink); }
.services-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.services h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
  max-width: 22ch;
}
.services-lede {
  max-width: 52ch;
  font-size: 16px;
  line-height: 1.75;
  opacity: 0.75;
  margin-top: 24px;
}
.service-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.col-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}
.service-col ul { list-style: none; padding: 0; }
.service-col li {
  padding: 22px 0;
  border-bottom: 1px solid rgba(20, 36, 58, 0.12);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "icon name" "icon desc";
  column-gap: 28px;
  row-gap: 8px;
  align-items: center;
}
.svc-name {
  grid-area: name;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 300;
  line-height: 1.2;
}
.svc-desc {
  grid-area: desc;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.75;
  max-width: 46ch;
}
.svc-icon {
  grid-area: icon;
  width: 64px;
  height: 64px;
  align-self: center;
  color: var(--gold);
  opacity: 0.65;
  flex-shrink: 0;
}

/* Team */
.team {
  background: var(--ink-deep);
  color: var(--cream);
  background-image: url('../assets/pattern-botanical.svg');
  background-repeat: repeat;
  background-size: 220px 200px;
}
.team-head { max-width: 64ch; margin-bottom: 64px; }
.team h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(241, 233, 216, 0.14);
}
.member {
  background: var(--ink-deep);
  padding: 36px 28px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(241, 233, 216, 0.14);
  border-bottom: 1px solid rgba(241, 233, 216, 0.14);
}
.member:nth-child(4n) { border-right: none; }
.member-tag {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
}
.member-role {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 8px;
}
.member-desc {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.6;
  margin-top: 16px;
}

/* Planning */
.planning { background: var(--stone); color: var(--ink); }
.planning-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.planning h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.1;
}
.planning h2 em { font-style: italic; }
.planning p {
  font-size: 15px;
  line-height: 1.8;
  margin-top: 24px;
  max-width: 46ch;
}
.plan-list { list-style: none; padding: 0; margin: 0; }
.plan-list li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(20, 36, 58, 0.14);
}
.plan-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.85;
  flex: 0 0 88px;
}
.plan-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}
.plan-desc {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 4px;
  line-height: 1.65;
}

/* Service Area */
.area {
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 100vh;
}
#area-map {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.area-overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 60, 90, 0.38);
  z-index: 1;
  pointer-events: none;
}
.area-content {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 6vw, 80px) clamp(28px, 6vw, 96px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.area-header { text-align: left; margin-left: auto; max-width: 480px; width: 100%; }
.area .eyebrow { text-align: left; }
.area h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.15;
  max-width: 20ch;
  margin: 0;
}
.area h2 em { font-style: italic; }
.area-regions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  text-align: left;
  margin-left: auto;
  max-width: 480px;
  width: 100%;
}
.area-region .region-name {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(241, 233, 216, 0.18);
}
.area-region .region-towns {
  display: flex;
  gap: 14px 28px;
  flex-wrap: wrap;
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  opacity: 0.85;
}
.leaflet-control-attribution {
  background: rgba(31, 60, 90, 0.7) !important;
  color: rgba(241, 233, 216, 0.45) !important;
  font-size: 9px !important;
}
.leaflet-control-attribution a { color: rgba(241, 233, 216, 0.45) !important; }
.map-tooltip {
  background: var(--ink);
  border: 1px solid rgba(200, 169, 104, 0.4);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  box-shadow: none;
}
.map-tooltip::before { display: none; }

/* Contact */
.contact { background: var(--ink-deep); color: var(--cream); }
.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
}
.contact h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.contact h2 em { font-style: italic; }
.contact-lede {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.78;
  margin-top: 24px;
  max-width: 42ch;
}
.contact-details {
  margin-top: 44px;
  display: grid;
  gap: 20px;
  font-size: 14px;
}
.detail-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  display: block;
  margin-bottom: 4px;
}
.detail-value {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
}
.detail-value a {
  color: inherit;
  text-decoration: none;
}
.detail-value a:hover { opacity: 0.8; }
.contact-form { display: grid; gap: 14px; }
.contact-form label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  display: block;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(241, 233, 216, 0.22);
  padding: 12px 0;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(241, 233, 216, 0.5);
}
.contact-form textarea { min-height: 90px; resize: vertical; }
.contact-form button {
  margin-top: 18px;
  width: fit-content;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: var(--cream);
  padding: 40px clamp(28px, 6vw, 96px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 0.55;
  text-transform: uppercase;
}
.footer a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(241, 233, 216, 0.3); }

/* Mobile menu button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Tablet: 1024px */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-seal { order: -1; }
  .hero-seal img { max-width: 340px; margin: 0 auto; }
  .hero-sub { max-width: none; }
  .hero-ctas { justify-content: center; }
  .hero-bottom { flex-direction: column; align-items: center; gap: 8px; }
  .note-body { flex-direction: column; align-items: center; }
  .note-portrait { width: 160px; height: 260px; }
  .area-header { margin-left: 0; }
  .area-regions { margin-left: 0; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .services-head { flex-direction: column; align-items: flex-start; }
  .service-cols { grid-template-columns: 1fr; gap: 48px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .member { border-right: 1px solid rgba(241, 233, 216, 0.14); }
  .member:nth-child(4n) { border-right: 1px solid rgba(241, 233, 216, 0.14); }
  .member:nth-child(2n) { border-right: none; }
  .planning-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* Mobile: 768px */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ink);
    padding: 120px 40px 40px;
    gap: 28px;
    z-index: 99;
  }
  .nav-links.open a { font-size: 24px; }
  .nav { padding: 20px clamp(20px, 5vw, 40px); }
  section { padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 40px); }
  .hero h1 { font-size: clamp(36px, 8vw, 52px); }
  .hero-seal img { max-width: 280px; }
  .pillars { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .member, .member:nth-child(2n), .member:nth-child(4n) { border-right: none; }
  .svc-name { font-size: 22px; }
  .contact h2 { font-size: clamp(28px, 6vw, 44px); }
  .footer { flex-direction: column; gap: 8px; text-align: center; }
}
