/*
 * Kosmetik Ambiente - stylesheet
 * Redesign October 2026, based on the original theme by HORIZON & BEYOND (2025).
 * Mobile first: base styles for phones, then 640px (tablet) and 1024px (desktop).
 */

/* ------------------------------------------------------------------ */
/* Fonts                                                               */
/* ------------------------------------------------------------------ */

@font-face {
  font-family: 'LinearGrotesk';
  src: url('../fonts/lineargrotesk_regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LinearGrotesk';
  src: url('../fonts/lineargrotesk_medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LinearGrotesk';
  src: url('../fonts/lineargrotesk_semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LinearGrotesk';
  src: url('../fonts/lineargrotesk_bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */

:root {
  --ink: #242321;
  --taupe: #56514C;
  --taupe-deep: #46423E;
  --cream: #E1DACB;
  --sand: #E3D6CD;
  --blush: #F2E5DF;
  --peach: #FAEDE7;
  --paper: #FFFFFF;
  --muted: #6B655F;
  --line: rgba(36, 35, 33, 0.16);

  --radius: 20px;
  --radius-s: 14px;
  --shadow-card: 0 14px 34px -18px rgba(86, 81, 76, 0.38), 0 2px 8px rgba(86, 81, 76, 0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1310px;
  --gutter: 15px;
  --header-h: 66px;
  --section: 48px;
}

@media (min-width: 1024px) {
  :root {
    --radius: 40px;
    --radius-s: 24px;
    --header-h: 81px;
    --section: 80px;
  }
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */

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

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

body {
  margin: 0;
  font-family: 'LinearGrotesk', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: inherit;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.012em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1 {
  /* 10vw: long compound words still fit on 320 px wide screens */
  font-size: min(10vw, clamp(40px, 1.6vw + 28px, 52px));
  line-height: 1.04;
  font-weight: 700;
}

h2 {
  font-size: clamp(26px, 1.55vw + 18px, 40px);
  line-height: 1.08;
}

h3 {
  font-size: clamp(22px, 0.8vw + 18px, 30px);
  line-height: 1.25;
}

p,
li {
  text-wrap: pretty;
}

button {
  font: inherit;
  color: inherit;
}

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

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

.nowrap {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 500;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--taupe);
  color: #fff;
  transition: top 0.3s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Soft cream glow behind sections (replaces the radial SVG) */
.glow {
  position: absolute;
  z-index: -1;
  width: 416px;
  height: 414px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, #E1DACB 0%, rgba(225, 218, 203, 0.55) 33.5%, rgba(225, 218, 203, 0.2) 72.5%, rgba(225, 218, 203, 0) 100%);
}

/* Sections with a glow clip it at the viewport edge */
.shop,
.why,
.gallery {
  overflow-x: clip;
}
.glow--shop {
  right: -190px;
  top: -60px;
}
.glow--why {
  right: -230px;
  bottom: -140px;
}
.glow--gallery {
  left: -240px;
  top: 40px;
}

/* ------------------------------------------------------------------ */
/* Buttons and links                                                   */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  min-width: 150px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--taupe);
  background: var(--taupe);
  color: #fff;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
@media (hover: hover) {
  .btn:hover {
    background: transparent;
    color: var(--taupe);
  }
}
.btn:active {
  transform: scale(0.98);
}
.btn--ghost {
  background: transparent;
  color: var(--taupe);
}
@media (hover: hover) {
  .btn--ghost:hover {
    background: var(--taupe);
    color: #fff;
  }
}
.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--taupe);
}
@media (hover: hover) {
  .btn--light:hover {
    background: transparent;
    color: #fff;
  }
}
.btn--ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
@media (hover: hover) {
  .btn--ghost-light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--taupe);
  }
}
.btn .icon {
  font-size: 18px;
}

@media (min-width: 1024px) {
  .btn {
    min-width: 195px;
    font-size: 18px;
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 559px) {
  /* Stacked buttons share one width on phones */
  .btn-row .btn {
    flex: 1 1 auto;
  }
}

a[href^="tel:"] {
  white-space: nowrap;
}

/* Text link with a line that grows on hover */
.link-line {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.45s var(--ease);
}
@media (hover: hover) {
  .link-line:hover {
    background-size: 0% 1px;
    background-position: right bottom;
  }
}

/* Round arrow button (product cards, service tiles) */
.arrow-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.arrow-btn .icon {
  font-size: 20px;
  stroke-width: 1.8;
  transition: transform 0.45s var(--ease);
}
@media (hover: hover) {
  .arrow-btn:hover .icon {
    transform: translate(2px, -2px);
  }
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 10px 0;
  transition: padding 0.45s var(--ease);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(36, 35, 33, 0.1);
  transition: background-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.site-header.is-solid::before {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 rgba(36, 35, 33, 0.06), 0 10px 30px -22px rgba(86, 81, 76, 0.5);
}
.site-header.is-solid {
  padding: 6px 0;
}

.header_inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 46px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  white-space: nowrap;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand img {
  width: 40px;
  height: 40px;
  transition: width 0.45s var(--ease), height 0.45s var(--ease);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header_phone {
  display: none;
}

/* Mobile menu (below 1024px) */
.menu-toggle {
  position: relative;
  z-index: 3;
  justify-self: end;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.45s var(--ease), background-color 0.3s var(--ease), top 0.45s var(--ease);
}
.menu-toggle span:nth-child(1) {
  top: 18px;
}
.menu-toggle span:nth-child(2) {
  top: 26px;
}
.menu-open .menu-toggle span {
  background: #fff;
}
.menu-open .menu-toggle span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}
.menu-open .menu-toggle span:nth-child(2) {
  top: 22px;
  transform: rotate(-45deg);
}

@media (max-width: 1023.98px) {
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--header-h) + 28px) 28px calc(32px + env(safe-area-inset-bottom));
    background: var(--ink);
    color: #fff;
    overflow-y: auto;
    visibility: hidden;
    clip-path: circle(0 at calc(100% - 38px) 33px);
    transition: clip-path 0.7s var(--ease-inout), visibility 0s linear 0.7s;
  }
  .menu-open .site-nav {
    visibility: visible;
    clip-path: circle(150% at calc(100% - 38px) 33px);
    transition: clip-path 0.7s var(--ease-inout), visibility 0s;
  }
  .site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .site-nav li {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  }
  .menu-open .site-nav li {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.18s + var(--i, 0) * 0.06s);
  }
  .site-nav ul a {
    display: block;
    padding: 6px 0;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }
  .site-nav ul a[aria-current] {
    color: var(--cream);
  }
  .nav_contact {
    display: grid;
    gap: 8px;
    padding-top: 28px;
    margin-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
  }
  .menu-open .nav_contact {
    opacity: 1;
    transition-delay: 0.5s;
  }
  .nav_contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .menu-open {
    overflow: hidden;
  }
}

@media (min-width: 1024px) {
  .header_inner {
    grid-template-columns: 1fr auto 1fr;
    min-height: 61px;
  }
  .brand img {
    width: 61px;
    height: 61px;
  }
  .is-solid .brand img {
    width: 48px;
    height: 48px;
  }
  .menu-toggle,
  .nav_contact {
    display: none;
  }
  .site-nav ul {
    display: flex;
    gap: 40px;
  }
  .site-nav a {
    position: relative;
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
    color: var(--ink);
  }
  .site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease);
  }
  .site-nav a:hover::after,
  .site-nav a[aria-current]::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  .header_phone {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 43px;
    padding: 0 18px 0 6px;
    border-radius: 999px;
    background: var(--taupe);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.35s var(--ease);
  }
  @media (hover: hover) {
    .header_phone:hover {
      background: var(--taupe-deep);
    }
  }
  .header_phone .icon-wrap {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
  }
  .header_phone .icon {
    font-size: 16px;
  }
}

