/* ── Heather V. Broyles, D.O. ─────────────────────────────────────────
   layout: photo hero → bio strip → credentials timeline → services →
           reviews → questions → contact
   The visual design is Heather's original; additions below are marked
   "added" and reuse the same tokens.
   ──────────────────────────────────────────────────────────────────── */

/* ── tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:        #F8F5F0;
  --bg-alt:    #EEE9E2;
  --teal:      #2C5F6A;
  --teal-mid:  #3D7A87;
  --sand:      #C8B89A;
  --sand-lt:   #DDD3C4;
  --ink:       #1E2A2D;
  --ink-mid:   #3E4E52;
  --ink-lt:    #6A7E83;
  --white:     #FFFFFF;

  /* added: text on the teal Services band, and the footer, in both themes */
  --on-teal:        #FFFFFF;
  --on-teal-muted:  rgba(255,255,255,0.78);
  --on-teal-label:  var(--sand);
  --footer-bg:      #1E2A2D;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:       #111B1E;
    --bg-alt:   #192326;
    --teal:     #5BA8B8;
    --teal-mid: #7BBFCC;
    --sand:     #B8A88A;
    --sand-lt:  #8A7A68;
    --ink:      #EDE8E2;
    --ink-mid:  #C4BFB8;
    --ink-lt:   #8A9699;
    --white:    #1E2A2D;
    --on-teal:        #111B1E;
    --on-teal-muted:  rgba(17,27,30,0.82);
    --on-teal-label:  #1E2A2D;
    --footer-bg:      #0B1316;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg:       #111B1E;
  --bg-alt:   #192326;
  --teal:     #5BA8B8;
  --teal-mid: #7BBFCC;
  --sand:     #B8A88A;
  --sand-lt:  #8A7A68;
  --ink:      #EDE8E2;
  --ink-mid:  #C4BFB8;
  --ink-lt:   #8A9699;
  --white:    #1E2A2D;
  --on-teal:        #111B1E;
  --on-teal-muted:  rgba(17,27,30,0.82);
  --on-teal-label:  #1E2A2D;
  --footer-bg:      #0B1316;
  color-scheme: dark;
}

/* ── page-wide background image ─────────────────────────────────────── */
html { min-height: 100%; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
}

img { max-width: 100%; }
[hidden] { display: none !important; }

/* added: keyboard users see where they are; mouse users don't get rings */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, nav:not(.scrolled) :focus-visible { outline-color: var(--sand); }

/* added: skip link, visible only when focused */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--teal);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 2px;
  font-size: 0.85rem;
  text-decoration: none;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 0.75rem); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ── nav ─────────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem max(24px, env(safe-area-inset-left, 0px));
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s;
}
nav.scrolled {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand-lt);
}
.nav-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.3s;
}
nav.scrolled .nav-name { color: var(--ink); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
nav.scrolled .nav-links a { color: var(--ink-mid); }
.nav-links a:hover { color: var(--sand); }
nav.scrolled .nav-links a:hover { color: var(--teal); }

/* added: phone menu button (the links used to vanish under 680px) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
nav.scrolled .nav-toggle, nav.open .nav-toggle { color: var(--ink); border-color: var(--sand); }

/* ── hero (split layout over blurred Austin skyline) ─────────────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
  overflow: hidden;
  background: #0d1a20;
  /* full-bleed despite the body gutter */
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
}

/* Full-bleed blurred Austin skyline behind everything */
.hero-bg {
  position: absolute;
  inset: -40px;
  background-image: url('/img/skyline.jpg');
  background-image: image-set(url('/img/skyline.webp') type('image/webp'), url('/img/skyline.jpg') type('image/jpeg'));
  background-position: center 55%;
  filter: blur(7px) brightness(0.48) saturate(0.82);
  transform: scale(1.0);
  background-size: 130%;
  z-index: 0;
}

/* Dark gradient overlay — heavier on left for text legibility */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,18,22,0.72) 0%,
    rgba(10,18,22,0.45) 50%,
    rgba(10,18,22,0.15) 100%
  );
}

/* Left: text panel */
.hero-panel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 7rem max(3rem, 4vw) 5rem;
}

.hero-content {
  max-width: 580px;
}

.hero-eyebrow-sub {
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--sand);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.08;
  text-wrap: balance;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
}

.hero-rule {
  width: 2.5rem;
  height: 1.5px;
  background: var(--sand);
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-cta {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--sand);
  color: #1E2A2D;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.hero-cta:hover { background: var(--sand-lt); transform: translateY(-1px); }

/* Right: headshot — skyline visible around photo edges */
.hero-photo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* added: <picture> wrappers stay out of the layout so the img is still the flex item */
.hero-photo-wrap picture, .about-portrait picture { display: contents; }

.hero-img {
  position: relative;
  width: 80%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 4px;
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, black 30%, rgba(0,0,0,0.5) 55%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, black 30%, rgba(0,0,0,0.5) 55%, transparent 80%);
}

