/* Homepage hero crop adjustment: show more of the dresses on desktop. */
@media (min-width: 621px) {
  .hero-images figure:nth-child(1) img {
    object-position: center 80%;
  }

  .hero-images figure:nth-child(2) img {
    object-position: center 73%;
  }

  .hero-images figure:nth-child(3) img {
    object-position: center 77%;
  }

  /* Reviews background: keep both models and more of the dresses in frame. */
  .reviews-atmosphere::before {
    background-position: center 38%;
  }
}

/* Contact page portrait background crop. */
.contact-hero::before {
  background-position: center 55%;
}

/* Keep the rotating featured review at a stable height. */
.review-stage blockquote {
  display: flex;
  min-height: 4.4em;
  align-items: center;
  justify-content: center;
}

/* Editorial additions. */
.salon-editorial-story {
  padding-top: clamp(4.5rem, 7vw, 7rem);
}

.salon-editorial-story .ledger-heading {
  align-items: start;
}

.salon-editorial-intro {
  max-width: 760px;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.reviews-editorial-note {
  width: min(100%, 760px);
  margin: 0 auto clamp(2.25rem, 4vw, 3.5rem);
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.025em;
  line-height: 1.55;
  text-align: center;
}

/* The three salon visit blocks do not need decorative step numbers. */
body[data-page="salon"] .visit-step::before {
  display: none;
  content: none;
}

/*
 * One canonical style for every large CTA.
 * This exactly mirrors the primary buttons in the photo heroes on
 * Kleitas, Pakalpojumi and Salons.
 */
.button,
.button-primary,
.button-quiet,
.button-light,
.booking-form button[type="submit"] {
  border-color: transparent;
  background: var(--white);
  box-shadow: none;
  color: var(--plum-dark);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.button:hover,
.button-primary:hover,
.button-quiet:hover,
.button-light:hover,
.booking-form button[type="submit"]:hover {
  transform: translateY(-2px) scale(1.018);
  border-color: transparent;
  background: var(--paper-deep);
  box-shadow: none;
  color: var(--plum-dark);
}

.button:active,
.button-primary:active,
.button-quiet:active,
.button-light:active,
.booking-form button[type="submit"]:active {
  transform: translateY(0) scale(0.99);
}

/* Contact form CTA: slightly stronger contrast against the white form. */
.booking-form button[type="submit"] {
  gap: 0.7rem;
  border-color: rgba(65, 40, 53, 0.24);
  background: #e8ddd8;
  box-shadow: 0 8px 22px rgba(55, 35, 45, 0.08);
  color: var(--ink);
  cursor: pointer;
}

.booking-form button[type="submit"]:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(65, 40, 53, 0.36);
  background: #ded0ca;
  box-shadow: 0 14px 30px rgba(55, 35, 45, 0.13);
  color: var(--ink);
}

.booking-form button[type="submit"]:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 5px 14px rgba(55, 35, 45, 0.08);
}

.booking-form button[type="submit"]::before {
  width: 1.08rem;
  height: 1.08rem;
  flex: 0 0 1.08rem;
  background: url("assets/icon-whatsapp.svg") center / contain no-repeat;
  content: "";
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button-primary,
  .button-quiet,
  .button-light,
  .booking-form button[type="submit"] {
    transition-duration: 0.01ms !important;
  }

  .button:hover,
  .button:active,
  .button-primary:hover,
  .button-primary:active,
  .button-quiet:hover,
  .button-quiet:active,
  .button-light:hover,
  .button-light:active,
  .booking-form button[type="submit"]:hover,
  .booking-form button[type="submit"]:active {
    transform: none !important;
  }
}

