/* ==========================================================================
   SERENA — Therapy & Counseling Theme
   Design system + all component styles
   ==========================================================================
   Index
   01. Tokens
   02. Reset & base
   03. Typography & utilities
   04. Buttons & links
   05. Header & navigation
   06. Hero
   07. Trust strip
   08. Section heads
   09. Services
   10. Approach / About
   11. Testimonials carousel
   12. Booking
   13. FAQ
   14. Journal
   15. Footer
   16. Floating UI & motion
   17. Responsive
   18. Inner pages
   19. Hero slideshow (second home page)
   20. Entrance splash (first visit by default)
   ========================================================================== */

/* ==========================================================================
   01. TOKENS
   ========================================================================== */
:root {
  /* Surface */
  --ivory: #fcf9f4;
  --sand: #f4ede3;
  --sand-deep: #ece2d4;
  --white: #ffffff;

  /* Ink */
  --ink: #232e28;
  --ink-soft: #4a5751;
  --muted: #5f6d66;

  /* Sage */
  --sage-900: #6C6A60;
  --sage-800: #9c998a; /* #9c998a */
  --sage-700: #696b5c;
  --sage-500: #d1cebc;
  --sage-200: #cfdacd;
  --sage-100: #e5ebe4;
  --sage-50: #f1f4ef;

  /* Accent */
  --clay: #b97c57;
  --clay-soft: #e8cbb8;
  --clay-50: #f7ece3;

  /* Lines & shadows */
  --line: #e4dcd0;
  --line-soft: #efe8dd;

  /* Splash curtain: follows the page background unless the Customizer picks a colour */
  --splash-bg: var(--ivory);
  --shadow-sm: 0 2px 10px color-mix(in srgb, var(--ink) 5%, transparent);
  --shadow-md: 0 20px 44px -22px color-mix(in srgb, var(--ink) 30%, transparent);
  --shadow-lg: 0 44px 90px -46px color-mix(in srgb, var(--ink) 45%, transparent);

  /* Shape */
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --arch: 999px 999px 26px 26px;

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(68px, 8vw, 118px);

  /* Text on the dark bands and on the primary button, measured in inc/colors.php */
  --on-band: var(--ivory);
  --on-primary: var(--ivory);
  --on-primary-hover: var(--ivory);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
  --header-h: 84px;
}

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  background: var(--ivory);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

/*
 * Inline icons (Icon block and the icon helpers). The wrapper carries the
 * spacing, so it must never shrink to nothing inside a tight flex row.
 */
.serena-icon {
  display: inline-flex;
  flex: none;
  line-height: 0;
}

.serena-icon svg {
  width: 24px;
  height: 24px;
  max-width: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

address {
  font-style: normal;
}

::selection {
  background: var(--sage-200);
  color: var(--sage-900);
}

:focus-visible {
  outline: 2px solid var(--sage-700);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   03. TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.05rem);
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--sage-700);
}

p {
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  color: var(--clay-700);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow--light {
  color: var(--on-band);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--sage-800);
  color: var(--white);
  font-size: 0.85rem;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   04. BUTTONS & LINKS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--sage-800);
  color: var(--on-primary);
  box-shadow: 0 12px 26px -16px color-mix(in srgb, var(--sage-900) 90%, transparent);
}

.btn--primary:hover {
  background: var(--sage-900);
  color: var(--on-primary-hover);
  box-shadow: 0 18px 32px -16px color-mix(in srgb, var(--sage-900) 75%, transparent);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: color-mix(in srgb, var(--white) 50%, transparent);
}

.btn--ghost:hover {
  border-color: var(--sage-500);
  background: var(--white);
}

.btn--light {
  background: var(--ivory);
  color: var(--sage-900);
}

.btn--light:hover {
  background: var(--white);
}

.btn--sm {
  padding: 0.75rem 1.3rem;
  font-size: 0.84rem;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--sage-800);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  color: var(--sage-900);
  border-color: var(--sage-200);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   05. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ivory) 72%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--ivory) 95%, transparent);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px -24px color-mix(in srgb, var(--ink) 50%, transparent);
}

body.is-locked .site-header {
  background: var(--ivory);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--sage-800);
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand-mark img {
  width: 100%;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand-tagline {
  margin-top: 4px;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav-list a {
  position: relative;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-block: 6px;
  transition: color 0.25s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-list a:hover {
  color: var(--ink);
}

.nav-list a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Burger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--white) 60%, transparent);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav-toggle-bars i {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ==========================================================================
   06. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 84px) clamp(56px, 7vw, 96px);
  overflow: clip;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.hero-glow--sage {
  top: -18%;
  right: -8%;
  width: min(56vw, 720px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--sage-200) 55%, transparent), transparent 68%);
}

