:root {
  --background: oklch(0.985 0.004 90);
  --foreground: oklch(0.26 0.02 160);
  --card: oklch(0.965 0.006 90);
  --primary: oklch(0.3 0.032 178);
  --primary-foreground: oklch(0.975 0.008 90);
  --secondary: oklch(0.945 0.008 100);
  --muted-foreground: oklch(0.48 0.015 160);
  --border: oklch(0.89 0.008 100);
  --display: "Libre Baskerville", Georgia, serif;
  --sans: "Karla", ui-sans-serif, system-ui, sans-serif;
  --section-heading: clamp(1.85rem, 3.2vw, 2.45rem);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--sans);
  font-size: 1.125rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: site-fade-in 0.85s ease both;
  }

  .reveal {
    opacity: 0;
    transition: opacity 0.85s ease;
  }

  .reveal.is-in {
    opacity: 1;
  }
}

@keyframes site-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
  }
}

h1,
h2,
.logo,
.footer-logo,
.contact-link {
  font-family: var(--display);
  font-weight: 400;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .wrap {
    padding: 0 2.5rem;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.25rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--background) 88%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.header-book {
  margin-left: auto;
  padding: 0.82rem 1.5rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  transition: box-shadow 0.28s ease;
}

.header-book:hover {
  box-shadow: 0 6px 18px color-mix(in oklch, var(--primary) 28%, transparent);
}

.logo {
  font-size: 1.35rem;
  color: var(--primary-foreground);
  text-shadow: 0 1px 12px color-mix(in oklch, var(--primary) 55%, transparent);
}

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.pill-light {
  background: var(--primary-foreground);
  color: var(--primary);
}

.pill-light:hover {
  opacity: 0.85;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 82vh;
  overflow: hidden;
}

.hero-img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(
    to top,
    color-mix(in oklch, var(--primary) 85%, transparent),
    color-mix(in oklch, var(--primary) 45%, transparent),
    color-mix(in oklch, var(--primary) 25%, transparent)
  );
}

.hero-content {
  position: relative;
  width: 100%;
  padding-top: 5rem;
  padding-bottom: 7.5rem;
}

.hero h1 {
  margin: 1.25rem 0 0;
  max-width: 44rem;
  font-size: clamp(2.6rem, 6vw, 4.25rem);
  line-height: 1.18;
  color: var(--primary-foreground);
  text-shadow: 0 2px 14px color-mix(in oklch, black 28%, transparent);
}

.hero-sub {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  line-height: 1.7;
  color: color-mix(in oklch, var(--primary-foreground) 85%, transparent);
}

.hero-sub-follow {
  margin-top: 0.85rem;
}

.hero-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.hero-link:hover {
  opacity: 0.85;
}

/* Cards */
.cards {
  position: relative;
  z-index: 10;
  margin-top: -4rem;
}

@media (min-width: 768px) {
  .cards {
    margin-top: -6rem;
  }

  .hero-content {
    padding-bottom: 10rem;
  }
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -30px rgba(20, 50, 45, 0.45);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card-media {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2rem;
}

.card-body h2 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.22;
}

.card-body p {
  margin: 1rem 0 0;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  border-radius: 999px;
  background: var(--secondary);
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  color: var(--primary);
}

.book-btn {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.book-btn:hover {
  opacity: 0.85;
}

.card-body .book-btn {
  margin-top: auto;
}

.card-body-compact {
  padding: 1.75rem 1.75rem 1.5rem;
}

.card-body-compact h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.75rem);
}

.card-body-compact p {
  margin: 0.75rem 0 0;
  font-size: 1rem;
}

.card-body-compact .book-btn {
  margin-top: 1.5rem;
}

/* Reviews */
.reviews-wrap {
  padding: 5.5rem 0 4.5rem;
  background: var(--background);
}

.reviews-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.reviews-head h2 {
  margin: 0;
  font-size: var(--section-heading);
  line-height: 1.25;
}

.reviews-note {
  margin: 0.85rem 0 0;
}

.reviews-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.reviews-viewport {
  min-width: 0;
}

.reviews-track {
  display: grid;
  gap: 0.85rem;
}

.review {
  margin: 0;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid color-mix(in oklch, var(--foreground) 14%, transparent);
  border-radius: 0.9rem;
  background:
    linear-gradient(
      180deg,
      transparent 0%,
      color-mix(in oklch, oklch(0.72 0.08 85) 3%, transparent) 40%,
      color-mix(in oklch, oklch(0.72 0.08 85) 8%, transparent) 100%
    );
  box-sizing: border-box;
  min-width: 0;
  display: none !important;
}

