@font-face {
  font-family: "Ubuntu Sans";
  src: url("../fonts/ubuntu-sans-v4-latin-regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Ubuntu Sans";
  src: url("../fonts/ubuntu-sans-v4-latin-500.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Ubuntu Sans";
  src: url("../fonts/ubuntu-sans-v4-latin-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Merriweather";
  src: url("../fonts/merriweather-v33-latin-500.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Merriweather";
  src: url("../fonts/merriweather-v33-latin-600.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  --color-page: #fbf8f2;
  --color-section: #f1ede5;
  --color-surface: #eae5dc;
  --color-text: #24211e;
  --color-muted: #4d4943;
  --color-muted-low: #68635a;
  --color-accent: #8f5a35;
  --color-accent-dark: #714428;
  --color-hero-panel: #d8cbbd;
  --color-footer: #201f1d;
  --color-footer-muted: #c9c0b5;
  --color-white: #fffdf8;

  --font-base: "Ubuntu Sans", sans-serif;
  --font-heading: "Merriweather", serif;
  --content-width: 72rem;
  --container: var(--content-width);
  --page-gutter: clamp(0.875rem, 4vw, 2rem);
  --content-inset: calc(var(--page-gutter) * 1.5);
  --content-wide-width: 58rem;
  --text-width: 42rem;
  --narrow-width: 36rem;
  --header-height: 6.75rem;
  --anchor-offset: 0px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-section: clamp(4rem, 8vw, 6rem);
  --paragraph-gap: 0.875rem;

  --page-title-size: clamp(2rem, 4.5vw, 2.4rem);
  --page-title-line-height: 1.22;

  --focus-ring-color: rgba(143, 90, 53, 0.75);
  --focus-ring-width: 3px;
  --focus-ring-offset: 4px;
  --focus-radius: 6px;
  --focus-radius-large: 8px;
}

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

html {
  min-height: 100%;
  scroll-padding-top: var(--anchor-offset);
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--color-page);
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

main > :last-child {
  flex-grow: 1;
}

p,
li,
dt,
dd {
  text-wrap: pretty;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.skip-link {
  position: fixed;
  left: var(--space-sm);
  top: var(--space-sm);
  z-index: 100;
  transform: translateY(-150%);
  opacity: 0;
  background: var(--color-accent-dark);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-sm);
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.skip-link:focus {
  opacity: 1;
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: var(--color-page);
  border-bottom: 1px solid rgba(36, 33, 30, 0.1);
}

.site-header__inner,
.section__inner,
.site-footer__inner {
  width: min(100% - (var(--content-inset) * 2), var(--content-width));
  margin-inline: auto;
}

.site-header__inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-md);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  width: clamp(9rem, 16vw, 12rem);
  min-height: 3rem;
  border-radius: var(--focus-radius);
}

.site-logo img {
  width: 100%;
  height: auto;
}

.site-logo img,
.site-footer__brand img {
  pointer-events: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(2rem, calc(10vw - 4.25rem), var(--space-lg));
  color: var(--color-muted);
  font-weight: 500;
}

.site-nav a,
.text-link {
  border-radius: var(--focus-radius);
  text-decoration-color: rgba(143, 90, 53, 0);
}

.site-nav a:hover {
  color: var(--color-accent-dark);
  text-decoration-color: currentColor;
}

.text-link:hover {
  color: var(--color-accent);
  text-decoration-color: currentColor;
}

.site-nav .button {
  color: var(--color-white);
  text-decoration: none;
}

.site-nav .button:hover {
  color: var(--color-white);
}

.site-social {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-muted);
}

.site-social--menu {
  display: none;
}

.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  line-height: 1;
  text-decoration: none;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--focus-radius-large);
  transform: translate(-50%, -50%);
}

.social-link:hover {
  color: var(--color-accent-dark);
}

.social-link:focus-visible {
  outline: 0;
}

.social-link:focus-visible::before {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

.social-icon {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  background: currentColor;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.social-icon--facebook {
  width: 0.68rem;
  -webkit-mask-image: url("../images/icons/facebook.svg");
  mask-image: url("../images/icons/facebook.svg");
}

.social-icon--instagram {
  width: 1.28rem;
  height: 1.28rem;
  -webkit-mask-image: url("../images/icons/instagram.svg");
  mask-image: url("../images/icons/instagram.svg");
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem var(--space-md);
  border: 1px solid var(--color-accent);
  border-radius: var(--focus-radius);
  background: var(--color-accent);
  color: var(--color-white);
  font: inherit;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.button--small {
  min-height: 3rem;
  padding-inline: var(--space-md);
}

.button--secondary {
  background: transparent;
  color: var(--color-accent-dark);
}

.button--secondary:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
}

.text-link {
  color: var(--color-accent-dark);
  font-weight: 700;
}

.hero {
  --hero-background-fallback: url("../images/salon/block-salon-hero-background.jpg");
  --hero-background: image-set(
    url("../images/salon/block-salon-hero-background.webp") type("image/webp"),
    url("../images/salon/block-salon-hero-background.jpg") type("image/jpeg")
  );
  --hero-stage-width: 80rem;
  --hero-stage-used-width: min(100vw, var(--hero-stage-width));
  --hero-content-offset: 0rem;

  position: relative;
  overflow: hidden;
  background: var(--color-page);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
  background-image: var(--hero-background-fallback);
  background-image: var(--hero-background);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.08);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__stage {
  display: grid;
  grid-template-columns: 1fr;
  background: rgba(241, 237, 229, 0.9);
}

.hero__content,
.hero__media {
  min-width: 0;
}

.hero__content {
  width: min(100% - (var(--content-inset) * 2), var(--content-width));
  margin-inline: auto;
  padding: var(--space-lg) 0;
}

.hero__eyebrow {
  display: none;
  margin: 0 0 var(--space-sm);
  color: var(--color-accent);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero__eyebrow-initial {
  display: inline-block;
  transform: scaleY(1.1);
  transform-origin: 50% 70%;
}

.hero h1 {
  max-width: 17em;
  font-family: var(--font-heading);
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.4;
  font-weight: 600;
}

.hero__copy {
  max-width: 34rem;
  margin-top: var(--space-md);
  color: var(--color-text);
}

.hero__media {
  order: -1;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.hero__media picture,
.media-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 73% 50%;
}

.hero__copy p,
.text-block p,
.section-heading p,
.booking-cta p,
.site-footer p {
  margin: 0;
}

.hero__copy p + p,
.text-block p + p {
  margin-top: var(--paragraph-gap);
}

.hero__actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

@media (min-width: 768px) {
  .hero {
    --hero-content-offset: max(var(--content-inset), calc((var(--hero-stage-used-width) - var(--content-width)) / 2));

    background: #493b31;
  }

  .hero::before {
    display: block;
  }

  .hero__inner {
    width: min(100% - (var(--content-inset) * 2), var(--content-width));
    margin-inline: auto;
    padding-block: var(--space-lg);
  }

  .hero__stage {
    width: var(--hero-stage-used-width);
    aspect-ratio: 2 / 1;
    margin-inline: calc((100% - var(--hero-stage-used-width)) / 2);
    grid-template-columns: var(--hero-content-offset) minmax(0, 3fr) minmax(0, 2fr) var(--hero-content-offset);
    box-shadow: 0 1.25rem 3rem rgba(36, 33, 30, 0.16);
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-column: 1 / 3;
    width: auto;
    max-width: none;
    margin: 0;
    padding: var(--space-lg) var(--space-md) var(--space-lg) var(--hero-content-offset);
  }

  .hero__media {
    grid-column: 3 / 5;
    order: initial;
    aspect-ratio: auto;
  }

  .hero__eyebrow {
    display: block;
  }

  .hero__copy {
    max-width: 30rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__stage {
    --hero-content-share: clamp(50%, calc(33.43% + 169.5px), 55.5%);

    display: flex;
    grid-template-columns: none;
    aspect-ratio: auto;
    min-height: calc(var(--hero-stage-used-width) / 2);
  }

  .hero__content {
    flex: 0 0 var(--hero-content-share);
    padding-right: var(--hero-content-offset);
  }

  .hero__media {
    flex: 1 1 calc(100% - var(--hero-content-share));
  }

  .hero h1 {
    max-width: 16em;
  }

  .hero__copy {
    max-width: 22em;
  }
}

@media (min-width: 1024px) {
  .hero__stage {
    --hero-content-share: 50%;

    container-type: inline-size;
    display: flex;
    grid-template-columns: none;
    aspect-ratio: 8 / 3;
  }

  .hero__content {
    flex: 0 0 var(--hero-content-share);
    padding-right: var(--hero-content-offset);
  }

  .hero__media {
    flex: 1 1 calc(100% - var(--hero-content-share));
  }
}

@supports (width: 1cqw) {
  @media (min-width: 1024px) {
    .hero__stage {
      --hero-content-share: clamp(50%, calc(14cqw + 28rem), 59%);
    }
  }
}

@media (max-width: 960px) {
  .site-header__inner {
    grid-template-columns: auto 1fr;
  }

  .site-nav {
    justify-self: end;
  }

  .site-social--header {
    display: none;
  }
}

.section {
  background: var(--color-section);
}

.section--tinted {
  background: var(--color-surface);
}

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

.section__inner--narrow {
  max-width: var(--container);
  text-align: center;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.72fr);
  align-items: center;
  gap: var(--space-xl);
}

.two-column--reverse {
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1fr);
}

.two-column--top {
  align-items: start;
}

.text-block,
.section-heading {
  max-width: var(--text-width);
}

.about-layout {
  align-items: stretch;
  grid-template-areas:
    "about working"
    "signature working";
  grid-template-rows: auto 1fr;
}

.about-layout > .text-block:not(.working-note) {
  grid-area: about;
}

.about-layout .working-note {
  grid-area: working;
}

.about-layout .profile-signature {
  grid-area: signature;
  align-self: start;
}

.profile-signature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.profile-signature__photo {
  flex: 0 0 clamp(4.5rem, 8vw, 5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}

.profile-signature__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-signature__name {
  margin: 0 0 0.2rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.1;
  font-weight: 600;
}

.profile-signature__meta {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.25;
}

.working-note {
  align-self: start;
  padding: var(--space-md);
  background: var(--color-section);
  border: 1px solid rgba(143, 90, 53, 0.18);
  border-left: 0.25rem solid var(--color-accent);
}

h2 {
  font-family: var(--font-heading);
  margin: 0 0 var(--space-md);
  font-size: 1.75rem;
  line-height: 1.4;
  font-weight: 600;
  text-wrap: balance;
}

.section-heading {
  margin-bottom: var(--space-lg);
}

.media-frame {
  margin: 0;
  background: var(--color-surface);
  overflow: hidden;
}

.media-frame--portrait {
  aspect-ratio: 5 / 6;
  width: 100%;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-section__inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

.products-section__split {
  width: 100%;
}

.products-section__brands {
  container-type: inline-size;
  justify-self: center;
  width: 100%;
}

.products-section__brands .brand-list {
  margin: 0 auto;
}

.products-section__brands .brand-list[data-brand-layout="3"] {
  margin-inline: 0 auto;
}

.brand-list {
  --brand-kevin-ratio: 9.9463;
  --brand-color-ratio: 3.9108;
  --brand-four-ratio: 1.2375;
  --brand-k18-ratio: 1.623;
  --brand-dungud-ratio: 4.9231;
  --brand-b3-ratio: 3.9826;
  --brand-kevin-width-factor: 1.4089253;
  --brand-four-width-factor: 0.5014;
  --brand-k18-width-factor: 0.59;
  --brand-dungud-formula-width-factor: 1.1481;
  --brand-b3-layout-1-four-width-factor: 2.75;
  --brand-b3-layout-2-four-width-factor: 2.75;
  --brand-kevin-color-align-zone-factor: 0.589286;
  --brand-layout-1-kevin-color-gap-factor: 0.8125;
  --brand-layout-1-width-factor: 3.8295273;
  --brand-layout-width: min(100cqw, 46rem);
  --brand-gap: clamp(1.1rem, calc(var(--brand-layout-width) * 0.045), 1.55rem);
  --brand-row-gap: clamp(1.25rem, calc(var(--brand-layout-width) * 0.045), 1.75rem);
  --brand-color-width: calc(var(--brand-layout-width) / var(--brand-layout-1-width-factor));
  --brand-color-height: calc(var(--brand-color-width) / var(--brand-color-ratio));
  --brand-kevin-width: calc(var(--brand-color-width) * var(--brand-kevin-width-factor));
  --brand-kevin-height: calc(var(--brand-kevin-width) / var(--brand-kevin-ratio));
  --brand-four-width: calc(var(--brand-color-width) * var(--brand-four-width-factor));
  --brand-four-height: calc(var(--brand-four-width) / var(--brand-four-ratio));
  --brand-layout-1-kevin-color-gap: calc(var(--brand-four-height) * var(--brand-layout-1-kevin-color-gap-factor));
  --brand-layout-1-color-k18-gap: var(--brand-four-width);
  --brand-k18-width: calc(var(--brand-color-width) * var(--brand-k18-width-factor));
  --brand-k18-height: calc(var(--brand-k18-width) / var(--brand-k18-ratio));
  --brand-dungud-width: calc(var(--brand-color-width) * var(--brand-dungud-formula-width-factor));
  --brand-dungud-height: calc(var(--brand-dungud-width) / var(--brand-dungud-ratio));
  --brand-b3-width: calc(var(--brand-four-width) * var(--brand-b3-layout-1-four-width-factor));
  --brand-b3-height: calc(var(--brand-b3-width) / var(--brand-b3-ratio));
  --brand-row-1-height: var(--brand-k18-height);
  --brand-row-2-height: max(var(--brand-four-height), var(--brand-dungud-height), var(--brand-b3-height));
  --brand-row-2-y: calc(var(--brand-color-y) + var(--brand-color-height) + var(--brand-layout-1-kevin-color-gap) - ((var(--brand-row-2-height) - var(--brand-dungud-height)) / 2));
  --brand-layout-height: calc(var(--brand-row-2-y) + var(--brand-row-2-height));
  --brand-kevin-x: 0px;
  --brand-kevin-color-optical-offset: calc(((var(--brand-color-height) * var(--brand-kevin-color-align-zone-factor)) - var(--brand-kevin-height)) / 2);
  --brand-color-y: calc((var(--brand-row-1-height) - var(--brand-color-height)) / 2);
  --brand-kevin-y: calc(var(--brand-color-y) + var(--brand-kevin-color-optical-offset));
  --brand-color-x: calc(var(--brand-kevin-width) + var(--brand-layout-1-kevin-color-gap));
  --brand-k18-x: calc(var(--brand-color-x) + var(--brand-color-width) + var(--brand-layout-1-color-k18-gap));
  --brand-k18-y: 0px;
  --brand-four-x: 0px;
  --brand-four-y: calc(var(--brand-row-2-y) + ((var(--brand-row-2-height) - var(--brand-four-height)) / 2));
  --brand-dungud-x: calc(var(--brand-four-width) + ((var(--brand-layout-width) - var(--brand-four-width) - var(--brand-b3-width) - var(--brand-dungud-width)) / 2));
  --brand-dungud-y: calc(var(--brand-row-2-y) + ((var(--brand-row-2-height) - var(--brand-dungud-height)) / 2));
  --brand-b3-x: calc(var(--brand-layout-width) - var(--brand-b3-width));
  --brand-b3-y: calc(var(--brand-row-2-y) + ((var(--brand-row-2-height) - var(--brand-b3-height)) / 2));

  position: relative;
  display: block;
  width: var(--brand-layout-width);
  height: var(--brand-layout-height);
  max-width: 100%;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.brand-list__item {
  position: absolute;
  left: var(--brand-x);
  top: var(--brand-y);
  display: block;
  width: var(--brand-w);
  min-width: 0;
}

.brand-list__item--kevin {
  --brand-x: var(--brand-kevin-x);
  --brand-y: var(--brand-kevin-y);
  --brand-w: var(--brand-kevin-width);
}

.brand-list__item--color-me {
  --brand-x: var(--brand-color-x);
  --brand-y: var(--brand-color-y);
  --brand-w: var(--brand-color-width);
}

.brand-list__item--four-reasons {
  --brand-x: var(--brand-four-x);
  --brand-y: var(--brand-four-y);
  --brand-w: var(--brand-four-width);
}

.brand-list__item--k18 {
  --brand-x: var(--brand-k18-x);
  --brand-y: var(--brand-k18-y);
  --brand-w: var(--brand-k18-width);
}

.brand-list__item--dungud {
  --brand-x: var(--brand-dungud-x);
  --brand-y: var(--brand-dungud-y);
  --brand-w: var(--brand-dungud-width);
}

.brand-list__item--b3 {
  --brand-x: var(--brand-b3-x);
  --brand-y: var(--brand-b3-y);
  --brand-w: var(--brand-b3-width);
}

.brand-list__logo {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.brand-list[data-brand-layout="2"] {
  --brand-layout-width: min(100cqw, 29.5rem);
  --brand-gap: clamp(1.25rem, calc(var(--brand-layout-width) * 0.068), 2rem);
  --brand-row-gap: clamp(1.15rem, calc(var(--brand-layout-width) * 0.052), 1.55rem);
  --brand-color-width: calc((var(--brand-layout-width) - var(--brand-gap)) / 2.4089253);
  --brand-dungud-width: var(--brand-color-width);
  --brand-dungud-height: calc(var(--brand-dungud-width) / var(--brand-dungud-ratio));
  --brand-k18-height: var(--brand-four-height);
  --brand-k18-width: calc(var(--brand-k18-height) * var(--brand-k18-ratio));
  --brand-b3-width: calc(var(--brand-four-width) * var(--brand-b3-layout-2-four-width-factor));
  --brand-b3-height: calc(var(--brand-b3-width) / var(--brand-b3-ratio));
  --brand-row-1-height: max(var(--brand-kevin-height), var(--brand-color-height));
  --brand-row-2-height: max(var(--brand-four-height), var(--brand-k18-height), var(--brand-dungud-height));
  --brand-row-2-y: calc(var(--brand-row-1-height) + var(--brand-row-gap));
  --brand-row-3-height: var(--brand-b3-height);
  --brand-layout-2-b3-row-gap: calc(var(--brand-k18-y) - (var(--brand-kevin-y) + var(--brand-kevin-height)));
  --brand-row-3-y: calc(var(--brand-k18-y) + var(--brand-k18-height) + var(--brand-layout-2-b3-row-gap));
  --brand-layout-height: calc(var(--brand-row-3-y) + var(--brand-row-3-height));
  --brand-kevin-x: 0px;
  --brand-kevin-y: var(--brand-kevin-color-optical-offset);
  --brand-color-x: calc(var(--brand-kevin-width) + var(--brand-gap));
  --brand-color-y: 0px;
  --brand-four-x: 0px;
  --brand-four-y: calc(var(--brand-row-2-y) + ((var(--brand-row-2-height) - var(--brand-four-height)) / 2));
  --brand-k18-x: calc(var(--brand-four-width) + ((var(--brand-dungud-x) - var(--brand-four-width) - var(--brand-k18-width)) / 2));
  --brand-k18-y: calc(var(--brand-row-2-y) + ((var(--brand-row-2-height) - var(--brand-k18-height)) / 2));
  --brand-dungud-x: var(--brand-color-x);
  --brand-dungud-y: calc(var(--brand-row-2-y) + ((var(--brand-row-2-height) - var(--brand-dungud-height)) / 2));
  --brand-b3-x: calc((var(--brand-layout-width) - var(--brand-b3-width)) / 2);
  --brand-b3-y: var(--brand-row-3-y);
}

.brand-list[data-brand-layout="3"] {
  --brand-layout-width: min(100cqw, 25.25rem);
  --brand-gap: var(--brand-layout-3-color-k18-gap);
  --brand-row-gap: var(--brand-color-height);
  --brand-color-width: calc(var(--brand-layout-width) / 1.819413);
  --brand-dungud-width: var(--brand-color-width);
  --brand-dungud-height: calc(var(--brand-dungud-width) / var(--brand-dungud-ratio));
  --brand-b3-height: var(--brand-k18-height);
  --brand-b3-width: calc(var(--brand-b3-height) * var(--brand-b3-ratio));
  --brand-layout-3-color-k18-gap: calc((var(--brand-color-height) + var(--brand-dungud-height)) / 2);
  --brand-layout-3-four-dungud-gap: var(--brand-dungud-height);
  --brand-row-1-height: var(--brand-kevin-height);
  --brand-row-2-height: max(var(--brand-color-height), var(--brand-k18-height));
  --brand-row-3-height: max(var(--brand-four-height), var(--brand-dungud-height));
  --brand-row-4-height: var(--brand-b3-height);
  --brand-layout-3-vertical-gap: var(--brand-color-height);
  --brand-layout-3-color-inner-y: calc((var(--brand-row-2-height) - var(--brand-color-height)) / 2);
  --brand-layout-3-four-inner-y: calc((var(--brand-row-3-height) - var(--brand-four-height)) / 2);
  --brand-row-2-y: calc(var(--brand-row-1-height) + var(--brand-layout-3-vertical-gap) - var(--brand-layout-3-color-inner-y));
  --brand-row-3-y: calc(var(--brand-row-2-y) + var(--brand-layout-3-color-inner-y) + var(--brand-color-height) + var(--brand-layout-3-vertical-gap) - var(--brand-layout-3-four-inner-y));
  --brand-row-4-y: calc(var(--brand-row-3-y) + var(--brand-layout-3-four-inner-y) + var(--brand-four-height) + var(--brand-layout-3-vertical-gap));
  --brand-layout-height: calc(var(--brand-row-4-y) + var(--brand-row-4-height));
  --brand-kevin-x: 0px;
  --brand-kevin-y: 0px;
  --brand-color-x: 0px;
  --brand-color-y: calc(var(--brand-row-2-y) + var(--brand-layout-3-color-inner-y));
  --brand-k18-x: calc(var(--brand-color-width) + var(--brand-layout-3-color-k18-gap));
  --brand-k18-y: calc(var(--brand-row-2-y) + ((var(--brand-row-2-height) - var(--brand-k18-height)) / 2));
  --brand-four-x: 0px;
  --brand-four-y: calc(var(--brand-row-3-y) + var(--brand-layout-3-four-inner-y));
  --brand-dungud-x: calc(var(--brand-four-width) + var(--brand-layout-3-four-dungud-gap));
  --brand-dungud-y: calc(var(--brand-row-3-y) + ((var(--brand-row-3-height) - var(--brand-dungud-height)) / 2));
  --brand-b3-x: 0px;
  --brand-b3-y: var(--brand-row-4-y);
}

.booking-cta {
  background: var(--color-section);
}

.booking-cta .section__inner {
  width: min(100% - (var(--content-inset) * 2), var(--narrow-width));
  text-align: left;
}

.booking-cta p {
  max-width: var(--narrow-width);
}

.booking-cta p + p {
  margin-top: var(--paragraph-gap);
}

.booking-page__section h1,
.pricing-page__intro h1,
.privacy-text h1,
.contact-page__details h1 {
  font-family: var(--font-heading);
  font-size: var(--page-title-size);
  line-height: var(--page-title-line-height);
  font-weight: 600;
  text-wrap: balance;
}

.booking-page__section h1 {
  margin: 0;
  text-align: center;
}

.booking-page__external {
  margin: 0;
  color: var(--color-muted);
  text-align: center;
}

.booking-page__external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  text-decoration-line: underline;
  text-decoration-color: currentColor;
}

.booking-page__external-icon {
  display: block;
  width: 0.8em;
  height: 0.8em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("../images/icons/open-in-new.svg") center / contain no-repeat;
  mask: url("../images/icons/open-in-new.svg") center / contain no-repeat;
}

.booking-page__terms {
  margin: var(--space-md) 0 0;
  color: var(--color-muted);
  text-align: center;
}

.booking-page__terms-inner {
  padding-top: 0;
}

.booking-page__terms .text-link {
  font-weight: 500;
  text-decoration-line: underline;
  text-decoration-color: currentColor;
}

.pricing-page__intro .section__inner,
.pricing-page__section .section__inner {
  width: min(100% - (var(--content-inset) * 2), var(--content-wide-width));
}

.pricing-page__intro .section__inner {
  padding-bottom: var(--space-lg);
}

.pricing-page__intro h1 {
  margin: 0;
}

.pricing-page__intro .price-list {
  margin-top: var(--space-lg);
}

#palvelut .section__inner,
.privacy-page__section .section__inner {
  width: min(100% - (var(--content-inset) * 2), var(--content-wide-width));
}

#palvelut .section-heading {
  margin-bottom: 2rem;
}

.pricing-page__heading {
  max-width: var(--text-width);
  margin-bottom: var(--space-md);
}

.pricing-page__heading h2 {
  margin-bottom: 0;
}

.service-accordion {
  display: grid;
  gap: 0;
}

.service-accordion__item {
  border-top: 1px solid rgba(36, 33, 30, 0.14);
}

.service-accordion__item:last-child {
  border-bottom: 1px solid rgba(36, 33, 30, 0.14);
}

.service-accordion__item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 4.25rem;
  padding: var(--space-sm) 3rem var(--space-sm) 0;
  color: var(--color-text);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  text-wrap: balance;
}

.service-accordion__item summary::-webkit-details-marker {
  display: none;
}

.service-accordion__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--color-accent-dark);
  font-family: var(--font-base);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.service-accordion__item[open] summary::after {
  content: "−";
}

.service-accordion__item summary:focus-visible {
  outline-offset: 0;
}

@media (hover: hover) and (pointer: fine) {
  .service-accordion__item summary:hover {
    color: var(--color-accent-dark);
  }
}

.service-accordion__content {
  max-width: 85ch;
  padding: 0 3rem var(--space-md) 0;
  color: var(--color-muted);
}

.service-accordion__content p,
.policy-text p {
  margin: 0;
}

.service-accordion__content p + p,
.policy-text p + p {
  margin-top: var(--paragraph-gap);
}

.price-list {
  margin: 0;
}

.price-list__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: var(--space-md);
  padding: 1rem 0;
  border-top: 1px solid rgba(36, 33, 30, 0.14);
}

.price-list__row:last-child {
  border-bottom: 1px solid rgba(36, 33, 30, 0.14);
}

.price-list dt {
  font-weight: 500;
}

.price-list dd {
  margin: 0;
  color: var(--color-accent-dark);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.price-list__note {
  margin: var(--space-md) 0 0;
  color: var(--color-muted);
  font-weight: 500;
}

.policy-text {
  max-width: 72ch;
  color: var(--color-text);
}

.privacy-text {
  color: var(--color-text);
}

.privacy-text h1 {
  margin: 0 0 var(--space-md);
}

.privacy-text h2 {
  margin: var(--space-lg) 0 var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(36, 33, 30, 0.14);
  font-size: clamp(1.25rem, 3vw, 1.55rem);
}

.privacy-text p,
.privacy-contact {
  margin: 0;
}

.privacy-text p + p,
.privacy-contact + p {
  margin-top: var(--paragraph-gap);
}

.privacy-page__lead {
  color: var(--color-muted);
  font-size: 1.125rem;
}

.privacy-contact {
  color: var(--color-text);
  font-style: normal;
}

.privacy-text .text-link {
  overflow-wrap: anywhere;
  font-weight: 500;
  text-decoration-line: underline;
  text-decoration-color: currentColor;
}

.contact-page__details .section__inner {
  width: min(100% - (var(--content-inset) * 2), var(--content-width));
}

.contact-page__details h1 {
  margin: 0 0 var(--space-lg);
}

.contact-page__grid {
  display: grid;
  gap: var(--space-lg);
}

.contact-page__primary {
  display: grid;
  grid-template-columns: minmax(16rem, 0.74fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: var(--space-xl);
}

.contact-page__content {
  display: grid;
  align-content: start;
  gap: var(--space-lg);
  min-width: 0;
}

.contact-panel,
.contact-info-group {
  min-width: 0;
}

.contact-panel h2,
.contact-info-group h2 {
  margin-bottom: var(--space-xs);
}

.contact-info-group--arrival h2 {
  margin-bottom: var(--space-md);
}

.contact-info-group--arrival {
  max-width: 42ch;
}

.contact-list {
  font-style: normal;
}

.contact-list p,
.contact-info-group p {
  margin: 0;
  color: var(--color-text);
}

.contact-info-group p + p {
  margin-top: var(--paragraph-gap);
}

.contact-list p + p {
  margin-top: 0;
}

.contact-list a {
  color: var(--color-accent-dark);
  font-weight: 700;
}

.contact-info-group .section-actions {
  margin-top: var(--space-sm);
}

.contact-info-group .button {
  font-size: 1rem;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) 0.75rem;
  margin-top: var(--space-md);
}

.contact-social > span {
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-social .site-social {
  color: var(--color-accent-dark);
}

.contact-social .social-link:hover {
  color: var(--color-accent);
}

.contact-map {
  display: flex;
  min-width: 0;
}

.contact-map__frame {
  display: flex;
  justify-content: center;
  min-height: clamp(22rem, 46vw, 32rem);
  background: var(--color-surface);
  border: 1px solid rgba(36, 33, 30, 0.12);
}

@media (min-width: 901px) {
  .contact-map__frame {
    width: 100%;
    height: 100%;
    min-height: 0;
  }
}

.contact-map__placeholder {
  display: grid;
  grid-template-rows:
    minmax(var(--space-md), 1fr)
    auto
    clamp(2.5rem, 7vw, 5rem)
    auto
    minmax(var(--space-sm), 0.45fr);
  align-items: center;
  justify-items: center;
  width: 100%;
  min-height: inherit;
  padding-block: 0;
  padding-inline: var(--space-md);
  text-align: center;
}

.contact-map__prompt {
  grid-row: 2;
  display: grid;
  justify-items: center;
  gap: var(--space-sm);
  width: min(100%, 26rem);
}

.contact-map__prompt p {
  margin: 0;
  color: var(--color-muted);
}

.contact-map__placeholder .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
}

.contact-map__button:hover {
  background: hsl(40deg 30% 38% / 8%);
  border-color: var(--color-accent-dark);
  color: var(--color-accent-dark);
}

.contact-map__external-link {
  gap: 0.35rem;
  font-weight: 400;
  text-decoration-line: underline;
  text-decoration-color: currentColor;
}

.contact-map__external-icon {
  display: block;
  width: 0.8em;
  height: 0.8em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("../images/icons/open-in-new.svg") center / contain no-repeat;
  mask: url("../images/icons/open-in-new.svg") center / contain no-repeat;
}

.contact-map__disclaimer {
  grid-row: 4;
  width: min(100%, 32rem);
  max-width: 32rem;
  margin: 0;
  color: var(--color-muted-low);
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
}

.contact-map__disclaimer a {
  color: inherit;
  font-weight: 500;
}

.contact-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.contact-map[data-loaded="true"] .contact-map__frame {
  display: block;
}

.working-note h3 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.4;
  font-weight: 600;
  text-wrap: balance;
}

.site-footer {
  flex-shrink: 0;
  background: var(--color-footer);
  color: var(--color-white);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) minmax(12rem, 0.9fr) minmax(12rem, 0.8fr);
  align-items: start;
  column-gap: var(--space-lg);
  row-gap: var(--space-lg);
  padding-block: var(--space-lg);
  --footer-logo-row: 1.9rem;
  --footer-text-row: 1.4em;
}

.site-footer img {
  width: min(100%, 14rem);
  height: auto;
  margin-top: 0.18rem;
  filter: invert(1);
}

.site-footer p,
.site-footer span,
.site-footer a {
  color: var(--color-footer-muted);
  line-height: 1.4;
}

.site-footer a {
  border-radius: var(--focus-radius);
}

.site-footer__brand,
.site-footer__contact,
.site-footer__links {
  display: grid;
  grid-template-rows: var(--footer-logo-row) repeat(4, minmax(var(--footer-text-row), auto));
  align-content: start;
  gap: 0.2rem;
}

.site-footer__contact,
.site-footer__links {
  font-style: normal;
}

.site-footer strong {
  display: block;
  margin-bottom: 0;
  color: var(--color-white);
  line-height: 1.4;
}

.site-footer__contact strong,
.site-footer__links strong {
  grid-row: 1;
}

.site-footer__contact span:nth-of-type(1),
.site-footer__links a:nth-of-type(1) {
  grid-row: 2;
}

.site-footer__contact span:nth-of-type(2),
.site-footer__links a:nth-of-type(2) {
  grid-row: 3;
}

.site-footer__contact a:nth-of-type(1),
.site-footer__links a:nth-of-type(3) {
  grid-row: 4;
}

.site-footer__contact a:nth-of-type(2) {
  grid-row: 5;
}

.site-footer__contact a,
.site-footer__links a {
  justify-self: start;
}

.site-footer__brand p {
  grid-row: 3;
  margin: 0;
}

.site-social--footer {
  gap: 0.6rem;
  color: var(--color-footer-muted);
}

.footer-social {
  grid-row: 4 / 6;
  align-self: center;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: 0;
  color: var(--color-footer-muted);
}

.footer-social span {
  line-height: 1.4;
}

.site-footer .site-social--footer .social-link {
  width: 2rem;
  height: 2rem;
  border-radius: var(--focus-radius-large);
  background: var(--color-accent);
  color: var(--color-white);
}

.site-footer .site-social--footer .social-link::before {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.site-footer .site-social--footer .social-link:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
}

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

@media (max-width: 900px) {
  :root {
    --header-height: clamp(4.5rem, 12vw, 6.75rem);
    --space-xl: 4rem;
    --tablet-stack-width: 44rem;
    --tablet-media-width: var(--text-width);
  }

  .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-logo {
    width: clamp(10.5rem, 34vw, 12rem);
  }

  html[data-js="true"] .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 2.75rem;
    border: 0;
    border-radius: var(--focus-radius);
    background: transparent;
    color: var(--color-text);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .menu-toggle__line {
    position: relative;
    width: 1.5rem;
    height: 2px;
    background: currentColor;
    transition: background-color 140ms ease;
  }

  .menu-toggle__line::before,
  .menu-toggle__line::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: top 180ms ease, transform 180ms ease;
  }

  .menu-toggle__line::before {
    top: -7px;
  }

  .menu-toggle__line::after {
    top: 7px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__line {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__line::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__line::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.25rem var(--space-sm);
    width: 100%;
    padding: 0 0 var(--space-sm);
  }

  html[data-js="true"] .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    z-index: 40;
    width: 100vw;
    max-width: none;
    justify-self: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 0;
    padding: var(--space-sm) var(--content-inset) var(--space-md);
    background: var(--color-page);
    border-bottom: 1px solid rgba(36, 33, 30, 0.1);
    box-shadow: 0 1rem 2rem rgba(36, 33, 30, 0.08);
    clip-path: inset(0 -2rem -2rem -2rem);
    opacity: 0;
    transform: translateY(-0.75rem);
    visibility: hidden;
  }

  html[data-js="true"] .site-nav.is-animating {
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  html[data-js="true"] .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  html[data-js="true"] .site-nav a:not(.button, .social-link) {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(36, 33, 30, 0.08);
  }

  html[data-js="true"] .site-nav .button {
    justify-self: start;
    margin-top: var(--space-sm);
  }

  .site-social--menu {
    display: flex;
    justify-self: start;
    width: 100%;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(36, 33, 30, 0.08);
  }

  .two-column,
  .two-column--reverse,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .two-column,
  .two-column--reverse {
    justify-items: center;
    gap: var(--space-lg);
  }

  .two-column > .text-block,
  .two-column > .section-heading,
  .two-column > .profile-signature {
    justify-self: center;
    width: min(100%, var(--text-width));
  }

  .site-footer__inner {
    grid-template-rows: auto;
    row-gap: var(--space-lg);
  }

  .site-footer__brand,
  .site-footer__contact,
  .site-footer__links {
    grid-template-rows: auto;
  }

  .site-footer__brand {
    gap: 1.2rem;
  }

  .site-footer__brand p {
    grid-row: auto;
    margin-top: 0;
  }

  .site-footer__brand > *,
  .site-footer__contact > *,
  .site-footer__links > * {
    grid-row: auto;
  }

  .footer-social {
    grid-row: auto;
    margin-top: 0;
  }

  .about-layout {
    grid-template-areas:
      "about"
      "working"
      "signature";
    grid-template-rows: auto;
  }

  .about-layout .working-note {
    width: min(100%, var(--tablet-stack-width));
    max-width: var(--tablet-stack-width);
  }

  .media-frame--portrait {
    width: min(100%, var(--tablet-media-width));
  }

  #palvelut .section__inner {
    width: min(100% - (var(--content-inset) * 2), var(--text-width));
  }

  .contact-page__grid {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
  }

  .contact-page__primary {
    display: contents;
  }

  .contact-page__content {
    order: 1;
    gap: 3.5rem;
  }

  .contact-info-group--arrival {
    order: 2;
  }

  .contact-map {
    order: 3;
    width: 100%;
  }

  .contact-map__frame {
    width: 100%;
    min-height: clamp(20rem, 58vw, 30rem);
  }

}