.hero-glow--clay {
  bottom: -30%;
  left: -16%;
  width: min(46vw, 560px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--clay-soft) 45%, transparent), transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(36px, 5vw, 84px);
}

.hero h1 {
  max-width: 15ch;
}

.hero-lead {
  max-width: 46ch;
  margin-top: 1.6rem;
  font-size: clamp(1rem, 1.12vw, 1.09rem);
  line-height: 1.78;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2.1rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
  margin-top: 2.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta li {
  position: relative;
  padding-left: 1.4rem;
}

.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sage-500);
  transform: translateY(-50%);
}

/* Visual */
.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 470px;
}

.hero-figure {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-lg);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
  transition: transform 1.2s var(--ease);
}

.hero-visual:hover .hero-figure img {
  transform: scale(1.03);
}

.hero-ring {
  position: absolute;
  inset: -22px -22px auto auto;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid var(--sage-200);
  border-radius: 50%;
  z-index: 0;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto auto -18px -18px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--sand);
  z-index: 0;
}

.hero-card {
  position: absolute;
  z-index: 2;
  left: -30px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 290px;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: color-mix(in srgb, var(--white) 94%, transparent);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
}

.hero-card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--sage-700);
}

.hero-card-icon svg {
  width: 21px;
  height: 21px;
}

.hero-card-title {
  color: var(--ink);
  font-size: 0.87rem;
  font-weight: 500;
  line-height: 1.35;
}

.hero-card-text {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage-500) 18%, transparent);
  flex: none;
}

/* ==========================================================================
   07. TRUST STRIP
   ========================================================================== */
.trust {
  border-block: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--white) 55%, transparent);
  padding-block: 1.35rem;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.4;
}

.trust-item svg {
  width: 21px;
  height: 21px;
  flex: none;
  color: var(--sage-500);
}

/* ==========================================================================
   08. SECTION HEADS
   ========================================================================== */
.section-head {
  margin-bottom: clamp(38px, 4.6vw, 62px);
}

.section-head--split {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
}

/* .section-head-aside p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
} */

.section-head-aside .link-arrow {
  margin-top: 1.2rem;
}

/* ==========================================================================
   09. SERVICES
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 1.6vw, 24px);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--sage-50) 90%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage-200);
  box-shadow: var(--shadow-md);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.4rem;
  border-radius: 16px;
  background: var(--sage-50);
  color: var(--sage-700);
  transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card:hover .service-icon {
  background: var(--sage-100);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: clamp(1.35rem, 1.7vw, 1.6rem);
  margin-bottom: 0.7rem;
}

.service-card p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--muted);
}

.card-meta {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-700);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
}

.card-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.3s var(--ease);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   10. APPROACH / ABOUT
   ========================================================================== */
.about {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--sand) 100%);
}

.about-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.about-visual {
  position: relative;
}

.about-figure {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--sand-deep);
  box-shadow: var(--shadow-md);
}

.about-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.about-ornament {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid var(--sage-200);
  z-index: 0;
}

.about-badge {
  position: absolute;
  right: -18px;
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: var(--sage-800);
  color: var(--ivory);
  box-shadow: var(--shadow-md);
}

.about-badge-number {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
}

.about-badge-label {
  font-size: 0.68rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-primary);
}

.about-copy h2 {
  margin-bottom: 1.4rem;
}

.about-copy > p {
  max-width: 54ch;
  margin-bottom: 1.1rem;
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.principle-list {
  margin-top: 2.2rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
}

.principle-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.4rem 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
}

.principle-number {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--sage-700);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

/* .principle-list h3 {
  font-size: 1.16rem;
  margin-bottom: 0.25rem;
}

.principle-list p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
} */

.about-signature {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.9rem;
}

.signature-script {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.85rem;
  color: var(--sage-800);
  line-height: 1;
}

.signature-meta {
  padding-left: 1.2rem;
  border-left: 1px solid var(--line);
  font-size: 0.74rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   11. TESTIMONIALS
   ========================================================================== */
.stories {
  background: var(--sand);
}

.stories-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(32px, 4vw, 52px);
}

.stories-head .eyebrow {
  justify-content: center;
}

.stories-head .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.carousel {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
}

.carousel-viewport {
  position: relative;
}

.carousel-track {
  display: grid;
}

