:root {
  color-scheme: light;
  --brand-orange: #ff5906;
  --brand-orange-hover: #e94c00;
  --brand-orange-ui: #e54800;
  --ink: #17191c;
  --navy: #132331;
  --paper: #ffffff;
  --header-height: 4.75rem;
  --page-gutter: clamp(1.25rem, 4vw, 5rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --focus-ring: 0 0 0 3px var(--paper), 0 0 0 6px var(--brand-orange-ui);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: #ffffff;
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #ffffff;
  font-family:
    Aptos, "Segoe UI Variable", "Segoe UI", ui-sans-serif, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html.is-loading,
html.is-loading body {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.35rem;
  background: var(--paper);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 240ms ease,
    visibility 0s linear 0s;
}

.site-loader__mark {
  width: clamp(13rem, 24vw, 18rem);
}

.site-loader__line {
  width: clamp(7rem, 12vw, 9rem);
  height: 2px;
  overflow: hidden;
  background: rgba(23, 25, 28, 0.12);
}

.site-loader__line::after {
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: var(--brand-orange-ui);
  animation: loader-progress 900ms ease-in-out infinite alternate;
  transform: scaleX(0.2);
  transform-origin: left center;
}

html:not(.is-loading) .site-loader {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 240ms ease,
    visibility 0s linear 240ms;
}

.site-header,
main {
  transition: opacity 240ms ease;
}

html.is-loading .site-header,
html.is-loading main {
  opacity: 0;
}

@keyframes loader-progress {
  to {
    transform: scaleX(1);
  }
}

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

button {
  font: inherit;
}

img,
svg {
  display: block;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: -6rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--navy);
  border-radius: 0.35rem;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 0.75rem;
  outline: 3px solid var(--brand-orange);
  outline-offset: 2px;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding-inline: var(--page-gutter);
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid rgba(19, 35, 49, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border-radius: 0.2rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
}

.brand-logo--loader {
  width: clamp(13rem, 24vw, 18rem);
}

.brand-logo--header {
  width: clamp(8.4rem, 10vw, 9.5rem);
}

.brand:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.brand-wordmark {
  display: inline-block;
  color: var(--ink);
  font-size: clamp(1.32rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.brand-wordmark > span {
  color: var(--brand-orange-ui);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem;
  background: rgba(19, 35, 49, 0.055);
  border-radius: 0.45rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding-inline: 0.8rem;
  color: rgba(19, 35, 49, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: color 180ms ease, background-color 180ms ease, transform 240ms var(--ease-out);
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(255, 90, 22, 0.13);
  transform: translateY(-1px);
}

.site-nav a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.carousel-toolbar {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.4vw, 1.2rem);
}

.slide-counter {
  min-width: 3.3rem;
  color: rgba(23, 25, 28, 0.72);
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.slide-dots {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.slide-dot {
  position: relative;
  display: grid;
  width: 2rem;
  height: 2.75rem;
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  place-items: center;
}

.slide-dot::before {
  width: 1.35rem;
  height: 2px;
  content: "";
  background: rgba(23, 25, 28, 0.55);
  border-radius: 999px;
  transition:
    width 320ms var(--ease-out),
    height 320ms var(--ease-out),
    background-color 220ms ease;
}

.slide-dot:hover::before {
  background: rgba(23, 25, 28, 0.56);
}

.slide-dot[aria-current="true"]::before {
  width: 1.8rem;
  height: 3px;
  background: var(--brand-orange-ui);
}

.slide-dot:focus-visible {
  outline: none;
  border-radius: 0.2rem;
  box-shadow: var(--focus-ring);
}

.arrow-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-left: clamp(0.25rem, 0.8vw, 0.8rem);
}

.arrow-button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(23, 25, 28, 0.19);
  border-radius: 50%;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 320ms var(--ease-out);
  place-items: center;
}

.arrow-button path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.autoplay-toggle__symbol {
  position: relative;
  display: block;
  width: 1rem;
  height: 1rem;
}

.autoplay-toggle__symbol::before,
.autoplay-toggle__symbol::after {
  position: absolute;
  top: 50%;
  width: 0.19rem;
  height: 0.72rem;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transform: translateY(-50%);
}

.autoplay-toggle__symbol::before {
  left: 0.22rem;
}

.autoplay-toggle__symbol::after {
  right: 0.22rem;
}

.autoplay-toggle[aria-pressed="true"] .autoplay-toggle__symbol::before {
  top: 0.12rem;
  left: 0.27rem;
  width: 0;
  height: 0;
  background: transparent;
  border-top: 0.38rem solid transparent;
  border-bottom: 0.38rem solid transparent;
  border-left: 0.58rem solid currentColor;
  border-radius: 0;
  transform: none;
}

.autoplay-toggle[aria-pressed="true"] .autoplay-toggle__symbol::after {
  content: none;
}

.arrow-button:disabled,
.arrow-button:disabled:hover {
  color: rgba(23, 25, 28, 0.46);
  cursor: not-allowed;
  background: transparent;
  border-color: rgba(23, 25, 28, 0.19);
  transform: none;
}

.arrow-button:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}

.arrow-button:active {
  transform: translateY(1px) scale(0.97);
}

.arrow-button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.autoplay-track {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(23, 25, 28, 0.09);
}

.autoplay-progress {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brand-orange-ui);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.hero {
  position: relative;
  width: 100%;
  height: min(calc(100svh - var(--header-height)), 56.25vw);
  min-height: min(32rem, calc(100svh - var(--header-height)));
  max-height: 58rem;
  overflow: hidden;
  background: #07121b;
  isolation: isolate;
  touch-action: pan-y pinch-zoom;
}

.hero:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: -3px;
}

.hero__stage,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--slide-background, #07121b);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1100ms cubic-bezier(0.45, 0, 0.2, 1),
    visibility 0s linear 1100ms;
  will-change: opacity;
}

.hero-slide.is-active {
  z-index: 2;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 1100ms cubic-bezier(0.45, 0, 0.2, 1),
    visibility 0s linear 0s;
}

.hero-slide.is-leaving {
  z-index: 1;
  opacity: 0;
  visibility: visible;
  transition:
    opacity 1100ms cubic-bezier(0.45, 0, 0.2, 1),
    visibility 0s linear 1100ms;
}

.hero-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--object-position-desktop, 50% 50%);
  user-select: none;
  transform: none;
  -webkit-user-drag: none;
}

