:root {
  /* Native Burgundy public theme foundation. */
  --theme-page-background: #171719;
  --theme-header-background: #141416;
  --theme-hero-fallback: #202022;
  --theme-dark-section-background: #292a2c;
  --theme-surface-primary: #eadace;
  --theme-surface-alternate: #ead8cc;
  --theme-surface-elevated: #f1e2d7;
  --theme-text-on-dark: #f3e2da;
  --theme-text-muted-on-dark: #dccfc9;
  --theme-text-on-dark-soft: #fff5ef;
  --theme-text-on-dark-warm: #fff8f2;
  --theme-text-overlay-warm: #fffaf6;
  --theme-hero-heading: var(--theme-text-on-dark);
  --theme-hero-subtitle: var(--theme-text-muted-on-dark);
  --theme-heading-on-light: #241514;
  --theme-text-on-light: #33201d;
  --theme-text-on-light-soft: #4b332e;
  --theme-text-muted-on-light: #6f4b3a;
  --theme-text-muted-on-light-soft: #604b42;
  --theme-text-subtle-on-light: #6d5550;
  --theme-text-disabled-on-light: #5e4640;
  --theme-text-dialog-muted: #6b4538;
  --theme-text-muted-on-dark-soft: #c9b7ad;
  --theme-location-pill-text: #fdfdfd;
  --theme-primary: #5b1117;
  --theme-primary-hover: #741924;
  --theme-primary-strong: #8d0016;
  --theme-primary-dark-surface: #4d201f;
  --theme-primary-overlay: #5c1c2093;
  --theme-text-on-primary: #fff8f3;
  --theme-accent: #b58a70;
  --theme-accent-hover: #d7b299;
  --theme-accent-light: #efcfc0;
  --theme-icon-gold: #f3c58f;
  --theme-danger: #d95a61;
  --theme-danger-bright: #ef6f76;
  --theme-link: #00e;
  --theme-link-visited: rgb(107, 14, 200);
  --theme-header-rgb: 20, 20, 22;
  --theme-hero-overlay-rgb: 20, 20, 22;
  --theme-dark-section-rgb: 41, 42, 44;
  --theme-primary-rgb: 91, 17, 23;
  --theme-primary-strong-rgb: 128, 17, 26;
  --theme-accent-rgb: 181, 138, 112;
  --theme-accent-highlight-rgb: 221, 183, 158;
  --theme-accent-light-rgb: 239, 207, 192;
  --theme-surface-layer-rgb: 255, 248, 241;
  --theme-surface-bright-rgb: 255, 248, 243;
  --theme-surface-alternate-rgb: 234, 216, 204;
  --theme-surface-glow-rgb: 255, 252, 247;
  --theme-text-on-light-rgb: 51, 32, 29;
  --theme-heading-on-light-rgb: 36, 21, 20;
  --theme-heading-tint-rgb: 38, 21, 20;
  --theme-border-on-light-rgb: 94, 57, 45;
  --theme-text-dialog-muted-rgb: 107, 69, 56;
  --theme-deep-overlay-rgb: 14, 12, 13;
  --theme-night-overlay-rgb: 7, 7, 9;
  --theme-shadow-warm-rgb: 18, 11, 11;
  --theme-shadow-deep-warm-rgb: 9, 7, 8;
  --theme-focus-ring: var(--theme-accent-hover);
  --theme-focus-ring-rgb: var(--theme-primary-rgb);
  --theme-focus-ring-accent-rgb: var(--theme-accent-rgb);
  --theme-focus-ring-on-dark-rgb: var(--theme-accent-highlight-rgb);
  --theme-carousel-control: #fff;
  --theme-carousel-control-hover: rgba(255, 255, 255, 0.14);

  /* Transitional aliases retained for existing public components. */
  --color-bg: var(--theme-page-background);
  --color-header: var(--theme-header-background);
  --color-hero-bg: var(--theme-hero-fallback);
  --color-text: var(--theme-text-on-dark);
  --color-muted: var(--theme-text-muted-on-dark);
  --color-accent: var(--theme-accent);

  /*
   * Current Location pill text palette:
   * Champagne: #b58a70
   * Cream: #f3dfc8
   * White: #ffffff
   * Gold: #d8ad6a
   * Rose: #cf8f8f
   * Burgundy: #80111a
   */
  --location-pill-text-color: var(--theme-location-pill-text);
  --color-button: var(--theme-primary);
  --color-button-hover: var(--theme-primary-hover);
  --hero-bg-image: none;
  --hero-composite-image: url("assets/hero-banner.webp");
  --hero-dim-strength: 0.5;
  --hero-bg-position: center;
  --hero-bg-size: cover;
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Arial, Helvetica, sans-serif;
  --container-width: 1360px;
  --hero-portrait-image: url("assets/home-person-1.webp");
  --home-shell-bg: var(--theme-dark-section-background);
  --home-panel-bg: var(--theme-surface-primary);
  --home-panel-text: var(--theme-heading-on-light);
  --about-profile-image: url("assets/about-person-1.webp");
}

.public-theme-trigger {
  position: fixed;
  z-index: 90;
  bottom: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: #fff8f3;
  background: rgba(20, 20, 22, 0.86);
  border: 1px solid rgba(221, 183, 158, 0.42);
  border-radius: 999px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
  font:
    700 0.82rem/1 Arial,
    Helvetica,
    sans-serif;
  white-space: nowrap;
  cursor: pointer;
}

.public-theme-trigger:hover,
.public-theme-trigger:focus-visible {
  background: rgba(42, 40, 42, 0.94);
  outline: none;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.32),
    0 0 0 4px rgba(221, 183, 158, 0.18);
}

.editor-color-scheme-modal[hidden] {
  display: none;
}

.editor-color-scheme-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.editor-color-scheme-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.62);
}

.editor-color-scheme-dialog {
  position: absolute;
  top: var(--editor-color-scheme-top, 86px);
  left: var(--editor-color-scheme-left, 16px);
  width: min(572px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 18px;
  overflow-y: auto;
  color: #fff8f3;
  background: rgba(28, 27, 28, 0.98);
  border: 1px solid rgba(221, 183, 158, 0.42);
  border-radius: 14px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.46);
}

.editor-color-scheme-heading-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.editor-color-scheme-heading-row h2 {
  margin: 0;
  color: #fff8f3;
  font:
    700 1.25rem/1.2 Georgia,
    "Times New Roman",
    serif;
}

.public-theme-premium-notice {
  max-width: 280px;
  margin: 0 0 0 auto;
  padding: 5px 9px;
  color: rgba(247, 230, 221, 0.82);
  background: rgba(255, 248, 243, 0.06);
  border: 1px solid rgba(221, 183, 158, 0.28);
  border-radius: 999px;
  font:
    700 0.72rem / 1.3 Arial,
    Helvetica,
    sans-serif;
  text-align: center;
}

.editor-color-scheme-close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #fff8f3;
  background: rgba(91, 17, 23, 0.88);
  border: 1px solid rgba(221, 183, 158, 0.42);
  border-radius: 50%;
  font:
    700 1.5rem/1 Arial,
    Helvetica,
    sans-serif;
  cursor: pointer;
}

.editor-color-scheme-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.editor-color-scheme-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  min-height: 112px;
  padding: 16px 14px;
  color: #fff8f3;
  text-align: left;
  background: rgba(255, 248, 243, 0.05);
  border: 1px solid rgba(221, 183, 158, 0.28);
  border-radius: 10px;
  cursor: pointer;
}

.editor-color-scheme-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 6px);
  justify-self: center;
}

.editor-color-scheme-card:hover,
.editor-color-scheme-card:focus-visible,
.editor-color-scheme-close:hover,
.editor-color-scheme-close:focus-visible {
  border-color: rgba(239, 207, 192, 0.82);
  outline: none;
  box-shadow: 0 0 0 3px rgba(221, 183, 158, 0.18);
}

.editor-color-scheme-card.is-selected {
  background: rgba(91, 17, 23, 0.34);
  border-color: #d9ae96;
  box-shadow: inset 0 0 0 1px rgba(239, 207, 192, 0.24);
}

.editor-color-scheme-name {
  padding-right: 22px;
  font:
    700 0.82rem/1.25 Arial,
    Helvetica,
    sans-serif;
}

.editor-color-scheme-swatches {
  display: grid;
  grid-template-columns: repeat(4, minmax(24px, 1fr));
  gap: 5px;
}

.editor-color-scheme-swatch {
  display: block;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 248, 243, 0.38);
  border-radius: 5px;
}

.editor-color-scheme-check {
  position: absolute;
  top: 12px;
  right: 12px;
  display: none;
  color: #efcfc0;
  font:
    700 0.9rem/1 Arial,
    Helvetica,
    sans-serif;
}

.editor-color-scheme-card.is-selected .editor-color-scheme-check {
  display: block;
}

body.is-editor-color-scheme-open {
  overflow: hidden;
}