.review.is-active {
  display: flex !important;
}

.review[hidden] {
  display: none !important;
}

.review-stars {
  color: oklch(0.62 0.09 85);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.review blockquote {
  margin: 0;
}

.review blockquote p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.92rem;
  line-height: 1.55;
}

.review figcaption {
  margin-top: auto;
  padding-top: 0.15rem;
  font-family: var(--display);
  font-size: 0.98rem;
  color: var(--primary);
}

.review figcaption::before {
  content: "–";
  margin-right: 0.3em;
  font-size: 0.78em;
  font-weight: 400;
  opacity: 0.45;
  vertical-align: 0.05em;
}

.reviews-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: 1px solid color-mix(in oklch, var(--foreground) 16%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.reviews-arrow:hover {
  background: color-mix(in oklch, var(--primary) 8%, transparent);
  border-color: color-mix(in oklch, var(--primary) 35%, transparent);
  transform: scale(1.04);
}

@media (max-width: 699px) {
  .reviews-banner {
    gap: 0.65rem;
  }

  .reviews-arrow {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 700px) {
  .reviews-banner {
    gap: 1rem;
  }

  .reviews-track {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .review {
    padding: 1.25rem 1.35rem 1.3rem;
    min-height: 11.5rem;
  }

  .review blockquote p {
    font-size: 0.95rem;
  }
}

@media (min-width: 1000px) {
  .reviews-wrap {
    padding: 6.5rem 0 5rem;
  }

  .reviews-banner {
    gap: 1.25rem;
  }

  .reviews-track {
    gap: 1.15rem;
  }

  .review {
    min-height: 12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-arrow {
    transition: none;
  }

  .reviews-arrow:hover {
    transform: none;
  }
}

/* Approach */
.approach-wrap {
  padding: 5.5rem 0;
  background: color-mix(in oklch, var(--secondary) 70%, var(--background));
}

.approach {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .approach {
    grid-template-columns: 1.2fr 1fr;
  }

  .contact {
    border-left: 1px solid var(--border);
    padding-left: 3rem;
  }
}

.approach h2 {
  margin: 0;
  font-size: var(--section-heading);
  line-height: 1.25;
}

.muted {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.approach .muted {
  margin-top: 1.5rem;
  max-width: 36rem;
}

.approach .muted + .muted {
  margin-top: 1.1rem;
}

.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.contact .muted {
  margin: 0;
}

.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.address,
.hours {
  margin: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--primary);
}

a.address {
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a.address:hover {
  opacity: 0.7;
}

.hours-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hours {
  margin-bottom: 0;
  font-size: 1.1rem;
  color: var(--muted-foreground);
}

.small {
  font-size: 0.875rem;
}

.tiny {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.contact-link {
  font-size: 1.5rem;
  color: var(--primary);
  transition: opacity 0.2s ease;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-link:hover {
  opacity: 0.7;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 4.75rem 0 3.75rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    gap: 1.75rem 2rem;
    min-height: 16rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}

.footer-logo {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  line-height: 1.15;
  white-space: nowrap;
}

.footer-meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1.5rem 2.25rem;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .footer-meta {
    justify-content: center;
    padding: 0 0.5rem;
  }
}

.footer-col {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 14rem;
}

.footer-col:last-child {
  margin-left: 0.35rem;
}

.footer-col-label {
  margin: 0 0 0.45rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.55;
}

.footer-address,
.footer-hours {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: color-mix(in oklch, var(--primary-foreground) 82%, transparent);
}

.footer-address {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-address:hover {
  color: var(--primary-foreground);
}

.footer-sub {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  opacity: 0.75;
  line-height: 1.55;
}

.footer-end {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 auto;
  min-width: 7.5rem;
}

@media (min-width: 768px) {
  .footer-end {
    align-items: flex-end;
    text-align: right;
  }
}

.footer-social {
  display: inline-flex;
  margin-top: 0.85rem;
  color: color-mix(in oklch, var(--primary-foreground) 55%, transparent);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-social:hover {
  color: color-mix(in oklch, var(--primary-foreground) 88%, transparent);
}

.footer-social svg {
  width: 1.9rem;
  height: 1.9rem;
  display: block;
}

.footer-hours-note {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: color-mix(in oklch, var(--primary-foreground) 68%, transparent);
}

.footer-schedule {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 1.05rem;
  color: color-mix(in oklch, var(--primary-foreground) 88%, transparent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

.footer-schedule:hover {
  color: var(--primary-foreground);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

@media (min-width: 768px) {
  .footer-nav {
    align-items: flex-end;
  }
}

.footer-nav a {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: color-mix(in oklch, var(--primary-foreground) 78%, transparent);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--primary-foreground);
}

.footer-copy {
  margin: 1.5rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  opacity: 0.55;
}

@media (min-width: 768px) {
  .footer-copy {
    margin-top: auto;
    padding-top: 2.5rem;
  }
}

.disclaimer {
  margin: 0;
  max-width: 28rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.approach-disclaimer {
  margin-top: 1.75rem;
}

/* Solid header (shared) */
.site-header.solid {
  position: sticky;
  background: color-mix(in oklch, var(--background) 88%, transparent);
  border-bottom: 1px solid var(--border);
}

.logo.dark {
  color: var(--primary);
  text-shadow: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid color-mix(in oklch, var(--primary) 18%, transparent);
  border-radius: 0.7rem;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.nav-toggle:hover {
  background: color-mix(in oklch, var(--primary) 6%, transparent);
  border-color: color-mix(in oklch, var(--primary) 30%, transparent);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 99px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.site-header.is-nav-open .nav-toggle-bars {
  background: transparent;
}

.site-header.is-nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (min-width: 768px) {
  .header-inner {
    display: flex;
    flex-wrap: nowrap;
  }

  .nav {
    order: 2;
    margin-left: auto;
  }

  .header-book {
    order: 3;
    margin-left: 1.5rem;
  }

  .nav-toggle {
    display: none !important;
  }
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.nav-link:hover {
  opacity: 0.7;
}

.nav-link[aria-current="page"] {
  color: var(--primary);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
}

.site-header.solid .pill {
  background: var(--primary);
  color: var(--primary-foreground);
}

.pill-outline {
  border: 1px solid color-mix(in oklch, var(--primary) 25%, transparent);
  color: var(--primary);
}

/* About page */
.about-top {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  padding-top: 4rem;
}

@media (min-width: 768px) {
  .about-top {
    grid-template-columns: 1fr 0.9fr;
    padding-top: 6rem;
  }
}

.about-top h1 {
  margin: 1.25rem 0 0;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1.18;
}

.lead {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  line-height: 1.75;
}

.about-top .tags {
  margin-top: 2rem;
}

.modalities-ornament {
  margin-top: 2rem;
  max-width: 28rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in oklch, var(--primary) 18%, transparent);
}

.modalities-label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: oklch(0.42 0.07 178);
}

.modalities-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.25rem;
}

.modalities-list li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--muted-foreground);
}

.modalities-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--primary) 55%, transparent);
}

.portrait {
  overflow: hidden;
  border-radius: 1.5rem;
}

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

.bio {
  max-width: 48rem;
  padding-top: 6.5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .bio {
    padding-top: 7.5rem;
    padding-bottom: 6rem;
  }
}

.bio-heading {
  margin: 0 0 1.5rem;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  line-height: 1.25;
  color: oklch(0.42 0.07 178);
}

.bio p {
  margin: 0 0 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.85;
}

.bio-license {
  margin: 2rem 0 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: color-mix(in oklch, var(--muted-foreground) 78%, transparent);
  line-height: 1.4;
}

.relocate {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 768px) {
  .relocate {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2.5rem;
  }
}

.relocate-img {
  overflow: hidden;
  border-radius: 1.25rem;
  width: min(100%, 21rem);
  max-width: 21rem;
  justify-self: start;
}

.about-relocate {
  margin-top: 2rem;
  padding: 3.75rem 0;
  background: color-mix(in oklch, var(--secondary) 80%, oklch(0.92 0.02 178));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.relocate-img img {
  display: block;
  width: 100%;
  max-width: 21rem;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.relocate h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  line-height: 1.3;
}

.relocate .text-cta {
  margin-top: 2.5rem;
}

.contact .text-cta {
  margin-top: 0.35rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn-row .pill {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.95rem 1.5rem;
  font-size: 0.72rem;
}

.btn-row .pill-outline {
  background: transparent;
  color: var(--primary);
}

.light-link {
  color: var(--primary-foreground);
  text-shadow: 0 1px 12px color-mix(in oklch, var(--primary) 55%, transparent);
}

.light-link:hover {
  opacity: 0.85;
}

.text-cta {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--primary);
  text-decoration: none;
}

.text-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.text-cta:hover::after,
.text-cta:focus-visible::after {
  transform: scaleX(1);
}

/* MLD section */
.mld-wrap {
  padding: 6.5rem 0 0;
}

.mld {
  display: grid;
  gap: 2.75rem;
  padding-bottom: 2.75rem;
}

.mld-head h2 {
  margin: 0;
  max-width: 48rem;
  font-size: var(--section-heading);
  line-height: 1.25;
}

.mld-deck {
  margin: 1rem 0 0;
  max-width: 40rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  color: oklch(0.42 0.07 178);
}

.mld-intro {
  display: grid;
  gap: 1.5rem;
}

.mld-explain {
  margin: 0;
  max-width: 40rem;
}

.mld-expertise {
  margin: -1rem 0 0;
  max-width: 40rem;
}

.mld-callout {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in oklch, var(--foreground) 12%, transparent);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
  color: oklch(0.42 0.07 178);
}

@media (min-width: 900px) {
  .mld {
    gap: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .mld-expertise {
    margin-top: -1.35rem;
  }

  .mld-intro {
    grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.85fr);
    gap: 2.75rem;
    align-items: start;
  }

  .mld-explain {
    max-width: none;
  }

  .mld-callout {
    padding-top: 0;
    padding-left: 2.75rem;
    border-top: none;
    border-left: 1px solid color-mix(in oklch, var(--foreground) 12%, transparent);
  }

  .mld-keywords {
    padding: 4.5rem 0 5.5rem;
  }

  .mld-keywords .bullets li {
    font-size: 1.175rem;
  }
}

.mld-keywords {
  position: relative;
  margin-top: 0;
  padding: 3.75rem 0 4.75rem;
  border-top: 1px solid color-mix(in oklch, var(--foreground) 14%, transparent);
  text-align: center;
  background: var(--background);
}

.mld-keywords-inner {
  max-width: 42rem;
  margin-inline: auto;
}

.mld-keywords h3 {
  margin: 0 auto;
  max-width: 32rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.3;
}

.mld-keywords .bullets {
  margin: 2rem auto 0;
  max-width: 34rem;
  gap: 0.85rem 2.5rem;
  text-align: left;
}

.mld-keywords .bullets li {
  font-size: 1.1rem;
  line-height: 1.55;
}

.mld-keywords .bullets li::before {
  top: 0.65em;
  width: 7px;
  height: 7px;
}

/* Cupping training */

.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem 2rem;
}

.bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--primary) 60%, transparent);
}

.training-wrap {
  margin-top: 0;
  padding: 0;
  background:
    linear-gradient(
      145deg,
      color-mix(in oklch, var(--primary) 92%, white) 0%,
      var(--primary) 48%,
      color-mix(in oklch, var(--primary) 88%, black) 100%
    );
  color: var(--primary-foreground);
}

.training {
  display: grid;
  gap: 0;
}

.training-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 0 2.5rem;
}

.training-copy h2 {
  margin: 0;
  max-width: none;
  font-size: var(--section-heading);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.training-copy > p:not(.training-meta) {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  line-height: 1.75;
  opacity: 0.84;
  font-weight: 300;
}

.training-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 2rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid color-mix(in oklch, var(--primary-foreground) 18%, transparent);
  list-style: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  text-align: left;
}

.training-meta li {
  margin: 0;
  padding: 0;
}

.training-cta {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  align-self: flex-start;
  border: 1px solid color-mix(in oklch, var(--primary-foreground) 55%, transparent);
  padding: 0.95rem 1.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-foreground);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.training-cta:hover {
  background: var(--primary-foreground);
  border-color: var(--primary-foreground);
  color: var(--primary);
}

.training-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 3rem;
  min-height: 20rem;
}