.slide {
  grid-area: 1 / 1;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.65s var(--ease),
    visibility 0.55s var(--ease);
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.slide-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.6;
  color: var(--sage-500);
  opacity: 0.45;
  margin-bottom: 0.4rem;
}

.slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
}

.slide-author {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.9rem;
  text-align: left;
}

.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--sage-700);
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.avatar svg {
  width: 20px;
  height: 20px;
}

.slide-name {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

.slide-role {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.slide-role p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: clamp(28px, 3.4vw, 44px);
}

.carousel-btn,
.hero-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--sage-700) 22%, transparent);
  border-radius: 50%;
  color: var(--sage-800);
  background: transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.carousel-btn svg,
.hero-arrow svg {
  width: 18px;
  height: 18px;
}

.carousel-btn:hover,
.hero-arrow:hover {
  background: var(--white);
  border-color: var(--sage-200);
  transform: translateY(-1px);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* 24 x 44 hit area; the visible bar lives in ::after */
.dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 44px;
  border-radius: 999px;
}

.dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sage-700) 25%, transparent);
  transition: width 0.35s var(--ease), background-color 0.35s var(--ease);
}

.dot.is-active::after {
  width: 26px;
  background: var(--sage-700);
}

.carousel-note {
  margin-top: 1.6rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.85;
}

/* ==========================================================================
   12. BOOKING
   ========================================================================== */
.booking {
  position: relative;
  background: var(--ivory);
  overflow: hidden;
}

.booking-bg {
  position: absolute;
  inset: 0;
  background: url("../../assets/images/booking-landscape.jpg") center / cover no-repeat;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}

.booking-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3.5vw, 56px);
  padding: clamp(30px, 4vw, 56px);
  border-radius: 34px;
  background: var(--sage-900);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.booking-card::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sage-500) 28%, transparent), transparent 65%);
  pointer-events: none;
}

.booking-copy {
  position: relative;
  color: var(--on-band);
  align-self: center;
}

.booking-copy h2 {
  color: var(--on-band);
  margin-bottom: 1.1rem;
}

.booking-copy > p {
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.8;
}

.steps {
  margin-top: 2rem;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid color-mix(in srgb, var(--on-band) 20%, transparent);
  font-size: 0.92rem;
  color: var(--on-band);
}

.steps li span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--on-band);
  letter-spacing: 0.06em;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 2.2rem;
}

.booking-email {
  font-size: 0.83rem;
  color: var(--on-band);
  border-bottom: 1px solid color-mix(in srgb, var(--on-band) 45%, transparent);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.booking-email:hover {
  color: var(--on-band);
  border-color: var(--on-band);
  text-decoration: underline;
}

/* ==========================================================================
   13. FAQ
   ========================================================================== */
.faq-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.faq-head-note {
  max-width: 34ch;
  margin-top: 1.2rem;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--muted);
}

.faq-head .link-arrow {
  margin-top: 1.4rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-title {
  margin: 0;
  font-family: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: normal;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  text-align: left;
  transition: color 0.25s var(--ease);
}

.faq-question:hover {
  color: var(--sage-700);
}

.faq-icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.4px;
  background: var(--sage-700);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon {
  background: var(--sage-800);
  border-color: var(--sage-800);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: var(--ivory);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 3rem 1.5rem 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--muted);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.faq-item.is-open .faq-answer-inner p {
  opacity: 1;
}

/* ==========================================================================
   14. JOURNAL
   ========================================================================== */
.journal {
  background: var(--ivory);
  border-top: 1px solid var(--line-soft);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}

.post-card {
  display: flex;
  flex-direction: column;
}

.post-media {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
}

.post-media img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.post-media:empty {
  display: none;
}

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

.post-body {
  padding-top: 1.2rem;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-cat {
  color: var(--sage-700);
  font-weight: 500;
}

.post-read {
  white-space: nowrap;
}

.post-card h3 {
  margin-top: 0.6rem;
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  line-height: 1.25;
}

.post-card h3 a {
  transition: color 0.25s var(--ease);
}

.post-card h3 a:hover {
  color: var(--sage-700);
}

.post-excerpt {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--sage-900);
  color: var(--on-band);
  padding-top: clamp(52px, 6vw, 82px);
  font-size: 0.88rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.brand--footer {
  color: var(--on-band);
}

.brand--footer .brand-name {
  color: var(--on-band);
}

.brand--footer .brand-tagline {
  color: var(--on-band);
}

.footer-tagline {
  max-width: 34ch;
  margin-top: 1.3rem;
  line-height: 1.75;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.social-list a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--on-band) 28%, transparent);
  border-radius: 50%;
  color: var(--on-band);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.social-list svg {
  width: 17px;
  height: 17px;
}

.social-list a:hover {
  background: color-mix(in srgb, var(--on-band) 12%, transparent);
  border-color: color-mix(in srgb, var(--on-band) 45%, transparent);
  color: var(--on-band);
  transform: translateY(-2px);
}

.footer-heading {
  margin-bottom: 1.1rem;
  color: var(--on-band);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--on-band);
  text-decoration: underline;
}

