:root {
  --bg: #f2f7fa;
  --paper: #f9fcff;
  --accent: #c5dcee;
  --accent-2: #a8c7d9;
  --text: #24313c;
  --muted: #556373;
  --brand: #5f7c8a;
  --brand-dark: #3f5560;
  --white: #ffffff;
  --font-display: "Fraunces", serif;
  --font-body: "Source Sans 3", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  background-image: linear-gradient(
      135deg,
      rgba(197, 220, 238, 0.18),
      transparent 55%
    ),
    linear-gradient(315deg, rgba(168, 199, 217, 0.12), transparent 50%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  background: radial-gradient(var(--accent), transparent 65%);
  opacity: 0.28;
  z-index: -1;
  pointer-events: none;
  filter: blur(2px);
}

body::before {
  top: -6rem;
  left: -8rem;
}

body::after {
  bottom: -8rem;
  right: -10rem;
  background: radial-gradient(var(--accent-2), transparent 60%);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  margin-top: 0;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.2;
  position: relative;
  padding-bottom: 0.75rem;
  color: #183247;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent 80%);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: rgba(249, 252, 255, 0.95);
  color: var(--brand-dark);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 85, 96, 0.2);
  box-shadow: 0 12px 28px rgba(36, 49, 60, 0.18);
  z-index: 999;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  left: 50%;
  transform: translateX(-50%);
}

