/* Chin Family Clinic — blue & teal, DM Sans, readable body copy */
:root {
  --blue-950: #0c2a3d;
  --blue-800: #1a4d6e;
  --blue-700: #2563a3;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-400: #2dd4bf;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-800: #292524;
  --white: #ffffff;
  --shadow: 0 1px 2px rgb(15 23 42 / 6%), 0 8px 24px rgb(15 23 42 / 6%);
  --shadow-soft: 0 4px 24px rgb(15 23 42 / 7%);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 72rem;
  --section-y: clamp(3.5rem, 7vw, 5.5rem);
  --header-h: 4.25rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--stone-800);
  background: var(--stone-50);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease-out);
}

a:hover {
  color: var(--teal-700);
}

:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--blue-950);
  color: var(--white);
  border-radius: 6px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Subtle scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
    will-change: opacity, transform;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(250 250 249 / 92%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone-200);
  transition: box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 28px rgb(15 23 42 / 7%);
  border-bottom-color: rgb(231 229 228 / 85%);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop a {
  position: relative;
  text-decoration: none;
  color: var(--stone-600);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  padding: 0.2rem 0;
  transition: color 0.2s var(--ease-out);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--teal-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
  opacity: 0.85;
}

.nav-desktop a:hover {
  color: var(--blue-800);
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
}

.nav-desktop a[aria-current="page"] {
  color: var(--blue-950);
  font-weight: 600;
}

.nav-desktop a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-mobile a[aria-current="page"] {
  color: var(--blue-800);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s var(--ease-out), box-shadow 0.22s var(--ease-out), background 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out), color 0.22s var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-800), var(--teal-700));
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  color: var(--white);
  box-shadow: 0 4px 18px rgb(15 118 110 / 28%);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-800);
  border: 1px solid var(--stone-200);
}

.btn-ghost:hover {
  border-color: var(--teal-600);
  color: var(--teal-700);
  background: rgb(255 255 255 / 70%);
}

.btn-ghost-light {
  border-color: rgb(255 255 255 / 35%);
  color: var(--white);
}

.btn-ghost-light:hover {
  border-color: rgb(255 255 255 / 55%);
  color: var(--white);
  background: rgb(255 255 255 / 8%);
}