@media (min-width: 1024px) and (max-width: 1199.98px) {
  .header_phone {
    width: 43px;
    padding: 0;
    justify-content: center;
  }
  .header_phone .icon-wrap {
    background: none;
  }
  .header_phone .label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .site-nav ul {
    gap: 22px;
  }
  .site-nav a {
    font-size: 17px;
  }
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  background: var(--sand);
}

.hero_slides {
  position: relative;
  margin-top: -30px;
  aspect-ratio: 1 / 1.14;
  overflow: hidden;
}
.hero_slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero_slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero_slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: 60% 50%;
}
.hero_slide.is-active img {
  animation: hero-drift 9s var(--ease) both;
}

@keyframes hero-drift {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1);
  }
}

.hero_content-wrap {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 34px);
  padding-bottom: 34px;
  background: linear-gradient(to bottom, var(--sand) 89%, rgba(227, 214, 205, 0) 100%);
}
.hero_content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 460px;
}
.hero_content h1 {
  text-wrap: wrap;
}
.hero_content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.hero_content .btn-row {
  margin-top: 8px;
}

.hero_controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero_dots {
  display: flex;
  gap: 0;
}
.hero_pause {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}
@media (hover: hover) {
  .hero_pause:hover {
    background: rgba(255, 255, 255, 0.8);
  }
}
.hero_pause .icon {
  font-size: 14px;
  stroke-width: 2;
}
.hero_pause .icon-play {
  display: none;
  fill: currentColor;
  stroke: none;
}
.hero_pause[aria-pressed="true"] .icon-play {
  display: block;
}
.hero_pause[aria-pressed="true"] .icon-pause {
  display: none;
}
.hero_dot {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 7px solid transparent;
  border-radius: 999px;
  background: transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px var(--ink);
  overflow: hidden;
  cursor: pointer;
  transition: width 0.5s var(--ease), background-color 0.3s var(--ease);
}
.hero_dot.is-active {
  width: 50px;
}
.hero_dot.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: left;
  animation: hero-progress 6.5s linear forwards;
}
.hero.is-paused .hero_dot.is-active::after {
  animation-play-state: paused;
}

@keyframes hero-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Page load: one orchestrated entrance, CSS only */
@media (prefers-reduced-motion: no-preference) {
  .hero_content > * {
    animation: hero-rise 1s var(--ease) both;
    animation-delay: calc(0.12s + var(--i, 0) * 0.1s);
  }
}
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .hero_slides {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1024px) {
  .hero {
    display: block;
    height: clamp(640px, 100svh, 900px);
    overflow: hidden;
  }
  .hero_slides {
    position: absolute;
    inset: 0;
    margin: 0;
    aspect-ratio: auto;
  }
  .hero_content-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: var(--header-h) 0 0;
    background: none;
    pointer-events: none;
  }
  .hero_content-wrap .container {
    display: flex;
    justify-content: flex-end;
  }
  .hero_content {
    align-items: flex-end;
    text-align: right;
    max-width: 470px;
    pointer-events: auto;
  }
  .hero_content p {
    font-size: 18px;
    line-height: 1.55;
  }
  .hero_content .btn-row {
    justify-content: flex-end;
  }
  .hero_controls {
    bottom: 28px;
  }
}

/* ------------------------------------------------------------------ */
/* Section heads                                                       */
/* ------------------------------------------------------------------ */

.section {
  position: relative;
  padding: calc(var(--section) / 2) 0;
}
.hero + .section,
.page-top + .section {
  padding-top: var(--section);
}
main > .section:last-child,
main > .page-top:last-child {
  padding-bottom: var(--section);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink);
}
.section-head .head-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 18px;
}
.section-intro {
  max-width: 640px;
  margin-top: 14px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ */
/* Bestseller carousel                                                 */
/* ------------------------------------------------------------------ */

.carousel {
  position: relative;
  margin-top: 24px;
}
.carousel_track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: 16px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 12px var(--gutter) 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  list-style: none;
}
.carousel_track::-webkit-scrollbar {
  display: none;
}
.carousel_track > li {
  scroll-snap-align: start;
}
.carousel_nav {
  display: none;
  gap: 10px;
}
.carousel_nav button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease);
}
@media (hover: hover) {
  .carousel_nav button:hover:not(:disabled) {
    background: var(--ink);
    color: #fff;
  }
}
.carousel_nav button:disabled {
  opacity: 0.3;
  cursor: default;
}
.carousel_nav .icon {
  font-size: 18px;
}
.carousel_dots {
  display: flex;
  justify-content: center;
  min-height: 24px;
}
.carousel_dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 7px solid transparent;
  border-radius: 999px;
  background: transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px var(--ink);
  cursor: pointer;
  transition: width 0.4s var(--ease), background-color 0.3s var(--ease);
}
.carousel_dots button.is-active {
  width: 40px;
  background-color: var(--ink);
}