@media (max-width: 620px) {
  .public-theme-trigger {
    bottom: 12px;
    left: 12px;
  }

  .editor-color-scheme-dialog {
    top: 50%;
    left: 50%;
    width: min(356px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    padding: 16px;
    transform: translate(-50%, -50%);
  }

  .editor-color-scheme-heading-row:has(.public-theme-premium-notice) {
    flex-wrap: wrap;
  }

  .public-theme-premium-notice {
    order: 3;
    flex: 1 0 100%;
    max-width: 100%;
    margin: -4px 0 0;
    border-radius: 8px;
  }

  .editor-color-scheme-options {
    grid-template-columns: 1fr;
  }

  .editor-color-scheme-card,
  .editor-color-scheme-card:last-child:nth-child(odd) {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr) minmax(116px, 0.8fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 70px;
    padding: 13px 14px;
  }
}

html[data-color-scheme="soft-rose"] {
  --theme-page-background: #fffdfc;
  --theme-header-background: #fffdfc;
  --theme-hero-fallback: #f8eef0;
  --theme-dark-section-background: #f8eef0;
  --theme-surface-primary: #fffdfc;
  --theme-surface-alternate: #f8eef0;
  --theme-surface-elevated: #f4e3e7;
  --theme-text-on-dark: #3a2c30;
  --theme-text-muted-on-dark: #765f67;
  --theme-text-on-dark-soft: #fffdfc;
  --theme-text-on-dark-warm: #fffdfc;
  --theme-text-overlay-warm: #fffdfc;
  --theme-hero-heading: var(--theme-text-overlay-warm);
  --theme-hero-subtitle: var(--theme-text-on-dark-warm);
  --theme-heading-on-light: #3a2c30;
  --theme-text-on-light: #3a2c30;
  --theme-text-on-light-soft: #5f4a51;
  --theme-text-muted-on-light: #765f67;
  --theme-text-muted-on-light-soft: #765f67;
  --theme-text-subtle-on-light: #816b72;
  --theme-text-disabled-on-light: #9a858c;
  --theme-text-dialog-muted: #765f67;
  --theme-text-muted-on-dark-soft: #765f67;
  --theme-location-pill-text: #a64d68;
  --theme-primary: #a64d68;
  --theme-primary-hover: #bc627d;
  --theme-primary-strong: #8e3f58;
  --theme-primary-dark-surface: #f0dce1;
  --theme-primary-overlay: rgba(166, 77, 104, 0.58);
  --theme-text-on-primary: #fffdfc;
  --theme-accent: #a64d68;
  --theme-accent-hover: #8e3f58;
  --theme-accent-light: #d6a6af;
  --theme-icon-gold: #a64d68;
  --theme-danger: #963c58;
  --theme-danger-bright: #b34f6e;
  --theme-link: #8e3f58;
  --theme-link-visited: #70445a;
  --theme-header-rgb: 255, 253, 252;
  --theme-hero-overlay-rgb: 58, 44, 48;
  --theme-dark-section-rgb: 248, 238, 240;
  --theme-primary-rgb: 166, 77, 104;
  --theme-primary-strong-rgb: 142, 63, 88;
  --theme-accent-rgb: 166, 77, 104;
  --theme-accent-highlight-rgb: 214, 166, 175;
  --theme-accent-light-rgb: 214, 166, 175;
  --theme-surface-layer-rgb: 255, 253, 252;
  --theme-surface-bright-rgb: 255, 253, 252;
  --theme-surface-alternate-rgb: 248, 238, 240;
  --theme-surface-glow-rgb: 255, 253, 252;
  --theme-text-on-light-rgb: 58, 44, 48;
  --theme-heading-on-light-rgb: 58, 44, 48;
  --theme-heading-tint-rgb: 80, 59, 66;
  --theme-border-on-light-rgb: 166, 77, 104;
  --theme-text-dialog-muted-rgb: 118, 95, 103;
  --theme-deep-overlay-rgb: 58, 44, 48;
  --theme-night-overlay-rgb: 58, 44, 48;
  --theme-shadow-warm-rgb: 58, 44, 48;
  --theme-shadow-deep-warm-rgb: 58, 44, 48;
  --theme-carousel-control: #a64d68;
  --theme-carousel-control-hover: rgba(166, 77, 104, 0.12);
}

html[data-color-scheme="midnight-blue"] {
  --theme-page-background: #101923;
  --theme-header-background: #0d151e;
  --theme-hero-fallback: #162432;
  --theme-dark-section-background: #182733;
  --theme-surface-primary: #e4e6e5;
  --theme-surface-alternate: #d9e0e3;
  --theme-surface-elevated: #eef2f3;
  --theme-text-on-dark: #f1f5f7;
  --theme-text-muted-on-dark: #c5d0d6;
  --theme-text-on-dark-soft: #f7fafb;
  --theme-text-on-dark-warm: #f4f7f8;
  --theme-text-overlay-warm: #f7fafb;
  --theme-hero-heading: var(--theme-text-on-dark);
  --theme-hero-subtitle: var(--theme-text-muted-on-dark);
  --theme-heading-on-light: #1c2932;
  --theme-text-on-light: #25313a;
  --theme-text-on-light-soft: #394954;
  --theme-text-muted-on-light: #52636f;
  --theme-text-muted-on-light-soft: #52636f;
  --theme-text-subtle-on-light: #60717c;
  --theme-text-disabled-on-light: #71808a;
  --theme-text-dialog-muted: #52636f;
  --theme-text-muted-on-dark-soft: #aebdc6;
  --theme-location-pill-text: #f1f5f7;
  --theme-primary: #24506f;
  --theme-primary-hover: #2f658a;
  --theme-primary-strong: #183c57;
  --theme-primary-dark-surface: #18384d;
  --theme-primary-overlay: rgba(28, 66, 93, 0.62);
  --theme-text-on-primary: #f7fafb;
  --theme-accent: #9fb6c8;
  --theme-accent-hover: #c2d1dc;
  --theme-accent-light: #d4dfe5;
  --theme-icon-gold: #b8cad6;
  --theme-danger: #b14e5b;
  --theme-danger-bright: #d46a77;
  --theme-link: #1e587d;
  --theme-link-visited: #514a7d;
  --theme-header-rgb: 13, 21, 30;
  --theme-hero-overlay-rgb: 12, 26, 38;
  --theme-dark-section-rgb: 24, 39, 51;
  --theme-primary-rgb: 36, 80, 111;
  --theme-primary-strong-rgb: 24, 60, 87;
  --theme-accent-rgb: 159, 182, 200;
  --theme-accent-highlight-rgb: 194, 209, 220;
  --theme-accent-light-rgb: 212, 223, 229;
  --theme-surface-layer-rgb: 238, 242, 243;
  --theme-surface-bright-rgb: 247, 250, 251;
  --theme-surface-alternate-rgb: 217, 224, 227;
  --theme-surface-glow-rgb: 247, 250, 251;
  --theme-text-on-light-rgb: 37, 49, 58;
  --theme-heading-on-light-rgb: 28, 41, 50;
  --theme-heading-tint-rgb: 38, 55, 67;
  --theme-border-on-light-rgb: 62, 84, 99;
  --theme-text-dialog-muted-rgb: 82, 99, 111;
  --theme-deep-overlay-rgb: 9, 18, 27;
  --theme-night-overlay-rgb: 6, 13, 20;
  --theme-shadow-warm-rgb: 9, 18, 27;
  --theme-shadow-deep-warm-rgb: 5, 11, 17;
  --theme-carousel-control: #d4dfe5;
  --theme-carousel-control-hover: rgba(159, 182, 200, 0.14);
}

html[data-color-scheme="crimson-night"] {
  /* Crimson Night manual accent-text colour */
  --theme-accent-text: #991b2e;
  --theme-page-background: #0d0b0c;
  --theme-header-background: #090708;
  --theme-hero-fallback: #171214;
  --theme-dark-section-background: #171214;
  --theme-surface-primary: #e80f0f;
  --theme-surface-alternate: #e80f0f;
  --theme-surface-elevated: #f8f3f0;
  --theme-text-on-dark: #f7f1ee;
  --theme-text-muted-on-dark: #c9bec0;
  --theme-text-on-dark-soft: #f8f3f0;
  --theme-text-on-dark-warm: #f7f1ee;
  --theme-text-overlay-warm: #f8f3f0;
  --theme-hero-heading: var(--theme-text-on-dark);
  --theme-hero-subtitle: var(--theme-text-muted-on-dark);
  --theme-heading-on-light: #2b2325;
  --theme-text-on-light: #2b2325;
  --theme-text-on-light-soft: #3c3b3b;
  --theme-text-muted-on-light: #e2dddd;
  --theme-text-muted-on-light-soft: #0f0e0e;
  --theme-text-subtle-on-light: #0f0e0e;
  --theme-text-disabled-on-light: #afa4a7;
  --theme-text-dialog-muted: #0f0e0e;
  --theme-text-muted-on-dark-soft: #c9bec0;
  --theme-location-pill-text: #f7f1ee;
  --theme-primary: #991b2e;
  --theme-primary-hover: #b42a3f;
  --theme-primary-strong: #6f101f;
  --theme-primary-dark-surface: #6f101f;
  --theme-primary-overlay: rgba(153, 27, 46, 0.62);
  --theme-text-on-primary: #f8f3f0;
  --theme-accent: #afa4a7;
  --theme-accent-hover: #c8bec1;
  --theme-accent-light: #ded7d9;
  --theme-icon-gold: #c8bec1;
  --theme-danger: #991b2e;
  --theme-danger-bright: #b42a3f;
  --theme-link: #991b2e;
  --theme-link-visited: #6f101f;
  --theme-header-rgb: 9, 7, 8;
  --theme-hero-overlay-rgb: 9, 7, 8;
  --theme-dark-section-rgb: 23, 18, 20;
  --theme-primary-rgb: 153, 27, 46;
  --theme-primary-strong-rgb: 111, 16, 31;
  --theme-accent-rgb: 175, 164, 167;
  --theme-accent-highlight-rgb: 200, 190, 193;
  --theme-accent-light-rgb: 222, 215, 217;
  --theme-surface-layer-rgb: 248, 243, 240;
  --theme-surface-bright-rgb: 248, 243, 240;
  --theme-surface-alternate-rgb: 232, 15, 15;
  --theme-surface-glow-rgb: 248, 243, 240;
  --theme-text-on-light-rgb: 43, 35, 37;
  --theme-heading-on-light-rgb: 43, 35, 37;
  --theme-heading-tint-rgb: 43, 35, 37;
  --theme-border-on-light-rgb: 111, 96, 100;
  --theme-text-dialog-muted-rgb: 15, 14, 14;
  --theme-deep-overlay-rgb: 13, 11, 12;
  --theme-night-overlay-rgb: 9, 7, 8;
  --theme-shadow-warm-rgb: 13, 11, 12;
  --theme-shadow-deep-warm-rgb: 9, 7, 8;
  --theme-carousel-control: #ded7d9;
  --theme-carousel-control-hover: rgba(175, 164, 167, 0.14);
}

html[data-color-scheme="emerald-grove"] {
  --theme-page-background: #17372d;
  --theme-header-background: #102a22;
  --theme-hero-fallback: #1d4436;
  --theme-dark-section-background: #175843;
  --theme-surface-primary: #f2eedf;
  --theme-surface-alternate: #e3e5d3;
  --theme-surface-elevated: #faf8ef;
  --theme-text-on-dark: #f5f3e9;
  --theme-text-muted-on-dark: #cbd5ce;
  --theme-text-on-dark-soft: #f5f3e9;
  --theme-text-on-dark-warm: #f5f3e9;
  --theme-text-overlay-warm: #f5e9e9;
  --theme-hero-heading: var(--theme-text-on-dark);
  --theme-hero-subtitle: var(--theme-text-muted-on-dark);
  --theme-heading-on-light: #26332c;
  --theme-text-on-light: #26332c;
  --theme-text-on-light-soft: #617066;
  --theme-text-muted-on-light: #617066;
  --theme-text-muted-on-light-soft: #617066;
  --theme-text-subtle-on-light: #617066;
  --theme-text-disabled-on-light: #9faa83;
  --theme-text-dialog-muted: #617066;
  --theme-text-muted-on-dark-soft: #cbd5ce;
  --theme-location-pill-text: #f5f3e9;
  --theme-primary: #2f7057;
  --theme-primary-hover: #3d8468;
  --theme-primary-strong: #20523f;
  --theme-primary-dark-surface: #20523f;
  --theme-primary-overlay: rgba(255, 10, 10, 0.62);
  --theme-text-on-primary: #f5eae9;
  --theme-accent: #9faa83;
  --theme-accent-hover: #b6bf9f;
  --theme-accent-light: #d3d8c4;
  --theme-icon-gold: #f2eedf;
  --theme-icon-background: #6b0909;
  --theme-icon-foreground: #f2eedf;
  --theme-danger: #2f7057;
  --theme-danger-bright: #3d8468;
  --theme-link: #2f7057;
  --theme-link-visited: #20523f;
  --theme-header-rgb: 16, 42, 34;
  --theme-hero-overlay-rgb: 16, 42, 34;
  --theme-dark-section-rgb: 29, 68, 54;
  --theme-primary-rgb: 47, 112, 87;
  --theme-primary-strong-rgb: 32, 82, 63;
  --theme-accent-rgb: 159, 170, 131;
  --theme-accent-highlight-rgb: 182, 191, 159;
  --theme-accent-light-rgb: 211, 216, 196;
  --theme-surface-layer-rgb: 250, 248, 239;
  --theme-surface-bright-rgb: 250, 248, 239;
  --theme-surface-alternate-rgb: 227, 229, 211;
  --theme-surface-glow-rgb: 250, 248, 239;
  --theme-text-on-light-rgb: 38, 51, 44;
  --theme-heading-on-light-rgb: 38, 51, 44;
  --theme-heading-tint-rgb: 38, 51, 44;
  --theme-border-on-light-rgb: 97, 112, 102;
  --theme-text-dialog-muted-rgb: 97, 112, 102;
  --theme-deep-overlay-rgb: 23, 55, 45;
  --theme-night-overlay-rgb: 16, 42, 34;
  --theme-shadow-warm-rgb: 23, 55, 45;
  --theme-shadow-deep-warm-rgb: 16, 42, 34;
  --theme-carousel-control: #d3d8c4;
  --theme-carousel-control-hover: rgba(159, 170, 131, 0.14);
}

html[data-color-scheme="gothic"] {
  --theme-page-background: #111;
  --theme-header-background: #090909;
  --theme-hero-fallback: #171717;
  --theme-dark-section-background: #1a1a1a;
  --theme-surface-primary: #f2ebdd;
  --theme-surface-alternate: #e5ded1;
  --theme-surface-elevated: #faf6ed;
  --theme-text-on-dark: #f4ecdd;
  --theme-text-muted-on-dark: #fff;
  --theme-text-on-dark-soft: #f4ecdd;
  --theme-text-on-dark-warm: #f4ecdd;
  --theme-text-overlay-warm: #fff;
  --theme-hero-heading: var(--theme-text-on-dark);
  --theme-hero-subtitle: var(--theme-text-muted-on-dark);
  --theme-heading-on-light: #272522;
  --theme-text-on-light: #272522;
  --theme-text-on-light-soft: #6d6861;
  --theme-text-muted-on-light: #6d6861;
  --theme-text-muted-on-light-soft: #6d6861;
  --theme-text-subtle-on-light: #6d6861;
  --theme-text-disabled-on-light: #a7a7a2;
  --theme-text-dialog-muted: #6d6861;
  --theme-text-muted-on-dark-soft: #c8c1b7;
  --theme-location-pill-text: #f4ecdd;
  --theme-primary: #4a4a4a;
  --theme-primary-hover: #616161;
  --theme-primary-strong: #292929;
  --theme-primary-dark-surface: #292929;
  --theme-primary-overlay: rgba(74, 74, 74, 0.72);
  --theme-text-on-primary: #f4ecdd;
  --theme-accent: #fff;
  --theme-accent-hover: #fff;
  --theme-accent-light: #d8d5ce;
  --theme-icon-gold: #f2ebdd;
  --theme-icon-background: #720505;
  --theme-icon-foreground: #f2ebdd;
  --theme-danger: #4a4a4a;
  --theme-danger-bright: #616161;
  --theme-link: #4a4a4a;
  --theme-link-visited: #292929;
  --theme-header-rgb: 9, 9, 9;
  --theme-hero-overlay-rgb: 9, 9, 9;
  --theme-dark-section-rgb: 26, 26, 26;
  --theme-primary-rgb: 74, 74, 74;
  --theme-primary-strong-rgb: 41, 41, 41;
  --theme-accent-rgb: 167, 167, 162;
  --theme-accent-highlight-rgb: 193, 193, 187;
  --theme-accent-light-rgb: 216, 213, 206;
  --theme-surface-layer-rgb: 250, 246, 237;
  --theme-surface-bright-rgb: 250, 246, 237;
  --theme-surface-alternate-rgb: 229, 222, 209;
  --theme-surface-glow-rgb: 250, 246, 237;
  --theme-text-on-light-rgb: 39, 37, 34;
  --theme-heading-on-light-rgb: 39, 37, 34;
  --theme-heading-tint-rgb: 39, 37, 34;
  --theme-border-on-light-rgb: 109, 104, 97;
  --theme-text-dialog-muted-rgb: 109, 104, 97;
  --theme-deep-overlay-rgb: 17, 17, 17;
  --theme-night-overlay-rgb: 9, 9, 9;
  --theme-shadow-warm-rgb: 17, 17, 17;
  --theme-shadow-deep-warm-rgb: 9, 9, 9;
  --theme-carousel-control: #d8d5ce;
  --theme-carousel-control-hover: rgba(167, 167, 162, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-body);
}

body.is-gallery-lightbox-open,
body.is-video-viewer-open,
body.is-contact-details-open,
body.is-diary-article-open,
body.is-diary-page-picker-open,
body.is-wardrobe-lightbox-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 clamp(28px, 6vw, 88px);
  background: var(--theme-header-background);
  border-bottom: 1px solid rgba(var(--theme-accent-rgb), 0.08);
}