.menu-toggle {
  display: flex;
  padding: 0.5rem;
  background: none;
  border: 1px solid var(--stone-200);
  border-radius: 8px;
  cursor: pointer;
  color: var(--blue-950);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.menu-toggle:hover {
  border-color: var(--stone-300, #d6d3d1);
  background: var(--stone-100);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 1.25rem 1rem;
  max-width: var(--max);
  margin: 0 auto;
  gap: 0.15rem;
  border-bottom: 1px solid var(--stone-200);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  padding: 0.6rem 0;
  text-decoration: none;
  color: var(--stone-800);
  font-weight: 500;
  transition: color 0.2s var(--ease-out), padding-left 0.2s var(--ease-out);
}

.nav-mobile a:hover {
  color: var(--blue-800);
  padding-left: 0.25rem;
}

/* Mobile header: logo, Book CTA, and menu share one row */
@media (max-width: 959.98px) {
  .header-inner {
    gap: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-logo {
    display: block;
    width: auto;
    max-width: min(11.5rem, 42vw);
    height: 32px;
    object-fit: contain;
    object-position: left center;
  }

  .header-actions {
    flex: 0 0 auto;
    align-items: center;
    gap: 0.375rem;
  }

  .header-actions .btn-primary {
    -webkit-appearance: none;
    appearance: none;
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 2.375rem;
    box-sizing: border-box;
  }

  .menu-toggle {
    flex-shrink: 0;
    align-self: center;
    min-width: 2.375rem;
    min-height: 2.375rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .header-actions .btn-primary {
    padding: 0.5rem 0.65rem;
    font-size: 0.75rem;
  }

  .brand-logo {
    max-width: min(9.5rem, 38vw);
    height: 28px;
  }
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Sections */
.section {
  padding: var(--section-y) 1.25rem;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section--mist {
  background: linear-gradient(180deg, var(--white) 0%, var(--stone-50) 100%);
}

.section--paper {
  background: var(--white);
}

.section--layered {
  background: radial-gradient(ellipse 75% 55% at 0% 0%, rgb(45 212 191 / 7%), transparent),
    radial-gradient(ellipse 60% 45% at 100% 0%, rgb(37 99 163 / 6%), transparent), var(--stone-50);
}

.section--dark {
  background: linear-gradient(160deg, var(--blue-950) 0%, #163a50 42%, #134e5e 100%);
  color: rgb(250 250 249 / 94%);
}

.section--dark a {
  color: rgb(190 242 230);
}

.section--dark a:hover {
  color: var(--white);
}

.section--dark .section-title,
.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark .section-intro,
.section--dark .lede {
  color: rgb(250 250 249 / 82%);
}

/* Hero */
.hero {
  padding-top: 2.25rem;
  padding-bottom: calc(var(--section-y) * 1.02);
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgb(45 212 191 / 11%), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgb(37 99 163 / 7%), transparent), var(--stone-50);
}

.hero__grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.75rem;
  }
}

.hero__copy {
  max-width: 42rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 0.85rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--blue-950);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--stone-600);
  max-width: 40rem;
  margin: 0 0 1.65rem;
  line-height: 1.75;
}

.lede--tight {
  margin-bottom: 1rem;
}

.lede--after-list {
  margin-top: 1.35rem;
  margin-bottom: 0;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-cta--landing {
  margin-top: 0.35rem;
  gap: 1rem 1.25rem;
}

.hero-cta--landing .btn {
  padding: 1rem 1.85rem;
  font-size: 1.0625rem;
  min-height: 3.35rem;
}

.hero-cta--landing .btn-primary {
  box-shadow: 0 6px 24px rgb(15 118 110 / 26%), var(--shadow);
}

@media (min-width: 520px) {
  .hero-cta--landing {
    flex-wrap: nowrap;
    align-items: center;
  }

  .hero-cta--landing .btn {
    flex: 1 1 0;
    min-width: 11rem;
    max-width: 17rem;
    justify-content: center;
  }
}

.hero__copy .lead {
  margin-bottom: 2rem;
}

/* Image placeholders */
.visual-slot {
  position: relative;
  border-radius: var(--radius-lg);
  min-height: clamp(220px, 42vw, 420px);
  background: linear-gradient(145deg, rgb(37 99 163 / 9%), rgb(13 148 136 / 9%)),
    linear-gradient(35deg, transparent 42%, rgb(120 113 108 / 10%) 100%), var(--stone-100);
  border: 1px solid var(--stone-200);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.visual-slot:hover {
  box-shadow: var(--shadow-soft);
  border-color: rgb(13 148 136 / 22%);
}

.visual-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgb(12 42 61 / 8%) 100%);
  pointer-events: none;
}

.visual-slot__label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgb(87 83 78 / 48%);
  z-index: 1;
}

.section--dark .visual-slot {
  background: linear-gradient(145deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 3%)),
    linear-gradient(35deg, transparent 45%, rgb(45 212 191 / 12%) 100%), rgb(15 35 48);
  border-color: rgb(255 255 255 / 14%);
  box-shadow: 0 28px 56px rgb(0 0 0 / 22%);
}

.section--dark .visual-slot__label {
  color: rgb(250 250 249 / 42%);
}

.hero__visual .visual-slot {
  min-height: clamp(260px, 46vw, 440px);
}

.media-block {
  display: grid;
  gap: 1.85rem;
  align-items: center;
}

@media (min-width: 800px) {
  .media-block--reverse {
    direction: rtl;
  }

  .media-block--reverse > * {
    direction: ltr;
  }

  .media-block {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.media-block .visual-slot {
  min-height: clamp(220px, 30vw, 340px);
}

h2.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--blue-950);
  margin: 0 0 0.85rem;
  line-height: 1.22;
}

.section-intro {
  color: var(--stone-600);
  max-width: 48rem;
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.lede {
  font-size: 1.0625rem;
  color: var(--stone-600);
  max-width: 44rem;
  line-height: 1.75;
  margin: 0 0 1.35rem;
}

/* Lists */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 44rem;
}