@media (min-width: 640px) {
  .carousel_track {
    grid-auto-columns: calc((100% - 20px) / 2);
    gap: 20px;
  }
  .carousel_nav {
    display: flex;
  }
}
@media (min-width: 1024px) {
  .carousel {
    margin-top: 30px;
  }
  .carousel_track {
    grid-auto-columns: calc((100% - 60px) / 4);
  }
}

/* Product card */
.product {
  position: relative;
}
.product_media {
  position: relative;
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 36px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}
.product_media > img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.9s var(--ease);
}
.product_info {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 22px;
  border-radius: inherit;
  background: var(--taupe);
  color: #fff;
  transform: translateY(-101%);
  transition: transform 0.65s var(--ease);
}
.product_info > p {
  font-size: 15.5px;
  line-height: 1.55;
  color: #fff;
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.15s;
}
.product:focus-within .product_info,
.product.is-open .product_info {
  transform: none;
}
.product:focus-within .product_info > p,
.product.is-open .product_info > p {
  opacity: 1;
}
@media (hover: hover) {
  .product:hover .product_info {
    transform: none;
  }
  .product:hover .product_info > p {
    opacity: 1;
  }
}
.product_price {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.product_rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
}
.product_rating .icon {
  font-size: 14px;
  fill: #fff;
  stroke: none;
}
.product_meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.product_rating span {
  line-height: 1.3;
}
.product_size {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: 15px;
}
.product_info .arrow-btn {
  color: #fff;
}
@media (hover: hover) {
  .product_info .arrow-btn:hover {
    background: #fff;
    color: var(--taupe);
    border-color: #fff;
  }
}
.product_title {
  margin-top: 16px;
  text-align: center;
}
.product_title h3 {
  font-size: 18px;
  line-height: 1.38;
  font-weight: 700;
  letter-spacing: 0;
}
@media (hover: hover) {
  .product_title h3 a:hover {
    color: var(--taupe);
  }
}
.product_title .price {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .product_media {
    height: 364px;
    padding: 40px;
  }
}

/* ------------------------------------------------------------------ */
/* Services                                                            */
/* ------------------------------------------------------------------ */

.services_wrap {
  position: relative;
  margin-top: 24px;
}
.services_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service {
  position: relative;
  height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: #e1e0e0;
  cursor: pointer;
}
.service_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease);
}
.service::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 1;
  height: 48%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.service_head {
  position: relative;
  z-index: 2;
  padding: 22px 24px;
}
.service_head h3 {
  max-width: 300px;
}
.service_open {
  position: absolute;
  z-index: 4;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.service_open .icon {
  font-size: 24px;
}
.service_overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 24px 96px;
  background: rgba(86, 81, 76, 0.88);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ease), visibility 0s linear 0.55s;
}
.service_name {
  font-size: clamp(22px, 0.8vw + 18px, 30px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: #fff;
  max-width: 300px;
}
.service_text p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.58;
  color: #fff;
  max-width: 520px;
}
.service_overlay .service_text {
  transform: translateY(14px);
  transition: transform 0.7s var(--ease);
}

@media (hover: hover) and (min-width: 1024px) {
  .service:hover .service_img {
    transform: scale(1.05);
  }
  .service:hover .service_overlay,
  .service:focus-within .service_overlay {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.55s var(--ease), visibility 0s;
  }
  .service:hover .service_overlay .service_text,
  .service:focus-within .service_overlay .service_text {
    transform: none;
  }
  .service:hover .service_open,
  .service:focus-within .service_open {
    color: #fff;
    border-color: #fff;
    background: transparent;
  }
}

@media (min-width: 640px) {
  .services_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .service {
    height: 420px;
  }
  .service:nth-child(5) {
    grid-column: span 2;
    height: 340px;
  }
}

@media (min-width: 1024px) {
  .services_wrap {
    margin-top: 30px;
  }
  .services_grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
  }
  .service {
    grid-column: span 2;
    height: 546px;
  }
  .service:nth-child(4),
  .service:nth-child(5) {
    grid-column: span 3;
    height: 296px;
  }
  .service_head {
    padding: 25px;
  }
  .service_overlay {
    padding: 25px 25px 100px;
  }
  .service_open {
    right: 25px;
    bottom: 25px;
    width: 61px;
    height: 61px;
  }
  .service:nth-child(4) .service_overlay,
  .service:nth-child(5) .service_overlay {
    padding-right: 110px;
    padding-bottom: 25px;
  }
}

/* Service panel: the tile opens into a large view */
.service-panel {
  position: absolute;
  inset: 0;
  z-index: 20;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--taupe);
  clip-path: var(--clip-from, inset(0 round var(--radius)));
  transition: clip-path 0.9s var(--ease-inout);
}
.service-panel[hidden] {
  display: none;
}
.service-panel.is-open {
  clip-path: inset(0 0 0 0 round var(--radius));
}
.service-panel.is-fixed {
  position: fixed;
  z-index: 300;
  border-radius: 0;
}
.service-panel.is-fixed.is-open {
  clip-path: inset(0 0 0 0 round 0);
}
.panel_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.2s var(--ease);
}
.service-panel.is-open .panel_img {
  transform: none;
}
.service-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(36, 35, 33, 0.86) 0%, rgba(36, 35, 33, 0.55) 45%, rgba(36, 35, 33, 0.1) 75%);
}
.panel_body {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 100%;
  padding: 24px 22px calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.service-panel.is-open .panel_body {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease) 0.45s, transform 0.8s var(--ease) 0.4s;
}
.panel_body h3 {
  color: #fff;
  font-size: clamp(28px, 2vw + 18px, 44px);
  line-height: 1.08;
}
.panel_text p {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
}
.panel_steps {
  display: grid;
  gap: 10px;
}
.panel_label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}
.panel_steps ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pstep;
}
.panel_steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.3;
  counter-increment: pstep;
}
.panel_steps li::before {
  content: counter(pstep);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--taupe);
  font-size: 13px;
  font-weight: 600;
}
.panel_body .btn-row {
  margin-top: 6px;
}
.panel_close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(36, 35, 33, 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.4s var(--ease), background-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.service-panel.is-open .panel_close {
  opacity: 1;
  transition-delay: 0.5s, 0s, 0s;
}
@media (hover: hover) {
  .panel_close:hover {
    background: #fff;
    color: var(--taupe);
    transform: rotate(90deg);
  }
}
.panel_close .icon {
  font-size: 20px;
}
.panel-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .service-panel::after {
    background: linear-gradient(90deg, rgba(36, 35, 33, 0.82) 0%, rgba(36, 35, 33, 0.55) 40%, rgba(36, 35, 33, 0) 72%);
  }
  .panel_body {
    top: 0;
    right: auto;
    width: min(620px, 55%);
    justify-content: center;
    padding: 48px;
  }
  .panel_close {
    top: 28px;
    right: 28px;
  }
}