.hero-slide::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  content: "";
  background: var(--scrim-desktop, none);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: var(--copy-top-desktop, 50%);
  width: min(34vw, 32rem);
  max-width: 34%;
  color: #fff;
  opacity: 1;
  transform: translateY(-50%);
}

.hero-copy--left {
  left: var(--page-gutter);
}

.hero-copy--right {
  right: var(--page-gutter);
}

.hero-slide.is-active .hero-copy {
  opacity: 1;
  transform: translateY(-50%);
}

.hero-slide.theme-dark .hero-copy {
  color: var(--navy);
}

.hero-copy > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 clamp(0.85rem, 1.25vw, 1.15rem);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.75rem, 0.8vw, 0.84rem);
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.3;
}

.hero-copy__eyebrow::before {
  width: 1.6rem;
  height: 2px;
  flex: 0 0 auto;
  content: "";
  background: var(--brand-orange);
  border-radius: 999px;
}

.theme-dark .hero-copy__eyebrow {
  color: rgba(19, 35, 49, 0.82);
}

.hero-copy__title {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.7rem, 3.6vw, 4rem);
  font-weight: 730;
  letter-spacing: -0.038em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero-copy__description {
  max-width: 39ch;
  margin: clamp(1.05rem, 1.6vw, 1.35rem) 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  line-height: 1.62;
  text-wrap: pretty;
}