.checklist li {
  position: relative;
  padding-left: 1.45rem;
  margin-bottom: 0.7rem;
  color: var(--stone-600);
  font-size: 1rem;
  line-height: 1.68;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
}

.split-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-800);
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

h2.split-heading {
  font-size: 1.0625rem;
}

.split__block p {
  margin: 0;
  color: var(--stone-600);
  font-size: 1rem;
  line-height: 1.72;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-600);
  background: rgb(255 255 255 / 75%);
  border: 1px solid var(--stone-200);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
}

.section--dark .pill-list li {
  background: rgb(255 255 255 / 6%);
  border-color: rgb(255 255 255 / 14%);
  color: rgb(250 250 249 / 82%);
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgb(37 99 163 / 12%);
  color: var(--blue-800);
  margin-bottom: 0.6rem;
}

.section--dark .tag {
  background: rgb(255 255 255 / 12%);
  color: rgb(200 244 234);
}

/* Service cards */
.services-intro {
  margin-bottom: 2rem;
}

.service-group-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin: 2.25rem 0 0.85rem;
}

.service-group-title:first-of-type {
  margin-top: 0;
}

.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  background: var(--stone-50);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.2rem;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.section--paper .card {
  background: var(--stone-50);
}

.card:hover {
  border-color: rgb(45 212 191 / 40%);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, rgb(37 99 163 / 12%), rgb(13 148 136 / 10%));
  color: var(--blue-800);
  transition: transform 0.3s var(--ease-out);
}

.card:hover .card__icon {
  transform: scale(1.04);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
  color: var(--blue-800);
  line-height: 1.3;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--stone-600);
  line-height: 1.65;
}

.list-check {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.65rem;
  color: var(--stone-600);
  font-size: 1rem;
  line-height: 1.68;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
}

.disclaimer-box {
  margin-top: 2.25rem;
  padding: 1.1rem 1.2rem;
  background: var(--stone-100);
  border-radius: var(--radius);
  border: 1px solid var(--stone-200);
  border-left: 4px solid var(--teal-600);
  font-size: 0.9rem;
  color: var(--stone-600);
  line-height: 1.62;
}

.disclaimer-box strong {
  color: var(--stone-800);
}

/* About */
.about-panel {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  padding: clamp(1.65rem, 3vw, 2.1rem);
  box-shadow: var(--shadow);
}

.about-panel h1 {
  font-size: clamp(1.65rem, 3vw, 2.05rem);
  font-weight: 700;
  color: var(--blue-950);
  margin: 0 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-950);
  margin: 0 0 0.2rem;
  letter-spacing: -0.02em;
}

.about-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-700);
  margin: 0 0 1.1rem;
}

.about-panel p {
  margin: 0 0 1rem;
  color: var(--stone-600);
  font-size: 1rem;
  line-height: 1.72;
}

.about-panel p:last-child {
  margin-bottom: 0;
}

/* CTA band */
.cta-band {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
  background: linear-gradient(135deg, var(--blue-950), #134e5e);
  color: var(--stone-100);
  padding: clamp(3rem, 5vw, 4rem) 1.25rem;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin: 0 0 0.55rem;
  color: var(--white);
  font-weight: 700;
}

.cta-band p {
  margin: 0 auto 1.45rem;
  max-width: 34rem;
  opacity: 0.94;
  font-size: 1.0625rem;
  line-height: 1.66;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--blue-950);
}

