:root {
  --navy: #12293A;
  --teal: #2E8C82;
  --paper: #F6F4EF;
  --ink: #1D2B33;
  --slate: #5B6D74;
  --line: #D8D2C4;
  --card-bg: #FFFFFF;
}

:root[data-theme="dark"] {
  --paper: #14201F;
  --ink: #EDEAE0;
  --slate: #9AA9AC;
  --line: #2B3B3A;
  --card-bg: #1B2B2A;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER & NAVIGATION */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--line);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.brand .name {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}

.brand .tag {
  font-size: 0.75rem;
  color: var(--slate);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--navy);
  color: #FFF !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  display: block;
}

/* HERO SECTION */
.hero {
  padding: 120px 0 64px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.hero .lead {
  font-size: 1.08rem;
  color: var(--slate);
  margin-bottom: 28px;
  max-width: 50ch;
}

.btn-row {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: #FFF;
}

.btn-primary:hover {
  background: #1a3a52;
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--navy);
}

/* BREATH BOX GRAPHIC */
.breath-box {
  background: var(--navy);
  color: #FFF;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.breath-box .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: #9FC7C0;
  text-transform: uppercase;
}

.breath-svg {
  width: 100%;
  height: 100px;
}

.breath-path {
  fill: none;
  stroke: #2E8C82;
  stroke-width: 3;
  stroke-linecap: round;
}

.breath-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  font-size: 0.85rem;
  color: #C9D3D2;
}

.breath-meta strong {
  display: block;
  font-size: 1.1rem;
  color: #FFF;
}

/* TRUST BAR */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.4);
}

.trust .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-item {
  font-size: 0.9rem;
  color: var(--slate);
}

.trust-item strong {
  color: var(--navy);
}

/* SERVICES SECTION */
section {
  padding: 80px 0;
}

.section-head {
  margin-bottom: 48px;
  max-width: 640px;
}

.section-head h2 {
  font-family: 'Fraunces', serif;
  font-size: 2.1rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--slate);
  font-size: 1.02rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-col {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
}

.col-tag {
  display: inline-block;
  background: var(--paper);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.service-col h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 24px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tick {
  width: 20px;
  height: 14px;
  stroke: var(--teal);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  margin-top: 4px;
}

.service-list div > div:first-child {
  font-weight: 600;
  color: var(--ink);
}

.service-desc {
  font-size: 0.88rem;
  color: var(--slate);
  margin-top: 2px;
}

/* STATS BAND */
.stats-band {
  background: var(--navy);
  color: #FFF;
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat .num {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #9FC7C0;
}

.stat .cap {
  font-size: 0.9rem;
  color: #C9D3D2;
  margin-top: 4px;
}

/* ABOUT SECTION & PORTRAIT */
.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  align-items: start;
}

.portrait {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.portrait img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.about-copy p {
  color: var(--slate);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.credentials li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding-left: 18px;
}

.credentials li::before {
  content: "•";
  color: var(--teal);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

/* INSIGHTS SECTION */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insight-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.insight-card .date {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.insight-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.insight-card p {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 16px;
  flex-grow: 1;
}

.insight-card .read {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
}

/* CONTACT SECTION */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
}

.contact-info h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.info-row .k {
  width: 90px;
  color: var(--slate);
}

.info-row .v {
  color: var(--ink);
  font-weight: 500;
}

.hours-table {
  width: 100%;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.88rem;
  color: var(--slate);
}

.hours-table td {
  padding: 6px 0;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--ink);
  font-weight: 500;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card-bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
}

.field textarea {
  height: 120px;
  resize: vertical;
}

form button {
  border: none;
  cursor: pointer;
}

/* FOOTER */
footer {
  background: var(--navy);
  color: #F1EFE7;
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-grid .brand .name {
  color: #FFF;
}

.footer-grid .brand .tag {
  color: #9FC7C0;
}

.footer-grid .blurb {
  margin-top: 12px;
  color: #C9D3D2;
  font-size: 0.9rem;
  max-width: 32ch;
}

.footer-col h4 {
  font-size: 0.9rem;
  color: #9FC7C0;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  color: #C9D3D2;
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: #FFF;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 0.85rem;
  color: #9FC7C0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .hero .wrap,
  .services-grid,
  .about-grid,
  .contact-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 360px;
    margin: 0 auto 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links .nav-cta {
    margin-top: 12px;
    text-align: center;
    border-bottom: none;
  }

  .hamburger {
    display: flex;
  }
}