/* Working hours: aligned day and time columns without row dividers. */
.contact-card-hours > p {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  padding: 0;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.contact-card-hours > p br {
  display: none;
}

.contact-card-hours > p::before,
.contact-card-hours > p::after {
  display: block;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 580;
  line-height: 2.25rem;
  white-space: pre;
}

.contact-card-hours > p::before {
  flex: 1 1 auto;
  content: "Pirmdiena–Piektdiena\A Sestdiena\A Svētdiena";
}

.contact-card-hours > p::after {
  flex: 0 0 auto;
  content: "13:00–18:00\A 12:00–17:00\A Slēgts";
  color: var(--plum-dark);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.contact-card-hours::after {
  display: block;
  margin-top: 0.82rem;
  padding-top: 0.78rem;
  border-top: 1px solid rgba(100, 31, 75, 0.22);
  color: var(--plum);
  content: "•  Strādājam pēc iepriekšēja pieraksta";
  font-size: 0.71rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

html[lang="ru"] .contact-card-hours > p::before {
  content: "Понедельник–Пятница\A Суббота\A Воскресенье";
}

html[lang="ru"] .contact-card-hours > p::after {
  content: "13:00–18:00\A 12:00–17:00\A Закрыто";
}

html[lang="ru"] .contact-card-hours::after {
  content: "•  Работаем по предварительной записи";
}

html[lang="en"] .contact-card-hours > p::before {
  content: "Monday–Friday\A Saturday\A Sunday";
}

html[lang="en"] .contact-card-hours > p::after {
  content: "13:00–18:00\A 12:00–17:00\A Closed";
}

html[lang="en"] .contact-card-hours::after {
  content: "•  Open by prior appointment";
}

@media (max-width: 620px) {
  .contact-hero::before {
    background-position: 48% 56%;
  }

  /* The source is horizontal, so the mobile crop follows the models on the right. */
  .reviews-atmosphere::before {
    background-position: 68% 32%;
  }

  .review-stage blockquote {
    min-height: 7.6em;
  }

  .salon-editorial-story {
    padding-top: 4.25rem;
  }

  .salon-editorial-intro {
    font-size: 0.95rem;
  }

  .reviews-editorial-note {
    margin-bottom: 2rem;
    font-size: 0.74rem;
    text-align: left;
  }

  .contact-card-hours > p::before,
  .contact-card-hours > p::after {
    font-size: 0.8rem;
    line-height: 2.15rem;
  }
}

/* Complete mobile audit. Desktop rules above remain untouched. */
@media (max-width: 900px) {
  html {
    scroll-padding-top: calc(var(--header-height) + 1rem);
  }

  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  main,
  section,
  article,
  form,
  .site-footer {
    min-width: 0;
  }

  h1,
  h2,
  h3,
  p,
  a,
  button,
  label,
  dt,
  dd {
    overflow-wrap: anywhere;
  }

  .site-nav {
    max-height: 100dvh;
    padding-bottom: calc(2.25rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav a,
  .language-switcher button,
  .menu-button,
  .gallery-tabs button,
  .contact-channel,
  .contact-route,
  .mobile-actions a {
    min-width: 44px;
    min-height: 44px;
  }

  .button,
  .button-primary,
  .button-quiet,
  .button-light,
  .booking-form button[type="submit"] {
    min-height: 52px;
    padding: 0.95rem 1.15rem;
  }

  .contact-ribbon-actions {
    width: 100%;
  }

  .mobile-actions {
    min-height: 62px;
    height: auto;
    padding: 5px;
  }

  .mobile-actions a {
    padding-inline: 0.4rem;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  :root {
    --page: calc(100vw - 2rem);
    --reading: calc(100vw - 2rem);
  }

  .site-header {
    padding-right: max(0.85rem, env(safe-area-inset-right));
    padding-left: max(0.85rem, env(safe-area-inset-left));
  }

  .header-tools {
    gap: 0.2rem;
  }

  .language-switcher {
    gap: 0;
    padding-right: 0.45rem;
  }

  .language-switcher button {
    min-width: 30px;
    padding-inline: 0.15rem;
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }

  .site-nav {
    width: min(88vw, 360px);
    padding-right: max(1.5rem, env(safe-area-inset-right));
    padding-left: 1.5rem;
  }

  .hero-copy,
  .page-hero-copy,
  body[data-page="services"] .page-hero-copy,
  body[data-page="salon"] .page-hero-copy {
    width: var(--page);
  }

  .hero-intro,
  .page-lead,
  .section-heading > p:not(.eyebrow),
  .booking-copy > p:not(.eyebrow) {
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    gap: 0.8rem;
  }

  .hero-actions .button {
    width: min(100%, 320px);
  }

  .hero-actions .text-link {
    width: fit-content;
    min-height: 44px;
    padding-block: 0.55rem;
  }

  .button,
  .button-primary,
  .button-quiet,
  .button-light,
  .booking-form button[type="submit"] {
    width: 100%;
    max-width: 100%;
    border-radius: 6px;
    font-size: 0.7rem;
    letter-spacing: 0.095em;
    line-height: 1.3;
    white-space: normal;
  }

  .button-quiet,
  .button-light {
    border-color: rgba(65, 40, 53, 0.18);
  }

  .text-link,
  .ledger-item > a {
    min-height: 44px;
    align-items: center;
    line-height: 1.35;
  }

  .service-paths .button,
  .lookbook-copy .button,
  .accessory-copy .button,
  .contact-ribbon-actions .button {
    width: 100%;
  }

  .path-item,
  .ledger-item,
  .visit-step,
  .review-note,
  .contact-card {
    min-width: 0;
  }

  .lookbook-copy,
  .accessory-copy,
  .salon-collage-note,
  .map-copy {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .contact-ribbon {
    width: var(--page);
    gap: 1.75rem;
    padding: 1.5rem;
    border-radius: 14px;
  }

  .contact-ribbon-actions {
    max-width: none;
  }

  .contact-ribbon-actions > a:not(.button) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .review-platform-icon {
    min-height: 66px;
    padding: 0.85rem;
  }

  .review-note {
    padding: 1.25rem;
  }

  .review-note footer {
    flex-wrap: wrap;
  }

  .contact-card {
    padding: 1.35rem;
  }

  .contact-number,
  .contact-address {
    overflow-wrap: normal;
    word-break: normal;
  }

  .contact-channel,
  .contact-route {
    width: 46px;
    height: 46px;
  }

  .booking-section {
    width: var(--page);
  }

  .booking-form {
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 14px;
  }

  .booking-form label > span:first-child {
    line-height: 1.35;
  }

  .booking-form input,
  .booking-form select,
  .booking-form textarea {
    min-height: 54px;
    border-radius: 8px;
    font-size: 16px;
  }

  .booking-form textarea {
    min-height: 128px;
  }

  .photo-reminder,
  .consent {
    min-height: 48px;
    align-items: flex-start;
    padding-block: 0.25rem;
  }

  .photo-reminder input,
  .consent input {
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    margin-top: 0.15rem;
  }

  .booking-form button[type="submit"] {
    min-height: 56px;
  }

  .map-actions {
    gap: 0.65rem;
  }

  .map-action {
    min-height: 54px;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: min(112vw, 460px);
  }

  .site-footer {
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-left: max(1rem, env(safe-area-inset-left));
  }

  .footer-contact a,
  .footer-nav a,
  .footer-legal a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-nav a {
    line-height: 1.3;
  }

  .mobile-actions {
    right: max(0.65rem, env(safe-area-inset-right));
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    left: max(0.65rem, env(safe-area-inset-left));
    grid-template-columns: 0.82fr 1fr 1.18fr;
    border-radius: 17px;
  }

  .mobile-actions a {
    min-height: 50px;
    border-radius: 12px;
    font-size: 0.61rem;
    letter-spacing: 0.07em;
  }
}

@media (max-width: 420px) {
  .map-actions {
    grid-template-columns: 1fr;
  }

  .home-signature > span {
    font-size: clamp(3.65rem, 19vw, 5rem);
  }

  .mobile-actions {
    grid-template-columns: 0.76fr 0.98fr 1.26fr;
  }

  .mobile-actions a {
    gap: 0.25rem;
    font-size: 0.58rem;
    letter-spacing: 0.045em;
  }
}

@media (max-width: 350px) {
  .language-switcher button {
    min-width: 27px;
  }

  .site-name {
    font-size: 0.88rem;
  }

  .mobile-actions a {
    font-size: 0.54rem;
  }

  .mobile-actions img {
    display: none;
  }
}

@media (max-width: 900px) and (hover: none),
       (max-width: 900px) and (pointer: coarse) {
  .button:hover,
  .button-primary:hover,
  .button-quiet:hover,
  .button-light:hover,
  .booking-form button[type="submit"]:hover,
  .review-platform-icon:hover,
  .review-note:hover,
  .map-action:hover,
  .map-frame:hover {
    transform: none;
  }

  .button:active,
  .button-primary:active,
  .button-quiet:active,
  .button-light:active,
  .booking-form button[type="submit"]:active,
  .review-platform-icon:active,
  .map-action:active,
  .mobile-actions a:active {
    transform: scale(0.985);
  }

  .text-link:hover::after,
  .ledger-item > a:hover::after,
  .review-platform-icon:hover .review-platform-icon-arrow,
  .map-action:hover .vector-arrow {
    transform: none;
  }
}

/* Bundled action bar and scroll cue styles. */
.contact-email {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.35rem;
  color: var(--plum-dark);
  font-size: 0.88rem;
  text-decoration: underline;
  text-decoration-color: rgba(100, 31, 75, 0.3);
  text-underline-offset: 0.22em;
}

/* Keep opening hours as real translated text in the accessibility tree. */
.contact-card-hours > p {
  display: block;
  margin-top: 0.85rem;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 2.25rem;
}

.contact-card-hours > p br {
  display: block;
}

.contact-card-hours > p::before,
.contact-card-hours > p::after {
  display: none;
  content: none;
}

/* Borderless scroll cue: a generous invisible target with one crisp, airy arrow. */
.hero-scroll-cue {
  display: none;
}

@media (min-width: 901px) {
  .hero-scroll-cue {
    position: fixed;
    z-index: 44;
    left: 50%;
    bottom: clamp(1.65rem, 3.2vh, 2.5rem);
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    padding: 0;
    transform: translate(-50%, 7px);
    visibility: hidden;
    opacity: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #fffdfb;
    cursor: pointer;
    transition: opacity 320ms ease, transform 380ms cubic-bezier(.22,1,.36,1), visibility 320ms step-end;
  }

  .hero-scroll-cue.is-visible {
    visibility: visible;
    transform: translate(-50%, 0);
    opacity: .92;
    transition: opacity 320ms ease, transform 380ms cubic-bezier(.22,1,.36,1), visibility 0s;
  }

  .hero-scroll-cue:hover,
  .hero-scroll-cue:focus-visible {
    opacity: 1;
    transform: translate(-50%, 2px) scale(1.06);
  }

  .hero-scroll-cue:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: -5px;
    border-radius: 6px;
  }

  body:is([data-page="reviews"],[data-page="contact"]) .hero-scroll-cue {
    color: var(--plum-dark);
  }

  .hero-scroll-cue::before {
    width: 34px;
    height: 34px;
    background: currentColor;
    content: "";
    filter: drop-shadow(0 1px 1px rgba(31,15,24,.78)) drop-shadow(0 3px 8px rgba(31,15,24,.42));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 8 9 9 9-9' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 8 9 9 9-9' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    animation: catrin-scroll-cue-desktop 2.6s cubic-bezier(.45,0,.2,1) infinite;
  }

  body:is([data-page="reviews"],[data-page="contact"]) .hero-scroll-cue::before {
    filter: drop-shadow(0 1px 0 rgba(255,255,255,.95)) drop-shadow(0 3px 8px rgba(255,255,255,.72));
  }
}

@media (max-width: 900px) {
  .mobile-actions {
    position: fixed;
    isolation: isolate;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    padding: 4px !important;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.58) !important;
    border-radius: 18px !important;
    background: rgba(250,247,244,.27) !important;
    box-shadow: 0 9px 28px rgba(55,35,45,.08) !important;
    backdrop-filter: blur(22px) saturate(1.1) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.1) !important;
  }
  .mobile-actions::before,
  .mobile-actions::after {
    position: absolute;
    z-index: 1;
    top: 13px;
    bottom: 13px;
    width: 1px;
    transform: translateX(-.5px);
    background: rgba(65,40,53,.16);
    content: "";
    pointer-events: none;
  }
  .mobile-actions::before { left: 33.333333%; }
  .mobile-actions::after { left: 66.666667%; }
  .mobile-actions a,
  .mobile-actions a:last-child {
    position: relative;
    z-index: 2;
    min-width: 0;
    min-height: 50px;
    gap: .42rem;
    padding: .55rem .4rem;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--plum-dark) !important;
    transition: background-color 180ms ease, transform 180ms ease;
  }
  .mobile-actions a + a { border-left: 0 !important; }
  .mobile-actions a:first-child::before,
  .mobile-actions a:last-child::before {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    background: currentColor;
    content: "";
  }
  .mobile-actions a:first-child::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.2 3.5 9.7 7.8 8 9.5c1.1 2.3 2.9 4.1 5.2 5.2l1.7-1.7 4.3 2.5-.6 3.4c-.2 1-1.1 1.7-2.1 1.6C9.2 19.8 4.2 14.8 3.5 7.5c-.1-1 .6-1.9 1.6-2.1l2.1-.4Z' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.2 3.5 9.7 7.8 8 9.5c1.1 2.3 2.9 4.1 5.2 5.2l1.7-1.7 4.3 2.5-.6 3.4c-.2 1-1.1 1.7-2.1 1.6C9.2 19.8 4.2 14.8 3.5 7.5c-.1-1 .6-1.9 1.6-2.1l2.1-.4Z' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  }
  .mobile-actions a:last-child::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='5.5' width='16' height='14' rx='2' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M8 3.5v4M16 3.5v4M4 9.5h16M8.5 13h7M8.5 16h4.5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='5.5' width='16' height='14' rx='2' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M8 3.5v4M16 3.5v4M4 9.5h16M8.5 13h7M8.5 16h4.5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  }
  .mobile-actions img { width: 16px; height: 16px; flex: 0 0 16px; }
  .mobile-actions a:active,
  .mobile-actions a:last-child:active {
    transform: scale(.985);
    background: rgba(238,229,225,.46) !important;
  }

  #pieraksts { scroll-margin-top: calc(var(--header-height) + .35rem) !important; }
  .booking-section { gap: 1.5rem !important; padding-top: 2rem !important; }

  .booking-form input[type="date"] {
    position: relative;
    padding-right: 3.15rem !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5.5' width='17' height='15' rx='2.5' fill='none' stroke='%23641f4b' stroke-width='1.6'/%3E%3Cpath d='M7.5 3.5v4M16.5 3.5v4M3.5 9.5h17M8 13h2M12 13h2M16 13h1M8 16.5h2M12 16.5h2M16 16.5h1' fill='none' stroke='%23641f4b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .95rem center;
    background-size: 19px 19px;
    cursor: pointer;
  }
  .booking-form input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: .45rem;
    width: 2.5rem;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }
  .booking-form input[type="date"]::-webkit-date-and-time-value { text-align: left; }

  .hero-scroll-cue {
    position: fixed;
    z-index: 44;
    left: 50%;
    bottom: calc(5.85rem + env(safe-area-inset-bottom));
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    padding: 0;
    transform: translate(-50%, 10px);
    visibility: hidden;
    opacity: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #fffdfb;
    cursor: pointer;
    transition: opacity 260ms ease, transform 320ms cubic-bezier(.22,1,.36,1), visibility 260ms step-end;
  }
  .hero-scroll-cue.is-visible {
    visibility: visible;
    transform: translate(-50%, 0);
    opacity: 1;
    transition: opacity 260ms ease, transform 320ms cubic-bezier(.22,1,.36,1), visibility 0s;
  }
  body:is([data-page="reviews"],[data-page="contact"]) .hero-scroll-cue {
    color: var(--plum-dark);
  }
  .hero-scroll-cue::before {
    width: 32px;
    height: 32px;
    background: currentColor;
    content: "";
    filter: drop-shadow(0 1px 1px rgba(31,15,24,.82)) drop-shadow(0 3px 8px rgba(31,15,24,.48));
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 8 9 9 9-9' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 8 9 9 9-9' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    animation: catrin-scroll-cue 2.1s cubic-bezier(.45,0,.2,1) infinite;
  }
  body:is([data-page="reviews"],[data-page="contact"]) .hero-scroll-cue::before {
    filter: drop-shadow(0 1px 0 rgba(255,255,255,.95)) drop-shadow(0 3px 8px rgba(255,255,255,.76));
  }
  .hero-scroll-cue:active { transform: translate(-50%, 2px) scale(.96); }
  body.nav-open .hero-scroll-cue,
  body.mobile-keyboard-open .hero-scroll-cue {
    visibility: hidden !important;
    transform: translate(-50%, 10px) !important;
    opacity: 0 !important;
    pointer-events: none;
  }
}