/* ------------------------------------------------------------------ */
/* Quote box                                                           */
/* ------------------------------------------------------------------ */

.quote {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 18px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  color: #fff;
}
.quote_bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(86, 81, 76, 0.82);
}
.quote h2 {
  color: #fff;
}
.quote p {
  max-width: 1072px;
  font-size: 19px;
  line-height: 1.6;
  color: #fff;
}
.quote_img {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: 0 6px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
}
.quote_ornament {
  width: 36px;
  height: auto;
  margin-top: 4px;
}

@media (min-width: 1024px) {
  .quote {
    gap: 20px;
    padding: 60px;
  }
  .quote p {
    font-size: 22px;
    line-height: 38px;
  }
  .quote_img {
    width: 46px;
    height: 46px;
    margin: 0 10px;
  }
  .quote_ornament {
    width: 70px;
  }
}

/* ------------------------------------------------------------------ */
/* Why BABOR                                                           */
/* ------------------------------------------------------------------ */

.why_wrap {
  display: grid;
  gap: 28px;
}
.why_media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.why_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why_text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.why_text .btn {
  margin-top: 6px;
}

@media (min-width: 1024px) {
  .why_wrap {
    grid-template-columns: 52.4fr 47.6fr;
    gap: 60px;
    align-items: stretch;
  }
  .why_media {
    aspect-ratio: auto;
    min-height: 460px;
  }
  .why_text {
    justify-content: center;
  }
}

/* ------------------------------------------------------------------ */
/* About                                                               */
/* ------------------------------------------------------------------ */

.about_wrap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 5px;
  border-radius: var(--radius);
  background: var(--blush);
}
.about_bg {
  display: none;
}
.about_box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 20px;
  border-radius: calc(var(--radius) - 4px);
  background: rgba(255, 255, 255, 0.5);
}
.about_box .btn {
  margin-top: 6px;
}
.about_mobile {
  position: relative;
  width: calc(100% + 10px);
  left: -5px;
  bottom: -5px;
  margin-top: 10px;
}

@media (min-width: 1024px) {
  .about_wrap {
    display: flex;
    align-items: flex-start;
    height: 638px;
    padding: 40px;
    background: #efe5df;
  }
  .about_bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 50%;
  }
  .about_box {
    max-width: 472px;
    padding: 40px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.42);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .about_mobile {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* Gallery and lightbox                                                */
/* ------------------------------------------------------------------ */

.gallery h2 {
  text-align: center;
}
.gallery .section-intro {
  margin: 10px auto 0;
  text-align: center;
}
.gallery_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
}
.gallery_item {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-s);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--blush);
}
.gallery_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}
@media (hover: hover) {
  .gallery_item:hover img {
    transform: scale(1.05);
  }
}

@media (min-width: 640px) {
  .gallery_grid {
    gap: 15px;
  }
}
@media (min-width: 1024px) {
  .gallery_grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 17px;
    margin-top: 30px;
  }
  .gallery_item {
    aspect-ratio: auto;
    height: 362px;
    border-radius: 40px;
  }
}

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.lightbox::backdrop {
  background: rgba(36, 35, 33, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox[open] {
  display: grid;
  place-items: center;
  animation: lb-fade 0.35s var(--ease);
}
.lightbox_figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.lightbox_figure img {
  max-width: min(92vw, 1400px);
  max-height: 80dvh;
  width: auto;
  height: auto;
  border-radius: var(--radius-s);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}
.lightbox[open] .lightbox_figure img {
  animation: lb-in 0.5s var(--ease);
}
.lightbox_figure figcaption {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 0 60px;
}
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(36, 35, 33, 0.3);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
@media (hover: hover) {
  .lightbox button:hover {
    background: #fff;
    color: var(--ink);
  }
}
.lightbox button .icon {
  font-size: 20px;
}
.lightbox_close {
  top: 16px;
  right: 16px;
}
.lightbox_prev {
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox_next {
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox_count {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}
html:has(.lightbox[open]) {
  overflow: hidden;
}

@keyframes lb-fade {
  from {
    opacity: 0;
  }
}
@keyframes lb-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}

@media (min-width: 1024px) {
  .lightbox_prev {
    left: 32px;
  }
  .lightbox_next {
    right: 32px;
  }
  .lightbox_close {
    top: 28px;
    right: 32px;
  }
}

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */

.faq_wrap {
  display: grid;
  gap: 18px;
}
.faq_intro {
  display: grid;
  gap: 10px;
  align-content: start;
}
.faq_intro p {
  color: var(--muted);
  max-width: 420px;
}
.faq_list {
  border-top: 1px solid var(--ink);
}

@media (min-width: 1024px) {
  .faq_wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 60px;
  }
  .faq_intro {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}
.faq_item {
  border-bottom: 1px solid var(--line);
  interpolate-size: allow-keywords;
}
.faq_item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq_item summary::-webkit-details-marker {
  display: none;
}
.faq_item summary::after {
  content: '';
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform 0.45s var(--ease), background-color 0.3s var(--ease);
}
.faq_item[open] summary::after {
  transform: rotate(135deg);
}
@media (hover: hover) {
  .faq_item summary:hover::after {
    background-color: var(--blush);
  }
}
.faq_item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete;
}
.faq_item[open]::details-content {
  block-size: auto;
}
.faq_answer {
  max-width: 760px;
  padding: 0 54px 22px 0;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}
.faq_answer a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 1024px) {
  .faq_item summary {
    font-size: 20px;
    padding: 24px 0;
  }
}

/* ------------------------------------------------------------------ */
/* Contact                                                             */
/* ------------------------------------------------------------------ */

.contact {
  position: relative;
  padding: 0;
}
.contact_map {
  position: relative;
  display: block;
  height: 420px;
  overflow: hidden;
  background: #F4F2EE;
}
.contact_map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  .contact_map img {
    object-position: 50% 45%;
  }
}
.contact_map picture {
  display: block;
  width: 100%;
  height: 100%;
}
.map_link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.map_link:focus-visible {
  outline-offset: -6px;
}
.map_credit {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  color: var(--muted);
}
@media (hover: hover) {
  .map_credit:hover {
    color: var(--ink);
  }
}
.contact .container {
  margin-top: -130px;
  padding-bottom: var(--section);
}
.contact_card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -30px rgba(86, 81, 76, 0.45);
}
.contact_list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact_list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.contact_list address {
  font-style: normal;
}
.contact_list .icon {
  margin-top: 4px;
  font-size: 17px;
  color: var(--taupe);
}
@media (hover: hover) {
  .contact_list a:hover {
    color: var(--taupe);
  }
}
.contact_card .btn-row {
  margin-top: 6px;
}