.footer-address {
  display: grid;
  gap: 0.55rem;
  line-height: 1.7;
}

.footer-hours {
  margin-top: 1rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--on-band);
}

.footer-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--sage-200) 14%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--sage-200) 14%, transparent);
}

.footer-note svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--sage-500);
  margin-top: 2px;
}

.footer-note p {
  max-width: 88ch;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--on-band);
}

.footer-note strong {
  color: var(--on-band);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  font-size: 0.76rem;
  color: var(--on-band);
}

.footer-legal {
  display: flex;
  gap: 1.4rem;
}

.footer-legal a:hover {
  color: var(--on-band);
  text-decoration: underline;
}

/* ==========================================================================
   16. FLOATING UI & MOTION
   ========================================================================== */
.to-top {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-800);
  color: var(--ivory);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s var(--ease), background-color 0.25s var(--ease);
}

.to-top svg {
  width: 18px;
  height: 18px;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--sage-900);
  transform: translateY(-2px);
}

/* Reveal on scroll (only when JS is available) */
.js [data-reveal],
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js [data-reveal].is-revealed,
.js .reveal.is-revealed {
  opacity: 1;
  transform: none;
}

.remove-top-padding{
  padding-top: 0;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal],
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   17. RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  :root {
    --header-h: 76px;
  }

  .hero-inner {
    grid-template-columns: 1fr 0.88fr;
    gap: 36px;
  }

  .hero-card {
    left: -14px;
  }

  .booking-card {
    grid-template-columns: 1fr;
  }


  .faq-inner {
    grid-template-columns: 1fr;
  }

  .faq-head {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 1.4rem var(--gutter) 2.4rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
      visibility 0.3s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list li {
    border-bottom: 1px solid var(--line-soft);
  }

  .nav-list a {
    display: block;
    padding-block: 0.95rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--ink);
  }

  .nav-list a::after {
    display: none;
  }

  .nav-cta {
    display: block;
    margin-top: 1.4rem;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .header-actions > .btn {
    display: none;
  }

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

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-visual {
    justify-self: start;
    max-width: 440px;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .hero-card {
    left: auto;
    right: -8px;
    bottom: 20px;
  }

  .trust-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.6rem;
  }

  .section-head--split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.4rem;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    max-width: 440px;
  }

  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-grid > .post-card:last-child {
    display: none;
  }
}

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

  .booking-card {
    border-radius: 26px;
  }







  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-grid > .post-card:last-child {
    display: flex;
  }
}

@media (max-width: 560px) {
  :root {
    --section-y: 56px;
  }

  .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .hero-meta {
    gap: 0.4rem 1rem;
    font-size: 0.7rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 16px;
    margin-inline: 8px;
  }

  .hero-visual::before,
  .hero-ring {
    display: none;
  }

  .trust-list {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .about-badge {
    right: 0;
    bottom: 16px;
    padding: 0.8rem 1rem;
  }

  .about-badge-number {
    font-size: 1.6rem;
  }

  .principle-list li {
    grid-template-columns: 40px 1fr;
  }

  .booking-card {
    padding: 24px 20px;
  }







  .faq-answer-inner p {
    padding-right: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .to-top {
    display: none;
  }
}

/* ==========================================================================
   18. INNER PAGES
   ========================================================================== */

/* Current page in the primary nav */
.nav-list a[aria-current="page"] {
  color: var(--ink);
}

.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 1.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li + li::before {
  content: "/";
  color: var(--line);
}

.breadcrumbs a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  padding-block: 4px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--sage-800);
  border-color: var(--sage-200);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink-soft);
}

/* Page hero */
.page-hero {
  padding-block: clamp(18px, 2.4vw, 28px) clamp(38px, 4.6vw, 62px);
  border-bottom: 1px solid var(--line-soft);
  background: var(--ivory);
}

.page-hero h1 {
  max-width: 22ch;
  margin-top: 0.5rem;
}

.page-hero .lead {
  max-width: 56ch;
  margin-top: 1.2rem;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.78;
  color: var(--ink-soft);
}

