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

:root {
  --navy:    #0D1B2A;
  --navy2:   #162840;
  --gold:    #B8963E;
  --gold-lt: #D4AC52;
  --white:   #F8F7F4;
  --stone:   #F1EFE9;
  --gray:    #E2E0DA;
  --muted:   #77756E;
  --text:    #1A1A1A;
  --body:    #454440;
  --serif:   'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --nav-h:   62px;
  --maxw:    780px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Anchors clear the fixed nav */
section[id] { scroll-margin-top: var(--nav-h); }

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 2rem);
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(248,247,244,0.72);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.5rem 1.1rem !important;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--gold-lt); }

/* Hamburger toggle */
.nav-toggle {
  display: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  margin: -0.5rem;
  z-index: 101;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle:checked ~ .nav-hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle:checked ~ .nav-hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked ~ .nav-hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  min-height: 48px;
}
.btn-primary:hover { background: var(--gold-lt); }
.btn-primary:disabled { opacity: 0.6; cursor: default; }

/* ── HERO ── */
.hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 72px) clamp(1.25rem, 5vw, 2rem) 88px;
  display: flex;
  align-items: center;
  min-height: 88vh;
}

.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  animation: fadeUp 0.7s ease both;
}

.hero-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.75rem;
}

.hero-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 6vw, 3.7rem);
  font-weight: 400;
  line-height: 1.14;
  color: var(--white);
  margin-bottom: 1.6rem;
  max-width: 15ch;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  line-height: 1.75;
  color: rgba(248,247,244,0.74);
  max-width: 58ch;
  margin-bottom: 2.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  align-items: center;
}

.hero-secondary {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(248,247,244,0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(184,150,62,0.5);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hero-secondary:hover {
  color: var(--white);
  border-color: var(--gold);
}

/* ── SECTIONS ── */
section { padding: clamp(60px, 9vw, 100px) clamp(1.25rem, 5vw, 2rem); }

.section-inner { max-width: var(--maxw); margin: 0 auto; }

.section-label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.22;
  color: var(--navy);
  margin-bottom: 1.4rem;
  max-width: 22ch;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
}

.back-to-top {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  flex-shrink: 0;
}
.back-to-top:hover { color: var(--gold-lt); }

h3 { font-weight: 400; }

.lead {
  font-size: clamp(0.98rem, 2vw, 1.05rem);
  color: var(--body);
  max-width: 62ch;
  margin-bottom: 2.25rem;
  line-height: 1.8;
}

/* ── ABOUT ── */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-top: 2.5rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  max-width: 60ch;
}

.credential-list {
  list-style: none;
  border-left: 2px solid var(--gold);
  padding-left: 1.3rem;
}

.credential-list li {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.4rem 0;
  line-height: 1.5;
}

.credential-list li strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ── SERVICES ── */
.services { background: var(--stone); }

.service-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--gray);
}

.service-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray);
  display: grid;
  grid-template-columns: 215px 1fr;
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: start;
}

.service-title {
  font-family: var(--serif);
  font-size: clamp(1.08rem, 2.3vw, 1.2rem);
  color: var(--navy);
  line-height: 1.32;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--body);
  line-height: 1.78;
  max-width: 60ch;
}

/* ── CASES ── */
.cases { background: var(--navy); }
.cases h2 { color: var(--white); }
.cases .lead { color: rgba(248,247,244,0.66); }

.case-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-item {
  background: var(--navy2);
  padding: clamp(1.5rem, 4vw, 2.1rem) clamp(1.35rem, 4vw, 2.25rem);
  border-left: 3px solid var(--gold);
}

.case-meta {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

.case-item h3 {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.6vw, 1.25rem);
  color: var(--white);
  margin-bottom: 0.7rem;
  line-height: 1.32;
}

.case-item p {
  font-size: 0.91rem;
  color: rgba(248,247,244,0.67);
  line-height: 1.78;
  max-width: 62ch;
}

/* ── THERAPEUTIC ── */
.therapeutic { background: var(--white); }

.ta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.ta-tag {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  background: #EAE8E2;
  padding: 0.42rem 0.9rem;
  border: 1px solid var(--gray);
  line-height: 1.5;
}

/* ── CONTACT ── */
.contact { background: var(--stone); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 2.5rem;
  align-items: start;
}

.contact-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 48ch;
}

.contact-detail {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.9;
}

.contact-detail a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--gray);
  transition: border-color 0.2s;
}
.contact-detail a:hover { border-color: var(--gold); }

/* FORM */
form { display: flex; flex-direction: column; gap: 1.1rem; }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }

label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

input, textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  border: 1px solid #C9C6BF;
  padding: 0.8rem 1rem;
  width: 100%;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

input:focus, textarea:focus { border-color: var(--navy); }

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

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}

.form-status {
  display: none;
  font-size: 0.9rem;
  padding: 0.9rem 1.1rem;
  line-height: 1.6;
}
.form-status.ok {
  display: block;
  background: #E4EDE4;
  border-left: 3px solid #4A7C4E;
  color: #2B4D2E;
}
.form-status.err {
  display: block;
  background: #F5E4E4;
  border-left: 3px solid #A34444;
  color: #6B2626;
}

/* Honeypot */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 2.5rem clamp(1.25rem, 5vw, 2rem);
  text-align: center;
}

footer p {
  font-size: 0.8rem;
  color: rgba(248,247,244,0.42);
  line-height: 1.9;
}

footer a {
  color: rgba(248,247,244,0.62);
  text-decoration: none;
}
footer a:hover { color: var(--gold); }

/* ── MOTION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-inner { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 180px 1fr; }
}

@media (max-width: 660px) {
  body { font-size: 16px; }
  .service-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 1.6rem 0;
  }
  .hero { min-height: auto; }
  .hero h1 { max-width: 100%; }
  .credential-list { padding-left: 1.1rem; }
  h2 { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .back-to-top { font-size: 0.7rem; }
}

@media (max-width: 520px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy2);
    border-top: 1px solid rgba(248,247,244,0.1);
    gap: 0;
    list-style: none;
    padding-bottom: 1.5rem;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(248,247,244,0.1);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 1rem clamp(1rem, 4vw, 2.5rem);
    font-size: 0.9rem;
  }

  .nav-cta {
    background: var(--gold);
    color: var(--navy) !important;
    padding: 1rem clamp(1rem, 4vw, 2.5rem) !important;
    margin: 0;
    font-weight: 600;
  }

  .hero-actions { flex-direction: column; align-items: stretch; gap: 1.1rem; }
  .btn-primary { width: 100%; text-align: center; }
  .hero-secondary { align-self: flex-start; }
  .ta-tag { font-size: 0.78rem; padding: 0.38rem 0.75rem; }
}