@media (min-width: 1024px) {
  .contact {
    min-height: 602px;
    display: flex;
    align-items: center;
  }
  .contact_map {
    position: absolute;
    inset: 0;
    height: auto;
  }
  .contact_map img {
    object-position: 43% 60%;
  }
  .map_credit {
    top: auto;
    bottom: 10px;
    right: auto;
    left: 10px;
  }
  .contact .container {
    margin-top: 0;
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    justify-content: flex-end;
  }
  .contact_card {
    max-width: 649px;
    padding: 56px 44px;
    background: rgba(255, 255, 255, 0.74);
  }
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */

.site-footer {
  position: relative;
  padding-top: 40px;
  overflow: hidden;
}
.footer_cols {
  display: grid;
  gap: 32px;
}
.footer_brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 200px;
  justify-self: center;
}
.footer_brand img:first-child {
  width: 110px;
}
.footer_brand img:last-child {
  height: 52px;
  width: auto;
}
.footer_col h2 {
  margin-bottom: 10px;
  font-size: 20px;
  color: var(--ink);
}
.footer_col ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer_col li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer_col a {
  font-weight: 500;
  color: var(--ink);
}
@media (hover: hover) {
  .footer_col a:hover {
    color: var(--taupe);
  }
}
.footer_col .icon {
  margin-top: 4px;
  font-size: 16px;
  color: var(--taupe);
}
.footer_bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 30px;
  padding: 22px 0;
  font-size: 15px;
  text-align: center;
}
.footer_bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 767px;
  max-width: 100%;
  height: 7px;
  background: url('../img/linie.png') left center / 100% 7px no-repeat;
}
@media (hover: hover) {
  .footer_bottom a:hover {
    color: var(--taupe);
  }
}
.footer_mobile {
  position: relative;
  width: calc(100% + 30px);
  left: -15px;
}
@media (min-width: 640px) {
  .footer_mobile {
    left: auto;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (min-width: 640px) {
  .footer_cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer_brand {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding-top: 60px;
    background: url('../img/footer-portraet-1430.webp') center bottom / auto 100% no-repeat;
  }
  .site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    width: calc(50% - 200px);
    height: 100%;
    background: var(--peach);
  }
  .footer_cols {
    grid-template-columns: 150px minmax(0, 0.9fr) minmax(0, 1.25fr) minmax(0, 1.45fr);
    gap: 28px;
    max-width: 900px;
  }
  .footer_brand {
    grid-column: auto;
    justify-self: start;
  }
  .footer_brand img:first-child {
    width: 121px;
  }
  .footer_brand img:last-child {
    height: 56px;
  }
  .footer_col h2 {
    font-size: 25px;
  }
  .footer_bottom {
    justify-content: flex-start;
    margin-top: 40px;
    padding: 20px 0;
    max-width: 767px;
    text-align: left;
  }
  .footer_mobile {
    display: none;
  }
}

@media (min-width: 1024px) and (max-width: 1279.98px) {
  .site-footer {
    background-position: calc(50% + 130px) bottom;
  }
}

/* ------------------------------------------------------------------ */
/* Call button (phones and tablets)                                    */
/* ------------------------------------------------------------------ */

.call-fab {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--taupe);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(36, 35, 33, 0.55);
  opacity: 0;
  transform: translateY(18px) scale(0.7);
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}
.call-fab .icon {
  font-size: 24px;
}
.call-fab.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.menu-open .call-fab,
.panel-open .call-fab {
  opacity: 0;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .call-fab {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* Sub pages: treatments, legal, 404                                   */
/* ------------------------------------------------------------------ */

.page-top {
  position: relative;
  padding-top: calc(var(--header-h) + 28px);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb li + li::before {
  content: '/';
  margin-right: 6px;
  color: rgba(36, 35, 33, 0.35);
}
@media (hover: hover) {
  .breadcrumb a:hover {
    color: var(--ink);
  }
}

.t-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.t-hero_text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.t-hero_text .lead {
  font-size: 18px;
  line-height: 1.6;
}
.t-hero_media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--blush);
}
.t-hero_media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .page-top {
    padding-top: calc(var(--header-h) + 44px);
  }
  .t-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
  }
  .t-hero_text .lead {
    font-size: 19px;
  }
  .t-hero_media {
    aspect-ratio: auto;
    height: min(640px, 72vh);
    min-height: 480px;
  }
}