.page-hero--center {
  text-align: center;
}

.page-hero--center h1,
.page-hero--center .lead {
  margin-inline: auto;
}

.page-hero--center .eyebrow {
  justify-content: center;
}

/* Page body + two-column layout */
.section--flush-top {
  padding-top: 0;
}

.hint {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-body {
  padding-block: var(--section-y);
}

.layout-split {
  display: grid;
  grid-template-columns: minmax(0, 660px) 340px;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.aside-stack {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 20px;
}

/* Long-form prose */
.prose {
  max-width: 66ch;
}

.prose > * + * {
  margin-top: 1.15rem;
}

.prose h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
}

.prose h3 {
  margin-top: 1.8rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

.prose p,
.prose li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  display: grid;
  gap: 0.55rem;
  padding-left: 1.15rem;
}

.prose ul {
  list-style: none;
  padding-left: 0;
}

.prose ul li {
  position: relative;
  padding-left: 1.1rem;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage-500);
}

.prose ol {
  list-style: decimal;
}

.prose ol li::marker {
  color: var(--sage-700);
  font-weight: 500;
}

.prose a {
  color: var(--sage-800);
  border-bottom: 1px solid var(--sage-200);
  transition: border-color 0.25s var(--ease);
}

.prose a:hover {
  border-color: var(--sage-800);
}

.prose strong {
  color: var(--ink);
  font-weight: 500;
}

.prose blockquote {
  margin-top: 2rem;
  padding: 0.2rem 0 0.2rem 1.4rem;
  border-left: 1px solid var(--sage-500);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink);
}

.prose hr {
  margin-top: 2.4rem;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose figure {
  margin-top: 2rem;
}

.prose figcaption {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.prose .lead-in {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink);
}

/* Definition rows */
.info-list {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.info-list > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.6fr) 1fr;
  gap: 0.5rem 1.4rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line-soft);
}

.info-list dt {
  padding-top: 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-list dd {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.info-list dd strong {
  color: var(--ink);
  font-weight: 500;
}

/* Aside cards */
.aside-card {
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.aside-card h2,
.aside-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.aside-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

.aside-card .btn {
  width: 100%;
  margin-top: 1.1rem;
}

.aside-card--tint {
  background: var(--sage-50);
  border-color: var(--sage-100);
}

.toc {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: var(--sand);
}

.toc h2 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-700);
}

.toc ol {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.toc li {
  font-size: 0.88rem;
  line-height: 1.5;
}

.toc a {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.toc a:hover {
  color: var(--sage-800);
  border-color: var(--sage-200);
}

/* Callout */
.callout {
  display: flex;
  gap: 0.9rem;
  margin-top: 2rem;
  padding: 1.2rem 1.35rem;
  border-radius: var(--radius);
  background: var(--sage-50);
  border-left: 2px solid var(--sage-500);
}

.callout svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--sage-700);
}

.callout p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.callout strong {
  color: var(--ink);
  font-weight: 500;
}

.callout--warn {
  background: var(--clay-50);
  border-left-color: var(--clay);
}

.callout--warn svg {
  color: var(--clay-700);
}

/* Closing CTA band */
.page-cta {
  padding-block: clamp(52px, 6.5vw, 88px);
  background: var(--sage-900);
  color: var(--on-band);
  text-align: center;
}

.page-cta h2 {
  max-width: 24ch;
  margin-inline: auto;
  color: var(--on-band);
}

.page-cta p {
  max-width: 46ch;
  margin: 1rem auto 0;
  font-size: 0.95rem;
  line-height: 1.75;
}

.page-cta .btn {
  margin-top: 1.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* The closing CTA can be recoloured per page in Elementor. The colour belongs on
   the link itself, so the wrapper must not paint a second pill behind it. */
.page-cta .btn > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--sage-900);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: filter 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-cta .btn > a:hover {
  filter: brightness(0.97);
}

.page-cta .cta-meta {
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-band);
}

/* Journal index */
.feature-post {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-bottom: clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}

.feature-post .post-media {
  aspect-ratio: 16 / 10;
}

.feature-post h2 {
  margin-top: 0.7rem;
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
}

.feature-post p {
  margin-top: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
}

.feature-post .link-arrow {
  margin-top: 1.3rem;
}

.journal-index {
  margin-top: clamp(36px, 4.6vw, 60px);
}

/* Single article */
.article-head {
  padding-block: clamp(18px, 2.4vw, 28px) clamp(26px, 3.4vw, 42px);
}