.theme-dark .hero-copy__description {
  color: rgba(19, 35, 49, 0.84);
}

.hero-copy__actions {
  display: flex;
  align-items: center;
  margin-top: clamp(1.35rem, 2.1vw, 1.85rem);
}

.primary-action {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-action {
  padding: 0.8rem 1.35rem;
  color: var(--ink);
  background: var(--brand-orange);
  border: 1px solid transparent;
  transition:
    background-color 220ms ease,
    transform 320ms var(--ease-out);
}

.primary-action:hover {
  background: var(--brand-orange-hover);
  transform: translateY(-2px);
}

.primary-action:active {
  transform: translateY(0) scale(0.98);
}

.primary-action:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (max-width: 64rem) and (min-width: 51.26rem) {
  .hero-copy__title {
    font-size: clamp(3.25rem, 5.4vw, 3.85rem);
  }

  .hero-copy__description {
    font-size: 1rem;
  }
}

@media (max-width: 68.75rem) and (min-width: 51.26rem) {
  .hero {
    height: calc(100svh - var(--header-height));
    min-height: 36rem;
  }
}

@media (max-width: 51.25rem) {
  :root {
    --header-height: 4.375rem;
    --page-gutter: clamp(1.25rem, 5vw, 2.5rem);
  }

  .brand-wordmark {
    font-size: clamp(1.22rem, 4.6vw, 1.55rem);
  }

  .site-nav {
    display: none;
  }

  .slide-counter {
    display: none;
  }

  .carousel-toolbar {
    gap: clamp(0.25rem, 1vw, 0.7rem);
  }

  .slide-dots {
    gap: 0;
  }

  .slide-dot {
    width: 1.5rem;
    height: 2.5rem;
  }

  .slide-dot::before {
    width: 0.85rem;
  }

  .slide-dot[aria-current="true"]::before {
    width: 1.15rem;
  }

  .arrow-controls {
    gap: 0.25rem;
    padding-left: clamp(0.15rem, 1vw, 0.5rem);
  }

  .arrow-button {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero {
    height: calc(100svh - var(--header-height));
    min-height: 44rem;
    max-height: 64rem;
  }

  .hero-slide__image {
    top: 0;
    bottom: 0;
    height: 100%;
    object-position: var(--object-position-mobile, 50% 50%);
  }

  .hero-slide::after {
    background: var(--scrim-mobile, var(--slide-background));
  }

  .hero-copy,
  .hero-slide.is-active .hero-copy {
    top: clamp(1.5rem, 5svh, 3.25rem);
    right: auto;
    bottom: auto;
    left: var(--page-gutter);
    width: min(calc(100% - (2 * var(--page-gutter))), 20.5rem);
    max-width: none;
    transform: translateY(0);
  }

  .hero-copy--mobile-right,
  .hero-slide.is-active .hero-copy--mobile-right {
    right: var(--page-gutter);
    left: auto;
  }

  .hero-slide.theme-mobile-light .hero-copy {
    color: #fff;
  }

  .hero-slide.theme-mobile-light .hero-copy__eyebrow,
  .hero-slide.theme-mobile-light .hero-copy__description {
    color: #fff;
  }

  .hero-copy__eyebrow {
    margin-bottom: 0.8rem;
    font-size: 0.78rem;
  }

  .hero-copy__title {
    max-width: 12.5ch;
    font-size: clamp(2.1rem, 8.9vw, 2.85rem);
    letter-spacing: -0.038em;
    line-height: 1;
  }

  .hero-copy__description {
    max-width: 34ch;
    margin-top: 1rem;
    font-size: clamp(0.94rem, 2.7vw, 1.06rem);
    line-height: 1.48;
  }

  .hero-copy__actions {
    gap: 1.1rem;
    margin-top: 1.25rem;
  }

  .primary-action {
    min-height: 3rem;
    font-size: 0.9rem;
  }

  .primary-action {
    padding-inline: 1.15rem;
  }
}

@media (min-width: 34rem) and (max-width: 51.25rem) {
  .hero-copy,
  .hero-slide.is-active .hero-copy {
    width: min(64vw, 31rem);
  }

  .hero-copy__title {
    max-width: 13ch;
  }
}

@media (max-width: 27rem) {
  :root {
    --header-height: 5.25rem;
    --page-gutter: 1.15rem;
  }

  .site-header {
    padding-inline: 0.9rem;
  }

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

  .brand-wordmark {
    font-size: clamp(1.08rem, 5vw, 1.32rem);
  }

  .carousel-toolbar {
    display: grid;
    gap: 0;
    justify-items: end;
  }

  .slide-dots {
    grid-row: 1;
  }

  .arrow-controls {
    grid-row: 2;
    padding-left: 0;
  }

  .arrow-button {
    width: 2.35rem;
    height: 2.35rem;
  }

  .hero-copy,
  .hero-slide.is-active .hero-copy {
    width: min(calc(100% - 2.3rem), 20rem);
  }
}

@media (max-width: 22rem) {
  .hero-copy__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }
}

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

  .site-loader__line::after {
    animation: none;
    transform: scaleX(1);
  }
}