.cta-band .btn-primary:hover {
  color: var(--blue-950);
  box-shadow: 0 8px 26px rgb(0 0 0 / 18%);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta-contact-line {
  margin: 1.45rem 0 0;
  font-size: 0.95rem;
  opacity: 0.88;
}

.cta-contact-line a {
  color: rgb(204 251 241);
}

.cta-contact-line a:hover {
  color: var(--white);
}

/* Multi-page layout */
.page-main {
  min-height: calc(100dvh - 9rem);
  padding: clamp(2rem, 4vw, 3rem) 1.25rem 2.5rem;
}

.page-main--mist {
  background: linear-gradient(180deg, var(--white) 0%, var(--stone-50) 100%);
}

.page-main--home {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgb(45 212 191 / 11%), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgb(37 99 163 / 7%), transparent), var(--stone-50);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.page-shell {
  max-width: 42rem;
  margin: 0 auto;
}

.page-shell--wide {
  max-width: var(--max);
}

.page-shell--detail {
  max-width: 44rem;
}

.page-shell h1 {
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--blue-950);
  margin: 0 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
  color: var(--blue-700);
  transition: color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.back-link:hover {
  color: var(--teal-700);
  transform: translateX(-2px);
}

/* Home quick nav */
.home-nav {
  margin-top: 2rem;
}

.home-nav__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone-500);
  margin-bottom: 0.85rem;
}

.home-nav__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-nav__grid a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-800);
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out),
    transform 0.2s var(--ease-out);
}

.home-nav__grid a:hover {
  border-color: rgb(45 212 191 / 45%);
  background: rgb(255 255 255 / 95%);
  box-shadow: var(--shadow);
  color: var(--teal-700);
  transform: translateY(-1px);
}

/* Services hub — title-only cards */
.service-hub__intro {
  color: var(--stone-600);
  max-width: 48rem;
  margin: 0 0 1.5rem;
  line-height: 1.75;
}

.service-hub__group {
  margin-top: 2rem;
}

.service-hub__group:first-of-type {
  margin-top: 0;
}

.service-card-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .service-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .service-card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgb(255 255 255 / 80%) inset;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.service-card:hover {
  border-color: rgb(45 212 191 / 45%);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-card:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 2px;
}

.service-card__art {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-800);
  background: linear-gradient(145deg, rgb(37 99 163 / 9%), rgb(13 148 136 / 7%));
  border: 1px solid var(--stone-200);
  box-shadow: 0 1px 0 rgb(255 255 255 / 70%) inset;
}

.service-card__art svg {
  display: block;
  flex-shrink: 0;
}

.service-card__body {
  flex: 1;
  min-width: 0;
}

.service-card__title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue-950);
  line-height: 1.35;
  margin: 0;
}

.service-card__go {
  flex-shrink: 0;
  font-size: 1.15rem;
  color: var(--teal-600);
  line-height: 1;
  opacity: 0.75;
  transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

.service-card:hover .service-card__go {
  transform: translateX(3px);
  opacity: 1;
}

.detail-prose {
  color: var(--stone-600);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.detail-prose p {
  margin: 0 0 1.1rem;
}

.detail-prose p:last-child {
  margin-bottom: 0;
}

/* Stock photos — assets/photos/*.png (see assets/photos/README.txt) */
.site-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stone-200);
  background: var(--stone-100);
  box-shadow: var(--shadow);
}

.site-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}

/* Section pairings (who we help, concierge): balanced crop for mixed photography */
.site-photo--inline img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* Portrait / headshot — show full frame, no horizontal crop */
.site-photo--portrait {
  overflow: hidden;
}

.site-photo--portrait img {
  aspect-ratio: auto;
  max-height: min(92vh, 40rem);
  width: 100%;
  object-fit: contain;
  object-position: center top;
}

@media (max-width: 799px) {
  .media-block--about .about-panel {
    order: 2;
  }

  .media-block--about .site-photo--portrait {
    order: 1;
    max-width: 20rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 800px) {
  .media-block--about {
    align-items: flex-start;
  }

  .media-block--about .site-photo--portrait {
    position: sticky;
    top: 5.75rem;
  }
}

.site-photo--hero img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  min-height: 200px;
}

.site-photo--service {
  margin: 0 0 1.5rem;
}

.media-block .site-photo {
  align-self: start;
}

.section--dark .site-photo {
  border-color: rgb(255 255 255 / 15%);
  box-shadow: 0 12px 40px rgb(0 0 0 / 15%);
}