.article-head h1 {
  max-width: 26ch;
  margin-top: 0.7rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 1.2rem;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.article-figure {
  margin-top: clamp(24px, 3.2vw, 38px);
}

.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.article-figure figcaption {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.article-body {
  padding-block: clamp(34px, 4.4vw, 54px);
}

.author-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-top: 2.6rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.author-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: var(--sage-50);
  color: var(--sage-800);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.author-card strong {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.author-card p {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 2.4rem;
}

.post-nav a {
  display: block;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.post-nav a:hover {
  border-color: var(--sage-200);
  background: var(--white);
}

.post-nav span {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-nav strong {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}

.related {
  padding-block: var(--section-y);
  border-top: 1px solid var(--line-soft);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.map-figure {
  position: relative;
  margin-top: 1.8rem;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--sage-50), var(--sand));
}

.map-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.6;
}

.map-pin {
  position: absolute;
  top: 42%;
  left: 46%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-800);
  color: var(--ivory);
  box-shadow: var(--shadow-md);
}

.map-pin svg {
  width: 20px;
  height: 20px;
}

.map-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  font-size: 0.72rem;
  color: var(--ink-soft);
}

/* Forms */
.form {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.8rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

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

.field label {
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--sage-200);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 0;
  border-color: var(--sage-700);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage-700) 16%, transparent);
}

.field .hint {
  font-size: 0.76rem;
  color: var(--muted);
}

.field-error {
  font-size: 0.78rem;
  color: var(--clay-700);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--clay-700);
}

.form-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.form-check input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  accent-color: var(--sage-700);
}

.form-status {
  display: none;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: var(--sage-50);
  border-left: 2px solid var(--sage-700);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.form-status.is-visible {
  display: block;
}

.form-status a {
  color: var(--sage-800);
  border-bottom: 1px solid var(--sage-200);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: clamp(32px, 4vw, 52px);
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding-inline: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.pagination a:hover {
  border-color: var(--sage-200);
  background: var(--white);
}

.pagination [aria-current="page"] {
  background: var(--sage-800);
  border-color: var(--sage-800);
  color: var(--ivory);
}

/* 404 */
.error-page {
  display: grid;
  place-items: center;
  padding-block: clamp(64px, 10vw, 140px);
  text-align: center;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1;
  color: var(--sage-200);
}

.error-page h1 {
  margin-top: 0.6rem;
}

.error-page .lead {
  max-width: 44ch;
  margin: 1rem auto 0;
  color: var(--muted);
}

.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* Inner page responsiveness */
@media (max-width: 1080px) {
  .layout-split {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 900px) {
  .layout-split {
    grid-template-columns: 1fr;
  }

  .aside-stack {
    position: static;
  }

  .toc {
    display: none;
  }

  .feature-post,
  .contact-grid,
  .post-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .info-list > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* ==========================================================================
   19. HERO SLIDESHOW (second home page)
   ========================================================================== */

.hero-slides {
  display: grid;
}

.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease),
    visibility 0.7s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* Slides 2–3 use h2 to keep a single h1 per page; scale stays identical */
.hero--slider .hero-title {
  max-width: 15ch;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.2rem;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero-count {
  margin-inline: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.hero-pause {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--sage-700) 22%, transparent);
  border-radius: 50%;
  color: var(--sage-800);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hero-pause:hover {
  background: var(--white);
  border-color: var(--sage-200);
}

.hero-pause svg {
  width: 14px;
  height: 14px;
}

.hero-pause .icon-play {
  display: none;
}

.hero-pause[aria-pressed="true"] .icon-pause {
  display: none;
}

.hero-pause[aria-pressed="true"] .icon-play {
  display: block;
}

@media (max-width: 900px) {
  .hero--slider .hero-title {
    max-width: 18ch;
  }
}

/* ==========================================================================
   20. ENTRANCE SPLASH (first visit by default)
   Two ivory panels part like a curtain. The mark draws itself, the name rises,
   and the whole thing leaves on click, on any key or when the hold set in the
   Customizer runs out.
   ========================================================================== */
.splash {
  display: none;
}

html.has-splash.is-splashing {
  overflow: hidden;
}

html.has-splash .splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: block;
}

.splash.is-leaving {
  pointer-events: none;
}

.splash-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background: var(--splash-bg);
  transition: transform 0.9s var(--ease);
  will-change: transform;
}

.splash-panel--left {
  left: 0;
}

.splash-panel--right {
  right: 0;
}

.splash.is-leaving .splash-panel--left {
  transform: translateX(-101%);
}

.splash.is-leaving .splash-panel--right {
  transform: translateX(101%);
}

.splash-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.splash.is-leaving .splash-content {
  opacity: 0;
  transform: translateY(-8px);
}

.splash-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.splash-mark {
  width: 64px;
  height: 64px;
  color: var(--sage-800);
  animation: splash-logo 0.55s var(--ease) 0.10s forwards;
  transform: scale(0);
}

.splash-ring {
  stroke-dasharray: 117;
  stroke-dashoffset: 117;
  animation: splash-draw 1s var(--ease) 0.05s forwards;
}

.splash-stem {
  stroke-dasharray: 15;
  stroke-dashoffset: 15;
  animation: splash-draw 0.5s var(--ease) 0.55s forwards;
}

.splash-leaf {
  opacity: 0;
  transform: scale(0.86);
  transform-origin: 20px 31px;
  animation: splash-leaf 0.55s var(--ease) 0.72s forwards;
}

.splash-leaf--right {
  fill: var(--sage-700);
}

.splash-leaf--left {
  fill: var(--sage-500);
  animation-delay: 0.84s;
}

.splash-word {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
  opacity: 0;
  animation: splash-rise 0.7s var(--ease) 0.5s forwards;
}

.splash-tagline {
  margin-top: 0.45rem;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: splash-rise 0.7s var(--ease) 0.62s forwards;
}

.splash-dots {
  display: flex;
  gap: 6px;
  margin-top: 1.7rem;
  opacity: 0;
  animation: splash-fade 0.4s var(--ease) 0.8s forwards;
}

.splash-dots i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage-500);
  animation: splash-pulse 1.2s var(--ease) infinite;
}