.brand {
  color: var(--theme-accent-text, var(--color-accent));
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.45rem);
  font-weight: 300;
  letter-spacing: 0;
}

.site-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 42px);
  color: var(--theme-accent-text, var(--color-accent));
  font-size: 1.03rem;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 88px;
}

.site-nav a:hover,
.site-nav .is-active {
  color: var(--theme-accent-text, var(--theme-accent-hover));
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(var(--theme-accent-rgb), 0.5);
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-accent);
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  overflow: hidden;
  background-color: var(--color-hero-bg);
  background-image:
    linear-gradient(
      90deg,
      rgba(
          var(--theme-hero-overlay-rgb),
          clamp(0, calc(0.72 * var(--hero-dim-strength)), 1)
        )
        0%,
      rgba(
          var(--theme-hero-overlay-rgb),
          clamp(0, calc(0.42 * var(--hero-dim-strength)), 1)
        )
        45%,
      rgba(
          var(--theme-hero-overlay-rgb),
          clamp(0, calc(0.08 * var(--hero-dim-strength)), 1)
        )
        100%
    ),
    var(--hero-composite-image);
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, cover;
}

@media (min-width: 981px) {
  .hero {
    background-position:
      center,
      var(--hero-position-x, 50%) var(--hero-position-y, 38%);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(560px, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(36px, 5vw, 78px);
  align-items: end;
  max-width: var(--container-width);
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) clamp(34px, 5vw, 56px) 0;
}

.hero-copy {
  align-self: center;
  max-width: 670px;
  padding-bottom: clamp(42px, 7vw, 88px);
}

.hero-kicker {
  margin: 0 0 26px;
  color: var(--theme-accent-text, var(--color-accent));
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-align: center;
  transform: translateX(-24px);
}

.hero h1 {
  margin: 0 0 30px;
  color: var(--theme-hero-heading);
  font-family: var(--font-heading);
  font-size: clamp(4.8rem, 7vw, 7.35rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-subtitle {
  max-width: 620px;
  margin: 0 0 34px;
  color: var(--theme-hero-subtitle);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.46;
}

.hero-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 58px;
  padding: 16px 34px;
  color: var(--theme-text-on-dark-soft);
  background: var(--color-button);
  border: 1px solid rgba(var(--theme-accent-highlight-rgb), 0.66);
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  transform: translateX(clamp(520px, 50vw, 760px));
  transition: background 160ms ease;
}

.hero-button:hover {
  background: var(--color-button-hover);
}

.hero-media {
  display: none;
}

.home-intro-shell {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
  padding: 0 clamp(24px, 6vw, 88px) clamp(54px, 7vw, 88px);
  background: var(--home-shell-bg);
}

.home-rates-shell {
  padding-bottom: 32px;
}

[data-home-about-section][hidden] {
  display: none !important;
}

.home-intro-panel {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(38px, 5vw, 62px) clamp(34px, 7vw, 112px) clamp(44px, 5vw, 68px);
  color: var(--home-panel-text);
  background: var(--home-panel-bg);
  border-radius: 10px;
}

.home-about-summary {
  margin-bottom: 0;
}

.home-about-media {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.home-about-media .about-image {
  width: 100%;
}

.home-about-location {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 31px;
  margin-left: 10px;
}

.home-about-location-copy {
  margin: 0;
  color: var(--theme-text-on-light);
  font-size: 1rem;
  line-height: 1.5;
}

.home-about-location-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-left: 10px;
  padding: 9px 20px;
  color: var(--location-pill-text-color);
  background: var(--color-header);
  border: 1px solid rgba(var(--theme-primary-strong-rgb), 0.9);
  border-radius: 999px;
  font-size: 0.98rem;
  line-height: 1.2;
  text-align: center;
}

.home-about-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--theme-accent-text, var(--color-accent));
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-services-preview h2 {
  margin: 0;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-rule {
  display: block;
  width: 40px;
  height: 2px;
  margin: 18px 0 26px;
  background: rgba(var(--theme-accent-rgb), 0.55);
}

.home-services-preview {
  max-width: none;
  margin: 0;
}

.home-services-shell {
  margin-top: -40px;
}

.home-services-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.home-services-layout > .home-intro-panel {
  width: 100%;
  max-width: none;
  margin: 0;
}

.home-rates-panel,
.home-services-panel,
.home-touring-panel {
  padding: clamp(34px, 5vw, 54px) clamp(30px, 5vw, 58px);
}

.home-card-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.home-services-preview > .section-kicker,
.home-services-preview > h2 {
  text-align: center;
}

.home-rates-panel .home-card-content > .section-rule {
  width: 40px;
  margin: 18px auto 26px;
}

.home-quick-facts {
  --home-quick-facts-gap: clamp(10px, 1.6vw, 16px);

  display: flex;
  flex-wrap: wrap;
  gap: var(--home-quick-facts-gap);
  place-content: flex-start center;
  width: 100%;
  margin: clamp(30px, 4vw, 46px) auto 0;
}

.home-quick-fact-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex: 0 1 calc((100% - (var(--home-quick-facts-gap) * 2)) / 3);
  min-width: 0;
  min-height: 112px;
  padding: 20px 14px;
  text-align: center;
  background: rgba(var(--theme-surface-bright-rgb), 0.26);
  border: 1px solid rgba(var(--theme-border-on-light-rgb), 0.16);
  border-radius: 7px;
}

.home-quick-fact-row dt,
.home-quick-fact-row dd {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
}

.home-quick-fact-row dt {
  color: var(--theme-accent-text, rgba(var(--theme-border-on-light-rgb), 0.84));
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-quick-fact-row dd {
  min-height: 1.25em;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 1.8vw, 1.38rem);
  font-weight: 500;
  line-height: 1.1;
}

.service-list {
  display: grid;
}

.service-item,
.home-card-callout-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 26px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(var(--theme-border-on-light-rgb), 0.22);
}

.service-item:last-child,
.home-card-callout-row {
  border-bottom: 0;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
}

.service-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-item h3 {
  margin: 0 0 8px;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0;
}

.service-item p {
  margin: 0;
  color: var(--theme-text-on-light);
  font-size: 1rem;
  line-height: 1.5;
}

.home-card-callout {
  margin-top: auto;
  padding-top: clamp(24px, 4vw, 36px);
  border-top: 1px solid rgba(var(--theme-border-on-light-rgb), 0.22);
}

.home-card-callout .service-item,
.home-card-callout-row {
  padding-bottom: 0;
  border-bottom: 0;
}

.home-card-callout[hidden] {
  display: none;
}

.home-card-callout-text {
  display: block;
  color: var(--theme-text-on-light);
  font-size: 1rem;
  line-height: 1.5;
}

.home-rates-callout {
  border-top: 0;
  padding-top: clamp(30px, 4vw, 42px);
  padding-bottom: clamp(8px, 2vw, 14px);
}

.home-rates-callout .home-card-callout-row {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 28px;
  padding-top: 0;
}

.home-touring-panel h2 {
  margin: 0;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
  letter-spacing: 0;
}

.home-touring-panel {
  display: flex;
  flex-direction: column;
}

.home-touring-grid {
  --home-touring-column-gap: clamp(28px, 5vw, 56px);
  --home-touring-row-gap: clamp(0px, calc(5vw - 35px), 21px);

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--home-touring-row-gap) var(--home-touring-column-gap);
  width: 100%;
  margin-top: clamp(32px, 5vw, 48px);
  margin-right: auto;
  margin-left: auto;
  padding-bottom: clamp(16px, 3vw, 24px);
}

.home-touring-grid:has(> .home-touring-empty:not([hidden])) {
  border-bottom: 1px solid rgba(var(--theme-border-on-light-rgb), 0.22);
}

@media (max-width: 620px) {
  .home-touring-grid {
    --home-touring-row-gap: clamp(3px, calc(5vw - 25px), 31px);
  }
}

.home-touring-grid span {
  display: block;
  color: var(--theme-accent-text, var(--color-accent));
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.home-touring-grid p {
  margin: 0;
  padding-top: 12px;
  color: var(--theme-text-on-light);
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
}

.home-touring-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--home-touring-column-gap);
  padding: 14px 0;
  border-bottom: 1px solid rgba(var(--theme-border-on-light-rgb), 0.16);
}

.home-touring-row p:first-child {
  font-weight: 700;
  text-align: center;
}

.home-touring-row p:nth-child(2) {
  font-weight: 700;
  text-align: center;
}