@keyframes catrin-scroll-cue {
  0%, 100% { transform: translateY(-2px); opacity: .82; }
  50% { transform: translateY(5px); opacity: 1; }
}

@keyframes catrin-scroll-cue-desktop {
  0%, 100% { transform: translateY(-2px); opacity: .82; }
  50% { transform: translateY(5px); opacity: 1; }
}

@media (max-width: 620px) {
  .booking-section { gap: 1rem !important; padding-top: 1rem !important; }
  .booking-copy h2 { margin: .65rem 0 .8rem; }
}
@media (max-width: 420px) {
  .mobile-actions a,
  .mobile-actions a:last-child { gap: .28rem; padding-inline: .28rem; font-size: .57rem; letter-spacing: .04em; }
  .mobile-actions a:first-child::before,
  .mobile-actions a:last-child::before,
  .mobile-actions img { width: 14px; height: 14px; flex-basis: 14px; }
  .hero-scroll-cue { width: 50px; height: 50px; bottom: calc(5.7rem + env(safe-area-inset-bottom)); }
}
@media (max-width: 350px) {
  .mobile-actions a:first-child::before,
  .mobile-actions a:last-child::before,
  .mobile-actions img { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue::before { animation: none !important; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @media (max-width: 900px) {
    .mobile-actions { background: rgba(250,247,244,.74) !important; }
  }
}

/* Consent-aware analytics — designed as part of the CATRIN interface. */
.cookie-consent {
  position: fixed;
  z-index: 1100;
  isolation: isolate;
  right: max(1.5rem, env(safe-area-inset-right));
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  left: max(1.5rem, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .52fr);
  gap: clamp(1.5rem, 3.2vw, 2.75rem);
  align-items: center;
  width: min(880px, calc(100vw - 3rem));
  max-height: calc(100svh - 3rem);
  margin-inline: auto;
  padding: clamp(1.25rem, 2vw, 1.7rem);
  overflow-x: hidden;
  overflow-y: auto;
  transform: translate3d(0, 26px, 0) scale(.985);
  transform-origin: center bottom;
  visibility: hidden;
  opacity: 0;
  border: 1px solid rgba(65,40,53,.13);
  border-radius: 8px;
  background: rgba(255,253,251,.96);
  box-shadow: 0 20px 54px rgba(49,29,40,.12), 0 3px 10px rgba(49,29,40,.05);
  color: var(--ink);
  filter: blur(1px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    opacity 360ms ease,
    transform 560ms var(--ease),
    filter 420ms ease,
    visibility 0s linear 560ms;
}

.cookie-consent::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(248,241,237,.64), rgba(255,255,255,0) 46%);
  content: "";
  pointer-events: none;
}

.cookie-consent.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
  visibility: visible;
  opacity: 1;
  filter: none;
  transition-delay: 0s;
}