.prose {
  max-width: 760px;
}
.prose h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 1vw + 18px, 32px);
}
.prose p + p {
  margin-top: 14px;
}
.prose p {
  font-size: 17px;
  line-height: 1.65;
}
.prose ul {
  margin: 14px 0 0;
  padding-left: 1.1em;
}
.prose li {
  font-size: 17px;
  line-height: 1.65;
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (hover: hover) {
  .prose a:hover {
    color: var(--taupe);
  }
}

.t-sections {
  display: grid;
  gap: 44px;
}

.steps {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 16px;
  padding: 20px 18px;
  border-radius: var(--radius-s);
  background: #FBF8F6;
  border: 1px solid rgba(86, 81, 76, 0.1);
  counter-increment: step;
}
.step > * {
  grid-column: 2;
}
.step::before {
  content: counter(step);
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--taupe);
  color: var(--taupe);
  font-weight: 600;
  font-size: 15px;
}
.step h3 {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.step p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .step {
    display: block;
    padding: 24px 22px;
  }
  .step::before {
    margin-bottom: 16px;
  }
}
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.related_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.related_card {
  display: block;
}
.related_card .media {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: var(--blush);
}
.related_card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
@media (hover: hover) {
  .related_card:hover img {
    transform: scale(1.05);
  }
}
.related_card h3 {
  margin-top: 12px;
  overflow-wrap: break-word;
  font-size: 17px;
  line-height: 1.3;
}

@media (min-width: 1024px) {
  .related_grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .related_card .media {
    border-radius: 32px;
  }
  .related_card h3 {
    font-size: 19px;
  }
}

.cta-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 32px 22px;
  border-radius: var(--radius);
  background: var(--taupe);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: -120px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(225, 218, 203, 0.28), rgba(225, 218, 203, 0));
}
.cta-card h2 {
  color: #fff;
}
.cta-card p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
}
.cta-card address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 1024px) {
  .cta-card {
    padding: 56px;
  }
}

.legal h1 {
  margin-bottom: 24px;
}
.legal .prose h2 {
  margin-top: 36px;
  font-size: 22px;
}
.legal_stand {
  color: var(--muted);
}
.legal address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.65;
}

.notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.notfound ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 18px;
}

/* ------------------------------------------------------------------ */
/* Hero note, contact: existing and new clients                        */
/* ------------------------------------------------------------------ */

.hero_note {
  font-size: 14.5px;
  color: var(--muted);
}
.hero_note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact_new {
  display: grid;
  justify-items: start;
  gap: 6px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(86, 81, 76, 0.18);
}
.contact_new h3 {
  font-size: 18px;
  line-height: 1.3;
}
.contact_new p {
  font-size: 15.5px;
  color: var(--muted);
}

.cta-card p + p {
  margin-top: -8px;
}
.cta-card_gift {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.85);
}
.cta-card_gift a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ */
/* Voucher illustration                                                */
/* ------------------------------------------------------------------ */

.voucher {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1.62;
  perspective: 1100px;
}
.voucher_card {
  position: absolute;
  inset: 0;
  border-radius: 18px;
}
.voucher_card--back {
  background: linear-gradient(145deg, #77706A 0%, #4C4743 100%);
  transform: translate(7%, -10%) rotate(6deg);
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.55);
}
.voucher_card--back img {
  position: absolute;
  right: 9%;
  bottom: 12%;
  width: 20%;
  height: auto;
  opacity: 0.16;
  filter: brightness(0) invert(1);
}
.voucher_card--front {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7% 8%;
  overflow: hidden;
  color: var(--taupe);
  background: radial-gradient(120% 140% at 0% 0%, #FBF7F1 0%, #F2E9DD 55%, #E7DACA 100%);
  box-shadow: 0 44px 80px -40px rgba(36, 35, 33, 0.6), 0 2px 6px rgba(36, 35, 33, 0.08);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.7s var(--ease);
}
.voucher_card--front::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(86, 81, 76, 0.26);
  border-radius: 12px;
  pointer-events: none;
}
.voucher_top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}
.voucher_top img {
  width: 30px;
  height: 30px;
}
.voucher_title {
  font-size: clamp(34px, 2.4vw + 20px, 54px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--taupe-deep);
}
.voucher_text {
  margin-top: 8px;
  font-size: 13px;
  color: #7A726A;
}
.voucher_sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--sx, 30%) var(--sy, 20%), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 50%);
  mix-blend-mode: soft-light;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.voucher.is-tilting .voucher_sheen {
  opacity: 1;
}
.voucher.is-tilting .voucher_card--front {
  transition: transform 0.15s linear;
}

/* Voucher band on the home page */
.voucher-band {
  position: relative;
  display: grid;
  gap: 40px;
  padding: 40px 22px 56px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--taupe);
  color: #fff;
}
.voucher-band::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: -160px;
  bottom: -220px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(225, 218, 203, 0.32), rgba(225, 218, 203, 0));
}
.voucher-band_text {
  display: grid;
  justify-items: start;
  gap: 14px;
}
.voucher-band h2 {
  color: #fff;
}
.voucher-band_text p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.88);
}
.voucher-band .btn {
  margin-top: 6px;
}
.voucher-band .voucher {
  justify-self: center;
  width: min(84%, 400px);
  margin-top: 6%;
}

@media (min-width: 1024px) {
  .voucher-band {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 72px 64px;
  }
  .voucher-band .voucher {
    justify-self: end;
    margin: 4% 6% 0 0;
  }
}

/* ------------------------------------------------------------------ */
/* Voucher page                                                        */
/* ------------------------------------------------------------------ */

.voucher-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-h) + 28px) 0 64px;
  background: var(--taupe);
  color: #fff;
}
.voucher-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -200px;
  top: -260px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(225, 218, 203, 0.22), rgba(225, 218, 203, 0));
}
.voucher-hero .breadcrumb ol {
  color: rgba(255, 255, 255, 0.72);
}
.voucher-hero .breadcrumb li + li::before {
  color: rgba(255, 255, 255, 0.4);
}
.voucher-hero_grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.voucher-hero_text {
  display: grid;
  justify-items: start;
  gap: 16px;
}
.voucher-hero h1 {
  color: #fff;
  font-size: clamp(38px, 2.6vw + 22px, 64px);
  line-height: 1.04;
}
.voucher-hero .lead {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.voucher-hero .btn-row {
  margin-top: 8px;
}
.voucher-rule {
  max-width: 520px;
  margin-top: 6px;
  padding: 16px 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-s);
  background: rgba(255, 255, 255, 0.06);
}
.voucher-rule h2 {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: 0;
  color: #fff;
}
.voucher-rule p {
  margin-top: 4px;
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}
.voucher-rule a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.voucher-hero .voucher {
  justify-self: center;
  width: min(84%, 460px);
  margin-top: 4%;
}