.splash-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.splash-dots i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes splash-logo {
  from {
    transform: scale(0.10);
  }
  to {
    transform: scale(1);
  }
}

@keyframes splash-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes splash-leaf {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes splash-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes splash-fade {
  to {
    opacity: 1;
  }
}

@keyframes splash-pulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

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

  .splash-dots i {
    animation: none;
    opacity: 0.6;
  }

  .splash-leaf,
  .splash-word,
  .splash-tagline,
  .splash-dots {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   21. BLOCK THEME BRIDGE
   WordPress wrappers, core block output, and the small deltas needed so the
   visual contract in /preview survives inside the block editor.
   ========================================================================== */

.wp-site-blocks {
  padding: 0;
}

.site-main {
  display: block;
}

.wp-block-group {
  margin-block: 0;
}

/* Site identity */
.brand .wp-block-site-title,
.brand .wp-block-site-title a {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand .wp-block-site-tagline {
  margin: 4px 0 0;
  font-size: 0.58rem;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand--footer .wp-block-site-title,
.brand--footer .wp-block-site-title a,
.brand--footer .wp-block-site-tagline {
  color: inherit;
}

/* Buttons: theme.json styles the link, so the wrapper must stay neutral. */
.wp-block-button.btn {
  display: inline-flex;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.wp-block-button.btn:hover {
  transform: none;
  background: none;
  box-shadow: none;
}

.wp-block-button.btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.wp-block-button.btn:hover .wp-block-button__link {
  transform: translateY(-2px);
}

.wp-block-button.btn--ghost .wp-block-button__link {
  background: color-mix(in srgb, var(--white) 55%, transparent);
  border: 1px solid var(--line);
  color: var(--ink);
}

.wp-block-button.btn--ghost:hover .wp-block-button__link {
  background: var(--white);
  color: var(--sage-900);
}

.wp-block-button.btn--light .wp-block-button__link {
  background: var(--ivory);
  color: var(--sage-900);
}

.wp-block-button.btn--light:hover .wp-block-button__link {
  background: var(--white);
  color: var(--sage-900);
}

.wp-block-button.btn--primary .wp-block-button__link {
  background: var(--sage-800);
  color: var(--on-primary);
  box-shadow: 0 12px 26px -16px color-mix(in srgb, var(--sage-900) 90%, transparent);
}

.wp-block-button.btn--primary:hover .wp-block-button__link {
  background: var(--sage-900);
  color: var(--on-primary-hover);
  box-shadow: 0 18px 32px -16px color-mix(in srgb, var(--sage-900) 75%, transparent);
}

.wp-block-button.btn--sm .wp-block-button__link {
  padding: 0.75rem 1.3rem;
  font-size: 0.82rem;
}

.btn--arrow .wp-block-button__link::after,
.link-arrow:not(:has(svg))::after,
.card-link:not(:has(svg))::after {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 5l5 5-5 5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h11M11 5l5 5-5 5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s var(--ease);
}

.btn--arrow:hover .wp-block-button__link::after,
.link-arrow:hover::after,
.card-link:hover::after {
  transform: translateX(4px);
}

/* Header actions are wrapped in core/buttons. */
.header-actions .wp-block-buttons,
.nav-cta .wp-block-buttons {
  display: flex;
  margin: 0;
}

.nav-cta .wp-block-button,
.nav-cta .wp-block-button__link {
  width: 100%;
}

/* Query loops: core adds an inner post-template list. */
.wp-block-query.post-grid {
  display: block;
}

.post-grid > .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-grid > .wp-block-post-template > .wp-block-post,
.service-index > .wp-block-post-template > .wp-block-post {
  min-width: 0;
}

.carousel-track {
  grid-template-columns: 1fr;
  gap: 0;
}

.carousel-track > .wp-block-post {
  min-width: 0;
}

.carousel-track .wp-block-post-content {
  text-align: center;
}

.carousel-track .wp-block-post-content p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--ink);
  max-width: 42ch;
  margin-inline: auto;
}

.carousel-track .wp-block-post-featured-image {
  display: none;
}

/* Native Details blocks replace the preview's button accordion. */
details.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  text-align: left;
  list-style: none;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

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

details.faq-item > summary:hover {
  color: var(--sage-700);
}

details.faq-item > summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(var(--sage-700), var(--sage-700)) center / 11px 1.4px no-repeat,
    linear-gradient(var(--sage-700), var(--sage-700)) center / 1.4px 11px no-repeat;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

details.faq-item[open] > summary::after {
  border-color: var(--sage-800);
  background-color: var(--sage-800);
  background-image:
    linear-gradient(var(--ivory), var(--ivory)),
    linear-gradient(var(--ivory), var(--ivory));
  transform: rotate(180deg);
}

details.faq-item > p {
  padding: 0 3rem 1.5rem 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--muted);
}

/* Booking integration. */
.booking-embed,
.booking-fallback {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 1rem;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid color-mix(in srgb, var(--on-band) 22%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--ivory) 6%, transparent);
  color: var(--on-band);
}

.booking-embed .btn,
.booking-fallback .btn {
  align-self: flex-start;
}

.booking-note {
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--on-band);
}