.home-touring-empty {
  grid-column: 1 / -1;
  padding-top: clamp(20px, 4vw, 34px);
  color: var(--theme-text-on-light-soft);
  font-size: 1rem;
  font-style: italic;
}

.home-touring-current-location {
  width: fit-content;
  max-width: 100%;
  margin: clamp(24px, 4vw, 31px) auto 0;
}

.home-touring-service {
  border-top: 0;
}

.home-lower-layout {
  display: block;
}

.home-gallery-section {
  margin-top: clamp(-70px, -5vw, -42px);
  padding: clamp(16px, 2vw, 24px) clamp(24px, 6vw, 88px) clamp(66px, 8vw, 96px);
  background: var(--home-shell-bg);
}

[data-home-about-section][hidden] + .home-gallery-section {
  margin-top: 0;
}

.home-gallery-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.home-gallery-section h2,
.home-wardrobe-preview-section h2 {
  margin: 0 0 clamp(34px, 5vw, 52px);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
}

.home-wardrobe-preview-section {
  /* MANUAL HOME WARDROBE PRICE TEXT CONTROLS */
  --home-wardrobe-price-color: rgba(var(--theme-primary-rgb), 0.5);
  --home-wardrobe-price-outline-color: var(--theme-accent-light);
  --home-wardrobe-price-outline-width: 1px;

  padding: clamp(16px, 2vw, 24px) clamp(24px, 6vw, 88px) clamp(66px, 8vw, 96px);
  background: var(--home-shell-bg);
}

.home-carousel-heading-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.home-carousel-heading-link:focus-visible {
  outline: 3px solid rgba(var(--theme-focus-ring-on-dark-rgb), 0.62);
  outline-offset: 6px;
}

.home-gallery-carousel {
  display: grid;
  grid-template-areas: "prev gallery next";
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
}

.home-gallery-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-height: 72px;
  padding: 0;
  color: var(--theme-carousel-control);
  background: var(--home-shell-bg);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.86);
}

.home-gallery-arrow-prev {
  grid-area: prev;
}

.home-gallery-arrow-next {
  grid-area: next;
}

.home-gallery-arrow::before {
  color: inherit;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  line-height: 1;
}

.home-gallery-arrow-prev::before {
  content: "\2039";
}

.home-gallery-arrow-next::before {
  content: "\203a";
}

.home-gallery-arrow:hover {
  background: var(--theme-carousel-control-hover);
}

.home-gallery-arrow:focus-visible {
  outline: 3px solid rgba(var(--theme-focus-ring-on-dark-rgb), 0.62);
  outline-offset: 5px;
}

.home-gallery-arrow[hidden] {
  display: none;
}

.home-gallery-grid {
  display: grid;
  grid-area: gallery;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.home-gallery-card {
  display: block;
  width: 100%;
  min-height: 190px;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--theme-primary-dark-surface);
  border: 1px solid rgba(var(--theme-accent-highlight-rgb), 0.26);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(var(--theme-shadow-deep-warm-rgb), 0.2);
  cursor: pointer;
}

.home-gallery-card:hover {
  border-color: rgba(var(--theme-accent-highlight-rgb), 0.58);
}

.home-gallery-card:focus-visible {
  outline: 3px solid rgba(var(--theme-focus-ring-on-dark-rgb), 0.62);
  outline-offset: 5px;
}

.home-gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--home-gallery-object-position, 50% 50%);
}

.home-wardrobe-preview-card {
  position: relative;
  cursor: pointer;
}

.home-wardrobe-preview-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.home-wardrobe-preview-link:focus-visible {
  outline: 3px solid rgba(var(--theme-focus-ring-on-dark-rgb), 0.62);
  outline-offset: -3px;
}

.home-wardrobe-preview-price {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--home-wardrobe-price-color);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  text-shadow:
    calc(0px - var(--home-wardrobe-price-outline-width)) 0
      var(--home-wardrobe-price-outline-color),
    0 var(--home-wardrobe-price-outline-width)
      var(--home-wardrobe-price-outline-color),
    var(--home-wardrobe-price-outline-width) 0
      var(--home-wardrobe-price-outline-color),
    0 calc(0px - var(--home-wardrobe-price-outline-width))
      var(--home-wardrobe-price-outline-color),
    0 2px 12px rgba(var(--theme-heading-on-light-rgb), 0.46);
  transform: translate(-50%, -50%);
  -webkit-text-stroke: var(--home-wardrobe-price-outline-width)
    var(--home-wardrobe-price-outline-color);
}

@supports (-webkit-text-stroke: 1px #efcfc0) {
  .home-wardrobe-preview-price {
    text-shadow: 0 2px 12px rgba(var(--theme-heading-on-light-rgb), 0.46);
  }
}

.home-video-gallery-section {
  padding: 0 clamp(24px, 6vw, 88px) clamp(58px, 6vw, 76px);
  background: var(--home-shell-bg);
}

.home-video-gallery-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.home-video-gallery-section h2 {
  margin: 0 0 clamp(22px, 3vw, 30px);
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
}

.home-video-gallery-grid {
  display: grid;
  grid-area: gallery;
  grid-template-columns: repeat(3, 155px);
  justify-content: space-between;
  width: min(100%, 920px);
  margin: 0 auto;
}

.home-video-gallery-grid[data-home-video-gallery-count="1"] {
  grid-template-columns: 155px;
  justify-content: center;
  width: 155px;
}

.home-video-gallery-grid[data-home-video-gallery-count="2"] {
  grid-template-columns: repeat(2, 155px);
  gap: 22px;
  justify-content: center;
  width: 332px;
}

.home-video-gallery-grid .gallery-video-card {
  width: 155px;
  max-width: 100%;
}

.home-service-menu-section {
  margin-top: -100px;
  padding: clamp(48px, 4vw, 52px) clamp(24px, 6vw, 88px);
  background: var(--home-shell-bg);
}

@media (min-width: 981px) {
  .home-service-menu-section {
    margin-top: -110px;
  }
}

.home-service-menu-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.home-service-menu-section h2 {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  letter-spacing: 0;
}

.home-service-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  justify-content: center;
  max-width: 920px;
  margin: clamp(34px, 5vw, 52px) auto 0;
  padding: 0;
  list-style: none;
}

.home-service-pill-list li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 20px;
  color: var(--theme-text-overlay-warm);
  background: var(--theme-primary-overlay);
  border: 1px solid rgba(217, 217, 217, 0.9);
  border-radius: 999px;
  font-size: 0.98rem;
  line-height: 1.2;
  text-align: center;
}

.home-rates-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.home-rates-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 5vw, 54px) clamp(30px, 5vw, 58px);
  color: var(--home-panel-text);
  background: var(--home-panel-bg);
  border-radius: 10px;
}

.home-rates-panel h2 {
  margin: 0;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.home-rates-intro {
  margin: 0 0 clamp(24px, 4vw, 34px);
  color: var(--theme-text-on-light);
  font-size: 1rem;
  line-height: 1.65;
}

.home-rate-list {
  display: grid;
  margin: 0;
}

.home-rate-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
  gap: clamp(16px, 3vw, 24px);
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(var(--theme-border-on-light-rgb), 0.16);
}

.home-rate-list[data-home-rate-list] div {
  grid-template-columns: minmax(120px, 1.25fr) minmax(140px, 1fr);
}

.home-rate-list div:last-child {
  border-bottom: 0;
}

.home-rate-list[data-home-rate-list] div:last-child {
  border-bottom: 1px solid rgba(var(--theme-border-on-light-rgb), 0.16);
}

.home-rate-list dt {
  color: var(--theme-text-on-light);
  font-size: 1rem;
  font-weight: 700;
}

.home-rate-list dd {
  display: flex;
  gap: clamp(14px, 3vw, 28px);
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  color: rgba(var(--theme-text-on-light-rgb), 0.82);
  font-size: 1rem;
  line-height: 1.45;
  text-align: right;
}

.home-rate-list[data-home-rate-list] dd {
  display: grid;
  grid-template-columns: repeat(2, minmax(64px, 1fr));
  gap: clamp(12px, 2.5vw, 22px);
}

.home-rate-list[data-home-rate-list] dd span {
  min-width: 0;
}

.home-rate-list .rate-list-header {
  padding-top: 0;
}

.home-rate-list .rate-list-header dt,
.home-rate-list .rate-list-header dd {
  color: var(--theme-accent-text, rgba(var(--theme-text-on-light-rgb), 0.58));
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-rates-button {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  justify-content: center;
  min-height: 54px;
  margin-top: 18px;
  padding: 0 34px;
  color: #fff;
  background: var(--color-button);
  border: 1px solid rgba(var(--theme-accent-highlight-rgb), 0.45);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.home-rates-button:hover,
.home-rates-button:focus-visible {
  background: var(--color-button-hover);
}

.home-contact-section {
  scroll-margin-top: 88px;
  margin-top: clamp(-48px, -3vw, -28px);
  padding: clamp(8px, 2vw, 20px) clamp(24px, 6vw, 88px) 0;
  background: var(--home-shell-bg);
}

.home-contact-panel {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  justify-items: center;
  min-height: clamp(500px, 42vw, 620px);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px);
  color: var(--home-panel-text);
  background: var(--theme-surface-alternate);
  border-radius: 10px;
  text-align: center;
}

.home-contact-panel > h2 {
  margin: 0 0 30px;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.35rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.home-contact-panel > .section-kicker {
  margin-bottom: 14px;
}

.home-contact-intro {
  max-width: 980px;
  margin: 0;
  color: var(--theme-text-on-light);
  font-size: 1rem;
  line-height: 1.65;
}

.home-contact-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 42px);
}

.home-contact-action {
  display: block;
  width: clamp(116px, 11vw, 164px);
  aspect-ratio: 1;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition:
    filter 160ms ease,
    transform 160ms ease;
}

.home-contact-action img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-contact-action:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.home-contact-action:focus-visible {
  outline: 3px solid rgba(var(--theme-focus-ring-rgb), 0.34);
  outline-offset: 5px;
}

.home-contact-location {
  display: flex;
  gap: 10px;
  align-items: center;
  align-self: end;
  justify-content: center;
  margin: clamp(34px, 6vw, 82px) 0 0;
  color: var(--theme-text-muted-on-light);
  font-size: 1rem;
  line-height: 1.4;
}

.home-contact-location :is(img, svg[data-theme-raster]) {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.contact-details-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
}

.contact-details-modal[hidden] {
  display: none;
}

.contact-details-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--theme-deep-overlay-rgb), 0.76);
}

.contact-details-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: calc(100dvh - 96px);
  padding: clamp(46px, 6vw, 72px) clamp(30px, 8vw, 92px) clamp(44px, 6vw, 68px);
  overflow-y: auto;
  color: var(--home-panel-text);
  background: var(--theme-surface-alternate);
  border: 1px solid rgba(var(--theme-accent-rgb), 0.28);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(var(--theme-shadow-warm-rgb), 0.34);
  text-align: center;
}

.contact-details-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--color-button);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 0.8;
  cursor: pointer;
}

.contact-details-close:hover {
  color: var(--color-button-hover);
}

.contact-details-close:focus-visible,
.contact-details-action:focus-visible {
  outline: 3px solid rgba(var(--theme-focus-ring-rgb), 0.4);
  outline-offset: 4px;
}

.contact-details-dialog h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.contact-details-phone {
  margin: clamp(48px, 7vw, 72px) 0 clamp(42px, 6vw, 62px);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.contact-details-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 38px);
}

.contact-details-action {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px 24px;
  color: var(--theme-text-on-dark-warm);
  background: var(--color-button);
  border: 1px solid rgba(var(--theme-accent-highlight-rgb), 0.42);
  border-radius: 8px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  transition: background-color 160ms ease;
}

.contact-details-action:hover {
  background: var(--color-button-hover);
}

.contact-details-action-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  fill: var(--theme-icon-gold);
}

