/* Homepage V1 — editorial studio layout using existing tokens */

.home {
  background: var(--color-page);
  color: var(--color-text);
}

body:has(.home--flush-hero) #main-content {
  padding-top: 0;
  margin-top: 0;
}

.home--flush-hero {
  margin-top: 0;
  padding-top: 0;
}

.home-shell {
  width: min(var(--container-wide), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}

@media (min-width: 640px) {
  .home-shell {
    padding-inline: var(--gutter-tablet);
  }
}

@media (min-width: 1024px) {
  .home-shell {
    padding-inline: var(--gutter-desktop);
  }
}

.home-section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.home-paths,
.home-arrangements.home-section,
.home-rooms.home-section,
.home-creators.home-section,
.home-photo-wow.home-section {
  padding-block: clamp(1.1rem, 2vw, 1.75rem);
}

.home-voucher.home-section {
  padding-block: clamp(1.6rem, 3.2vw, 2.6rem);
}

.home-why.home-section {
  padding-block: clamp(1.85rem, 3.6vw, 3rem);
  background: var(--color-cream);
}

.home-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md) var(--space-xl);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.home-arrangements .home-section__header,
.home-rooms .home-section__header,
.home-creators .home-section__header,
.home-photo-wow .home-section__header {
  margin-bottom: 1rem;
}

.home-why .home-section__header {
  margin-bottom: 1.5rem;
}

.home-section__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--color-primary);
}

.home-arrangements .home-section__title,
.home-creators .home-section__title,
.home-photo-wow .home-section__title {
  font-size: clamp(1.6rem, 2.1vw, 2.15rem);
}

.home-section__intro {
  margin: 0;
  max-width: 36rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.home-arrangements .home-section__intro,
.home-rooms .home-section__intro,
.home-creators .home-section__intro,
.home-photo-wow .home-section__intro {
  font-size: 0.9375rem;
}

.home-section__more {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-burgundy);
}

.home-section__more:hover,
.home-section__more:focus-visible {
  color: var(--color-burgundy-dark);
}

.home-section__more::after {
  content: " →";
}

.home-hero {
  padding-block: 0;
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

@media (min-width: 1024px) {
  .home-hero {
    margin-bottom: var(--space-lg);
  }
}

.home-hero__stage {
  position: relative;
  overflow: hidden;
  min-height: clamp(26.875rem, 38vw, 32.5rem);
  background: #1c1915;
}

.home-hero__media,
.home-hero__image,
.home-hero__veil {
  position: absolute;
  inset: 0;
}

.home-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

@media (max-width: 719px) {
  .home-hero__image {
    object-position: 70% 46%;
  }
}

.home-hero__veil {
  background: linear-gradient(
    90deg,
    rgba(12, 18, 14, 0.34) 0%,
    rgba(12, 18, 14, 0.16) 28%,
    rgba(12, 18, 14, 0.04) 46%,
    transparent 62%
  );
  pointer-events: none;
}

@media (max-width: 719px) {
  .home-hero__veil {
    background: linear-gradient(
      90deg,
      rgba(12, 18, 14, 0.62) 0%,
      rgba(12, 18, 14, 0.38) 38%,
      rgba(12, 18, 14, 0.12) 68%,
      transparent 88%
    );
  }
}

.home-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 28.5rem;
  padding: clamp(1.35rem, 3.5vw, 2.75rem) clamp(1.15rem, 3vw, 2.5rem);
}

.home-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(252, 250, 246, 0.78);
}

.home-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 4.6vw, 3.55rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.004em;
  color: var(--color-bright);
}

.home-hero__accent {
  color: var(--color-logo-gold);
}

.home-hero__lead {
  margin: 0 0 1.2rem;
  max-width: 24rem;
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 1.2vw, 1.05rem);
  line-height: 1.5;
  color: rgba(252, 250, 246, 0.86);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 0.85rem;
}

.home-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
}

