:root {
  --harbor: #365d7e;
  --harbor-deep: #253f56;
  --sand: #f4f4f7;
  --seaglass: #e8dcce;
  --seaglass-deep: #a2c2af;
  --driftwood: #5f9fa9;
  --ink: #2b3a4a;
  --ink-soft: #51606e;
  --white: #ffffff;
  --radius: 14px;
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  background: var(--sand);
  color: var(--ink);
  line-height: 1.75;
  font-size: 17px;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--harbor-deep);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }

a { color: var(--harbor); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--driftwood);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* Top bar */
.topbar {
  background: var(--harbor-deep);
  color: var(--seaglass);
  font-size: 0.85rem;
  text-align: center;
  padding: 8px 16px;
}
.topbar a { color: var(--seaglass); }

/* Header + dropdown nav */
header.site {
  background: var(--sand);
  border-bottom: 1px solid var(--seaglass-deep);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 36px; height: 36px; }
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  color: var(--harbor-deep);
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  color: var(--ink-soft);
}
nav.links { display: flex; align-items: center; gap: 6px; }
nav.links > a, .dropdown > button {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.94rem;
  padding: 8px 12px;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  border-radius: 8px;
}
nav.links > a:hover, .dropdown > button:hover { background: var(--seaglass); }
nav.links > a[aria-current="page"], .dropdown.current > button {
  color: var(--harbor-deep);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--harbor);
  border-radius: 8px 8px 0 0;
}
.dropdown { position: relative; }
.dropdown > button::after { content: " ▾"; font-size: 0.7em; color: var(--driftwood); }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--seaglass-deep);
  border-radius: 10px;
  min-width: 230px;
  padding: 8px;
  box-shadow: 0 10px 30px rgba(22, 48, 47, 0.12);
}
.dropdown.open .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
@media (hover: hover) { .dropdown:hover .dropdown-menu { display: block; } }
.dropdown-menu a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 0.92rem;
}
.dropdown-menu a:hover { background: var(--seaglass); color: var(--harbor-deep); }
.dropdown-menu .menu-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--driftwood);
  font-weight: 700;
  padding: 8px 12px 2px;
}

.btn {
  display: inline-block;
  background: var(--harbor);
  color: var(--white);
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--harbor);
  transition: background 0.2s ease;
}
.btn:hover { background: var(--harbor-deep); }
.btn.ghost { background: transparent; color: var(--harbor); }
.btn.ghost:hover { background: var(--seaglass); }
.btn.warm { background: var(--driftwood); border-color: var(--driftwood); }
.btn.warm:hover { background: #4e8891; }
.btn.small { padding: 9px 20px; font-size: 0.88rem; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--harbor-deep);
  cursor: pointer;
}

/* Plumb line motif */
.plumb { width: 2px; height: 56px; background: var(--driftwood); margin: 0 auto; position: relative; }
.plumb::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--driftwood);
}

/* Hero — symmetrical, centered */
.hero { padding: 72px 0 64px; text-align: center; }
.hero .eyebrow { color: var(--driftwood); font-weight: 700; letter-spacing: 0.04em; margin-bottom: 14px; }
.hero h1 { max-width: 21em; margin: 0 auto; }
.hero p.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin: 24px auto 30px;
  max-width: 44em;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 16px; }

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 48px auto 0;
}
.hero-strip .ph {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--seaglass);
}
.ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo-note {
  position: absolute;
  bottom: 10px; right: 10px;
  font-size: 0.68rem;
  color: var(--harbor);
  background: rgba(253, 252, 249, 0.88);
  padding: 3px 9px;
  border-radius: 999px;
}

/* Sections */
section.band { padding: 68px 0; }
section.band.tint { background: var(--seaglass); }
section.band.deep { background: var(--harbor-deep); color: var(--seaglass); }
section.band.deep h1, section.band.deep h2, section.band.deep h3 { color: var(--white); }
.section-head { max-width: 46em; margin: 0 auto 42px; text-align: center; }
.section-head p { color: var(--ink-soft); margin-top: 12px; }
.deep .section-head p { color: var(--seaglass); }

