@layer site-base {
@media (max-width: 1279px) {
  .site-header nav > ul.nav-list {
    display: none;
  }

  .site-header .nav-mobile {
    display: block;
    position: relative;
  }
}
}
@layer site-theme {
:root {
  --accent: #ff7d5a;
  --accent-text: #263238;
  --background: #fffdf9;
  --text: #263238;
  --text-muted: #607274;
  --border: #f6e7b4;
  --surface: #fff4d0;
  --button-bg: #ff7d5a;
  --button-text: #263238;
  --shadow-color: #263238;
  --invert-bg: #263238;
  --invert-text: #fffdf9;
  --accent-2: #3eb489;
  --accent-2-text: #263238;
  --accent-3: #ffd84d;
  --accent-3-text: #263238;
  --success: #1f8f68;
  --error: #d9381e;
  --status-text: #ffffff;
  --font-heading: "Outfit", "Noto Sans", "Noto Sans Armenian", "Noto Sans Georgian", "Noto Sans Thai", "Noto Sans Hebrew", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans Bengali", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Figtree", "Noto Sans", "Noto Sans Armenian", "Noto Sans Georgian", "Noto Sans Thai", "Noto Sans Hebrew", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans Bengali", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-meta: "Outfit", "Noto Sans", "Noto Sans Armenian", "Noto Sans Georgian", "Noto Sans Thai", "Noto Sans Hebrew", "Noto Sans Arabic", "Noto Sans Devanagari", "Noto Sans Bengali", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-size-xs-value: 0.75rem;
  --font-size-xs: calc(var(--font-size-xs-value) * var(--k-font-size-xs));
  --font-size-sm-value: 0.875rem;
  --font-size-sm: calc(var(--font-size-sm-value) * var(--k-font-size-sm));
  --font-size-md-value: 1rem;
  --font-size-md: calc(var(--font-size-md-value) * var(--k-font-size-md));
  --font-size-lg-value: 1.125rem;
  --font-size-lg: calc(var(--font-size-lg-value) * var(--k-font-size-lg));
  --font-size-xl-value: 3rem;
  --font-size-xl: calc(var(--font-size-xl-value) * var(--k-font-size-xl));
  --font-size-2xl-value: 3.5rem;
  --font-size-2xl: calc(var(--font-size-2xl-value) * var(--k-font-size-2xl));
  --font-size-3xl-value: 4.2rem;
  --font-size-3xl: calc(var(--font-size-3xl-value) * var(--k-font-size-3xl));
  --space-1-value: 0.25rem;
  --space-1: calc(var(--space-1-value) * var(--k-space-1));
  --space-2-value: 0.5rem;
  --space-2: calc(var(--space-2-value) * var(--k-space-2));
  --space-3-value: 0.75rem;
  --space-3: calc(var(--space-3-value) * var(--k-space-3));
  --space-4-value: 1rem;
  --space-4: calc(var(--space-4-value) * var(--k-space-4));
  --space-5-value: 1.5rem;
  --space-5: calc(var(--space-5-value) * var(--k-space-5));
  --space-6-value: 2rem;
  --space-6: calc(var(--space-6-value) * var(--k-space-6));
  --space-7-value: 3rem;
  --space-7: calc(var(--space-7-value) * var(--k-space-7));
  --space-8-value: 6rem;
  --space-8: calc(var(--space-8-value) * var(--k-space-8));
  --radius: 2rem;
  --radius-button: 160px;
  --measure: 42rem;
  --gap: 2rem;
  --shadow-sm: 0 3px 0 0 color-mix(in srgb, var(--shadow-color) 14%, transparent);
  --shadow-md: 0 6px 0 0 color-mix(in srgb, var(--shadow-color) 15%, transparent);
  --shadow-lg: 0 10px 0 0 color-mix(in srgb, var(--shadow-color) 10%, transparent);
  --focus: var(--accent);
  --accent-ink: color-mix(in srgb, var(--accent) 68%, var(--text));
  --topbar-height: 2.75rem;
  --k-font-size-xs: 1;
  --k-font-size-sm: 1;
  --k-font-size-md: 1;
  --k-font-size-lg: 1;
  --k-font-size-xl: 1;
  --k-font-size-2xl: 1;
  --k-font-size-3xl: 1;
  --k-space-1: 1;
  --k-space-2: 1;
  --k-space-3: 1;
  --k-space-4: 1;
  --k-space-5: 1;
  --k-space-6: 1;
  --k-space-7: 1;
  --k-space-8: 1;
}
@media (max-width: 1023px) {
  :root {
    --k-font-size-lg: 0.95;
    --k-font-size-xl: 0.9;
    --k-font-size-2xl: 0.85;
    --k-font-size-3xl: 0.85;
    --k-space-5: 0.9;
    --k-space-6: 0.85;
    --k-space-7: 0.85;
    --k-space-8: 0.8;
  }
}
@media (max-width: 639px) {
  :root {
    --k-font-size-lg: 0.9;
    --k-font-size-xl: 0.85;
    --k-font-size-2xl: 0.78;
    --k-font-size-3xl: 0.7;
    --k-space-4: 0.9;
    --k-space-5: 0.8;
    --k-space-6: 0.75;
    --k-space-7: 0.7;
    --k-space-8: 0.65;
  }
}

/* --- Page: marshmallow, a sunshine selection --- */

::selection {
  background: var(--accent-3);
  color: var(--accent-3-text);
}

body {
  background-color: var(--background);
  font-size: var(--font-size-md);
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Not buttons: this layer sits above base.css, so a plain `a` here would beat the button colours (coral text on a
   coral button). */
a:not(.button) {
  color: var(--accent-ink);
}

main {
  padding-block: 0;
}

/* Archives and posts are not made of Sections: they take their own room above the footer. */
main > .blog-index,
main > .post-article {
  padding-block-end: var(--space-8);
}

/* A page made of Sections: bands meet edge to edge, the last one meets the footer. */
main > .block-section + .block-section {
  margin-block-start: 0;
}

main > .block-section:last-child {
  margin-block-end: 0;
}

/* --- Header: a coral ticker bar, then a sticky row with a pill menu --- */

/* A Section holding a header or footer bar takes no band padding (the bar has its own). */
.block-section:has(> .block-section-inner > .wrap) {
  padding-block: 0;
  border-bottom: 0;
}

/* The header holds a sticky Section, so base CSS gives .site-header no box of its own (display: contents): the
   sticky row carries the background, the border and the blur, or the page shows through it when scrolled. */
.site-header > .block-section.block-section-sticky {
  background: color-mix(in srgb, var(--background) 92%, transparent);
  border-bottom: 2px solid var(--border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.block-section.is-style-topbar {
  display: flex;
  align-items: center;
  min-height: var(--topbar-height);
  padding-block: var(--space-2);
  border-bottom: 0;
  background: var(--accent);
  color: var(--accent-text);
  font-size: var(--font-size-sm);
  font-weight: 700;
  line-height: 1.4;
}

.is-style-topbar .block-stack {
  gap: var(--space-1) var(--space-5);
}

.is-style-topbar .block-rich-text {
  font-size: inherit;
}

.is-style-topbar .block-rich-text p {
  margin: 0;
}

.is-style-topbar a {
  color: inherit;
  text-decoration: underline;
}

.is-style-topbar .badge {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.is-style-topbar .badge-dot {
  background: var(--background);
}

.is-style-topbar .block-stack .badge {
  padding: 0.125rem 0.75rem;
  background: color-mix(in srgb, var(--background) 30%, transparent);
  font-size: var(--font-size-xs);
  text-transform: none;
  letter-spacing: 0.03em;
}

@media (prefers-reduced-motion: no-preference) {
  .badge-dot {
    animation: sprout-ping 1.6s ease-in-out infinite;
  }
}

@keyframes sprout-ping {
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

.site-header-inner {
  flex-wrap: nowrap;
  gap: var(--space-5);
  min-height: 6rem;
  padding-block: var(--space-3);
}

.site-header-inner > .block-stack {
  align-items: center;
  gap: var(--space-3);
}

.site-header-inner > .block-stack .block-stack {
  gap: 0;
}

/* The logo tile when there is no logo image: a chunky rounded square in sunshine. */
.site-logo-tile {
  width: 3.5rem;
  border: 3px solid var(--text);
  border-radius: 1.25rem;
  background: var(--accent-3);
  box-shadow: 0 4px 0 0 color-mix(in srgb, var(--shadow-color) 15%, transparent);
  color: var(--accent-3-text);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  transition: transform 0.25s;
}

.site-header a:hover .site-logo-tile,
.site-logo-tile:hover {
  transform: rotate(6deg);
}

.site-logo {
  height: 3.5rem;
}

.site-name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.site-tagline {
  margin-block-start: 0.25rem;
  color: var(--accent-2);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav:not(.language-switcher) {
  display: flex;
  margin-inline: auto;
}

.site-header nav > ul {
  flex-wrap: nowrap;
  gap: var(--space-1);
  padding: var(--space-2);
  border: 2px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 50%, transparent);
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.site-header nav > ul a {
  display: block;
  padding: var(--space-2) var(--space-4);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.site-header nav > ul a:hover,
.site-header nav > ul a[aria-current='page'] {
  background: var(--background);
  color: var(--accent-ink);
  text-decoration: none;
}

.language-switcher {
  font-family: var(--font-heading);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.language-switcher a[aria-current] {
  color: var(--accent);
}

.site-header-inner > .block-button {
  flex-shrink: 0;
}

/* The row's own gap spaces the items: no flow margin between blocks (it pushed the second button down). */
.site-header-inner > .block {
  margin: 0;
}

@media (max-width: 767px) {
  .site-header-inner {
    gap: var(--space-4);
    min-height: 4.5rem;
  }

  .site-name {
    font-size: 1.375rem;
    white-space: nowrap;
  }

  .site-logo-tile {
    width: 3rem;
  }

  .site-logo {
    height: 3rem;
  }

  .block-grid.is-style-stickers,
  .block-section .block-grid.is-style-stickers {
    gap: var(--space-5);
  }

  /* The ticker bar keeps today's class and the phone line, centred; the age pill goes. */
  .is-style-topbar .block-stack {
    justify-content: center;
    text-align: center;
  }

  .is-style-topbar .block-stack .block-stack .badge {
    display: none;
  }

  .is-style-topbar .block-stack > .badge {
    border-radius: 1rem;
    white-space: normal;
  }

}

/* Below the menu collapse width the brand takes the free space, so the menu button sits with the buttons. */
@media (max-width: 1279px) {
  .site-header-inner > .block-stack {
    margin-inline-end: auto;
  }

  .site-header nav:not(.language-switcher) {
    margin-inline: 0;
  }
}

/* The mobile menu: a pill button and a chunky panel. */
.nav-mobile-toggle {
  padding: var(--space-2) var(--space-4);
  border: 2px solid var(--text);
  border-radius: 999px;
  background: var(--accent-3);
  color: var(--accent-3-text);
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 700;
}

.nav-mobile .nav-mobile-list {
  min-width: 14rem;
  padding: var(--space-2);
  border: 3px solid var(--text);
  border-radius: var(--radius);
  background: var(--background);
  box-shadow: var(--shadow-md);
}

.nav-mobile .nav-mobile-list a {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  opacity: 1;
}

.nav-mobile .nav-mobile-list a:hover,
.nav-mobile .nav-mobile-list a[aria-current='page'] {
  background: var(--surface);
  color: var(--accent);
}

/* --- Headings: rounded and bold --- */

.block-heading,
.post-title,
.blog-title,
.post-card-title,
.block-rich-text h2,
.block-rich-text h3,
.block-rich-text h4 {
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

h1.block-heading,
h1.post-title,
h1.blog-title {
  font-size: clamp(2.25rem, 6vw, var(--font-size-3xl));
  line-height: 1.1;
}

h2.block-heading {
  font-size: clamp(1.875rem, 4.5vw, var(--font-size-xl));
  line-height: 1.12;
}

h3.block-heading {
  font-size: 1.5rem;
  line-height: 1.25;
}

h4.block-heading {
  font-size: 1.125rem;
  line-height: 1.3;
}

.block-rich-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.block-rich-text h3 {
  font-size: 1.5rem;
  line-height: 1.25;
}

.block-rich-text li::marker {
  color: var(--accent);
}

/* `*phrase*` in a heading: a tilted marker label in sunshine with a slate outline and coral text. */
.block-heading em {
  display: inline-block;
  padding: 0.05em 0.3em;
  border: 2px solid var(--text);
  border-radius: 1.25rem;
  background: var(--accent-3);
  box-shadow: 0 5px 0 0 color-mix(in srgb, var(--shadow-color) 10%, transparent);
  /* Coral darkened toward the text colour sunshine carries: plain coral on sunshine is about 2:1. */
  color: color-mix(in srgb, var(--accent) 55%, var(--accent-3-text));
  font-style: normal;
  transform: rotate(-1deg);
}

.block-rich-text blockquote {
  padding-inline-start: var(--space-5);
  border-inline-start: 4px solid var(--accent-3);
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: 600;
}

/* --- Sections: yellow-ruled bands --- */

.block-section {
  padding-block: var(--space-8);
  border-bottom: 2px solid var(--border);
}

.block-section.is-style-surface {
  background: color-mix(in srgb, var(--surface) 55%, var(--background));
}

.block-section[data-tone='dark'] {
  color: var(--invert-text);
}

.block-section-inner > .block + .block-grid,
.block-section-inner > .block + .block-columns,
.block-section-inner > .block + .block-card {
  margin-block-start: var(--space-7);
}

.block-section .block-grid {
  gap: var(--space-6);
}

.block-section .block-columns {
  align-items: center;
  gap: var(--space-7) var(--space-6);
}

.block-columns-col > .block + .block {
  margin-block-start: var(--space-5);
}

.block-section-inner > .block-stack:first-child + .block {
  margin-block-start: var(--space-7);
}

/* Polka dots: two offset rows of dots over a wash of the surface colour. */
.block-section.is-style-polka {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--surface) 55%, var(--background));
  background-image:
    radial-gradient(color-mix(in srgb, var(--accent-3) 70%, transparent) 1.8px, transparent 1.8px),
    radial-gradient(color-mix(in srgb, var(--accent-2) 45%, transparent) 1.8px, transparent 1.8px);
  background-position:
    0 0,
    18px 18px;
  background-size: 36px 36px;
}

/* --- Buttons: bouncy pills with a hard shadow --- */

.button {
  padding: var(--space-3) var(--space-6);
  border: 2px solid var(--text);
  box-shadow: 0 5px 0 0 color-mix(in srgb, var(--shadow-color) 18%, transparent);
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s,
    background-color 0.2s;
}

.button:hover {
  filter: none;
  text-decoration: none;
  transform: translateY(-3px);
}

.button:active {
  box-shadow: 0 1px 0 0 color-mix(in srgb, var(--shadow-color) 18%, transparent);
  transform: translateY(3px);
}

.button-primary {
  border-color: var(--text);
}

.button-secondary {
  background: var(--background);
  color: var(--text);
}

.button-secondary:hover {
  background: var(--accent-3);
  color: var(--accent-3-text);
}

.site-header .button {
  padding: var(--space-2) var(--space-5);
  box-shadow: none;
}

.site-header .button-secondary {
  border-color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 14%, var(--background));
  font-size: var(--font-size-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header .button-secondary:hover {
  background: var(--accent-2);
  color: var(--accent-2-text);
}

.button-link {
  padding-inline: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--accent);
  text-decoration: none;
}

.button-link:hover {
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  transform: none;
}

.latest-posts-view-all {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* --- Cards: chunky outlines --- */

.block-card {
  border: 3px solid var(--text);
  border-radius: var(--radius);
  background: var(--background);
  box-shadow: none;
}

.block-card-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
}

.block-card-inner > .block {
  margin-block-start: 0;
}

.block-card .block-rich-text {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.block-card .block-rich-text p {
  margin: 0;
}

/* The shared variants, restated (this layer is above the base one): surface, muted, inverted, outlined and dots. */
.block-card.is-style-surface {
  background: var(--surface);
}

.block-card.is-style-muted {
  background: color-mix(in srgb, var(--text) 5%, var(--background));
  color: var(--text);
}

.block-card.is-style-inverted {
  background: var(--invert-bg);
  color: var(--invert-text);
}

.block-card.is-style-outlined {
  background: transparent;
}

.block-card.is-style-dots,
.block-section.is-style-dots {
  background-image: radial-gradient(color-mix(in srgb, var(--text) 14%, transparent) 1px, transparent 1px);
  background-size: 0.5rem 0.5rem;
}

/* Colour block: a pastel tint of sunshine, mint and coral in turn, lifting on hover. */
.block-card.is-style-tint {
  display: flex;
  flex-direction: column;
  --tint: var(--accent-3);
  background: color-mix(in srgb, var(--tint) 22%, var(--background));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.block-grid > .block-card.is-style-tint:nth-child(3n + 2),
.block-columns-col > .block-card.is-style-tint:nth-child(3n + 2) {
  --tint: var(--accent-2);
}

.block-grid > .block-card.is-style-tint:nth-child(3n),
.block-columns-col > .block-card.is-style-tint:nth-child(3n) {
  --tint: var(--accent);
}

.block-card.is-style-tint:hover {
  transform: translateY(-4px) scale(1.01);
}

.is-style-tint > .block-card-inner {
  flex: 1;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-6);
}

.is-style-tint > .block-card-inner > .block-stack:first-child {
  align-items: stretch;
  gap: var(--space-4);
}

.is-style-tint .block-heading {
  color: var(--text);
}

.is-style-tint .block-rich-text {
  color: var(--text-muted);
  line-height: 1.6;
}

.is-style-tint .badge {
  border: 2px solid var(--text);
  background: var(--background);
  color: var(--text);
}

/* Sticker frame: a plain card with a thick outline and a hard shadow; the picture sits inside a second outline. */
.block-card.is-style-sticker {
  border-width: 4px;
  box-shadow: var(--shadow-md);
}

.is-style-sticker > .block-card-inner {
  padding: var(--space-5);
}

.block-image {
  margin: 0;
}

.block-image img {
  display: block;
  width: 100%;
  border: 2px solid var(--text);
  border-radius: calc(var(--radius) * 0.8);
}

.block-image figcaption {
  margin-block-start: var(--space-3);
  color: var(--text);
  font-size: var(--font-size-sm);
  font-weight: 700;
}

.block-divider {
  border-color: var(--border);
}

/* Sticker row: two tilted tags under the photo. */
.block-grid.is-style-stickers,
.block-section .block-grid.is-style-stickers {
  gap: var(--space-3);
  margin-block-start: var(--space-5);
}

.is-style-stickers .badge {
  display: flex;
  justify-content: center;
  padding: var(--space-3) var(--space-4);
  border: 3px solid var(--text);
  border-radius: 1rem;
  background: var(--accent-3);
  box-shadow: var(--shadow-sm);
  color: var(--accent-3-text);
  font-family: var(--font-heading);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-3deg);
}

.is-style-stickers .block-badge:last-child .badge,
.is-style-stickers > :last-child .badge {
  background: var(--accent-2);
  color: var(--accent-2-text);
  transform: rotate(3deg);
}

/* Review note: a plain card that sits a little crooked, like a pinned sticker. */
.block-card.is-style-note {
  box-shadow: var(--shadow-md);
}

.block-grid > .block-card.is-style-note:nth-child(odd) {
  transform: rotate(-1deg);
}

.block-grid > .block-card.is-style-note:nth-child(even) {
  transform: rotate(1deg);
}

.is-style-note > .block-card-inner {
  height: 100%;
  justify-content: space-between;
}

.is-style-note .block-rich-text {
  color: var(--text);
  font-size: var(--font-size-md);
  font-weight: 600;
  line-height: 1.6;
}

.is-style-note .block-stack {
  gap: 0;
}

.is-style-note .block-rich-text.is-style-meta {
  color: var(--text-muted);
  font-size: var(--font-size-xs);
}

/* Plans: a calm card and a featured one in slate. */
.block-card.is-style-plan,
.block-card.is-style-plan-on {
  background: var(--background);
}

.block-card.is-style-plan-on {
  background: var(--invert-bg);
  color: var(--invert-text);
  box-shadow: var(--shadow-lg);
}

.is-style-plan > .block-card-inner,
.is-style-plan-on > .block-card-inner {
  height: 100%;
  gap: var(--space-5);
  padding: var(--space-7) var(--space-6);
}

.is-style-plan .block-stack,
.is-style-plan-on .block-stack {
  align-items: flex-start;
  gap: var(--space-1);
}

.is-style-plan-on .block-rich-text,
.is-style-plan-on .block-rich-text.is-style-meta {
  color: color-mix(in srgb, var(--invert-text) 75%, var(--invert-bg));
}

.is-style-plan-on .block-rich-text.is-style-eyebrow {
  border-color: var(--accent-3);
  background: var(--accent-3);
  color: var(--accent-3-text);
}

.block-card.is-style-plan-on .block-rich-text.is-style-price p {
  color: var(--invert-text);
}

.is-style-plan > .block-card-inner > .block-button,
.is-style-plan-on > .block-card-inner > .block-button {
  margin-block-start: auto;
}

.is-style-plan-on > .block-card-inner > .block-button .button {
  border-color: var(--invert-text);
}

/* --- Own text variants --- */

/* Pill label: a small coral-tinted capsule in capitals. */
.block-rich-text.is-style-eyebrow {
  display: inline-block;
  width: fit-content;
  padding: var(--space-1) var(--space-4);
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, var(--background));
  color: var(--text);
  font-family: var(--font-heading);
  font-size: var(--font-size-xs);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.block-rich-text.is-style-eyebrow p {
  margin: 0;
}

.block-card .block-rich-text.is-style-eyebrow {
  color: var(--text);
  font-size: var(--font-size-xs);
}

.block-rich-text.is-style-lead {
  max-width: 36rem;
  color: var(--text-muted);
  font-size: var(--font-size-lg);
  font-weight: 600;
  line-height: 1.6;
}

.block-rich-text.is-style-lead p {
  font-size: inherit;
  line-height: inherit;
}

.block-rich-text.is-style-meta {
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  font-weight: 700;
  line-height: 1.5;
}

.block-rich-text.is-style-meta p {
  margin: 0;
}

.block-card .block-rich-text.is-style-meta {
  font-size: var(--font-size-xs);
}

/* Icon tile: an emoji in a plain rounded square with an outline. */
.block-rich-text.is-style-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 2px solid var(--text);
  border-radius: 1rem;
  background: var(--background);
  box-shadow: var(--shadow-sm);
}

.block-rich-text.is-style-icon p,
.block-card .block-rich-text.is-style-icon p {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1;
}

/* Big price: a rounded coral figure (the darkened coral: plain coral is under 3:1 on the light page). */
.block-rich-text.is-style-price p,
.block-card .block-rich-text.is-style-price p {
  margin: 0;
  color: var(--accent-ink);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.is-style-plan .block-rich-text.is-style-price p,
.is-style-plan-on .block-rich-text.is-style-price p {
  font-size: 3.5rem;
  line-height: 1;
}

/* Big figure: a bold rounded number. */
.block-rich-text.is-style-figure p,
.block-card .block-rich-text.is-style-figure p {
  margin: 0;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.is-style-slot .block-rich-text.is-style-figure p {
  font-size: var(--font-size-sm);
  color: var(--text);
}

.block-rich-text.is-style-stars p {
  margin: 0;
  color: var(--accent-3);
  font-size: var(--font-size-lg);
  letter-spacing: 0.1em;
  -webkit-text-stroke: 1px var(--text);
}

/* Tick list: mint round ticks. */
.block-rich-text.is-style-checks ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.is-style-checks li {
  display: flex;
  gap: var(--space-3);
  margin: 0;
  padding-block: var(--space-2);
  color: var(--text);
  font-weight: 700;
}

.is-style-checks li::before {
  content: '\2713';
  display: grid;
  flex: none;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent-2);
  color: var(--accent-2-text);
  font-size: var(--font-size-xs);
  font-weight: 800;
}

.is-style-checks li p {
  margin: 0;
}

/* Schedule row: a time tile, the class and its spots, tinted in turn. */
.block-stack.is-style-slot {
  --tint: var(--accent-3);
  width: 100%;
  gap: var(--space-4) var(--space-5);
  padding: var(--space-4) var(--space-5);
  border: 2px solid var(--text);
  border-radius: 1.5rem;
  background: color-mix(in srgb, var(--tint) 22%, var(--background));
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.block-stack > .block-stack.is-style-slot:nth-child(3n + 2) {
  --tint: var(--accent);
}

.block-stack > .block-stack.is-style-slot:nth-child(3n) {
  --tint: var(--accent-2);
}

/* On a phone the row's parts stack, left-aligned. */
@media (max-width: 899px) {
  .block-stack.is-style-slot {
    flex-direction: column;
    align-items: flex-start;
  }

  .block-stack.is-style-slot > .block-stack {
    align-items: flex-start;
  }
}

/* From laptop width the four parts sit in fixed columns, so the rows line up under each other. */
@media (min-width: 900px) {
  .block-stack.is-style-slot {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr) 11rem auto;
    align-items: center;
  }

  .block-stack.is-style-slot > .block-stack:nth-child(2) {
    align-items: flex-start;
  }

  .block-stack.is-style-slot > .block-stack:nth-child(3) {
    align-items: flex-end;
    text-align: end;
  }
}

.block-stack.is-style-slot:hover {
  transform: translateY(-3px);
}

.is-style-slot .block-heading {
  font-size: 1.125rem;
}

.is-style-slot .block-rich-text {
  line-height: 1.4;
}

.is-style-slot .badge {
  border: 1px solid var(--text);
  background: var(--background);
  color: var(--text);
  font-size: 0.625rem;
}

.block-stack.is-style-slot > .block-stack:first-child {
  min-width: 4rem;
  padding: var(--space-2);
  border: 2px solid var(--text);
  border-radius: 1rem;
  background: var(--background);
}

/* Spec row: a label and its value on one line under a rule. */
.block-stack.is-style-spec {
  width: 100%;
  gap: var(--space-1) var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 2px dashed var(--border);
  font-size: var(--font-size-sm);
}

.is-style-spec .block-rich-text {
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.is-style-spec .block-rich-text p {
  margin: 0;
}

/* Small amenity columns (icon, name, note) sit close together. */
.block-grid > .block-stack {
  gap: var(--space-2);
}

/* Card footer: sits at the bottom of its card under a rule. */
.block-stack.is-style-foot {
  width: 100%;
  margin-block-start: auto;
  padding-block-start: var(--space-5);
  border-top: 2px solid color-mix(in srgb, var(--text) 10%, transparent);
}

/* In a colour block the rate and the button stack, so six cards of different widths and rates line up. */
.is-style-tint .block-stack.is-style-foot {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

/* --- Badges: outlined pills --- */

.badge {
  border: 2px solid var(--text);
  background: var(--background);
  color: var(--text);
  font-family: var(--font-heading);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.tile {
  border: 2px solid var(--text);
  border-radius: 1rem;
  background: var(--accent-3);
  color: var(--accent-3-text);
  font-family: var(--font-heading);
  font-weight: 700;
}

.button .tile {
  border: 0;
  background: transparent;
  color: inherit;
}

.accordion-item {
  margin-block-end: var(--space-3);
  border: 2px solid var(--text);
  border-radius: 1.25rem;
  background: var(--background);
}

.accordion-item:first-child {
  border-top: 2px solid var(--text);
}

.accordion-title {
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.accordion-content {
  padding: 0 var(--space-5) var(--space-5);
}

.accordion-title::after {
  color: var(--accent);
}

/* --- Archives and posts --- */

.blog-header {
  padding-bottom: var(--space-5);
  border-bottom: 2px solid var(--border);
}

.blog-index,
.post-article {
  padding-block: var(--space-7) 0;
}

.post-article > .post-header,
.post-article > .post-body {
  max-width: var(--measure);
  margin-inline: auto;
}

.post-card {
  border: 3px solid var(--text);
  border-radius: var(--radius);
  background: var(--background);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.post-card-content {
  padding: var(--space-5);
}

.post-card-date,
.post-date {
  color: var(--accent-ink);
  font-family: var(--font-heading);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card-tag,
.post-tag {
  border: 1px solid var(--text);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-3) 30%, var(--background));
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
}

.pagination a {
  border: 2px solid var(--text);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.pagination a:hover {
  background: var(--accent-3);
  color: var(--accent-3-text);
}

.post-fields {
  padding-block: var(--space-4);
  border-block: 2px solid var(--border);
}

/* --- Forms: friendly labels, rounded outlined fields --- */

.form-field label {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: var(--font-size-sm);
  font-weight: 700;
}

.form-field input[type='text'],
.form-field input[type='email'],
.form-field input[type='tel'],
.form-field input[type='date'],
.form-field textarea,
.form-field select {
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--text);
  border-radius: 1rem;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

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

.block-form .button-primary,
.form-submit {
  width: 100%;
  justify-content: center;
  padding-block: var(--space-4);
}

.form-success {
  border: 2px solid var(--success);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--success) 14%, var(--background));
  color: var(--success);
  font-weight: 700;
}

.form-error {
  border: 2px solid var(--error);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--error) 12%, var(--background));
  color: var(--error);
  font-weight: 700;
}

/* --- Footer: slate, with the brand and the menu --- */

.site-footer {
  background: var(--invert-bg);
  color: var(--invert-text);
  padding-block: var(--space-7);
  font-size: var(--font-size-sm);
}

.site-footer .wrap {
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
}

.site-footer > .wrap:first-child {
  padding-block-end: var(--space-6);
  /* The rule as a background, so it ends with the content and not at the bar's side padding. */
  background: linear-gradient(
      color-mix(in srgb, var(--invert-text) 15%, transparent),
      color-mix(in srgb, var(--invert-text) 15%, transparent)
    )
    no-repeat center bottom / calc(100% - 2 * var(--gap)) 2px;
}

.site-footer > .wrap:last-child {
  padding-block-start: var(--space-5);
}

.site-footer > .wrap:first-child .block-stack {
  gap: var(--space-3);
}

.site-footer .site-logo-tile {
  width: 2.5rem;
  border-radius: 0.875rem;
  font-size: 1.25rem;
}

.site-footer .site-name {
  color: var(--invert-text);
  font-size: var(--font-size-lg);
}

.site-footer a {
  color: color-mix(in srgb, var(--invert-text) 80%, var(--invert-bg));
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-3);
}

.site-footer-nav ul {
  gap: var(--space-2) var(--space-6);
  font-family: var(--font-heading);
  font-weight: 600;
}

.site-footer-text {
  font-size: var(--font-size-xs);
}

}