@media (max-width: 559px) {
  :root {
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-section: 3.5rem;
  }

  .site-footer__inner {
    padding-block: var(--space-section);
  }

  .menu-toggle {
    width: 2.75rem;
    justify-content: center;
  }

  .menu-toggle__text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section-actions .button,
  .section-actions .text-link {
    width: 100%;
  }

  .section-actions .text-link {
    display: inline-flex;
    justify-content: center;
    min-height: 2.75rem;
    align-items: center;
  }

  .pricing-page__intro .section__inner {
    text-align: left;
  }

  .service-accordion__item summary {
    min-height: 3.75rem;
    padding-right: 2.5rem;
  }

  .service-accordion__content {
    padding-right: 0;
  }

  .price-list__row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .price-list dd {
    text-align: left;
  }

  .contact-page__details h1 {
    margin-bottom: var(--space-xl);
  }

  .contact-info-group .section-actions {
    align-items: flex-start;
  }

  .contact-info-group .section-actions .button {
    width: auto;
  }

  .contact-social {
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .contact-social > span {
    white-space: nowrap;
  }

  .contact-map__frame {
    min-height: 22rem;
  }

  .contact-map__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    width: 100%;
    padding-block: var(--space-lg);
    padding-inline: var(--space-sm);
  }

  .contact-map__prompt,
  .contact-map__disclaimer {
    grid-row: auto;
  }

  .contact-map__disclaimer {
    font-size: 0.84375rem;
  }

  .contact-map__placeholder .text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
  }

}