/* MebelCare 2026 — cinematic interaction layer */
:root {
  --brand-orange: #f15a24;
  --brand-orange-hover: #ff7441;
  --brand-orange-ui: #f15a24;
  --ink: #07151d;
  --navy: #07151d;
  --paper: #f7f8f5;
  --header-height: 5.5rem;
  --page-gutter: clamp(1.15rem, 4vw, 5rem);
  --page-progress: 0;
  --pointer-shift-x: 0px;
  --pointer-shift-y: 0px;
  --hero-scroll-y: 0px;
}

html {
  background: #07151d;
  scroll-padding-top: 1rem;
}

body {
  color: var(--ink);
  background: #07151d;
}

.page-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.12);
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brand-orange);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.site-loader {
  color: var(--ink);
  background: var(--paper);
}

.site-loader__line {
  background: rgba(7, 24, 34, 0.14);
}

.site-header {
  position: absolute;
  z-index: 40;
  top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: clamp(1rem, 2.5vw, 2.75rem);
  color: #fff;
  background: linear-gradient(180deg, rgba(3, 11, 15, 0.88), rgba(3, 11, 15, 0));
  border-bottom: 0;
}

.site-header .brand-wordmark {
  color: #fff;
  font-size: clamp(1.35rem, 1.8vw, 1.72rem);
}

.site-header .brand {
  padding: 0.42rem 0.55rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 0.38rem;
  box-shadow: 0 0.5rem 1.5rem rgba(3, 11, 15, 0.12);
  backdrop-filter: blur(0.75rem);
}

.site-header .site-nav {
  justify-self: center;
  gap: 0.25rem;
  padding: 0;
  background: transparent;
}

.site-header .site-nav a {
  min-height: 2.75rem;
  padding-inline: 0.8rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  background: transparent;
}

.site-header .site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header-call {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  align-self: center;
  padding: 0.6rem 0.85rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 0.25rem;
  transition: color 180ms ease, background 180ms ease;
}

.header-call svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.header-call:hover {
  color: var(--ink);
  background: #fff;
}

.header-call:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 3px;
}

.site-header .carousel-toolbar {
  justify-self: end;
}

.site-header .slide-counter {
  color: rgba(255, 255, 255, 0.7);
}

.site-header .slide-dot::before {
  background: rgba(255, 255, 255, 0.48);
}

.site-header .slide-dot[aria-current="true"]::before {
  background: var(--brand-orange);
}

.site-header .arrow-button {
  color: #fff;
  background: rgba(7, 21, 29, 0.28);
  border-color: rgba(255, 255, 255, 0.32);
}