@media (min-width: 1024px) {
  .voucher-hero {
    padding: calc(var(--header-h) + 44px) 0 96px;
  }
  .voucher-hero_grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px;
  }
  .voucher-hero .voucher {
    justify-self: end;
    margin: 6% 6% 0 0;
  }
}

.choices {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.choice {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 26px 24px;
  border-radius: var(--radius-s);
  border: 1px solid rgba(86, 81, 76, 0.16);
  background: #fff;
}
.choice h3 {
  font-size: 22px;
}
.choice p {
  color: var(--muted);
}
.choice_links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.choice_links a {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(86, 81, 76, 0.28);
  border-radius: 999px;
  font-size: 14.5px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
@media (hover: hover) {
  .choice_links a:hover {
    background: var(--taupe);
    border-color: var(--taupe);
    color: #fff;
  }
}

@media (min-width: 1024px) {
  .choices {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .choice {
    padding: 34px 36px;
  }
  .steps--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.voucher-form {
  max-width: 860px;
}

/* ------------------------------------------------------------------ */
/* Request for a place                                                 */
/* ------------------------------------------------------------------ */

.request {
  display: grid;
  gap: 40px;
}
.request_intro h1 {
  font-size: clamp(38px, 2.6vw + 22px, 64px);
  line-height: 1.04;
}
.request_lead {
  margin-top: 18px;
  max-width: 520px;
}
.request_lead p {
  font-size: 18px;
  line-height: 1.6;
}
.request_lead p + p {
  margin-top: 12px;
}
.request_steps-title {
  margin-top: 36px;
  font-size: 20px;
}
.vsteps {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: vstep;
}
.vsteps li {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 14px;
  counter-increment: vstep;
}
.vsteps li::before {
  content: counter(vstep);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--taupe);
  border-radius: 50%;
  color: var(--taupe);
  font-size: 14px;
  font-weight: 600;
}
.vsteps h3 {
  font-size: 17px;
  line-height: 1.35;
  padding-top: 6px;
}
.vsteps p {
  font-size: 15.5px;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .request {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 72px;
    align-items: start;
  }
  .request_intro {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

/* ------------------------------------------------------------------ */
/* Forms                                                               */
/* ------------------------------------------------------------------ */

.form-card {
  position: relative;
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(86, 81, 76, 0.14);
  background: #fff;
  box-shadow: 0 34px 70px -46px rgba(86, 81, 76, 0.45);
}
.form-card_title {
  font-size: clamp(24px, 1vw + 18px, 32px);
}
.form-card_intro {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(86, 81, 76, 0.12);
  background: #FBF8F6;
  font-size: 15px;
  line-height: 1.5;
}
.form {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}
.form_row {
  display: grid;
  gap: 22px;
}
.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.field[hidden] {
  display: none;
}
.field > label,
.field > legend {
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.field > legend {
  margin-bottom: 10px;
}
.optional {
  margin-left: 2px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--muted);
}
.hint {
  margin-top: -2px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(86, 81, 76, 0.2);
  border-radius: 12px;
  background: #FBF9F7;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.field textarea {
  min-height: 150px;
  resize: vertical;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356514C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--taupe);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(86, 81, 76, 0.12);
}
.field input:user-invalid,
.field textarea:user-invalid,
.field select:user-invalid {
  border-color: #B4533F;
}
.form_sub {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(86, 81, 76, 0.14);
  font-size: 15px;
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  position: relative;
  display: inline-flex;
}
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(86, 81, 76, 0.3);
  border-radius: 999px;
  font-size: 15.5px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chip input:checked + span {
  border-color: var(--taupe);
  background: var(--taupe);
  color: #fff;
}
.chip input:focus-visible + span {
  outline: 2px solid var(--taupe);
  outline-offset: 3px;
}
@media (hover: hover) {
  .chip:hover input:not(:checked) + span {
    border-color: var(--taupe);
  }
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  flex: none;
  display: grid;
  place-content: center;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 1px solid rgba(86, 81, 76, 0.45);
  border-radius: 7px;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.consent input::after {
  content: '';
  width: 10px;
  height: 6px;
  margin-top: -3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.25s var(--ease);
}
.consent input:checked {
  border-color: var(--taupe);
  background: var(--taupe);
}
.consent input:checked::after {
  transform: rotate(-45deg) scale(1);
}
.consent--strong {
  color: var(--ink);
  font-size: 15px;
}
.consent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form_actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.form_note {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.form .btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}
.form_error {
  padding: 12px 16px;
  border-radius: 12px;
  background: #F8ECE8;
  color: #7A3326;
  font-size: 15px;
}
.form_error[hidden],
.form_success[hidden] {
  display: none;
}
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form_success {
  display: grid;
  justify-items: start;
  gap: 12px;
  outline: none;
}
.form_success h2 {
  font-size: clamp(26px, 1.2vw + 20px, 36px);
}
.form_success p {
  max-width: 480px;
  font-size: 17px;
  color: var(--muted);
}
.form-card.is-sent .form,
.form-card.is-sent .form-card_title {
  display: none;
}
.form-card.is-sent .form_success {
  animation: success-in 0.7s var(--ease) both;
}
@keyframes success-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.success_mark {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: var(--taupe);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.success_mark circle {
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: draw 0.9s var(--ease) 0.1s forwards;
}
.success_mark path {
  stroke-dasharray: 32;
  stroke-dashoffset: 32;
  animation: draw 0.5s var(--ease) 0.75s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (min-width: 640px) {
  .form_row--2 {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}
@media (min-width: 1024px) {
  .form-card {
    padding: 48px 52px;
  }
}

.thanks {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 16px;
  min-height: 50vh;
  max-width: 640px;
}
.thanks .btn,
.thanks_links {
  margin-top: 10px;
}
.thanks p {
  font-size: 18px;
  line-height: 1.6;
}
.thanks a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.thanks_links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.thanks_links a {
  text-decoration: none !important;
}

/* ------------------------------------------------------------------ */
/* Guides                                                              */
/* ------------------------------------------------------------------ */

.guide-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.guide-link {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px;
  border: 1px solid rgba(86, 81, 76, 0.12);
  border-radius: var(--radius-s);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.guide-link .media {
  display: block;
  width: 84px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--blush);
}
.guide-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guide-link h3 {
  font-size: 17px;
  line-height: 1.3;
}
.guide-link p {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--muted);
}
@media (hover: hover) {
  .guide-link:hover {
    border-color: rgba(86, 81, 76, 0.3);
    background: #FBF8F6;
  }
}
@media (min-width: 1024px) {
  .guide-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
  }
  .guide-link {
    grid-template-columns: 104px 1fr;
    gap: 20px;
    padding: 12px;
  }
  .guide-link .media {
    width: 104px;
  }
  .guide-link h3 {
    font-size: 19px;
  }
}
@media (min-width: 1200px) {
  .guide-list--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .guide-list--3 .guide-link {
    grid-template-columns: 88px 1fr;
    gap: 18px;
  }
  .guide-list--3 .guide-link .media {
    width: 88px;
  }
  .guide-list--3 .guide-link h3 {
    font-size: 17px;
  }
}

.guides-head h1 {
  font-size: clamp(38px, 2.6vw + 22px, 64px);
  line-height: 1.04;
}
.guides-head .lead {
  margin-top: 12px;
  max-width: 560px;
  font-size: 18px;
  color: var(--muted);
}
.guide-grid {
  display: grid;
  gap: 30px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.guide-card {
  display: grid;
  gap: 10px;
}
.guide-card .media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-s);
  background: var(--blush);
}
.guide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.guide-card h2 {
  margin-top: 6px;
  font-size: clamp(22px, 0.8vw + 18px, 28px);
  line-height: 1.2;
}
.guide-card p {
  color: var(--muted);
}
.guide-card_meta {
  font-size: 14px;
  color: var(--muted);
}
@media (hover: hover) {
  .guide-card:hover img {
    transform: scale(1.04);
  }
}
@media (min-width: 640px) {
  .guide-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 28px;
  }
}
@media (min-width: 1024px) {
  .guide-card .media {
    border-radius: 32px;
  }
}

/* Article */
.article_header {
  max-width: 900px;
}
.article_header h1 {
  font-size: clamp(32px, 2vw + 22px, 54px);
  line-height: 1.06;
}
.article_lead {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(18px, 0.4vw + 16px, 21px);
  line-height: 1.6;
}
.article_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--muted);
}
.article_hero {
  margin: 28px 0 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blush);
}
.article_hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article_layout {
  display: grid;
  gap: 44px;
}
.article_body {
  min-width: 0;
  max-width: 760px;
}
.keyfacts {
  padding: 24px 24px 26px;
  border: 1px solid rgba(86, 81, 76, 0.12);
  border-radius: var(--radius-s);
  background: #FBF8F6;
}
.keyfacts h2 {
  margin-bottom: 12px;
  font-size: 19px;
}
.keyfacts ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.keyfacts li {
  position: relative;
  padding-left: 22px;
  font-size: 16.5px;
  line-height: 1.55;
}
.keyfacts li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--taupe);
}
.article_text h2 {
  margin: 44px 0 12px;
  font-size: clamp(24px, 1vw + 18px, 32px);
}
.article_text p,
.article_text li {
  font-size: 18px;
  line-height: 1.72;
}
.article_text p + p {
  margin-top: 14px;
}
.article_text ul {
  margin: 14px 0 0;
  padding-left: 1.15em;
}
.article_text a,
.keyfacts a,
.article_faq a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.compare {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid rgba(86, 81, 76, 0.14);
  border-radius: var(--radius-s);
}
.compare table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15.5px;
  line-height: 1.45;
}
.compare th,
.compare td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(86, 81, 76, 0.12);
  text-align: left;
  vertical-align: top;
}
.compare thead th,
.compare thead td {
  background: #FBF8F6;
  font-weight: 600;
}
.compare tbody th {
  width: 22%;
  font-weight: 500;
  color: var(--muted);
}
.compare tbody tr:last-child > * {
  border-bottom: 0;
}
.article_faq {
  margin-top: 52px;
}
.article_faq h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 1vw + 18px, 32px);
}
.article_sources {
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
}
.article_sources h2 {
  margin-bottom: 6px;
  font-size: 15px;
}
.article_sources ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.article_sources a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article_aside {
  display: grid;
  align-content: start;
  gap: 14px;
}
.aside_label {
  font-size: 15px;
  font-weight: 600;
}
.aside_cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aside_cards .related_card .media {
  aspect-ratio: 4 / 3;
}
.aside_cards .related_card h3 {
  font-size: 16px;
}
.aside_note {
  display: grid;
  justify-items: start;
  gap: 8px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(86, 81, 76, 0.16);
}
.aside_note p {
  font-size: 15px;
  color: var(--muted);
}
.aside_note p a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

@media (min-width: 1024px) {
  .article_hero {
    aspect-ratio: 21 / 9;
  }
  /* Between 1024 and 1279 px the side column needs a fixed width, otherwise its cards overflow */
  .article_layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
  }
  .article_aside {
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
}

@media (min-width: 1280px) {
  .article_layout {
    grid-template-columns: minmax(0, 760px) minmax(0, 1fr);
    gap: 80px;
  }
}

/* ------------------------------------------------------------------ */
/* Scroll moments (CSS only, where the browser supports it)            */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .quote_img {
      animation: quote-pop linear both;
      animation-timeline: view();
      animation-range: cover 12% cover 42%;
    }
    .why_media img {
      animation: why-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 50%;
    }
  }
}

@keyframes quote-pop {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-14deg);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes why-settle {
  from {
    transform: scale(1.12);
  }
  to {
    transform: none;
  }
}

/* ------------------------------------------------------------------ */
/* Reduced motion                                                      */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero_dot.is-active::after {
    animation: none;
    transform: none;
  }
  .hero_dot.is-active {
    background: var(--ink);
  }
  .hero_pause {
    display: none;
  }
  .success_mark circle,
  .success_mark path {
    stroke-dashoffset: 0;
  }
}