@media (min-width: 560px) {
  .hero__copy,
  .text-block,
  .section-heading,
  .booking-cta p,
  .price-list,
  .price-list__note,
  .policy-text,
  .contact-list,
  .contact-info-group,
  .contact-map__prompt p {
    font-size: 1.125rem;
  }

  .service-accordion__content {
    font-size: 1.0625rem;
  }
}

@media (max-width: 767px) {
  .intro-section .section__inner {
    padding-top: 2rem;
  }
}

@media (min-width: 560px) and (max-width: 900px) {
  .products-section__brands {
    width: min(100%, var(--tablet-media-width));
  }

  .site-footer__inner {
    grid-template-columns: max-content max-content;
    max-width: var(--tablet-stack-width);
    justify-content: start;
    align-items: start;
    column-gap: var(--space-xl);
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__contact {
    grid-column: 1;
  }

  .site-footer__links {
    grid-column: 2;
  }
}

@media (min-width: 380px) and (max-width: 767px) {
  .brand-list:not([data-brand-layout]) {
    --brand-layout-width: min(100cqw, 29.5rem);
    --brand-gap: clamp(1.25rem, calc(var(--brand-layout-width) * 0.068), 2rem);
    --brand-row-gap: clamp(1.15rem, calc(var(--brand-layout-width) * 0.052), 1.55rem);
    --brand-color-width: calc((var(--brand-layout-width) - var(--brand-gap)) / 2.4089253);
    --brand-dungud-width: var(--brand-color-width);
    --brand-dungud-height: calc(var(--brand-dungud-width) / var(--brand-dungud-ratio));
    --brand-k18-height: var(--brand-four-height);
    --brand-k18-width: calc(var(--brand-k18-height) * var(--brand-k18-ratio));
    --brand-b3-width: calc(var(--brand-four-width) * var(--brand-b3-layout-2-four-width-factor));
    --brand-b3-height: calc(var(--brand-b3-width) / var(--brand-b3-ratio));
    --brand-row-1-height: max(var(--brand-kevin-height), var(--brand-color-height));
    --brand-row-2-height: max(var(--brand-four-height), var(--brand-k18-height), var(--brand-dungud-height));
    --brand-row-2-y: calc(var(--brand-row-1-height) + var(--brand-row-gap));
    --brand-row-3-height: var(--brand-b3-height);
    --brand-layout-2-b3-row-gap: calc(var(--brand-k18-y) - (var(--brand-kevin-y) + var(--brand-kevin-height)));
    --brand-row-3-y: calc(var(--brand-k18-y) + var(--brand-k18-height) + var(--brand-layout-2-b3-row-gap));
    --brand-layout-height: calc(var(--brand-row-3-y) + var(--brand-row-3-height));
    --brand-kevin-x: 0px;
    --brand-kevin-y: var(--brand-kevin-color-optical-offset);
    --brand-color-x: calc(var(--brand-kevin-width) + var(--brand-gap));
    --brand-color-y: 0px;
    --brand-four-x: 0px;
    --brand-four-y: calc(var(--brand-row-2-y) + ((var(--brand-row-2-height) - var(--brand-four-height)) / 2));
    --brand-k18-x: calc(var(--brand-four-width) + ((var(--brand-dungud-x) - var(--brand-four-width) - var(--brand-k18-width)) / 2));
    --brand-k18-y: calc(var(--brand-row-2-y) + ((var(--brand-row-2-height) - var(--brand-k18-height)) / 2));
    --brand-dungud-x: var(--brand-color-x);
    --brand-dungud-y: calc(var(--brand-row-2-y) + ((var(--brand-row-2-height) - var(--brand-dungud-height)) / 2));
    --brand-b3-x: calc((var(--brand-layout-width) - var(--brand-b3-width)) / 2);
    --brand-b3-y: var(--brand-row-3-y);
  }
}

@media (max-width: 379px) {
  .products-section__brands .brand-list:not([data-brand-layout]) {
    margin-inline: 0 auto;
  }

  .brand-list:not([data-brand-layout]) {
    --brand-layout-width: min(100cqw, 25.25rem);
    --brand-gap: var(--brand-layout-3-color-k18-gap);
    --brand-row-gap: var(--brand-color-height);
    --brand-color-width: calc(var(--brand-layout-width) / 1.819413);
    --brand-dungud-width: var(--brand-color-width);
    --brand-dungud-height: calc(var(--brand-dungud-width) / var(--brand-dungud-ratio));
    --brand-b3-height: var(--brand-k18-height);
    --brand-b3-width: calc(var(--brand-b3-height) * var(--brand-b3-ratio));
    --brand-layout-3-color-k18-gap: calc((var(--brand-color-height) + var(--brand-dungud-height)) / 2);
    --brand-layout-3-four-dungud-gap: var(--brand-dungud-height);
    --brand-row-1-height: var(--brand-kevin-height);
    --brand-row-2-height: max(var(--brand-color-height), var(--brand-k18-height));
    --brand-row-3-height: max(var(--brand-four-height), var(--brand-dungud-height));
    --brand-row-4-height: var(--brand-b3-height);
    --brand-layout-3-vertical-gap: var(--brand-color-height);
    --brand-layout-3-color-inner-y: calc((var(--brand-row-2-height) - var(--brand-color-height)) / 2);
    --brand-layout-3-four-inner-y: calc((var(--brand-row-3-height) - var(--brand-four-height)) / 2);
    --brand-row-2-y: calc(var(--brand-row-1-height) + var(--brand-layout-3-vertical-gap) - var(--brand-layout-3-color-inner-y));
    --brand-row-3-y: calc(var(--brand-row-2-y) + var(--brand-layout-3-color-inner-y) + var(--brand-color-height) + var(--brand-layout-3-vertical-gap) - var(--brand-layout-3-four-inner-y));
    --brand-row-4-y: calc(var(--brand-row-3-y) + var(--brand-layout-3-four-inner-y) + var(--brand-four-height) + var(--brand-layout-3-vertical-gap));
    --brand-layout-height: calc(var(--brand-row-4-y) + var(--brand-row-4-height));
    --brand-kevin-x: 0px;
    --brand-kevin-y: 0px;
    --brand-color-x: 0px;
    --brand-color-y: calc(var(--brand-row-2-y) + var(--brand-layout-3-color-inner-y));
    --brand-k18-x: calc(var(--brand-color-width) + var(--brand-layout-3-color-k18-gap));
    --brand-k18-y: calc(var(--brand-row-2-y) + ((var(--brand-row-2-height) - var(--brand-k18-height)) / 2));
    --brand-four-x: 0px;
    --brand-four-y: calc(var(--brand-row-3-y) + var(--brand-layout-3-four-inner-y));
    --brand-dungud-x: calc(var(--brand-four-width) + var(--brand-layout-3-four-dungud-gap));
    --brand-dungud-y: calc(var(--brand-row-3-y) + ((var(--brand-row-3-height) - var(--brand-dungud-height)) / 2));
    --brand-b3-x: 0px;
    --brand-b3-y: var(--brand-row-4-y);
  }
}

@media (max-width: 379px) {
  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero__actions .button,
  .hero__actions .text-link {
    width: 100%;
  }

  .hero__actions .text-link {
    display: inline-flex;
    justify-content: center;
    min-height: 2.75rem;
    align-items: center;
  }
}

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

  .menu-toggle__line,
  .menu-toggle__line::before,
  .menu-toggle__line::after,
  .site-nav {
    transition: none;
  }
}