.home-hero__cta--primary {
  border: 1px solid var(--color-burgundy);
  background: var(--color-burgundy);
  color: var(--color-bright);
}

.home-hero__cta--primary:hover,
.home-hero__cta--primary:focus-visible {
  background: var(--color-burgundy-dark);
  border-color: var(--color-burgundy-dark);
  color: var(--color-bright);
}

.home-hero__cta--secondary {
  border: 1px solid rgba(252, 250, 246, 0.42);
  background: var(--color-secondary-green);
  color: var(--color-bright);
}

.home-hero__cta--secondary:hover,
.home-hero__cta--secondary:focus-visible {
  background: var(--color-deep-green);
  border-color: var(--color-deep-green);
  color: var(--color-bright);
}

.home-hero__cta:focus-visible {
  outline: 2px solid var(--color-caramel);
  outline-offset: 2px;
}

.home-paths {
  background: var(--color-cream);
  padding-block: 0.95rem;
}

.home-paths__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

@media (min-width: 720px) {
  .home-paths__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.75rem;
    row-gap: 0.85rem;
  }
}

@media (min-width: 1024px) {
  .home-paths__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 0;
  }
}

.home-path {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  min-height: 0;
  padding: 0.7rem 0;
  color: inherit;
  text-decoration: none;
  background: transparent;
  border: 0;
}

.home-path + .home-path {
  border-top: 1px solid var(--color-sand);
}

@media (min-width: 720px) {
  .home-path {
    padding: 0.15rem 0;
  }

  .home-path + .home-path {
    border-top: 0;
  }
}

.home-path:focus-visible {
  outline: 2px solid var(--color-caramel);
  outline-offset: 4px;
}

.home-path__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  flex: 0 0 auto;
  color: #fff;
  background: var(--color-commerce-action);
}

.home-path__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.home-path__body {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}

.home-path__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-primary);
}

.home-path__copy {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.home-path__cta {
  margin-top: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-burgundy);
}

.home-path__cta::after {
  content: " →";
}

.home-arrangements__grid,
.home-rooms__track,
.home-tiles,
.home-creators__grid,
.home-reviews__track,
.home-blog__grid,
.home-why__grid,
.home-photo-wow__grid,
.home-restore__frames,
.home-personalize__grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-arrangements__grid {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem;
  -webkit-overflow-scrolling: touch;
}

.home-arrangements__grid > li {
  flex: 0 0 min(68vw, 14.5rem);
  min-width: 0;
  scroll-snap-align: start;
}

@media (min-width: 720px) {
  .home-arrangements__grid > li {
    flex-basis: min(42vw, 16rem);
  }
}

@media (min-width: 1024px) {
  .home-arrangements__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .home-arrangements__grid > li {
    flex: none;
  }
}

.home-arrangement {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.home-arrangement__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-cream);
}

.home-arrangement__media img,
.home-arrangement__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-arrangement__fallback {
  background: var(--color-sand);
}

.home-arrangement__body {
  padding-top: 0.55rem;
}

.home-arrangement__name {
  margin: 0 0 0.15rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary);
}

.home-arrangement__meta {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--color-muted);
}

.home-tiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .home-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .home-tiles--styles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: var(--color-bright);
  text-decoration: none;
  background: var(--color-deep-green);
}

.home-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-tile__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1rem 0.9rem;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 500;
  line-height: 1.1;
  background: linear-gradient(transparent, rgba(39, 49, 38, 0.72));
}

.home-rooms__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-rooms__track {
  --home-rooms-gap: 0.75rem;
  display: flex;
  align-items: stretch;
  gap: var(--home-rooms-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-rooms__track::-webkit-scrollbar {
  display: none;
}

.home-rooms__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .home-rooms__slide {
    flex: 0 0 calc((100% - var(--home-rooms-gap)) / 2);
  }
}

@media (min-width: 1024px) {
  .home-rooms__slide {
    flex: 0 0 calc((100% - (2 * var(--home-rooms-gap))) / 3);
  }
}

.home-room {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--color-bright);
  text-decoration: none;
  background: var(--color-deep-green);
}