.contact-details-intro {
  margin: clamp(42px, 6vw, 58px) 0 0;
  color: var(--theme-text-muted-on-light-soft);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1.5;
}

.contact-details-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  max-width: 600px;
  margin: clamp(34px, 5vw, 48px) auto;
  color: var(--color-accent);
}

.contact-details-divider span {
  height: 1px;
  background: rgba(var(--theme-accent-rgb), 0.42);
}

.contact-details-divider b {
  font-size: 1.6rem;
  font-weight: 400;
}

.contact-details-location {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--theme-text-muted-on-light-soft);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.4;
}

.contact-details-location :is(img, svg[data-theme-raster]) {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@media (min-width: 981px) {
  [data-contact-details-modal] .contact-details-dialog {
    width: min(100%, 760px);
    padding: 34px 54px 32px;
  }

  [data-contact-details-modal] .contact-details-dialog h2 {
    font-size: 2.8rem;
  }

  [data-contact-details-modal] .contact-details-phone {
    margin: 28px 0 26px;
    font-size: 3.75rem;
  }

  [data-contact-details-modal] .contact-details-actions {
    gap: 22px;
  }

  [data-contact-details-modal] .contact-details-action {
    min-height: 68px;
    padding: 12px 20px;
    font-size: 1.55rem;
  }

  [data-contact-details-modal] .contact-details-action-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  [data-contact-details-modal] .contact-details-intro {
    margin-top: 26px;
    font-size: 1.15rem;
  }

  [data-contact-details-modal] .contact-details-divider {
    max-width: 500px;
    margin: 22px auto;
  }

  [data-contact-details-modal] .contact-details-location {
    font-size: 1.1rem;
  }

  [data-contact-details-modal]
    .contact-details-location
    :is(img, svg[data-theme-raster]) {
    width: 26px;
    height: 26px;
  }
}

.email-contact-dialog {
  width: min(100%, 1040px);
  padding-right: clamp(30px, 6vw, 72px);
  padding-left: clamp(30px, 6vw, 72px);
}

.email-contact-dialog h2 {
  margin-bottom: clamp(34px, 5vw, 52px);
}

.email-contact-form {
  gap: 20px;
  text-align: left;
}

.email-contact-form .form-row {
  gap: 20px;
}

.email-contact-form textarea {
  min-height: clamp(190px, 28vh, 300px);
}

.email-contact-address-row {
  display: flex;
  gap: 5px;
  align-items: baseline;
  justify-content: center;
  margin-top: 14px;
}

.email-contact-address-row > a {
  color: var(--theme-link-visited);
  font-size: 1.0625rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.email-contact-address-row > a:hover {
  color: var(--theme-link);
}

.home-contact-form.email-contact-form > button {
  justify-self: center;
  min-width: min(100%, 300px);
}

.social-media-dialog {
  width: min(100%, 800px);
  padding: 40px 48px;
}

.social-media-modal-icon {
  display: block;
  width: 84px;
  height: 84px;
  margin: 0 auto 10px;
  object-fit: contain;
}

.social-media-table {
  width: 100%;
  margin-top: 24px;
}

.social-media-table-heading,
.social-media-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.social-media-table-heading {
  padding: 0 18px 20px;
  color: var(--theme-accent-text, var(--color-accent));
  border-bottom: 1px solid rgba(var(--theme-accent-rgb), 0.55);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-align: left;
  text-transform: uppercase;
}

.social-media-row {
  min-height: 84px;
  padding: 18px;
  border-bottom: 1px solid rgba(var(--theme-accent-rgb), 0.42);
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.25;
  text-align: left;
}

.social-media-row a,
.social-media-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.social-media-row a {
  color: var(--color-button);
}

.social-media-row a:hover {
  color: var(--color-button-hover);
}

.social-media-table-heading[hidden],
.social-media-rows[hidden],
.social-media-empty[hidden] {
  display: none;
}

.social-media-empty {
  display: grid;
  justify-items: center;
  padding: 8px 20px;
  color: var(--color-button);
  text-align: center;
}

.social-media-empty-icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  background: rgba(var(--theme-accent-rgb), 0.16);
  border-radius: 50%;
}

.social-media-empty-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.social-media-empty p {
  margin: 14px 0 0;
  font-family: var(--font-heading);
  font-size: 1.875rem;
  line-height: 1.2;
}

@media (min-width: 621px) {
  .email-contact-dialog {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .email-contact-dialog h2 {
    margin-bottom: 22px;
  }

  .email-contact-address-row {
    margin-top: 4px;
  }

  .home-contact-form.email-contact-form > button {
    margin-top: 2px;
  }
}

.home-contact-details {
  align-self: start;
  padding: clamp(26px, 4vw, 40px);
  background: var(--theme-surface-alternate);
  border: 0;
  border-radius: 8px;
}

.home-contact-details h2,
.home-contact-form-wrap h2 {
  margin: 0;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.home-contact-details > p:not(.section-kicker) {
  margin: 22px 0 28px;
  color: var(--theme-text-on-light);
  font-size: 1rem;
  line-height: 1.65;
}

.contact-detail-list {
  display: grid;
  gap: 12px;
  color: var(--theme-text-muted-on-light);
  font-size: 1rem;
  line-height: 1.4;
}

.contact-detail-list a:hover {
  color: var(--color-button);
}

.contact-phone-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.contact-phone-link img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
  flex: 0 0 25px;
}

.contact-instagram-link,
.contact-onlyfans-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-self: start;
}

.contact-instagram-link[hidden],
.contact-onlyfans-link[hidden] {
  display: none;
}

.contact-instagram-link svg {
  width: 24px;
  height: 24px;
  color: var(--color-button);
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
}

.onlyfans-mask-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentcolor;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.onlyfans-mask-icon::before {
  content: "OF";
}

.contact-onlyfans-link .onlyfans-mask-icon {
  color: var(--color-button);
}

.contact-instagram-link span,
.contact-onlyfans-link span {
  color: inherit;
}

.home-contact-form-wrap h2 {
  margin-bottom: 28px;
}

.home-contact-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.home-contact-form label {
  display: grid;
  gap: 8px;
}

.home-contact-form span {
  color: var(--theme-text-muted-on-light);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-contact-form input,
.home-contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  color: var(--home-panel-text);
  background: rgba(var(--theme-surface-layer-rgb), 0.2);
  border: 1px solid rgba(var(--theme-border-on-light-rgb), 0.42);
  border-radius: 8px;
  font: inherit;
}

.home-contact-form textarea {
  min-height: 176px;
  resize: vertical;
}

.home-contact-form input:focus,
.home-contact-form textarea:focus {
  outline: 2px solid rgba(var(--theme-focus-ring-rgb), 0.28);
  outline-offset: 2px;
  border-color: rgba(var(--theme-primary-rgb), 0.7);
}

.home-contact-form button {
  justify-self: start;
  min-width: 190px;
  min-height: 56px;
  margin-top: 8px;
  padding: 15px 30px;
  color: var(--theme-text-on-dark-soft);
  background: var(--color-button);
  border: 1px solid rgba(var(--theme-primary-rgb), 0.18);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease;
}

.home-contact-form button:hover {
  background: var(--color-button-hover);
}

@media (min-width: 769px) {
  .email-contact-dialog {
    width: min(100%, 880px);
    padding-right: 52px;
    padding-left: 52px;
  }

  .email-contact-dialog h2 {
    font-size: 47px;
  }

  .home-contact-form.email-contact-form {
    gap: 10px;
  }

  .home-contact-form.email-contact-form textarea {
    min-height: 140px;
    height: 140px;
  }
}

.rates-page {
  background: var(--home-shell-bg);
}

.rates-section {
  min-height: calc(58vh - 88px);
  padding: clamp(38px, 6vw, 76px) clamp(24px, 6vw, 88px);
  background:
    linear-gradient(
      rgba(var(--theme-dark-section-rgb), 0.88),
      rgba(var(--theme-dark-section-rgb), 0.94)
    ),
    var(--hero-bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.rates-panel {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px);
  color: var(--home-panel-text);
  background: var(--home-panel-bg);
  border: 1px solid rgba(var(--theme-accent-rgb), 0.28);
  border-radius: 10px;
}

.rates-heading {
  max-width: 710px;
  margin: 0 auto clamp(28px, 4vw, 42px);
  text-align: center;
}

.rates-heading .section-rule {
  margin-right: auto;
  margin-left: auto;
}

.rates-heading h1 {
  margin: 0;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.rates-heading p:last-child {
  margin: 0;
  color: var(--theme-text-on-light);
  font-size: 1.05rem;
  line-height: 1.65;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 38px);
  align-items: start;
}

.rates-card {
  padding: clamp(24px, 4vw, 34px);
  background: rgba(var(--theme-surface-layer-rgb), 0.26);
  border: 1px solid rgba(var(--theme-border-on-light-rgb), 0.24);
  border-radius: 8px;
}

.rates-card h2 {
  margin: 0 0 20px;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: 0;
}

.rate-list,
.availability-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.rate-list div,
.availability-list div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  min-height: 50px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(var(--theme-border-on-light-rgb), 0.2);
}

.rate-list[data-rate-list] div {
  display: grid;
  grid-template-columns: minmax(112px, 1.2fr) minmax(132px, 1fr);
  gap: clamp(14px, 3vw, 26px);
}

.rate-list div:last-child,
.availability-list div:last-child {
  border-bottom: 0;
}

.rate-list dt,
.availability-list dt {
  color: var(--theme-text-on-light);
  font-weight: 700;
}

.rate-list dd,
.availability-list dd {
  margin: 0;
  color: var(--theme-text-muted-on-light);
  text-align: right;
}

.rate-list dd {
  display: grid;
  grid-template-columns: repeat(2, minmax(54px, 1fr));
  gap: clamp(12px, 2vw, 18px);
  color: var(--color-button);
  font-size: 1.18rem;
  font-weight: 700;
}

.rate-list[data-rate-list] .rate-list-header dt,
.rate-list[data-rate-list] .rate-list-header dd {
  color: var(--theme-accent-text, rgba(var(--theme-text-on-light-rgb), 0.58));
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rates-service-block {
  margin-top: clamp(24px, 4vw, 38px);
}

.rates-current-location {
  width: fit-content;
  margin: clamp(24px, 4vw, 38px) auto 0;
}

.rates-service-block h2 {
  margin: 0 0 6px;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 500;
  letter-spacing: 0;
}

.rates-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 38px);
}

.rates-service-list .service-item {
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 34px);
  background: var(--home-panel-bg);
  border: 0;
  border-radius: 8px;
}

.rates-service-list .service-item:last-child {
  border-bottom: 0;
}

.rates-service-list .service-icon {
  width: 50px;
  height: 50px;
}

.rates-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(24px, 4vw, 38px);
  padding-top: 26px;
  border-top: 1px solid rgba(var(--theme-border-on-light-rgb), 0.22);
}

.rates-note p {
  max-width: 710px;
  margin: 0;
  color: var(--theme-text-on-light);
  font-size: 1rem;
  line-height: 1.55;
}

.rates-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 150px;
  min-height: 52px;
  padding: 14px 28px;
  color: var(--theme-text-on-dark-soft);
  background: var(--color-button);
  border: 1px solid rgba(var(--theme-primary-rgb), 0.18);
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 160ms ease;
}

.rates-button:hover {
  background: var(--color-button-hover);
}

.diary-page,
.wardrobe-page {
  background: var(--home-shell-bg);
}

.diary-section {
  padding: clamp(38px, 6vw, 76px) clamp(24px, 6vw, 88px);
  background:
    linear-gradient(
      rgba(var(--theme-dark-section-rgb), 0.86),
      rgba(var(--theme-dark-section-rgb), 0.95)
    ),
    var(--hero-bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.diary-panel {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px);
  color: var(--home-panel-text);
  background: var(--home-panel-bg);
  border: 1px solid rgba(var(--theme-accent-rgb), 0.28);
  border-radius: 10px;
}

.wardrobe-panel {
  min-height: clamp(520px, 68vh, 700px);
}

.wardrobe-item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 30px);
}