.site-header {
  position: relative;
  padding: 6rem clamp(1.25rem, 3.5vw, 4rem) clamp(8rem, 12vh, 10rem);
  color: var(--white);
  background-image: linear-gradient(
      rgba(27, 38, 52, 0.38),
      rgba(27, 38, 52, 0.38)
    ),
    url("bainbridge-island-washington-view-bg.jpg");
  background-size: cover;
  background-position: center;
  isolation: isolate;
  z-index: 5;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 0.9rem clamp(1.25rem, 3.5vw, 4rem);
  background: rgba(249, 252, 255, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(63, 85, 96, 0.08);
  box-shadow: 0 12px 26px rgba(36, 49, 60, 0.06);
  transform: translateY(0);
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease,
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.nav--compact {
  padding: 0.6rem clamp(1.25rem, 3.5vw, 4rem);
  background: rgba(242, 247, 250, 0.95);
  box-shadow: 0 10px 24px rgba(36, 49, 60, 0.05);
  transform: translateY(-4px);
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  min-width: var(--brand-width, 10.5rem);
  width: var(--brand-width, 10.5rem);
  min-height: var(--brand-height, 1.6rem);
  padding-right: 0.25rem;
  overflow: hidden;
  color: var(--brand-dark);
  height: var(--brand-height, 1.6rem);
}

.brand-long,
.brand-initials {
  position: absolute;
  top: 50%;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(-50%);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.brand-long {
  opacity: 1;
}

.brand-initials {
  opacity: 0;
  transform: translateY(-30%);
  letter-spacing: 0.22em;
  font-weight: 600;
  pointer-events: none;
}

.brand-mark {
  display: inline-block;
  width: 1.8rem;
  height: auto;
  vertical-align: middle;
}

.brand-initials .brand-mark {
  font-size: 1.2rem;
}

.nav.nav--compact .brand {
  min-width: var(--brand-compact-width, 5.5rem);
  width: var(--brand-compact-width, 5.5rem);
}

.nav.nav--compact .brand-long {
  opacity: 0;
  transform: translateY(-70%);
  pointer-events: none;
}

.nav.nav--compact .brand-initials {
  opacity: 1;
  transform: translateY(-50%);
  pointer-events: auto;
}

.nav-cta {
  font-weight: 600;
  color: #fdfefe;
  background: linear-gradient(135deg, rgba(18, 40, 53, 0.92), rgba(10, 26, 36, 0.85));
  border: 1px solid rgba(8, 22, 32, 0.68);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  transition: border-color 0.25s ease, color 0.2s ease,
    background 0.3s ease, box-shadow 0.3s ease;
  display: inline-grid;
  place-items: center;
  min-width: 7.5rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 20px rgba(8, 22, 32, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-cta:hover,
.nav-cta:focus {
  border-color: rgba(8, 22, 32, 0.82);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(22, 49, 64, 0.95), rgba(11, 30, 40, 0.9));
  box-shadow: 0 16px 32px rgba(8, 22, 32, 0.3);
}

.nav-cta-text {
  grid-area: 1 / 1 / 2 / 2;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-cta-full {
  opacity: 1;
  transform: translateY(0);
}

.nav-cta-compact {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.nav.nav--compact .nav-cta-full {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.nav.nav--compact .nav-cta-compact {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.notice-banner {
  position: relative;
  width: fit-content;
  max-width: min(38rem, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.75rem clamp(1.25rem, 4vw, 2.25rem);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.88));
  color: var(--brand-dark);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(63, 85, 96, 0.14);
  box-shadow: 0 10px 24px rgba(18, 33, 45, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.notice-banner::before,
.notice-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.notice-banner::before {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.4);
  border-radius: inherit;
}

.notice-banner::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  opacity: 0.65;
  transform: translateX(-100%);
  animation: notice-glint 6s ease-in-out infinite;
  border-radius: inherit;
}

.notice-banner p {
  margin: 0;
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
}

@keyframes notice-glint {
  0%,
  60% {
    transform: translateX(-100%);
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
  .notice-banner {
    background: rgba(255, 255, 255, 0.96);
  }

  .notice-banner::before {
    display: none;
  }
}

.hero {
  max-width: 50rem;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
  min-height: clamp(260px, 34vh, 420px);
  margin: 0 auto 0;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.5rem)
           clamp(2rem, 5vh, 4rem);
  align-content: center;
  color: var(--white);
  text-shadow: 0 6px 18px rgba(19, 31, 43, 0.32),
               0 2px 8px rgba(19, 31, 43, 0.28);
}

.hero p {
  color: rgba(255, 255, 255, 0.92);
}

.hero h1 {
  color: #f7f7f7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  width: 100%;
  max-width: 20rem;
  margin: 0.4rem auto 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: var(--brand);
  color: var(--paper);
  box-shadow: 0 12px 26px rgba(63, 85, 96, 0.16);
}

.btn.primary:hover,
.btn.primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(63, 85, 96, 0.22);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: transparent;
}

.btn.ghost:hover,
.btn.ghost:focus {
  border-color: var(--white);
  transform: translateY(-1px);
}

.hero .btn {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 36px rgba(21, 36, 49, 0.25);
}

.hero .btn.primary {
  background: linear-gradient(135deg, rgba(18, 40, 53, 0.92), rgba(10, 26, 36, 0.85));
  border: 1px solid rgba(8, 22, 32, 0.68);
  color: #fdfefe;
  font-weight: 600;
  box-shadow: 0 18px 38px rgba(8, 22, 32, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.faq-list {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .faq-list {
    width: min(60rem, 100%);
    max-width: 40rem;
    margin: 0 auto;
  }
}

.faq-list details {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(63, 85, 96, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 24px rgba(18, 33, 45, 0.08);
}

.faq-list summary {
  font-family: var(--font-display);
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary > span:first-child {
  flex: 1 1 auto;
}

/* 1) Kill iOS Safari tap highlight in FAQ */
#faq .faq-item,
#faq .faq-item * {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* If using <details>/<summary>, cover those too */
#faq details > summary {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#faq details > summary::-webkit-details-marker {
  display: none; /* keep our custom toggle icon only */
}

/* 2) Prefer focus-visible so keyboard users still see outlines */
.faq-toggle:focus {
  outline: none;
}
.faq-toggle:focus-visible {
  outline: 2px solid rgba(34, 58, 69, 0.6);
  outline-offset: 3px;
  border-radius: 999px;
}

/* 3) Neutralize any :active darkening on tap */
.faq-item:active,
.faq-toggle:active {
  background-color: inherit;
  box-shadow: inherit;
}

/* 4) Prevent iOS repaint flicker when icons/rows animate */
.faq-item,
.faq-toggle {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.faq-toggle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(63, 85, 96, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: rgba(34, 58, 69, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06) inset, 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-toggle.plus .faq-toggle__mark {
  position: relative;
  width: 0.85rem;
  height: 0.85rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.faq-toggle.plus .faq-toggle__mark::before,
.faq-toggle.plus .faq-toggle__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.3s ease, background 0.3s ease, width 0.3s ease, height 0.3s ease;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
}

.faq-toggle.plus .faq-toggle__mark::before {
  width: 100%;
  height: 0.14rem;
}

.faq-toggle.plus .faq-toggle__mark::after {
  width: 0.14rem;
  height: 100%;
}

.faq-toggle.plus:hover,
.faq-toggle.plus:focus {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(63, 124, 147, 0.3);
}

.faq-list details[open] .faq-toggle {
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(63, 124, 147, 0.35);
  transform: scale(0.97);
  color: rgba(30, 49, 61, 0.95);
}

.faq-list details[open] .faq-toggle__mark {
  transform: rotate(45deg) scale(1.18);
}

.faq-list details[open] .faq-toggle__mark::before,
.faq-list details[open] .faq-toggle__mark::after {
  background: currentColor;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
}

.faq-list details[open] .faq-answer {
  max-height: 24rem;
  opacity: 1;
  padding-top: 0.75rem;
}

@media (prefers-reduced-motion: reduce) {
  .faq-toggle,
  .faq-toggle.plus .faq-toggle__mark,
  .faq-toggle.plus .faq-toggle__mark::before,
  .faq-toggle.plus .faq-toggle__mark::after,
  .faq-answer {
    transition: none;
  }
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

.faq-answer p + p {
  margin-top: 0.65rem;
}

.hero .btn.ghost {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero .btn:hover,
.hero .btn:focus {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 22px 44px rgba(19, 30, 42, 0.34);
}

.hero .btn.primary:hover,
.hero .btn.primary:focus {
  background: linear-gradient(135deg, rgba(22, 49, 64, 0.96), rgba(11, 30, 40, 0.9));
  border-color: rgba(8, 22, 32, 0.82);
  box-shadow: 0 26px 52px rgba(8, 22, 32, 0.42);
  color: #ffffff;
}

.hero .btn.ghost:hover,
.hero .btn.ghost:focus {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  box-shadow: 0 18px 36px rgba(19, 30, 42, 0.28);
}

main {
  padding: 4rem clamp(1.25rem, 4vw, 4rem);
  display: grid;
  gap: 5rem;
}

.section {
  display: grid;
  gap: 2rem;
  scroll-margin-top: 6rem;
  max-width: min(70rem, 100%);
  justify-self: center;
  width: 100%;
}

.section-alt {
  background: var(--paper);
  padding: 3rem clamp(1.25rem, 4vw, 4rem);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(63, 85, 96, 0.08);
  box-shadow: 0 18px 36px rgba(36, 49, 60, 0.05);
}

.section-alt::after {
  content: "";
  position: absolute;
  inset: -18% 60% auto -25%;
  height: 16rem;
  background: radial-gradient(var(--accent-2), transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  justify-self: center;
  align-items: stretch;
  width: 100%;
}

.card {
  position: relative;
  border-radius: 22px;
  overflow: visible;
  display: flex;
}

.card-inner {
  padding: 2.25rem;
  background: radial-gradient(circle at top left, rgba(197, 220, 238, 0.35), transparent 60%), var(--paper);
  border-radius: 22px;
  border: 1px solid rgba(63, 85, 96, 0.12);
  display: grid;
  gap: 0.75rem;
  grid-template-rows: auto 1fr auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(36, 49, 60, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
  flex: 1 1 auto;
  min-height: 100%;
}

.card-inner p {
  margin: 0;
}

.card-inner::before {
  content: "";
  position: absolute;
  inset: -45% -15% auto;
  height: 60%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.6), transparent 70%);
  opacity: 0.55;
  pointer-events: none;
  transform: translateY(-10%);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.card:hover .card-inner,
.card:focus-within .card-inner {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(36, 49, 60, 0.1);
  border-color: rgba(63, 85, 96, 0.18);
}

.card:hover .card-inner::before,
.card:focus-within .card-inner::before {
  opacity: 0.9;
  transform: translateY(-22%);
}

.card-duration {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  opacity: 0.8;
  align-self: end;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: clamp(260px, 30vh, 420px);
    margin-top: 5rem;
    margin-bottom: 1rem;
  }

  .notice-banner {
    position: absolute;
    left: 50%;
    bottom: 4rem;
    transform: translateX(-50%);
    margin: 0;
  }
}


.about-layout {
  align-items: stretch;
  max-width: min(68rem, 100%);
  justify-self: center;
}

.about-copy {
  display: grid;
  gap: 1.5rem;
}

.about-copy p {
  margin-bottom: 0.7rem;
}

.about-photo-mobile {
  display: none;
  justify-items: center;
}

.about-copy h2::after {
  background: linear-gradient(90deg, var(--brand), transparent 80%);
}

.about-signoff {
  display: inline-grid;
  gap: 0.2rem;
  justify-items: center;
  text-align: center;
  font-family: var(--font-display);
  color: var(--brand-dark);
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

.about-signoff .about-name {
  font-size: 1.05rem;
  text-transform: uppercase;
}

.about-signoff .about-license {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-cta {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  background: rgba(249, 252, 255, 0.7);
  border-radius: 18px;
  border: 1px solid rgba(63, 85, 96, 0.08);
  padding: 1.5rem;
  box-shadow: 0 16px 32px rgba(36, 49, 60, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 26rem;
}

.about-cta p {
  margin: 0;
  font-weight: 600;
  color: var(--brand-dark);
}

.about-cta .btn {
  width: fit-content;
}

.about-cta .btn.ghost {
  border-color: rgba(95, 124, 138, 0.35);
  color: var(--brand);
}

.about-cta .btn.ghost:hover,
.about-cta .btn.ghost:focus {
  border-color: var(--brand);
}

.about-cta .btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--paper);
  font-weight: 600;
}

.about-signoff--below {
  margin-top: 1.25rem;
}

.about-media {
  display: grid;
  justify-items: center;
  align-content: start;
}

.therapist-photo {
  width: min(22rem, 100%);
  margin: 0;
  border-radius: 24px;
  border: 1px solid rgba(63, 85, 96, 0.15);
  box-shadow: 0 20px 34px rgba(36, 49, 60, 0.12);
  overflow: hidden;
  background: var(--white);
}

.therapist-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


.testimonial-carousel {
  display: grid;
  gap: 1.25rem;
}

.testimonial-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: stretch;
}

.testimonial-grid::-webkit-scrollbar {
  display: none;
}

.testimonial-dots {
  display: none;
  justify-content: center;
  gap: 0.4rem;
}

.testimonial-dots button {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  border: none;
  background: rgba(95, 124, 138, 0.3);
  padding: 0;
  outline-offset: 2px;
}

.testimonial-dots button[aria-current="true"] {
  background: var(--brand);
}

.testimonial {
  margin: 0;
  padding: 2rem;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 14px 30px rgba(36, 49, 60, 0.05);
  border: 1px solid rgba(63, 85, 96, 0.08);
  display: grid;
  gap: 1.25rem;
  grid-template-rows: 1fr auto;
  align-content: stretch;
}

.testimonial blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  font-style: italic;
  position: relative;
  padding-left: 2.5rem;
}

.testimonial blockquote::before {
  content: "“";
  position: absolute;
  top: -0.9rem;
  left: 0;
  font-size: 3rem;
  line-height: 1;
  color: rgba(95, 124, 138, 0.32);
  font-family: var(--font-display);
}

.testimonial figcaption {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.details-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.details-list li::before {
  content: "–";
  margin-right: 0.6rem;
  color: var(--brand);
}

.details-list a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(95, 124, 138, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.details-list a:hover,
.details-list a:focus {
  color: var(--brand-dark);
  border-bottom-color: var(--brand-dark);
}

.booking-link {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(18, 40, 53, 0.92), rgba(10, 26, 36, 0.85));
  border: 1px solid rgba(8, 22, 32, 0.68);
  color: #fdfefe;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 26px rgba(8, 22, 32, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
}

.booking-link:hover,
.booking-link:focus {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(22, 49, 64, 0.96), rgba(11, 30, 40, 0.9));
  border-color: rgba(8, 22, 32, 0.82);
  box-shadow: 0 16px 34px rgba(8, 22, 32, 0.34);
  color: #ffffff;
}

.booking-card {
  background: linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.82),
      rgba(197, 220, 238, 0.27)
    );
  border-radius: 28px;
  border: 1px solid rgba(63, 85, 96, 0.16);
  box-shadow: 0 28px 54px rgba(36, 49, 60, 0.12);
  padding: clamp(1.5rem, 3.5vw, 3rem);
  display: grid;
  gap: 2rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.booking-card-header {
  display: grid;
  gap: 0.75rem;
  max-width: 38rem;
  justify-items: start;
  text-align: left;
}

.booking-columns {
  display: grid;
  gap: 2.25rem;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-map {
  display: grid;
}

.booking-details {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  justify-items: start;
}

.booking-details .booking-link {
  justify-self: start;
  align-self: start;
  margin-top: 0.35rem;
  min-width: 0;
  padding: 0.7rem 1.5rem;
  background: var(--brand-dark);
  color: var(--white);
  border: 1px solid rgba(15, 32, 45, 0.4);
  box-shadow: 0 16px 30px rgba(18, 33, 45, 0.18);
}

.map-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 26px rgba(36, 49, 60, 0.08);
  border: 1px solid rgba(63, 85, 96, 0.12);
  background: var(--paper);
}

.map-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  min-height: 240px;
}

.site-footer {
  padding: 3rem clamp(1.5rem, 4vw, 5rem);
  background: rgba(249, 252, 255, 0.92);
  display: grid;
  gap: 1rem;
  text-align: center;
  border-top: 1px solid rgba(63, 85, 96, 0.08);
  scroll-margin-top: 6rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  justify-self: center;
}

.footer-info {
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
}

.footer-info p:first-of-type {
  color: rgba(167, 167, 167, 0.8);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.footer-legal {
  font-size: 0.8rem;
  color: rgba(36, 49, 60, 0.55);
}

.scroll-top {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(95, 124, 138, 0.3);
  background: rgba(249, 252, 255, 0.88);
  color: var(--brand-dark);
  box-shadow: 0 18px 36px rgba(36, 49, 60, 0.12);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease,
    box-shadow 0.25s ease, border-color 0.25s ease;
}

.scroll-top--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover,
.scroll-top:focus {
  border-color: rgba(95, 124, 138, 0.5);
  box-shadow: 0 22px 44px rgba(36, 49, 60, 0.18);
}

@media (max-width: 900px) {
  .card-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 1.25rem 1.9rem;
    margin: 0 -1.25rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .card-grid::-webkit-scrollbar {
    display: none;
  }

  .card-grid .card {
    scroll-snap-align: start;
    flex: 0 0 clamp(18rem, 70vw, 22rem);
  }

  .testimonial-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 1.25rem 1.9rem;
    margin: 0 -1.25rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .testimonial-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonial-grid .testimonial {
    scroll-snap-align: start;
    flex: 0 0 clamp(18rem, 70vw, 22rem);
  }

  .testimonial-dots {
    display: flex;
  }
}

@media (max-width: 600px) {
  :root {
    --muted: #4a5968;
  }

  .hero {
    margin: 0 auto 1.8rem;
    padding: 1.2rem 1.2rem 1.05rem;
  }

  .notice-banner {
    width: fit-content;
    max-width: min(28rem, calc(100% - 1rem));
    margin: 0.5rem auto 1.5rem;
    padding: 0.6rem 1.15rem;
    font-size: 0.85rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(63, 85, 96, 0.16);
    box-shadow: 0 8px 20px rgba(18, 33, 45, 0.12);
  }

  .notice-banner::after {
    opacity: 0.45;
  }

  .site-header {
    padding: calc(env(safe-area-inset-top) + 5rem) 1rem 2.25rem;
    background-position: 60% center;
  }

  .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
  }

  .nav.nav--compact {
    padding: 0.45rem 0.85rem;
    transform: translateY(-1px);
  }

  .brand {
    letter-spacing: 0.07em;
    min-width: var(--brand-width, 10rem);
    width: var(--brand-width, 10rem);
    max-width: none;
    margin: 0;
    justify-content: flex-start;
    padding-right: 0.2rem;
  }

  .brand-long,
  .brand-initials {
    left: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .brand-long {
    transform: translateY(-50%);
  }

  .brand-initials {
    transform: translateY(-30%);
  }

  .nav.nav--compact .brand-long {
    transform: translateY(-60%);
  }

  .nav.nav--compact .brand-initials {
    transform: translateY(-46%);
  }

  .nav.nav--compact .brand {
    min-width: var(--brand-compact-width, 7.5rem);
    width: var(--brand-compact-width, 7.5rem);
  }

  .nav-cta {
    min-width: auto;
    padding: 0.45rem 0.85rem;
    font-size: 0.95rem;
  }

  .hero {
    text-align: center;
    align-items: center;
    min-height: auto;
    padding-top: 1.25rem;
    gap: 0.6rem;
  }

  .hero > h1 {
    margin-bottom: 0.35rem;
  }

  .hero > p {
    margin: 0.3rem auto 0.6rem;
  }

  main {
    padding: 3rem 1rem;
    gap: 3.5rem;
  }

  .section {
    gap: 1.65rem;
  }

  .section-alt {
    padding: 2.5rem 1rem 2.75rem;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0 auto;
  }

  .btn {
    width: auto;
    min-width: 10.5rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0.65rem 1rem;
  }

  .card-grid {
    display: flex;
    gap: 1.1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 1.4rem 1.75rem 1.4rem;
    margin: 0;
    scroll-padding-left: 1.4rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .card-grid::-webkit-scrollbar {
    display: none;
  }

  .card-grid .card {
    scroll-snap-align: start;
    flex: 0 0 clamp(14.5rem, 75vw, 17.5rem);
    margin: 0;
  }

  .card-grid .card:first-child {
    margin-left: 0;
  }

  .about-layout {
    gap: 2.5rem;
    grid-template-columns: 1fr;
  }

  .about-photo-mobile {
    display: grid;
    margin: 0 auto 1.5rem;
  }

  .about-photo-mobile .therapist-photo {
    width: min(18rem, 100%);
  }

  .about-media {
    display: none;
  }

  .therapist-photo {
    width: min(13.5rem, 100%);
  }

  .testimonial-carousel {
    gap: 1rem;
  }

  .testimonial-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.1rem;
    padding: 0 1.4rem 0.9rem 1.4rem;
    margin: 0;
    scroll-padding-left: 1.4rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .testimonial-grid .testimonial {
    scroll-snap-align: start;
    flex: 0 0 clamp(15rem, 78vw, 18rem);
    margin-left: 0;
  }

  .testimonial-grid .testimonial:first-child {
    margin-left: 0;
  }

  .testimonial {
    padding: 1.5rem;
  }

  .testimonial blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .testimonial-dots {
    display: flex;
  }

  .booking-card {
    padding: 1.5rem 1.25rem;
  }

  .booking-columns {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .booking-details {
    order: 1;
    gap: 1.25rem;
    align-items: flex-start;
    justify-items: flex-start;
    text-align: left;
  }

  .booking-details .booking-link {
    justify-self: center;
  }

  .details-list {
    justify-items: flex-start;
    width: 100%;
  }

  .booking-columns .map-card {
    order: 2;
    margin-top: 0.5rem;
  }

  .map-card iframe {
    height: 210px;
    min-height: 210px;
  }

  .scroll-top {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  body::before,
  body::after {
    width: 16rem;
    height: 16rem;
  }
}

@media (max-width: 390px) {
  .notice-banner {
    width: calc(100% - 1.25rem);
    margin: 1.3rem auto 1rem;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(63, 85, 96, 0.2);
    box-shadow: 0 8px 18px rgba(18, 33, 45, 0.14);
  }


  


  .nav {
    padding: 0.5rem 0.75rem;
    gap: 0.3rem;
  }

  .site-header {
    padding: calc(env(safe-area-inset-top) + 5.5rem) 0.85rem 2.1rem;
    background-position: 60% center;
  }

  .brand {
    max-width: 11.5rem;
    min-width: var(--brand-width, 9.5rem);
    width: var(--brand-width, 9.5rem);
  }

  .nav-cta {
    font-size: 0.95rem;
    padding: 0.4rem 0.75rem;
  }

  .hero-actions {
    max-width: 18rem;
    width: 100%;
    gap: 0.55rem;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }

  .hero {
    padding-top: 1.15rem;
    gap: 0.5rem;
  }

  .hero > h1 {
    margin-bottom: 0.3rem;
  }

  .hero > p {
    margin: 0.4rem auto 0.75rem;
  }

  .btn {
    width: auto;
    min-width: 10rem;
    padding: 0.6rem 1rem;
    margin: 0 auto;
  }

  main {
    padding: 2.75rem 0.85rem;
    gap: 3rem;
  }

  .section {
    gap: 1.5rem;
  }

  .section-alt {
    padding: 2.25rem 0.9rem 2.5rem;
  }

  .card-grid {
    gap: 0.9rem;
    padding: 0 1.15rem 1.4rem;
    margin: 0;
    scroll-padding-left: 1.15rem;
  }

  .card-grid .card {
    flex: 0 0 clamp(13.5rem, 78vw, 16rem);
  }

  .card-grid .card:first-child {
    margin-left: 0;
  }

  .therapist-photo {
    width: min(12.5rem, 100%);
  }

  .testimonial-grid {
    gap: 0.9rem;
    padding: 0 1.15rem 0.8rem;
    margin: 0;
    scroll-padding-left: 1.15rem;
  }

  .testimonial-grid .testimonial {
    flex: 0 0 clamp(13.75rem, 80vw, 16.5rem);
  }

  .testimonial-grid .testimonial:first-child {
    margin-left: 0;
  }

  .testimonial {
    padding: 1.35rem;
  }

  .testimonial blockquote {
    font-size: 0.92rem;
  }

  .booking-card {
    padding: 1.4rem 1rem;
  }

  .booking-details {
    order: 1;
  }

  .booking-columns .map-card {
    order: 2;
    margin-top: 0.4rem;
  }

  .map-card iframe {
    height: 200px;
    min-height: 200px;
  }

  .about-copy p {
    margin-bottom: 0.6rem;
  }
}
.footer-brand > img {
  width: 1.6rem;
  height: auto;
}

.brand-name { display: inline-block; }
.brand-acronym { display: inline-block; }
.booking-details .booking-link:hover,
.booking-details .booking-link:focus {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(22, 49, 64, 0.96), rgba(11, 30, 40, 0.9));
  color: #ffffff;
  box-shadow: 0 26px 52px rgba(8, 22, 32, 0.42);
  border-color: rgba(8, 22, 32, 0.82);
}
@media (max-width: 600px) {
  .hero-actions {
    gap: 0.55rem;
    margin: 0.35rem auto 0;
  }
}