.home-room:focus-visible {
  outline: 2px solid var(--color-caramel);
  outline-offset: 4px;
}

.home-room__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-sand);
}

.home-room__media img,
.home-room__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-room__media img {
  transform: scale(1);
  transition: transform 0.45s ease;
}

.home-room:hover .home-room__media img,
.home-room:focus-visible .home-room__media img {
  transform: scale(1.04);
}

.home-room__fallback {
  background: linear-gradient(160deg, var(--color-sand) 0%, var(--color-taupe) 100%);
}

.home-room__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 0.95rem 0.8rem;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-bright);
  background: linear-gradient(transparent, rgba(39, 49, 38, 0.78));
}

.home-creators__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0.85rem;
  row-gap: 1.35rem;
}

@media (min-width: 900px) {
  .home-creators__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 1.85rem;
  }
}

.home-creator {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.home-creator__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 9.5rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

@media (min-width: 900px) {
  .home-creator__visual {
    height: 14rem;
  }
}

.home-creator__visual img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}

.home-creator__visual--kolaz img {
  object-fit: contain;
}

.home-creator__visual--mapa {
  background:
    repeating-linear-gradient(
      0deg,
      rgba(246, 242, 234, 0.95) 0,
      rgba(246, 242, 234, 0.95) 1rem,
      rgba(201, 184, 163, 0.28) 1rem,
      rgba(201, 184, 163, 0.28) 1.0625rem
    );
}

.home-creator__visual--certyfikat {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(246, 242, 234, 0.95) 0,
      rgba(246, 242, 234, 0.95) 0.75rem,
      rgba(232, 222, 208, 0.55) 0.75rem,
      rgba(232, 222, 208, 0.55) 1.5rem
    );
}

.home-creator__visual--metryczka {
  background:
    linear-gradient(180deg, var(--color-burgundy-soft) 0%, var(--color-cream) 100%);
}

.home-creator__visual--voucher-xxl {
  background:
    linear-gradient(160deg, #efe6d8 0%, #c9b8a3 100%);
}

.home-creator__visual--pair {
  gap: 0.45rem;
}

.home-creator__visual--pair img {
  position: static;
  width: auto;
  height: 100%;
  max-width: calc(50% - 0.25rem);
  object-fit: contain;
  object-position: center;
}

.home-creator__visual--twoj-wlasny-plakat {
  background:
    linear-gradient(160deg, #f7f1e6 0%, #d9cbb8 100%);
}

.home-creator__visual--certyfikat-xxl {
  background:
    linear-gradient(180deg, #c4a574 0%, #8d6b45 100%);
}

.home-creator__title {
  margin: 0 0 0.2rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary);
}

.home-creator__copy {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-photo-wow {
  background: var(--color-raised-surface);
}

.home-photo-wow__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .home-photo-wow__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .home-photo-wow__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.home-photo-wow-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.home-photo-wow-card:focus-visible {
  outline: 2px solid var(--color-caramel);
  outline-offset: 4px;
}

.home-photo-wow-card__visual {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 0.55rem;
  background: var(--color-cream);
}

.home-photo-wow-card--xxl .home-photo-wow-card__visual {
  background:
    linear-gradient(135deg, #f7f1e8 0%, #e8d7c0 42%, #c9b8a3 100%);
}

.home-photo-wow-card--fotorolka .home-photo-wow-card__visual {
  background:
    repeating-linear-gradient(
      90deg,
      #f4ece2 0,
      #f4ece2 18%,
      #e4d4c2 18%,
      #e4d4c2 22%
    );
}

.home-photo-wow-card--kolaz .home-photo-wow-card__visual {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(232, 222, 208, 0.55) 0,
      rgba(232, 222, 208, 0.55) 1.25rem,
      rgba(246, 242, 234, 0.85) 1.25rem,
      rgba(246, 242, 234, 0.85) 2.5rem
    );
}

.home-photo-wow-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-photo-wow-card__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(138, 48, 65, 0.22);
  border-radius: 999px;
  background: var(--color-burgundy-soft);
  color: var(--color-burgundy);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-photo-wow-card__title {
  margin: 0 0 0.28rem;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary);
}

.home-photo-wow-card__copy {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.home-photo-wow-card__cta {
  margin-top: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-burgundy);
}

.home-photo-wow-card__cta::after {
  content: " →";
}

.home-restore {
  background: var(--color-cream);
}

.home-restore__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: center;
}

@media (min-width: 1024px) {
  .home-restore__layout {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.home-restore .home-section__intro {
  max-width: 38rem;
}

.home-restore__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}

.home-restore__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.6rem 1.05rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
}

.home-restore__cta--primary {
  border: 1px solid var(--color-burgundy);
  background: var(--color-burgundy);
  color: var(--color-bright);
}

.home-restore__cta--primary:hover,
.home-restore__cta--primary:focus-visible {
  background: var(--color-burgundy-dark);
  border-color: var(--color-burgundy-dark);
  color: var(--color-bright);
}

.home-restore__cta--secondary {
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-burgundy);
  padding-inline: 0.15rem;
}