.detail-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-block--dark {
  background: linear-gradient(160deg, var(--blue-950) 0%, #163a50 42%, #134e5e 100%);
  color: rgb(250 250 249 / 94%);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  margin-top: 1.5rem;
}

.page-block--dark a {
  color: rgb(190 242 230);
}

.page-block--dark a:hover {
  color: var(--white);
}

.page-block--dark p {
  margin: 0 0 0.85rem;
  color: rgb(250 250 249 / 85%);
  line-height: 1.72;
}

.page-block--dark p:last-child {
  margin-bottom: 0;
}

/* Contact page — minimal (booking + email only) */
.contact-simple {
  max-width: 30rem;
  margin: 0 auto;
}

.contact-simple h1 {
  margin-bottom: 2.25rem;
  text-align: center;
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
}

.contact-simple__section {
  margin-bottom: 1.75rem;
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-simple__section:last-of-type {
  margin-bottom: 0;
}

.contact-simple__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin: 0 0 0.5rem;
}

.contact-simple__section h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--blue-950);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.contact-simple__hint {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--stone-600);
  max-width: 26rem;
}

.contact-simple__btn-book {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  font-size: 1rem;
}

@media (min-width: 420px) {
  .contact-simple__btn-book {
    width: auto;
    min-width: 13rem;
  }
}

.contact-simple__email {
  display: inline-block;
  font-size: clamp(1.15rem, 3.2vw, 1.4rem);
  font-weight: 600;
  overflow-wrap: anywhere;
  color: var(--blue-800);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  line-height: 1.4;
}

.contact-simple__email:hover {
  color: var(--teal-700);
}

.contact-simple__email:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* FAQ — accordion */
.page-shell--faq {
  max-width: 40rem;
}

.faq-intro {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--stone-600);
}

.faq-intro a {
  font-weight: 600;
  color: var(--blue-700);
  text-underline-offset: 0.12em;
}

.faq-intro a:hover {
  color: var(--teal-700);
}

.faq-accordion {
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 14px rgb(15 42 61 / 6%);
}

.faq-item {
  border-bottom: 1px solid var(--stone-200);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  font-size: 1.03rem;
  font-weight: 600;
  color: var(--blue-950);
  line-height: 1.4;
  letter-spacing: -0.02em;
  list-style: none;
  transition: background 0.15s var(--ease-out);
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.35rem;
  border-right: 2px solid var(--stone-400);
  border-bottom: 2px solid var(--stone-400);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease-out);
}

.faq-item[open] > .faq-item__summary::after {
  transform: rotate(-135deg);
  margin-top: 0.5rem;
}

.faq-item__summary:hover {
  background: var(--stone-50);
}

.faq-item__summary:focus {
  outline: none;
}

.faq-item__summary:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: -2px;
  background: rgb(240 253 250 / 45%);
}

.faq-item[open] > .faq-item__summary {
  background: rgb(240 253 250 / 35%);
}

.faq-item__answer {
  padding: 0 1.2rem 1.25rem;
  color: var(--stone-600);
  font-size: 0.992rem;
  line-height: 1.72;
}

.faq-item__answer > p:first-child {
  margin-top: 0;
}

.faq-item__answer p {
  margin: 0 0 0.85rem;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-item__answer ul {
  margin: 0.35rem 0 0.15rem;
  padding-left: 1.2rem;
}

.faq-item__answer li {
  margin: 0.4rem 0;
  padding-left: 0.1rem;
}

.faq-item__answer li::marker {
  color: var(--teal-600);
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__summary,
  .faq-item__summary::after {
    transition: none;
  }
}

/* Footer */
.site-footer {
  background: var(--stone-100);
  border-top: 1px solid var(--stone-200);
  padding: 1.75rem 1.25rem;
  font-size: 0.875rem;
  color: var(--stone-600);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-inner--minimal {
  text-align: center;
}

@media (min-width: 600px) {
  .footer-inner--minimal {
    text-align: left;
  }
}

.footer-brand {
  font-weight: 700;
  color: var(--blue-950);
  margin-bottom: 0.35rem;
}

.footer-tagline {
  margin: 0;
  line-height: 1.55;
}

/* Policy pages */
.policy-page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.policy-page h1 {
  font-size: 1.75rem;
}

.policy-page h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  color: var(--blue-800);
}

.policy-page p,
.policy-page li {
  color: var(--stone-600);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.policy-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