.site-header .arrow-button:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.site-header .autoplay-track {
  right: var(--page-gutter);
  bottom: 0.75rem;
  left: var(--page-gutter);
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.hero {
  width: 100%;
  height: 100svh;
  min-height: 43rem;
  max-height: none;
  background: #07151d;
}

.hero-slide picture {
  position: absolute;
  inset: 0;
}

.hero-slide {
  transition:
    clip-path 1000ms var(--ease-out),
    opacity 700ms ease,
    visibility 0s linear 1000ms;
  clip-path: inset(0 0 0 10%);
}

.hero-slide.is-active {
  clip-path: inset(0);
  transition:
    clip-path 1000ms var(--ease-out),
    opacity 700ms ease,
    visibility 0s linear 0s;
}

.hero-slide.is-leaving {
  clip-path: inset(0 10% 0 0);
}

.hero-slide__image {
  transform:
    translate3d(
      var(--pointer-shift-x),
      calc(var(--pointer-shift-y) + var(--hero-scroll-y)),
      0
    )
    scale(1.045);
  transition: transform 1800ms var(--ease-out);
  will-change: transform;
}

.hero-slide.is-active .hero-slide__image {
  animation: hero-breathe 9s ease-out both;
}

@keyframes hero-breathe {
  from {
    filter: saturate(0.82) contrast(1.05);
    transform:
      translate3d(
        var(--pointer-shift-x),
        calc(var(--pointer-shift-y) + var(--hero-scroll-y)),
        0
      )
      scale(1.085);
  }
  to {
    filter: saturate(1) contrast(1);
    transform:
      translate3d(
        var(--pointer-shift-x),
        calc(var(--pointer-shift-y) + var(--hero-scroll-y)),
        0
      )
      scale(1.045);
  }
}

.hero-slide::after {
  background: var(--scrim-desktop, none);
}

.hero-copy {
  width: min(39vw, 39rem);
  max-width: 42%;
}

.hero-copy--left {
  left: max(var(--page-gutter), calc((100vw - 120rem) / 2 + var(--page-gutter)));
}

.hero-copy--right {
  right: max(var(--page-gutter), calc((100vw - 120rem) / 2 + var(--page-gutter)));
}

.hero-copy__eyebrow {
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.hero-copy__title {
  max-width: 14ch;
  font-size: clamp(3.2rem, 5.2vw, 5.8rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.hero-copy__description {
  max-width: 42ch;
  font-size: clamp(1.03rem, 1.35vw, 1.28rem);
  line-height: 1.52;
}

.hero-copy__actions {
  flex-wrap: wrap;
  gap: 0.65rem;
}

.primary-action,
.hero-copy__mail {
  min-height: 3.45rem;
  padding: 0.85rem 1.3rem;
  font-weight: 750;
  text-decoration: none;
  border-radius: 0.2rem;
  transform: translate3d(var(--magnetic-x, 0), var(--magnetic-y, 0), 0);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 350ms var(--ease-out);
}

.hero-copy__mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero-copy__mail:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.primary-action:hover,
.hero-copy__mail:hover {
  transform: translate3d(var(--magnetic-x, 0), calc(var(--magnetic-y, 0) - 2px), 0);
}

.hero-copy__mail:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.hero-slide.is-active .hero-copy > * {
  animation: copy-rise 780ms var(--ease-out) both;
}

.hero-slide.is-active .hero-copy > :nth-child(2) { animation-delay: 80ms; }
.hero-slide.is-active .hero-copy > :nth-child(3) { animation-delay: 150ms; }
.hero-slide.is-active .hero-copy > :nth-child(4) { animation-delay: 220ms; }

@keyframes copy-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 1.6rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 1.5rem;
  left: var(--page-gutter);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-scroll-cue svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  animation: cue-drop 1800ms ease-in-out infinite;
}

@keyframes cue-drop {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

.floating-rail {
  display: none !important;
}

.floating-rail > span:not(.floating-rail__track) {
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
}

.floating-rail__track {
  position: relative;
  width: 1px;
  height: 7rem;
  justify-self: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.floating-rail__track i {
  position: absolute;
  inset: 0;
  display: block;
  background: #fff;
  transform: scaleY(var(--page-progress));
  transform-origin: top center;
}

.mobile-call {
  display: none;
}

@media (max-width: 78rem) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .header-call {
    display: none;
  }

  .site-header .site-nav {
    justify-self: start;
    margin-left: clamp(0.5rem, 2vw, 2rem);
  }
}

@media (max-width: 64rem) {
  .site-header .site-nav {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr;
  }

  .site-header .carousel-toolbar {
    grid-column: 2;
  }

  .floating-rail {
    display: none;
  }
}

@media (max-width: 51.25rem) {
  :root {
    --header-height: 4.8rem;
  }

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

  .site-header {
    height: var(--header-height);
    padding-inline: 1rem;
  }

  .site-header .brand-wordmark {
    font-size: 1.24rem;
  }

  .site-header .brand {
    padding: 0.34rem 0.42rem;
  }

  .brand-logo--header {
    width: 6.75rem;
  }

  .site-header .carousel-toolbar {
    gap: 0.1rem;
  }

  .site-header .arrow-controls {
    display: none;
  }

  .site-header .autoplay-track {
    right: 1rem;
    bottom: 0.4rem;
    left: 1rem;
  }

  .slide-dot {
    width: 1.45rem;
    height: 2.75rem;
  }

  .hero {
    height: 100svh;
    min-height: 42rem;
    max-height: none;
  }

  .hero-slide::after {
    background: var(--scrim-mobile, var(--slide-background));
  }

  .hero-copy,
  .hero-slide.is-active .hero-copy {
    top: clamp(7.5rem, 19svh, 10rem);
    right: auto;
    left: var(--page-gutter);
    width: min(calc(100% - (2 * var(--page-gutter))), 27rem);
  }

  .hero-copy--mobile-right,
  .hero-slide.is-active .hero-copy--mobile-right {
    right: auto;
    left: var(--page-gutter);
  }

  .hero-copy__title {
    max-width: 11ch;
    font-size: clamp(2.65rem, 12vw, 4.35rem);
    line-height: 0.94;
  }

  .hero-copy__description {
    max-width: 31ch;
    font-size: 1rem;
  }

  .hero-copy__actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 16rem);
  }

  .primary-action,
  .hero-copy__mail {
    width: 100%;
    min-height: 3.25rem;
  }

  .hero-scroll-cue {
    bottom: 5.6rem;
    left: 1.15rem;
  }

  .mobile-call {
    position: fixed;
    z-index: 75;
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    left: 0.75rem;
    display: flex;
    min-height: 3.75rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    color: var(--ink);
    font-size: 0.82rem;
    text-decoration: none;
    background: var(--brand-orange);
    border-radius: 0.25rem;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.2);
  }

  .mobile-call strong {
    font-size: 0.92rem;
  }
}

@media (max-width: 27rem) {
  :root {
    --header-height: 4.8rem;
    --page-gutter: 1.1rem;
  }

  .carousel-toolbar {
    display: flex;
  }

  .site-header .slide-dots {
    grid-row: auto;
  }

  .hero-copy,
  .hero-slide.is-active .hero-copy {
    width: calc(100% - 2.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide.is-active,
  .hero-slide.is-leaving {
    clip-path: inset(0);
    transition-duration: 1ms;
  }

  .hero-slide.is-active .hero-slide__image,
  .hero-slide.is-active .hero-copy > *,
  .hero-scroll-cue svg {
    animation: none;
  }

  .hero-slide__image {
    transform: none;
    transition: none;
  }

  .magnetic,
  .primary-action,
  .hero-copy__mail {
    transform: none !important;
  }
}
