.collection-grid .product-card {
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}

/* Give the story copy enough room to read naturally on wide screens. */
.story-section {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.story-copy {
  width: 100%;
  max-width: none;
  padding-inline: clamp(48px, 6vw, 110px);
}

.story-copy > p:not(.eyebrow) {
  max-width: 620px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  margin-bottom: 70px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 18px;
}

.section-heading h2,
#collection-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.section-heading h2 em,
#collection-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.section-heading .text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .28s ease, color .28s ease, border-color .28s ease, transform .28s ease, box-shadow .28s ease;
}

.section-heading .text-link:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(24, 17, 12, 0.12);
}

.section-heading .text-link span:last-child {
  display: inline-block;
  transition: transform .28s cubic-bezier(.25, 1, .5, 1);
}

.section-heading .text-link:hover span:last-child {
  transform: translate(3px, -3px);
}

.section-heading .text-link:active {
  transform: translateY(0);
}

.section-heading .text-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .section-heading .text-link,
  .section-heading .text-link span:last-child {
    transition: none;
    transform: none;
  }
}

.collection-grid .product-card:nth-child(2) {
  transition-delay: .12s;
}

.collection-grid .product-card:nth-child(3) {
  transition-delay: .24s;
}

.collection-grid .product-image {
  position: relative;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s cubic-bezier(.77, 0, .18, 1);
}

.collection-grid .product-card.visible .product-image {
  clip-path: inset(0);
}

.collection-grid .product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  transition: opacity .55s ease;
  will-change: opacity;
}

.collection-grid .product-image .product-image-base {
  opacity: 1;
}

.collection-grid .product-image .product-image-focus {
  opacity: 0;
}

.collection-grid .product-card {
  cursor: pointer;
}

.collection-grid .product-card.is-jewellery-focus .product-image-base {
  opacity: 0;
}

.collection-grid .product-card.is-jewellery-focus .product-image-focus {
  opacity: 1;
}

.collection-grid .product-card:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
  .collection-grid .product-card,
  .collection-grid .product-image,
  .collection-grid .product-image img {
    transition: none;
  }

  .collection-grid .product-image {
    clip-path: none;
  }
}

.collection-grid[data-horizontal-scroll] {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-right: -8vw;
  padding-right: 8vw;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.collection-grid[data-horizontal-scroll].is-dragging {
  cursor: grabbing !important;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.collection-grid[data-horizontal-scroll] img {
  -webkit-user-drag: none;
  user-drag: none;
}

.collection-grid[data-horizontal-scroll]::-webkit-scrollbar {
  display: none;
}

.collection-scroll-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}

.collection-scroll-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}

.collection-scroll-controls button:hover:not(:disabled),
.collection-scroll-controls button:focus-visible {
  background: var(--ink);
  color: #fff;
}

.collection-scroll-controls button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.collection-scroll-controls button:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.collection-grid[data-horizontal-scroll] .product-card {
  flex: 0 0 clamp(280px, 29vw, 440px);
  margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.collection-grid[data-horizontal-scroll] .product-card:nth-child(3n+2) {
  margin-top: 72px;
}

.collection-grid[data-horizontal-scroll]:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 8px;
}

@media (max-width: 800px) {
  .section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
  }

  .section-heading .eyebrow {
    margin-bottom: 14px;
  }

  .section-heading h2,
  #collection-title {
    font-size: clamp(28px, 6vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: 100%;
  }

  .section-heading .text-link {
    margin-top: 24px;
    align-self: flex-start;
  }

  .story-copy {
    padding-inline: 7vw;
  }

  .collection-grid[data-horizontal-scroll] {
    margin-right: -7vw;
    padding-right: 7vw;
  }

  .collection-grid[data-horizontal-scroll] .product-card {
    flex-basis: min(76vw, 380px);
  }

  .collection-grid[data-horizontal-scroll] .product-card:nth-child(3n+2) {
    margin-top: 0;
  }

  .collection-scroll-controls {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading .eyebrow {
    margin-bottom: 10px;
    font-size: 9.5px;
    letter-spacing: .22em;
  }

  .section-heading h2,
  #collection-title {
    font-size: clamp(23px, 6.4vw, 32px);
    line-height: 1.16;
    letter-spacing: -0.015em;
    overflow-wrap: break-word;
  }

  .section-heading .text-link {
    margin-top: 20px;
    padding: 11px 20px;
    font-size: 9.5px;
    gap: 14px;
  }
}

@media (max-width: 360px) {
  .section-heading h2,
  #collection-title {
    font-size: clamp(20px, 6vw, 24px);
    line-height: 1.18;
  }

  .section-heading .text-link {
    padding: 10px 16px;
    font-size: 9px;
    gap: 12px;
  }
}

/* Showroom Video and Atelier Address layout */
.home-page .appointment-section {
  display: block;
  min-height: auto;
  padding: clamp(80px, 8vw, 130px) 7vw;
  background: linear-gradient(135deg, rgba(20, 15, 11, 0.94) 0%, rgba(28, 20, 15, 0.88) 100%),
              url('../images/background.png') center / cover no-repeat;
  color: #fff;
  text-align: left;
}

.home-page .appointment-shell {
  max-width: 1320px;
  margin: 0 auto;
}

.home-page .appointment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.home-page .appointment-media {
  position: relative;
  width: 100%;
}

.home-page .appointment-media .showroom-film {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 161, 110, 0.35);
  border-radius: 14px;
  background: #120e0b;
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.home-page .appointment-media .showroom-film-player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 832 / 464;
  object-fit: cover;
}

.home-page .appointment-media .showroom-film-player:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.home-page .appointment-media .showroom-film-error {
  margin-top: 12px;
  color: #c8b9ae;
  font-size: 13px;
}

.home-page .appointment-media .showroom-film-error a {
  color: #e3b984;
  text-decoration: underline;
}

.home-page .appointment-content {
  max-width: 540px;
  text-align: left;
}

.home-page .appointment-content .eyebrow {
  margin: 0 0 16px;
  color: #e3b984;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.home-page .appointment-content h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}

.home-page .appointment-content h2 em {
  font-style: italic;
  font-weight: 400;
  color: #e1ad77;
}

.home-page .appointment-lead {
  margin: 0 0 28px !important;
  color: #f2e5d8 !important;
  font-size: 15px;
  line-height: 1.8;
  max-width: 480px;
  text-align: left !important;
}

.appointment-address-block {
  padding: 24px 26px;
  border-radius: 12px;
  border: 1px solid rgba(212, 161, 110, 0.28);
  background: rgba(18, 13, 10, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.address-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #e3b984;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.address-pin-icon {
  flex-shrink: 0;
  color: #e3b984;
}

.address-text {
  font-style: normal;
  margin: 0 0 22px;
}

.address-link {
  display: block;
  color: #fff;
  font-size: 14.5px;
  line-height: 1.7;
  transition: color .2s ease;
}

.address-link span {
  display: block;
}

.address-link:hover {
  color: #e3b984;
}

.appointment-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button-gold {
  background: #c59358;
  color: #17130f;
  border: 1px solid #c59358;
}

.button-gold:hover {
  background: #d6a468;
  color: #120e0b;
  border-color: #d6a468;
}

.button-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 960px) {
  .home-page .appointment-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-page .appointment-content {
    max-width: 100%;
  }

  .home-page .appointment-lead {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .appointment-address-block {
    padding: 18px;
  }

  .appointment-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .appointment-actions .button {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
}