.home-restore__cta--secondary:hover,
.home-restore__cta--secondary:focus-visible {
  color: var(--color-burgundy-dark);
}

.home-restore__cta--primary::after,
.home-restore__cta--secondary::after {
  content: " →";
}

.home-restore__cta:focus-visible {
  outline: 2px solid var(--color-caramel);
  outline-offset: 2px;
}

.home-restore__frames {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .home-restore__frames {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.home-restore__frame {
  min-width: 0;
}

.home-restore__frame figure {
  margin: 0;
}

.home-restore__mat {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-sand);
}

.home-restore__mat--origin {
  background:
    linear-gradient(180deg, rgba(92, 74, 55, 0.16), rgba(201, 184, 163, 0.35)),
    repeating-linear-gradient(
      135deg,
      #d9cbb8 0,
      #d9cbb8 0.55rem,
      #cfc0ab 0.55rem,
      #cfc0ab 1.1rem
    );
}

.home-restore__mat--restore {
  background: linear-gradient(180deg, #f4ece2 0%, var(--color-cream) 100%);
}

.home-restore__mat--keepsake {
  background: linear-gradient(160deg, var(--color-burgundy-soft) 0%, var(--color-sand) 100%);
}

.home-restore__mat img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-restore__caption {
  margin-top: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.home-restore__story--genuine .home-restore__frame--origin .home-restore__caption,
.home-restore__story--genuine .home-restore__frame--restore .home-restore__caption {
  color: var(--color-burgundy);
}


.home-personalize.home-section {
  padding-block: clamp(2rem, 4.2vw, 3.5rem);
}

.home-personalize .home-section__header {
  align-items: flex-start;
  margin-bottom: 1rem;
}

.home-personalize .home-section__intro {
  max-width: 40rem;
}

.home-personalize__eyebrow {
  margin: 0 0 0.45rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-burgundy);
}

.home-personalize__occasions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.home-personalize__occasions li {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-burgundy);
}

.home-personalize__occasions li:not(:last-child)::after {
  content: "·";
  margin-inline: 0.7rem;
  color: var(--color-commerce-action);
  font-weight: 700;
}

.home-personalize__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .home-personalize__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .home-personalize__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.75rem;
  }
}

.home-personalize-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.home-personalize-card:focus-visible {
  outline: 2px solid var(--color-caramel);
  outline-offset: 4px;
}

.home-personalize-card__visual {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 0.85rem;
  background: var(--color-cream);
}

.home-personalize-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-personalize-card:hover .home-personalize-card__visual img,
.home-personalize-card:focus-visible .home-personalize-card__visual img {
  transform: scale(1.04);
}