.wardrobe-item-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: rgba(var(--theme-surface-bright-rgb), 0.32);
  border: 1px solid rgba(var(--theme-accent-rgb), 0.48);
  border-radius: 9px;
}

.wardrobe-item-card[data-wardrobe-lightbox-open] {
  cursor: pointer;
}

.wardrobe-item-card[data-wardrobe-lightbox-open]:focus-visible {
  outline: 3px solid var(--color-button);
  outline-offset: 4px;
}

.wardrobe-item-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(var(--theme-heading-tint-rgb), 0.08);
}

.wardrobe-item-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(16px, 2vw, 21px);
}

.wardrobe-item-label {
  margin: 0 0 8px;
  color: var(--theme-accent-text, rgba(var(--theme-border-on-light-rgb), 0.84));
  font:
    700 0.82rem / 1.3 Arial,
    Helvetica,
    sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wardrobe-item-price {
  margin: 0;
  color: var(--color-button);
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
}

.wardrobe-item-description {
  margin: 9px 0 0;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .wardrobe-item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .wardrobe-item-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.diary-heading {
  max-width: 760px;
  margin: 0 auto clamp(30px, 4vw, 46px);
  text-align: center;
}

.diary-heading .section-rule {
  margin-right: auto;
  margin-left: auto;
}

.diary-heading h1 {
  margin: 0;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(2.45rem, 5vw, 4.05rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.diary-heading p:last-child {
  margin: 0;
  color: var(--theme-text-on-light);
  font-size: 1.05rem;
  line-height: 1.65;
}

.diary-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 54px);
  align-items: center;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.diary-feature[data-diary-article-open] {
  border-radius: 8px;
  cursor: pointer;
}

.diary-feature[data-diary-article-open]:focus-visible {
  outline: 3px solid rgba(var(--theme-focus-ring-rgb), 0.4);
  outline-offset: 6px;
}

.diary-feature-image {
  min-height: 330px;
  background-color: var(--theme-primary-dark-surface);
  background-image: url("assets/mydiary-person-1.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 8px;
}

.diary-feature-copy h2 {
  max-width: 500px;
  margin: 0;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.diary-feature-copy > p:not(.diary-meta, .diary-entry-date) {
  max-width: 540px;
  margin: 20px 0 26px;
  color: var(--theme-text-on-light);
  font-size: 1.04rem;
  line-height: 1.68;
}

.diary-entry-date {
  margin: 10px 0 0;
  color: var(--theme-text-subtle-on-light);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.035em;
}

.diary-entry-date:not([hidden]) + .diary-feature-body-preview {
  margin-top: 12px;
}

.diary-feature-body-preview {
  text-align: left;
}

.diary-entries-list,
.wardrobe-item-grid,
.gallery-page-grid {
  scroll-margin-top: 100px;
}

.diary-pagination {
  display: flex;
  justify-content: center;
  margin-top: clamp(4px, 2vw, 18px);
}

.diary-pagination[hidden] {
  display: none;
}

.diary-pagination-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.diary-pagination-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 44px;
  padding: 0 16px;
  color: var(--home-panel-text);
  background: rgba(var(--theme-surface-bright-rgb), 0.42);
  border: 1px solid rgba(var(--theme-primary-rgb), 0.3);
  border-radius: 999px;
  font: 700 0.92rem / 1 var(--font-body);
  cursor: pointer;
}

.diary-pagination-number {
  padding-right: 12px;
  padding-left: 12px;
}

.diary-pagination-page-picker {
  width: 46px;
  min-width: 46px;
  padding: 4px;
  margin-left: 3px;
}

.diary-pagination-page-picker img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.diary-pagination-button:hover:not(:disabled),
.diary-pagination-button:focus-visible {
  color: var(--theme-text-on-primary);
  background: var(--color-button-hover);
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--theme-focus-ring-rgb), 0.14);
}

.diary-pagination-button[aria-current="page"] {
  color: var(--theme-text-on-primary);
  background: var(--color-button);
  border-color: var(--color-button);
}

.diary-pagination-button:disabled {
  opacity: 0.42;
  cursor: default;
}

.diary-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 44px;
  color: var(--theme-text-disabled-on-light);
  font-weight: 700;
}

.diary-page-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 16px;
}

.diary-page-picker-modal[hidden] {
  display: none;
}

.diary-page-picker-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(var(--theme-deep-overlay-rgb), 0.8);
}

.diary-page-picker-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 690px);
  max-height: calc(100dvh - 32px);
  padding: 22px clamp(42px, 7vw, 84px) 30px;
  overflow-y: auto;
  color: var(--theme-text-dialog-muted);
  background:
    radial-gradient(
      circle at 50% 34%,
      rgba(var(--theme-surface-glow-rgb), 0.92),
      transparent 58%
    ),
    var(--theme-surface-elevated);
  border: 1px solid rgba(var(--theme-accent-rgb), 0.24);
  border-radius: 64px;
  box-shadow: 0 24px 70px rgba(var(--theme-shadow-warm-rgb), 0.42);
  text-align: center;
}

.diary-page-picker-close {
  position: absolute;
  top: 16px;
  right: 26px;
  width: 52px;
  height: 52px;
  padding: 0;
  color: var(--theme-primary-strong);
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 0.8;
  cursor: pointer;
}

.diary-page-picker-close:hover {
  color: var(--color-button-hover);
}

.diary-page-picker-close:focus-visible {
  outline: 3px solid rgba(var(--theme-focus-ring-rgb), 0.4);
  outline-offset: 3px;
}

.diary-page-picker-label,
.diary-page-picker-form label {
  display: block;
  color: var(--theme-text-dialog-muted);
  font: 700 1.25rem / 1.2 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.diary-page-picker-label {
  margin: 0 54px 12px;
}

.diary-page-picker-current-box {
  display: grid;
  place-items: center;
  min-height: clamp(230px, 34vh, 315px);
  color: var(--theme-primary-strong);
  background: rgba(var(--theme-surface-glow-rgb), 0.34);
  border: 1px solid rgba(var(--theme-text-dialog-muted-rgb), 0.7);
  border-radius: 9px;
  box-shadow: inset 0 0 26px rgba(var(--theme-accent-rgb), 0.08);
}

.diary-page-picker-current-box span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(9rem, 20vw, 15rem);
  font-weight: 700;
  line-height: 0.86;
}

.diary-page-picker-summary {
  margin: 28px 0 30px;
  color: var(--theme-primary-strong);
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
}

.diary-page-picker-form {
  display: grid;
  gap: 14px;
}

.diary-page-picker-form input {
  width: 100%;
  min-height: 72px;
  padding: 10px 24px;
  color: var(--home-panel-text);
  background: rgba(var(--theme-surface-glow-rgb), 0.46);
  border: 1px solid rgba(var(--theme-text-dialog-muted-rgb), 0.58);
  border-radius: 12px;
  font: 400 1.85rem / 1 var(--font-body);
}

.diary-page-picker-form input:focus-visible {
  outline: 3px solid rgba(var(--theme-focus-ring-rgb), 0.28);
  outline-offset: 2px;
}

.diary-page-picker-form button {
  width: min(100%, 336px);
  min-height: 76px;
  margin: 16px auto 0;
  padding: 0 28px;
  color: var(--theme-text-on-primary);
  background: var(--theme-primary-strong);
  border: 1px solid rgba(var(--theme-primary-rgb), 0.3);
  border-radius: 999px;
  font: 700 1.3rem / 1 var(--font-heading);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

.diary-page-picker-form button:hover,
.diary-page-picker-form button:focus-visible {
  background: var(--color-button-hover);
  outline: none;
  box-shadow: 0 0 0 4px rgba(var(--theme-focus-ring-rgb), 0.14);
}

@media (min-width: 981px) {
  .diary-page-picker-modal {
    /* MANUAL DESKTOP WIDTH CONTROL: edit this one value to retune the modal. */
    --diary-page-picker-desktop-width: 500px;
  }

  .diary-page-picker-dialog {
    width: min(var(--diary-page-picker-desktop-width), calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    min-width: 0;
    padding: clamp(16px, 2vw, 20px) clamp(32px, 4.5vw, 58px)
      clamp(22px, 3vw, 30px);
    border-radius: clamp(38px, 5vw, 62px);
  }

  .diary-page-picker-close {
    top: clamp(12px, 1.5vw, 16px);
    right: clamp(18px, 2vw, 26px);
    width: clamp(44px, 4vw, 50px);
    height: clamp(44px, 4vw, 50px);
    font-size: clamp(3rem, 4vw, 3.35rem);
  }

  .diary-page-picker-label,
  .diary-page-picker-form label {
    max-width: 100%;
    min-width: 0;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    white-space: nowrap;
  }

  .diary-page-picker-label {
    margin-right: clamp(48px, 7vw, 68px);
    margin-bottom: clamp(8px, 1vw, 12px);
    margin-left: clamp(48px, 7vw, 68px);
  }

  .diary-page-picker-current-box {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    min-width: 0;
    aspect-ratio: 2.35 / 1;
    overflow: hidden;
  }

  .diary-page-picker-current-box span {
    max-width: 100%;
    font-size: clamp(7.5rem, 11vw, 9rem);
    white-space: nowrap;
  }

  .diary-page-picker-summary {
    max-width: 100%;
    min-width: 0;
    margin: clamp(18px, 2vw, 24px) 0 clamp(20px, 2.4vw, 28px);
    font-size: clamp(2.2rem, 3.4vw, 2.7rem);
    white-space: nowrap;
  }

  .diary-page-picker-form {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: clamp(10px, 1.2vw, 14px);
  }

  .diary-page-picker-form input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: clamp(48px, 5vw, 58px);
    padding: 10px clamp(18px, 2vw, 24px);
    border-radius: clamp(9px, 1vw, 12px);
    font-size: clamp(1.4rem, 2vw, 1.7rem);
  }

  .diary-page-picker-form button {
    width: min(64%, 320px);
    max-width: 100%;
    min-width: 0;
    min-height: clamp(48px, 5vw, 62px);
    margin-top: clamp(8px, 1.2vw, 12px);
    padding-right: clamp(22px, 3vw, 32px);
    padding-left: clamp(22px, 3vw, 32px);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  .diary-page-picker-modal {
    padding: 10px;
  }

  .diary-page-picker-dialog {
    max-height: calc(100dvh - 20px);
    padding: 20px 24px 26px;
    border-radius: 36px;
  }

  .diary-page-picker-close {
    top: 12px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 3rem;
  }

  .diary-page-picker-label,
  .diary-page-picker-form label {
    font-size: 1rem;
  }

  .diary-page-picker-label {
    margin-right: 48px;
    margin-bottom: 10px;
    margin-left: 48px;
  }

  .diary-page-picker-current-box {
    min-height: 200px;
  }

  .diary-page-picker-current-box span {
    font-size: clamp(7.5rem, 42vw, 10rem);
  }

  .diary-page-picker-summary {
    margin: 24px 0;
    font-size: 2.2rem;
  }

  .diary-page-picker-form input {
    min-height: 62px;
    padding: 10px 18px;
    font-size: 1.5rem;
  }

  .diary-page-picker-form button {
    min-height: 64px;
    margin-top: 10px;
    font-size: 1.15rem;
  }
}

.diary-article-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 34px);
}

.diary-article-modal[hidden] {
  display: none;
}

.diary-article-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(var(--theme-deep-overlay-rgb), 0.8);
}

.diary-article-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  width: min(100%, 1120px);
  height: min(720px, calc(100dvh - 68px));
  max-height: calc(100dvh - 68px);
  overflow: hidden;
  color: var(--home-panel-text);
  background: var(--theme-surface-alternate);
  border: 1px solid rgba(var(--theme-accent-rgb), 0.28);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(var(--theme-shadow-warm-rgb), 0.42);
}