/* Nav always light on this dark hero */
.nav-name { color: #FFFFFF; }
nav.scrolled .nav-name { color: var(--ink); }
.nav-links a { color: rgba(255,255,255,0.8); }
nav.scrolled .nav-links a { color: var(--ink-mid); }

/* Mobile: stack */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 65vw;
  }
  .hero-panel {
    padding: 6rem 1.5rem 3rem;
    align-items: flex-start;
  }
  .hero-photo-wrap {
    min-height: 65vw;
  }
}

/* ── section shared ──────────────────────────────────────────────────── */
.section {
  padding-block: 5rem;
  /* full-bleed bands despite the body gutter; content keeps its gutter */
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section-inner {
  max-width: 860px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

/* ── about ───────────────────────────────────────────────────────────── */
.about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p {
  font-size: 1.05rem;
  color: var(--ink-mid);
  line-height: 1.8;
  max-width: 52ch;
  margin-bottom: 1rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-heading {
  white-space: nowrap;
  display: inline-block;
  border-bottom: 2px solid var(--sand);
  padding-bottom: 0.3rem;
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
}
.about-portrait {
  position: relative;
}
.about-portrait img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 3px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, black 30%, rgba(0,0,0,0.5) 55%, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, black 30%, rgba(0,0,0,0.5) 55%, transparent 80%);
}
.portrait-frame {
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 1.5px solid var(--sand);
  border-radius: 3px;
  z-index: -1;
}

/* ── training ────────────────────────────────────────────────────────── */
.training {
  background: var(--bg);
}
.timeline {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1.5px solid var(--sand-lt);
  padding-left: 2rem;
  list-style: none;
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.45rem;
  top: 0.4rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--bg);
}
.timeline-year {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.timeline-role {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.timeline-place {
  font-size: 0.9rem;
  color: var(--ink-lt);
}

/* ── services ────────────────────────────────────────────────────────── */
.services {
  background: var(--teal);
}
.services .section-label { color: var(--on-teal-label); }
.services h2 { color: var(--on-teal); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5px;
  margin-top: 2.5rem;
  background: rgba(255,255,255,0.12);
  list-style: none;
}
.service-card {
  background: var(--teal);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}
.service-card:hover { background: var(--teal-mid); }
.service-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  display: block;
  color: var(--on-teal);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--on-teal);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--on-teal-muted);
  line-height: 1.6;
}

/* ── stay in touch ───────────────────────────────────────────────────── */
.contact {
  background: var(--bg-alt);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-text p {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 48ch;
}
.contact-email {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 1.5rem;
}
.contact-email-label {
  font-size: 0.78rem;
  color: var(--ink-lt);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.contact-email-addr {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.01em;
  word-break: break-all;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.contact-email-addr:hover { border-bottom-color: var(--sand); }

.notify-form { display: flex; flex-direction: column; gap: 1rem; }
.notify-form label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-mid);
  margin-bottom: 0.3rem;
  display: block;
  letter-spacing: 0.03em;
}
.notify-form input[type="text"],
.notify-form input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--sand-lt);
  border-radius: 2px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.notify-form input:focus { border-color: var(--teal); }
.notify-form button {
  padding: 0.8rem 1.75rem;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}
.notify-form button:hover { background: var(--teal-mid); transform: translateY(-1px); }
.form-privacy {
  font-size: 0.78rem;
  color: var(--ink-lt);
  line-height: 1.5;
  margin-top: -0.25rem;
}
.form-success {
  font-size: 0.9rem;
  color: var(--teal);
  margin-top: 0.5rem;
}