.training-photo-box {
  position: relative;
  width: 100%;
  max-width: 28rem;
  min-height: 18rem;
  overflow: hidden;
  border-radius: 1rem;
  background: color-mix(in oklch, var(--primary) 65%, black);
}

.training-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: trainingCrossfade 20s ease-in-out infinite;
}

.training-slide-a {
  opacity: 1;
}

.training-slide-b {
  animation-delay: -10s;
}

@keyframes trainingCrossfade {
  0% {
    opacity: 1;
  }
  42% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  92% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .training {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    min-height: 32rem;
  }

  .training-copy {
    padding: 4.5rem 0;
  }

  .training-media {
    min-height: 100%;
    padding: 4.5rem 0;
    justify-content: flex-end;
  }

  .training-photo-box {
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    align-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .training-slide {
    animation: none;
  }

  .training-slide-a {
    opacity: 1;
  }

  .training-slide-b {
    opacity: 0;
  }
}

/* Contact page */
.contact-page {
  display: grid;
  gap: 3rem;
  align-items: start;
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.contact-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
}

.contact-aside {
  display: grid;
  gap: 1.75rem;
  margin-top: 3rem;
  align-items: start;
}

.contact-portrait {
  overflow: hidden;
  border-radius: 1.5rem;
  max-width: 16rem;
}

.contact-portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
}