.diary-article-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--color-button);
  background: rgba(var(--theme-surface-alternate-rgb), 0.9);
  border: 0;
  border-radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 0.8;
  cursor: pointer;
}

.diary-article-close:hover {
  color: var(--color-button-hover);
}

.diary-article-close:focus-visible {
  outline: 3px solid rgba(var(--theme-focus-ring-rgb), 0.4);
  outline-offset: 4px;
}

.diary-article-image {
  min-width: 0;
  min-height: 0;
  background-color: var(--theme-primary-dark-surface);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.diary-article-content {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  padding: clamp(58px, 6vw, 82px) clamp(34px, 5vw, 64px) clamp(38px, 5vw, 58px);
}

.diary-article-content.has-diary-date {
  grid-template-rows: auto auto auto minmax(0, 1fr);
}

.diary-article-content .section-kicker {
  margin: 0 0 14px;
}

.diary-article-content h2 {
  margin: 0 0 clamp(26px, 4vw, 40px);
  padding-right: 38px;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.55rem);
  font-weight: 500;
  line-height: 1.06;
}

.diary-article-content.has-diary-date h2 {
  margin-bottom: 10px;
}

.diary-article-date {
  margin: 0 0 clamp(22px, 3vw, 34px);
}

.diary-article-body-scroll {
  min-height: 0;
  padding-right: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.diary-article-body-scroll p {
  margin: 0;
  color: var(--theme-text-on-light);
  font-size: 1.04rem;
  line-height: 1.78;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .diary-article-modal {
    display: block;
    padding: 12px;
    overflow: hidden auto;
  }

  .diary-article-dialog {
    grid-template-columns: 1fr;
    width: min(100%, 720px);
    height: auto;
    max-height: none;
    margin: 0 auto;
    overflow: visible;
  }

  .diary-article-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .diary-article-content {
    display: block;
    padding: 34px clamp(20px, 6vw, 46px) 42px;
  }

  .diary-article-content h2 {
    margin-bottom: 24px;
    padding-right: 0;
  }

  .diary-article-body-scroll {
    padding-right: 0;
    overflow: visible;
    overscroll-behavior: auto;
  }
}

.diary-meta {
  margin: 0 0 12px;
  color: var(--theme-accent-text, var(--color-accent));
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 50px;
  padding: 13px 26px;
  color: var(--theme-text-on-dark-soft);
  background: var(--color-button);
  border: 1px solid rgba(var(--theme-primary-rgb), 0.18);
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 160ms ease;
}

.diary-link:hover {
  background: var(--color-button-hover);
}

.gallery-page {
  background: var(--home-shell-bg);
}

.gallery-section {
  padding: clamp(38px, 6vw, 76px) clamp(24px, 6vw, 88px);
  background:
    linear-gradient(
      rgba(var(--theme-dark-section-rgb), 0.87),
      rgba(var(--theme-dark-section-rgb), 0.95)
    ),
    var(--hero-bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.gallery-panel {
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px);
  color: var(--home-panel-text);
  background: var(--home-panel-bg);
  border: 1px solid rgba(var(--theme-accent-rgb), 0.28);
  border-radius: 10px;
}

.gallery-video-section {
  padding-top: 0;
  scroll-margin-top: 110px;
}

.gallery-video-panel {
  min-height: clamp(220px, 22vw, 320px);
}

.gallery-video-grid {
  --gallery-video-card-size: 190px;

  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(
      min(100%, var(--gallery-video-card-size)),
      var(--gallery-video-card-size)
    )
  );
  gap: clamp(18px, 3vw, 28px);
  justify-content: center;
  width: min(100%, 626px);
  margin: 0 auto;
}

.gallery-video-grid:has(> :only-child) {
  grid-template-columns: minmax(0, var(--gallery-video-card-size));
}

.gallery-video-grid:has(> :nth-child(2)):not(:has(> :nth-child(3))) {
  grid-template-columns: repeat(2, minmax(0, var(--gallery-video-card-size)));
}

.gallery-video-card {
  position: relative;
  display: block;
  aspect-ratio: 1;
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--theme-primary-dark-surface);
  border: 1px solid rgba(var(--theme-border-on-light-rgb), 0.24);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(var(--theme-heading-on-light-rgb), 0.1);
  cursor: pointer;
}

.gallery-video-card:focus-visible {
  outline: 3px solid rgba(var(--theme-focus-ring-rgb), 0.46);
  outline-offset: 4px;
}

.gallery-video-item {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  background: var(--theme-primary-dark-surface);
}

.gallery-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(54px, 34%, 72px);
  aspect-ratio: 1;
  background: rgba(var(--theme-primary-rgb), 0.78);
  border: 1px solid rgba(var(--theme-accent-light-rgb), 0.52);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(var(--theme-heading-on-light-rgb), 0.34);
  transform: translate(-50%, -50%);
}

.gallery-video-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid var(--theme-accent-light);
}

.gallery-heading {
  max-width: 720px;
  margin: 0 auto clamp(30px, 4vw, 44px);
  text-align: center;
}

.gallery-heading .section-rule {
  margin-right: auto;
  margin-left: auto;
}

.gallery-heading h1,
.gallery-heading h2 {
  margin: 0;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(2.45rem, 5vw, 4.05rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

.gallery-heading p:last-child {
  margin: 0;
  color: var(--theme-text-on-light);
  font-size: 1.05rem;
  line-height: 1.65;
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: clamp(18px, 3vw, 28px);
  place-items: start stretch;
}

.gallery-page-card {
  grid-column: auto / span 1;
  place-self: start stretch;
  height: auto;
  overflow: hidden;
  background-color: var(--theme-primary-dark-surface);
  border: 1px solid rgba(var(--theme-border-on-light-rgb), 0.24);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(var(--theme-heading-on-light-rgb), 0.1);
}

.gallery-page-card[hidden] {
  display: none;
}

.gallery-page-button {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.gallery-page-button:focus-visible {
  outline: 3px solid rgba(var(--theme-focus-ring-rgb), 0.46);
  outline-offset: 4px;
}

.gallery-page-card img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-empty-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: clamp(24px, 4vw, 34px);
  color: var(--theme-text-on-light);
  background: rgba(var(--theme-surface-layer-rgb), 0.26);
  border: 1px solid rgba(var(--theme-border-on-light-rgb), 0.2);
  border-radius: 8px;
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: center;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: max(14px, env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom))
    max(14px, env(safe-area-inset-left));
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--theme-night-overlay-rgb), 0.9);
}

.gallery-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template:
    "prev image next" minmax(0, 1fr)
    ". caption ." auto
    ". close ." 48px /
    56px minmax(0, 1fr) 56px;
  gap: 10px clamp(8px, 2vw, 18px);
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.gallery-lightbox-close {
  grid-area: close;
  place-self: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.86);
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.gallery-lightbox-nav {
  place-self: center;
  width: 48px;
  min-height: 64px;
  padding: 0;
  color: #fff;
  background: var(--home-shell-bg);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  font-size: 0;
  cursor: pointer;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.86);
}

.gallery-lightbox-prev {
  grid-area: prev;
}

.gallery-lightbox-next {
  grid-area: next;
}

.gallery-lightbox-nav::before {
  color: inherit;
  font-family: var(--font-heading);
  font-size: 2.3rem;
  line-height: 1;
}

.gallery-lightbox-prev::before {
  content: "\2039";
}

.gallery-lightbox-next::before {
  content: "\203a";
}

.gallery-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.14);
}

.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.gallery-lightbox img {
  display: block;
  grid-area: image;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  place-self: center;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
}

.gallery-lightbox-caption {
  grid-area: caption;
  max-width: 820px;
  margin: 0 auto 2px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.88);
}

.gallery-lightbox-caption[hidden] {
  display: none;
}

.video-viewer {
  position: fixed;
  inset: 0;
  z-index: 21;
  display: grid;
  place-items: center;
  padding: max(14px, env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom))
    max(14px, env(safe-area-inset-left));
}

.video-viewer[hidden] {
  display: none;
}

.video-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(var(--theme-night-overlay-rgb), 0.9);
}

.video-viewer-panel {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: fit-content;
  max-width: min(100%, 1080px);
  max-height: 100%;
}

.video-viewer-close {
  position: absolute;
  top: -22px;
  right: -22px;
  z-index: 2;
  width: 48px;
  min-height: 48px;
  padding: 0;
  color: #fff;
  background: rgba(var(--theme-night-overlay-rgb), 0.52);
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.86);
}

.video-viewer-close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.video-viewer-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.video-viewer-media {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 56px);
  background: #000;
  border-radius: 8px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.48);
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery-card,
  .gallery-lightbox-nav,
  .gallery-lightbox-close {
    transition: none;
  }
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: center;
}

.about-image {
  min-height: 455px;
  background-color: var(--theme-primary-dark-surface);
  background-image: var(--about-profile-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 8px;
}

.about-copy h1,
.about-copy h2 {
  max-width: 650px;
  margin: 0;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.about-copy > .section-kicker {
  max-width: 610px;
  margin: 0 0 26px;
}

.about-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin: 0 0 28px;
}

.about-detail-grid span,
.about-note {
  background: rgba(var(--theme-surface-layer-rgb), 0.26);
  border: 1px solid rgba(var(--theme-border-on-light-rgb), 0.24);
  border-radius: 8px;
}

.about-detail-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 14px;
  color: var(--theme-text-muted-on-light);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.about-note {
  max-width: 650px;
  padding: 24px;
}

.about-note p {
  margin: 0;
  color: var(--theme-text-on-light);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.58;
}

.contact-page,
.legal-page {
  background: var(--home-shell-bg);
}

.contact-section,
.legal-section {
  padding: clamp(38px, 6vw, 76px) clamp(24px, 6vw, 88px);
  background:
    linear-gradient(
      rgba(var(--theme-dark-section-rgb), 0.87),
      rgba(var(--theme-dark-section-rgb), 0.95)
    ),
    var(--hero-bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-panel,
.legal-panel {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px);
  color: var(--home-panel-text);
  background: var(--home-panel-bg);
  border: 1px solid rgba(var(--theme-accent-rgb), 0.28);
  border-radius: 10px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(34px, 5vw, 62px);
  align-items: start;
}

.contact-intro h1,
.legal-panel h1 {
  margin: 0;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

.contact-intro > p:not(.section-kicker) {
  max-width: 440px;
  margin: 0 0 28px;
  color: var(--theme-text-on-light);
  font-size: 1.05rem;
  line-height: 1.68;
}

.contact-page-form {
  align-self: stretch;
}

.legal-panel {
  max-width: 1120px;
}

.legal-heading {
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 42px);
  text-align: center;
}

.legal-heading .section-rule {
  margin-right: auto;
  margin-left: auto;
}

.legal-heading p:last-child {
  margin: 0;
  color: var(--theme-text-on-light);
  font-size: 1.05rem;
  line-height: 1.65;
}

.legal-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 34px);
}

.legal-card {
  scroll-margin-top: 110px;
  padding: clamp(24px, 4vw, 34px);
  background: rgba(var(--theme-surface-layer-rgb), 0.26);
  border: 1px solid rgba(var(--theme-border-on-light-rgb), 0.24);
  border-radius: 8px;
}