/* added: sending / error states, honeypot, disabled buttons */
.form-status {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 0.25rem;
  color: var(--ink-mid);
}
.form-status.is-error {
  color: #9A3B2F;
  border-left: 2px solid #C4705F;
  padding-left: 0.75rem;
}
:root[data-theme="dark"] .form-status.is-error { color: #E7A496; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-status.is-error { color: #E7A496; } }
.notify-form button:disabled, .testimonial-form button:disabled { opacity: 0.6; cursor: default; transform: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── testimonials ────────────────────────────────────────────────────── */
.testimonials {
  background: var(--bg);
}
.testimonials h2 { margin-bottom: 0.5rem; }
.testimonials-intro {
  font-size: 1rem;
  color: var(--ink-mid);
  max-width: 52ch;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* Featured reviews grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.review-card {
  background: var(--white);
  border-radius: 3px;
  padding: 1.75rem;
  border-left: 3px solid var(--sand);
}
.review-card.review-hidden {
  display: none;
}
.review-stars {
  color: var(--sand);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.review-quote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.review-author {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-lt);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.reviews-load-more {
  display: block;
  margin: 0 auto 3.5rem;
  background: transparent;
  border: 1.5px solid var(--sand);
  color: var(--ink-mid);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 2.25rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.reviews-load-more:hover {
  background: var(--sand);
  color: #1E2A2D;
}
.reviews-load-more[hidden] {
  display: none;
}

/* Submit a testimonial form */
.testimonial-submit {
  background: var(--bg-alt);
  border-radius: 4px;
  padding: 2.5rem;
  max-width: 600px;
}
.testimonial-submit h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.testimonial-submit .ts-sub {
  font-size: 0.9rem;
  color: var(--ink-lt);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.testimonial-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-form label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-mid);
  margin-bottom: 0.3rem;
  display: block;
  letter-spacing: 0.03em;
}
.testimonial-form input[type="text"],
.testimonial-form input[type="email"],
.testimonial-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--sand-lt);
  border-radius: 2px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.testimonial-form input:focus,
.testimonial-form textarea:focus { border-color: var(--teal); }
.testimonial-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.testimonial-form button {
  padding: 0.8rem 1.75rem;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}
.testimonial-form button:hover { background: var(--teal-mid); transform: translateY(-1px); }
.testimonial-privacy {
  font-size: 0.78rem;
  color: var(--ink-lt);
  line-height: 1.5;
  margin-top: -0.25rem;
}
.ts-success {
  font-size: 0.9rem;
  color: var(--teal);
  margin-top: 0.5rem;
}

/* added: permission to publish a testimonial */
.testimonial-form .consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-mid);
  line-height: 1.5;
  letter-spacing: 0;
  cursor: pointer;
  margin: 0;
}
.testimonial-form .consent input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex: none;
  accent-color: var(--teal);
}

/* ── questions (added) ───────────────────────────────────────────────── */
.faq {
  background: var(--white);
}
.faq-list {
  margin-top: 2rem;
  border-top: 1px solid var(--sand-lt);
}
.faq-item {
  border-bottom: 1px solid var(--sand-lt);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--teal);
  flex: none;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--teal); }
.faq-answer {
  padding: 0 0 1.5rem;
  max-width: 62ch;
}
.faq-answer p {
  font-size: 1rem;
  color: var(--ink-mid);
  line-height: 1.75;
}
.faq-answer a { color: var(--teal); }

/* ── footer ──────────────────────────────────────────────────────────── */
footer {
  background: var(--footer-bg);
  padding-block: 2rem;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  /* full-bleed despite the body gutter */
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
/* added */
.footer-copy a { color: rgba(255,255,255,0.6); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-copy a:hover { color: var(--sand); }
.footer-note {
  flex-basis: 100%;
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
  max-width: 80ch;
}

/* ── cookie notice (added; informational, nothing waits on it) ───────── */
.cookie-note {
  position: fixed;
  z-index: 90;
  left: max(16px, env(safe-area-inset-left, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  max-width: 560px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem 0.9rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--sand-lt);
  border-left: 3px solid var(--sand);
  border-radius: 3px;
  box-shadow: 0 8px 30px rgba(10,18,22,0.14);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-mid);
}
.cookie-note a { color: var(--teal); }
.cookie-note button {
  flex: none;
  padding: 0.5rem 1.1rem;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.cookie-note button:hover { background: var(--teal-mid); }

/* ── plain pages: privacy, 404 (added) ───────────────────────────────── */
.hero.hero-solo { grid-template-columns: 1fr; }
.page-hero {
  position: relative;
  overflow: hidden;
  background: #0d1a20;
  padding: 8rem max(16px, env(safe-area-inset-left, 0px)) 3.5rem;
  margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px)));
}
.page-hero .hero-bg { background-position: center 40%; }
.page-hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.page-hero p { color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.prose { max-width: 70ch; }
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink);
  margin: 2.5rem 0 0.75rem;
}
.prose p, .prose li { font-size: 1rem; color: var(--ink-mid); line-height: 1.75; margin-bottom: 0.9rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose a { color: var(--teal); }

/* ── responsive ──────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-portrait { order: -1; }
  .about-portrait img { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-heading { white-space: normal; }
  .testimonial-submit { padding: 1.75rem 1.25rem; }

  /* added: the links fold into a menu instead of disappearing */
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem max(24px, env(safe-area-inset-left, 0px)) 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--sand-lt);
    box-shadow: 0 12px 24px rgba(10,18,22,0.18);
  }
  nav.open { background: var(--bg); }
  nav.open .nav-name { color: var(--ink); }
  nav.open .nav-links { display: flex; }
  nav.open .nav-links a { color: var(--ink-mid); display: block; padding: 0.7rem 0; font-size: 0.95rem; }
  nav.open .nav-links li + li { border-top: 1px solid var(--sand-lt); }
  .cookie-note { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