.home-personalize-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.55vw, 1.45rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary);
}

.home-personalize-card:hover .home-personalize-card__title,
.home-personalize-card:focus-visible .home-personalize-card__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.home-personalize-card__copy {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-muted);
}

@media (prefers-reduced-motion: reduce) {
  .home-personalize-card__visual img {
    transition: none;
  }

  .home-personalize-card:hover .home-personalize-card__visual img,
  .home-personalize-card:focus-visible .home-personalize-card__visual img {
    transform: none;
  }
}

.home-voucher {
  background: var(--color-commerce-action);
  color: var(--color-cream);
  overflow-x: clip;
}

.home-voucher__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
  align-items: center;
}

@media (min-width: 900px) {
  .home-voucher__inner {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    gap: 1.5rem 1.75rem;
  }
}

.home-voucher__eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.72);
}

.home-voucher__title {
  margin: 0 0 0.7rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.15vw, 2.05rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--color-cream);
}

.home-voucher__title-line {
  display: block;
}

.home-voucher__lead {
  margin: 0 0 1rem;
  max-width: 28rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(246, 242, 234, 0.86);
}

.home-voucher__feature-badge {
  margin: 0 0 0.35rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(246, 187, 91, 0.55);
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-logo-gold);
}

.home-voucher__feature-title {
  margin: 0 0 0.3rem;
  max-width: 28rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-cream);
}

.home-voucher__feature-copy {
  margin: 0 0 1.1rem;
  max-width: 26rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(246, 242, 234, 0.8);
}

.home-voucher__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--color-cream);
  border-radius: var(--radius-sm);
  background: var(--color-cream);
  color: var(--color-commerce-action);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
}

.home-voucher__cta::after {
  content: " →";
}

.home-voucher__cta:hover,
.home-voucher__cta:focus-visible {
  background: var(--color-bright);
  border-color: var(--color-bright);
  color: var(--color-deep-green);
}

.home-voucher__cta:focus-visible {
  outline: 2px solid var(--color-logo-gold);
  outline-offset: 2px;
}

.home-voucher__stage {
  width: 100%;
  min-width: 0;
}

.home-voucher__measure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.75rem;
  width: 100%;
  max-width: 1024px;
  margin-inline: auto;
}

.home-voucher__ruler {
  position: relative;
  margin: 0;
  color: rgba(246, 187, 91, 0.55);
}

.home-voucher__ruler--width {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.45rem;
  grid-column: 1;
  grid-row: 1;
}

.home-voucher__image {
  display: block;
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  max-width: 1024px;
  height: auto;
  margin: 0;
}

.home-voucher__ruler--height {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  grid-column: 2;
  grid-row: 2;
  min-height: 0;
}

.home-voucher__ruler-track {
  display: block;
  flex: none;
  background: rgba(246, 187, 91, 0.55);
}

.home-voucher__ruler--width .home-voucher__ruler-track {
  width: 100%;
  height: 1px;
}

.home-voucher__ruler--height .home-voucher__ruler-track {
  width: 1px;
  align-self: stretch;
}

.home-voucher__ruler-label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-logo-gold);
}

.home-voucher__ruler--height .home-voucher__ruler-label {
  writing-mode: vertical-rl;
}

.home-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

@media (min-width: 640px) {
  .home-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-why__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-why .home-section__intro {
  max-width: 38rem;
  font-size: 0.9375rem;
}

.home-why__item {
  position: relative;
  display: flex;
  min-width: 0;
}

.home-why__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  padding: 1.35rem 0.2rem 1.45rem;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 640px) {
  .home-why__link {
    padding: 1.4rem 1.6rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .home-why__link {
    padding: 0.55rem 1.85rem 0.7rem;
  }

  .home-why__item:first-child .home-why__link {
    padding-left: 0;
  }

  .home-why__item:last-child .home-why__link {
    padding-right: 0;
  }
}

.home-why__link:hover .home-why__fact,
.home-why__link:hover .home-why__name {
  color: var(--color-secondary-green);
}

.home-why__link:focus-visible {
  outline: 2px solid var(--color-caramel);
  outline-offset: 4px;
}

.home-why__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 0 1.1rem;
  border-radius: 50%;
  flex: 0 0 auto;
  color: #fff;
  background: var(--color-burgundy);
}