.cookie-consent[hidden] { display: none !important; }

.cookie-consent__copy,
.cookie-consent__actions {
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 360ms ease, transform 520ms var(--ease);
}

.cookie-consent.is-visible .cookie-consent__copy,
.cookie-consent.is-visible .cookie-consent__actions {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent.is-visible .cookie-consent__copy { transition-delay: 100ms; }
.cookie-consent.is-visible .cookie-consent__actions { transition-delay: 170ms; }

.cookie-consent__eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--plum-dark);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 520;
  letter-spacing: .14em;
  line-height: 1.3;
}

.cookie-consent__copy h2 {
  margin: .35rem 0 .35rem;
  color: var(--plum-dark);
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2vw, 1.58rem);
  font-weight: 430;
  line-height: 1.16;
  letter-spacing: -.018em;
}

.cookie-consent__copy p {
  max-width: 600px;
  margin: 0;
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.62;
}

.cookie-consent__actions {
  display: grid;
  min-width: 0;
  gap: .65rem;
}

.cookie-consent__choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
}

.cookie-consent__button {
  min-height: 48px;
  padding: .78rem .9rem;
  border: 1px solid rgba(65,40,53,.18);
  border-radius: 6px;
  font: inherit;
  font-size: .64rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: .105em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 220ms var(--ease),
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.cookie-consent__button--accept {
  border-color: rgba(65,40,53,.20);
  background: #e8ddd8;
  box-shadow: 0 8px 22px rgba(55,35,45,.08);
  color: var(--ink);
}

.cookie-consent__button--reject {
  background: var(--white);
  color: var(--plum-dark);
}

.cookie-consent__button:hover { transform: translateY(-2px) scale(1.018); }
.cookie-consent__button:active { transform: translateY(0) scale(.99); }
.cookie-consent__button--accept:hover {
  border-color: rgba(65,40,53,.34);
  background: #ded0ca;
  box-shadow: 0 14px 30px rgba(55,35,45,.13);
}
.cookie-consent__button--reject:hover {
  border-color: rgba(65,40,53,.3);
  background: var(--paper-deep);
}
.cookie-consent__button:focus-visible,
.cookie-consent__more:focus-visible,
.cookie-settings-button:focus-visible {
  outline: 1px solid var(--plum-dark);
  outline-offset: 4px;
}

.cookie-consent__more {
  justify-self: center;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: .65rem;
  letter-spacing: .035em;
  text-decoration-color: rgba(100,31,75,.28);
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.cookie-consent__more:hover {
  color: var(--plum);
  text-decoration-color: currentColor;
}

.cookie-settings-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(100,31,75,.42);
  text-underline-offset: 3px;
  cursor: pointer;
}

body.cookie-consent-open .hero-scroll-cue {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  .cookie-consent {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: min(680px, calc(100vw - 2rem));
    padding: 1.35rem;
  }
  .cookie-consent--with-mobile-actions {
    bottom: calc(5.9rem + env(safe-area-inset-bottom));
    max-height: calc(100svh - 7.4rem - env(safe-area-inset-bottom));
  }
  .cookie-consent__actions { width: 100%; min-width: 0; }
}

@media (max-width: 520px) {
  .cookie-consent {
    right: max(.72rem, env(safe-area-inset-right));
    left: max(.72rem, env(safe-area-inset-left));
    width: calc(100vw - 1.44rem);
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 10px;
  }
  .cookie-consent__eyebrow { font-size: .94rem; }
  .cookie-consent__copy h2 { font-size: 1.34rem; }
  .cookie-consent__copy p { font-size: .79rem; line-height: 1.62; }
  .cookie-consent__button { min-height: 48px; padding-inline: .55rem; font-size: .61rem; }
  .cookie-consent__more { min-height: 32px; font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent,
  .cookie-consent__copy,
  .cookie-consent__actions,
  .cookie-consent__button {
    transition: none !important;
  }
}