.booking-frame {
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}

.booking-frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

[hidden] {
  display: none !important;
}

/* Inner pages. */
.page-hero .wp-block-post-title {
  max-width: 22ch;
  margin-top: 0.5rem;
}

.page-hero .lead,
.page-hero .wp-block-post-excerpt {
  max-width: 56ch;
  margin-top: 1.2rem;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.78;
  color: var(--ink-soft);
}

.page-hero .wp-block-post-excerpt p {
  margin: 0;
}

.article-body .wp-block-image img,
.prose .wp-block-image img {
  border-radius: var(--radius);
}

.article-body > * + * {
  margin-top: 1.15rem;
}

.article-body h2 {
  margin-top: 2.4rem;
}

.article-body h3 {
  margin-top: 1.8rem;
}

.article-body p,
.article-body li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.article-body blockquote {
  margin: 2rem 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--sage-200);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
}

.article-body ul {
  display: grid;
  gap: 0.6rem;
}

.article-body ul li {
  position: relative;
  padding-left: 1.25rem;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-500);
}

.related {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: clamp(30px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.related-grid {
  margin-top: 1.6rem;
}

.service-fee {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-700);
}

/* Search and pagination. */
.wp-block-search__inside-wrapper {
  display: flex;
  gap: 0.6rem;
  padding: 0;
  border: 0;
}

.wp-block-search__input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

.wp-block-search__button {
  margin: 0;
}

.wp-block-query-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: clamp(32px, 4vw, 52px);
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.wp-block-query-pagination a:hover {
  border-color: var(--sage-200);
  color: var(--sage-800);
}

.wp-block-query-pagination .current {
  background: var(--sage-800);
  border-color: var(--sage-800);
  color: var(--ivory);
}

/* Editor: keep the same rhythm without the front-end animation. */
.editor-styles-wrapper .reveal,
.block-editor-block-list__layout .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .post-grid > .wp-block-post-template {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-grid > .wp-block-post-template > .wp-block-post:nth-child(3) {
    display: none;
  }

  .header-actions > .wp-block-buttons {
    display: none;
  }
}

@media (max-width: 720px) {
  .post-grid > .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .post-grid > .wp-block-post-template > .wp-block-post:nth-child(3) {
    display: block;
  }
}