.contact-direct .contact-link {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted-foreground);
  word-break: break-word;
}

.contact-direct .contact-link:hover {
  color: var(--primary);
  opacity: 1;
}

.contact-address {
  margin: 0.75rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid color-mix(in oklch, var(--foreground) 10%, transparent);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.contact-address a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-address a:hover {
  color: var(--primary);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: color-mix(in oklch, var(--secondary) 55%, var(--background));
}

.form-note {
  margin: 0 0 0.25rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-row {
  display: grid;
  gap: 1.25rem;
}

.field label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.optional {
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted-foreground);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--background);
  color: var(--foreground);
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 1.05rem;
  line-height: 1.4;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid color-mix(in oklch, var(--primary) 35%, transparent);
  outline-offset: 2px;
  border-color: color-mix(in oklch, var(--primary) 45%, var(--border));
}

.field textarea {
  resize: vertical;
  min-height: 10rem;
}

.form-submit {
  justify-self: start;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 1.6rem;
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.form-submit:hover {
  opacity: 0.85;
}

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

@media (min-width: 900px) {
  .contact-page {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
    padding-top: 5.5rem;
  }

  .contact-aside {
    grid-template-columns: 11.5rem minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
    max-width: 34rem;
  }

  .contact-portrait {
    max-width: none;
  }

  .contact-direct {
    padding-left: 0.15rem;
  }

  .contact-form {
    padding: 2.5rem;
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Legal / policy pages */
.legal {
  max-width: 44rem;
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.legal h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.18;
}

.legal .updated {
  margin: 0 0 2.5rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.legal h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

.legal p,
.legal li {
  color: var(--muted-foreground);
  line-height: 1.8;
}

.legal ul {
  padding-left: 1.25rem;
}

.legal a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 640px) {
  .bullets {
    grid-template-columns: 1fr;
  }
}

/* Mobile polish */
@media (max-width: 767px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "logo book toggle"
      "nav nav nav";
    align-items: center;
    column-gap: 0.55rem;
    row-gap: 0;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .logo,
  .logo.dark {
    grid-area: logo;
    font-size: 1.12rem;
    line-height: 1.2;
    min-width: 0;
  }

  .header-book {
    grid-area: book;
    margin-left: 0;
    justify-self: end;
    padding: 0.62rem 0.95rem;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    grid-area: toggle;
  }

  .nav {
    grid-area: nav;
    display: grid;
    width: 100%;
    margin-left: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
      max-height 0.3s ease,
      opacity 0.25s ease,
      padding 0.25s ease;
  }

  .site-header.is-nav-open .nav {
    max-height: 16rem;
    opacity: 1;
    pointer-events: auto;
    padding: 0.85rem 0 0.35rem;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }

  .nav-link {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    padding: 0.85rem 0.15rem;
    margin: 0;
  }

  .hero-content {
    padding-top: 4.25rem;
    padding-bottom: 5.5rem;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 9.5vw, 2.7rem);
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .cards {
    margin-top: -3.25rem;
  }

  .card-body-compact {
    padding: 1.45rem 1.35rem 1.35rem;
  }

  .card-body-compact h2 {
    font-size: clamp(1.4rem, 6.5vw, 1.65rem);
  }

  .card-body-compact p {
    font-size: 0.98rem;
  }

  .contact-link {
    font-size: clamp(1.15rem, 5vw, 1.35rem);
  }

  .footer-inner {
    gap: 2rem;
  }

  .footer-meta {
    flex-wrap: wrap;
    width: 100%;
    gap: 1.5rem 2rem;
  }

  .footer-col {
    max-width: none;
    flex: 1 1 10rem;
  }

  .footer-col:last-child {
    margin-left: 0;
  }

  .footer-address,
  .footer-hours,
  .footer-schedule {
    font-size: 1rem;
  }

  .footer-end {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
  }

  .footer-nav {
    align-items: flex-start;
  }

  .footer-copy {
    margin-top: 0;
    padding-top: 0;
  }

  .reviews-head {
    margin-bottom: 1.75rem;
  }

  .approach-wrap {
    padding: 4rem 0;
  }

  .training-copy {
    padding: 3rem 0 2rem;
  }

  .contact-page {
    padding-top: 3.25rem;
    padding-bottom: 4rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .nav,
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    transition: none;
  }
}