.home-why__icon svg {
  display: block;
  width: 1.625rem;
  height: 1.625rem;
}

.home-why__link:hover .home-why__icon,
.home-why__link:focus-visible .home-why__icon {
  background: var(--color-burgundy-dark);
}

.home-why__fact {
  margin: 0 0 0.28rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.85vw, 1.8rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-primary);
}

.home-why__name {
  margin: 0 0 0.55rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary);
}

.home-why__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-muted);
}

@media (max-width: 639.98px) {
  .home-why__item + .home-why__item::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: var(--color-sand);
    pointer-events: none;
  }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .home-why__item:nth-child(even)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 1px;
    background: var(--color-sand);
    pointer-events: none;
  }

  .home-why__item:nth-child(n + 3)::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: 0;
    height: 1px;
    background: var(--color-sand);
    pointer-events: none;
  }
}

@media (min-width: 1024px) {
  .home-why__item:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16%;
    bottom: 16%;
    width: 1px;
    background: var(--color-sand);
    pointer-events: none;
  }
}

.home-reviews__rating {
  margin: 0.25rem 0 0;
  font-size: var(--text-small);
  color: var(--color-muted);
}

.home-reviews__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
}

.home-reviews__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-reviews__nav,
.home-rooms__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-commerce-action);
  color: var(--color-bright);
  cursor: pointer;
}

.home-reviews__nav svg,
.home-rooms__nav svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

.home-reviews__nav:hover:not(:disabled),
.home-rooms__nav:hover:not(:disabled) {
  background: var(--color-secondary-green);
}

.home-reviews__nav:focus-visible,
.home-rooms__nav:focus-visible {
  outline: 2px solid var(--color-commerce-action);
  outline-offset: 3px;
}

.home-reviews__nav:disabled,
.home-rooms__nav:disabled {
  opacity: 0.38;
  cursor: default;
}

.home-reviews__track {
  --home-reviews-gap: clamp(0.875rem, 1.5vw, 1.125rem);
  display: flex;
  align-items: stretch;
  gap: var(--home-reviews-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-reviews__track::-webkit-scrollbar {
  display: none;
}

.home-reviews__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
}

@media (min-width: 640px) {
  .home-reviews__slide {
    flex: 0 0 calc((100% - var(--home-reviews-gap)) / 2);
  }
}

@media (min-width: 1024px) {
  .home-reviews__slide {
    flex: 0 0 calc((100% - (2 * var(--home-reviews-gap))) / 3);
  }
}

.home-reviews__slide .ok-review-item {
  width: 100%;
  height: 100%;
}

.home-blog {
  padding-top: clamp(2.75rem, 6.5vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.home-blog .home-section__intro {
  max-width: 38rem;
}

.home-blog__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .home-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-blog__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.home-blog-card:focus-visible {
  outline: 2px solid var(--color-caramel);
  outline-offset: 4px;
}

.home-blog-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 0.85rem;
  background: var(--color-sand);
}

.home-blog-card__media img,
.home-blog-card__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-blog-card__fallback {
  background: linear-gradient(160deg, var(--color-sand) 0%, var(--color-taupe) 100%);
}

.home-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.75rem;
  margin-bottom: 0.28rem;
}

.home-blog-card__category {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  color: var(--color-burgundy);
}

.home-blog-card__date {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.home-blog-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary);
}

.home-blog-card:hover .home-blog-card__title,
.home-blog-card:focus-visible .home-blog-card__title {
  color: var(--color-secondary-green);
}

.home-blog-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-muted);
}