/* We Help grid */
.wehelp {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}
.wehelp .help-card {
  background: var(--white);
  border: 1px solid var(--seaglass-deep);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.help-card .ph { aspect-ratio: 3 / 2; position: relative; background: var(--seaglass); }
.help-card h3 { padding: 14px 14px 4px; font-size: 1.05rem; }
.help-card p { padding: 0 16px 18px; font-size: 0.88rem; color: var(--ink-soft); line-height: 1.55; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid var(--seaglass-deep);
  text-align: center;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; color: var(--ink-soft); }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--seaglass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--harbor);
}
.card-icon svg { width: 22px; height: 22px; }

.quote { text-align: center; max-width: 40em; margin: 0 auto; }
.quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-style: italic;
  color: var(--harbor-deep);
  line-height: 1.5;
}
.deep .quote p { color: var(--sand); }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 0.9rem; color: var(--driftwood); }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.portrait {
  background: var(--seaglass);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; margin-top: 22px; }
.tags span {
  background: var(--seaglass);
  color: var(--harbor-deep);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

/* Policy sections */
.policy {
  background: var(--white);
  border: 1px solid var(--seaglass-deep);
  border-radius: var(--radius);
  padding: 34px 36px;
  margin-bottom: 24px;
  scroll-margin-top: 110px;
}
.policy h2 { font-size: 1.4rem; margin-bottom: 14px; }
.policy p, .policy li { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 12px; }
.policy ul { padding-left: 22px; }
.policy strong { color: var(--harbor-deep); }

/* Forms */
.forms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.form-list { background: var(--white); border: 1px solid var(--seaglass-deep); border-radius: var(--radius); padding: 30px; }
.form-list h2 { text-align: center; margin-bottom: 6px; }
.form-list .sub { text-align: center; color: var(--driftwood); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 18px; }
.form-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--seaglass-deep);
}
.form-item:last-child { border-bottom: none; }
.form-item span { font-size: 0.96rem; }
.form-item a.btn { white-space: nowrap; }

/* FAQ */
details.faq {
  background: var(--white);
  border: 1px solid var(--seaglass-deep);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
details.faq summary {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 700;
  color: var(--harbor-deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--driftwood); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq-body { padding: 0 24px 20px; color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--seaglass-deep);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.contact-card h3 { margin-bottom: 16px; }
.contact-card p { color: var(--ink-soft); }
.contact-lines { margin-top: 14px; }
.contact-lines div { padding: 8px 0; border-bottom: 1px solid var(--seaglass); font-size: 0.97rem; }
.contact-lines div:last-child { border-bottom: none; }
.qr-box {
  width: 130px; height: 130px;
  border: 2px dashed var(--seaglass-deep);
  border-radius: 12px;
  margin: 16px auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--ink-soft);
  padding: 10px;
}

/* CTA */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 38em; margin: 0 auto 26px; }
.deep.cta-band p { color: var(--seaglass); }

/* Footer */
footer.site { background: var(--harbor-deep); color: var(--seaglass); padding: 54px 0 30px; font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 34px; text-align: center; }
footer.site h3 { color: var(--white); font-size: 1.02rem; margin-bottom: 13px; }
footer.site a { color: var(--seaglass); }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; }
.foot-legal {
  border-top: 1px solid rgba(220, 231, 224, 0.25);
  padding-top: 22px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--seaglass-deep);
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 900px) {
  .team-grid, .forms-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-strip { grid-template-columns: 1fr; max-width: 460px; }
  .foot-grid { grid-template-columns: 1fr; }
  nav.links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--sand);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 26px;
    border-bottom: 1px solid var(--seaglass-deep);
    gap: 4px;
  }
  nav.links.open { display: flex; }
  .menu-toggle { display: block; }
  .dropdown { width: 100%; }
  .dropdown > button { width: 100%; text-align: left; }
  .dropdown-menu { position: static; box-shadow: none; border: none; background: transparent; padding-left: 16px; }
  .policy { padding: 26px 22px; }
}