.legal-card h2,
.legal-card h3 {
  margin: 0;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.legal-card h2 {
  font-size: clamp(1.9rem, 4vw, 2.65rem);
}

.legal-card h3 {
  margin-top: 24px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.legal-card p {
  margin: 10px 0 0;
  color: var(--theme-text-on-light);
  font-size: 1rem;
  line-height: 1.62;
}

.legal-scroll-note {
  margin-top: clamp(20px, 4vw, 34px);
  padding: clamp(22px, 4vw, 32px);
  background: rgba(var(--theme-surface-layer-rgb), 0.22);
  border: 1px solid rgba(var(--theme-border-on-light-rgb), 0.22);
  border-radius: 8px;
}

.legal-scroll-note h2 {
  margin: 0 0 14px;
  color: var(--home-panel-text);
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.legal-scroll-copy {
  max-height: 210px;
  overflow-y: auto;
  padding-right: 14px;
  color: var(--theme-text-on-light);
  scrollbar-color: rgba(var(--theme-accent-rgb), 0.75)
    rgba(var(--theme-surface-layer-rgb), 0.34);
}

.legal-scroll-copy:focus-visible {
  outline: 2px solid rgba(var(--theme-focus-ring-accent-rgb), 0.72);
  outline-offset: 4px;
}

.legal-scroll-copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.66;
  text-align: justify;
}

.legal-scroll-copy p + p {
  margin-top: 14px;
}

.home-footer {
  padding: clamp(24px, 3.8vw, 42px) 0 clamp(30px, 4.6vw, 50px);
  color: var(--theme-text-muted-on-dark-soft);
  background: var(--home-shell-bg);
}

.footer-content {
  max-width: 1668px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 72px);
  text-align: center;
}

.footer-age-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(18px, 3.4vw, 38px);
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: clamp(22px, 3.8vw, 36px);
}

.footer-age-row span {
  height: 1px;
  background: rgba(var(--theme-accent-rgb), 0.78);
}

.footer-age-row strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(60px, 5.5vw, 88px);
  aspect-ratio: 1;
  color: var(--theme-accent-light);
  border: 3px solid rgba(var(--theme-accent-light-rgb), 0.94);
  border-radius: 50%;
  font-size: clamp(1.7rem, 2.45vw, 2.45rem);
  font-weight: 400;
  line-height: 1;
}

.footer-age-label {
  margin: 0 0 16px;
  color: var(--theme-accent-light);
  font-size: clamp(1.22rem, 2.05vw, 1.82rem);
  letter-spacing: 0.28em;
  line-height: 1.15;
  text-transform: uppercase;
}

.footer-notice,
.footer-copyright {
  margin: 0;
  color: var(--theme-text-muted-on-dark-soft);
  font-size: clamp(0.94rem, 1.4vw, 1.18rem);
  line-height: 1.5;
}

.footer-bottom-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: clamp(24px, 3.8vw, 42px);
  background: rgba(var(--theme-accent-rgb), 0.78);
}

.footer-legal-link {
  display: inline-flex;
  margin: 8px 0 16px;
  color: var(--theme-danger);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.38em;
}

.footer-legal-link:hover {
  color: var(--theme-danger-bright);
}

.footer-social-links {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.footer-instagram-link,
.footer-onlyfans-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--theme-danger);
}

.footer-instagram-link svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.8;
}

.footer-onlyfans-link .onlyfans-mask-icon {
  width: 22px;
  height: 22px;
}

.footer-instagram-link:hover,
.footer-onlyfans-link:hover {
  color: var(--theme-danger-bright);
}

.footer-legal-link:focus-visible {
  outline: 2px solid var(--theme-focus-ring);
  outline-offset: 5px;
}

.footer-instagram-link:focus-visible,
.footer-onlyfans-link:focus-visible {
  outline: 2px solid var(--theme-focus-ring);
  outline-offset: 5px;
}

@media (max-width: 1100px) {
  .home-gallery-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .home-gallery-arrow {
    width: 44px;
    min-height: 60px;
  }

  .home-gallery-arrow::before {
    font-size: 2.2rem;
  }

  .home-gallery-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 980px) {
  .home-video-gallery-section {
    padding: clamp(32px, 8vw, 54px) clamp(18px, 6vw, 28px)
      clamp(48px, 10vw, 68px);
  }

  .home-video-gallery-section h2 {
    margin-bottom: 26px;
  }

  .home-video-gallery-section .home-gallery-carousel {
    display: grid;
    grid-template-areas: "prev gallery next";
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
    align-items: center;
  }

  .home-video-gallery-section .home-gallery-arrow {
    display: inline-flex;
    width: 44px;
    min-height: 60px;
    align-self: center;
  }

  .home-video-gallery-grid,
  .home-video-gallery-grid[data-home-video-gallery-count="1"],
  .home-video-gallery-grid[data-home-video-gallery-count="2"] {
    grid-template-columns: minmax(0, 155px);
    gap: 22px;
    justify-content: center;
    width: min(100%, 155px);
  }

  .home-video-gallery-grid .gallery-video-card {
    width: min(100%, 155px);
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: 76px;
  }

  .gallery-video-grid {
    width: min(100%, 408px);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    transform: none;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 10px 28px 24px;
    background: rgba(var(--theme-header-rgb), 0.98);
    border-bottom: 1px solid rgba(var(--theme-accent-rgb), 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 46px;
  }

  .hero,
  .hero-inner {
    min-height: calc(100vh - 88px);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-copy {
    max-width: 680px;
    padding-bottom: 18px;
  }

  .hero h1 {
    white-space: normal;
  }

  .hero-button {
    transform: none;
  }

  .hero-media {
    display: none;
  }

  .home-gallery-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .home-rates-panel-grid {
    grid-template-columns: 1fr;
  }

  .home-services-layout {
    grid-template-columns: 1fr;
  }

  .home-contact-panel {
    grid-template-columns: 1fr;
  }

  .rates-section {
    min-height: auto;
  }

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

  .rates-service-list {
    grid-template-columns: 1fr;
  }

  .rates-note {
    align-items: stretch;
    flex-direction: column;
  }

  .diary-feature {
    grid-template-columns: 1fr;
  }

  .gallery-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-image {
    min-height: 360px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .home-contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0 20px;
  }

  .hero-inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    background-image:
      linear-gradient(
        rgba(
          var(--theme-hero-overlay-rgb),
          clamp(0, calc(0.74 * var(--hero-dim-strength)), 1)
        ),
        rgba(
          var(--theme-hero-overlay-rgb),
          clamp(0, calc(0.52 * var(--hero-dim-strength)), 1)
        )
      ),
      var(--hero-composite-image);
    background-position:
      center,
      70% center;
  }

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

  .hero-kicker {
    transform: none;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 17vw, 5.2rem);
  }

  .hero-subtitle {
    margin-right: auto;
    margin-left: auto;
    font-size: 1.25rem;
  }

  .hero-button {
    width: 100%;
  }

  .hero-media {
    display: none;
  }

  .home-intro-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .home-intro-panel {
    padding: 28px 22px 34px;
  }

  .home-rates-panel,
  .home-services-panel,
  .home-touring-panel {
    padding: 28px 22px 34px;
  }

  .home-touring-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--home-touring-column-gap);
  }

  .home-quick-facts {
    --home-quick-facts-gap: 10px;

    gap: 10px;
    margin-top: 28px;
  }

  .home-quick-fact-row {
    flex-basis: calc((100% - var(--home-quick-facts-gap)) / 2);
    min-height: 104px;
    padding: 18px 10px;
  }

  .home-gallery-section,
  .home-wardrobe-preview-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .home-gallery-card {
    min-height: 170px;
  }

  .home-rate-list div {
    align-items: flex-start;
    gap: 4px;
  }

  .home-rate-list dd {
    text-align: left;
  }

  .home-rate-list[data-home-rate-list] div {
    grid-template-columns: minmax(92px, 1.25fr) minmax(116px, 1fr);
    gap: 10px;
  }

  .home-rate-list[data-home-rate-list] dd {
    grid-template-columns: repeat(2, minmax(52px, 1fr));
    gap: 10px;
    text-align: right;
  }

  .home-rates-button {
    width: 100%;
  }

  .home-contact-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .home-contact-panel {
    padding: 26px 20px 30px;
  }

  .home-contact-panel > h2 {
    margin-bottom: 24px;
  }

  .home-contact-actions {
    width: min(100%, 240px);
    gap: 18px 24px;
  }

  .home-contact-action {
    width: min(22vw, 96px);
    justify-self: center;
  }

  .contact-details-modal {
    padding: 12px;
  }

  .contact-details-dialog {
    max-height: calc(100dvh - 24px);
    padding: 62px 20px 38px;
  }

  .contact-details-close {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .contact-details-phone {
    margin-top: 42px;
    overflow-wrap: anywhere;
  }

  .contact-details-actions {
    gap: 12px;
  }

  .contact-details-action {
    gap: 8px;
    min-height: 70px;
    padding: 12px 10px;
  }

  .contact-details-action-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .email-contact-dialog {
    padding-right: 20px;
    padding-left: 20px;
  }

  .email-contact-dialog h2 {
    margin-bottom: 30px;
  }

  .email-contact-form {
    gap: 16px;
  }

  .email-contact-form textarea {
    min-height: 180px;
  }

  .email-contact-address-row {
    gap: 5px;
    align-items: center;
    flex-direction: row;
    margin-top: 8px;
    text-align: center;
  }

  .email-contact-address-row > a {
    font-size: 0.9375rem;
  }

  .social-media-dialog {
    padding: 54px 20px 28px;
  }

  .social-media-modal-icon {
    width: 82px;
    height: 82px;
    margin-bottom: 6px;
  }

  .social-media-table-heading,
  .social-media-row {
    grid-template-columns: minmax(86px, 0.8fr) minmax(0, 1.2fr);
    gap: 14px;
  }

  .social-media-table-heading {
    padding: 0 8px 14px;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
  }

  .social-media-row {
    min-height: 72px;
    padding: 14px 8px;
    font-size: 1.1rem;
  }

  .social-media-empty {
    padding: 12px 10px 10px;
  }

  .social-media-empty-icon {
    width: 68px;
    height: 68px;
  }

  .social-media-empty-icon svg {
    width: 36px;
    height: 36px;
  }

  .social-media-empty p {
    font-size: 1.6rem;
  }

  .home-contact-details {
    padding: 22px;
  }

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

  .home-contact-form button {
    width: 100%;
  }

  .rates-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .rates-panel {
    padding: 28px 20px 30px;
  }

  .rate-list div,
  .availability-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .rate-list dd,
  .availability-list dd {
    text-align: left;
  }

  .rate-list[data-rate-list] div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rate-list[data-rate-list] dd {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    text-align: left;
  }

  .rates-button {
    width: 100%;
  }

  .diary-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .diary-panel {
    padding: 28px 20px 30px;
  }

  .diary-feature-image {
    min-height: 250px;
  }

  .diary-link {
    width: 100%;
  }

  .gallery-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .gallery-panel {
    padding: 28px 20px 30px;
  }

  .gallery-video-panel {
    min-height: 240px;
  }

  .gallery-video-grid {
    --gallery-video-card-size: 420px;

    grid-template-columns: minmax(0, 420px);
  }

  .gallery-page-grid {
    grid-template-columns: 1fr;
  }

  .gallery-lightbox {
    padding: max(10px, env(safe-area-inset-top))
      max(10px, env(safe-area-inset-right))
      max(10px, env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
  }

  .gallery-lightbox-panel {
    grid-template:
      "prev image next" minmax(0, 1fr)
      ". caption ." auto
      ". close ." 48px /
      44px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .gallery-lightbox-nav {
    width: 44px;
    min-height: 52px;
  }

  .gallery-lightbox-nav::before {
    font-size: 2rem;
  }

  .about-image {
    min-height: 300px;
  }

  .about-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-section,
  .legal-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .contact-panel,
  .legal-panel {
    padding: 28px 20px 30px;
  }

  .service-item,
  .home-card-callout-row {
    grid-template-columns: 48px 1fr;
    gap: 18px;
  }

  .service-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .home-about-icon {
    width: 44px;
    height: 44px;
  }

  .home-about-location {
    grid-template-columns: 48px 1fr;
    gap: 18px;
  }

  .home-rates-callout .home-card-callout-row {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }
}
