@charset "UTF-8";

/* The hero grows with its content; text and controls share the normal layout. */
main .hero {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: clamp(20px, 3svh, 32px);
  height: auto;
  min-height: calc(100svh - var(--shell-header-height));
  max-height: none;
  padding: clamp(16px, 3svh, 48px) max(24px, calc((100% - var(--shell-width)) / 2));
}
.hero-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  overflow: hidden;
}
.hero-photo .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 57%;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-photo .hero-slide.is-active { opacity: 1; }
.hero-photo .hero-slide:nth-child(2) { object-position: center 55%; }
.hero-photo .hero-slide:nth-child(3) { object-position: center 56%; }
.hero-photo::after {
  z-index: 1;
  background: linear-gradient(90deg, rgba(2,5,5,.48), rgba(2,5,5,.25) 32%, rgba(2,5,5,.06) 58%, transparent 72%);
}
html[lang="ar"] .hero-photo::after {
  background: linear-gradient(270deg, rgba(2,5,5,.48), rgba(2,5,5,.25) 32%, rgba(2,5,5,.06) 58%, transparent 72%);
}
main .hero .hero-brand-mark {
  position: absolute;
  top: clamp(24px, 5svh, 70px);
  inset-inline-end: max(24px, calc((100% - var(--shell-width)) / 2));
  z-index: 3;
  display: block;
  width: 182px;
  height: auto;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 0 1px #12100b) drop-shadow(0 3px 9px rgba(0,0,0,.75));
  pointer-events: none;
}
main .hero .hero-content {
  align-self: center;
  justify-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 1.6svh, 18px);
  width: min(900px, calc(100% - 210px));
  min-width: 0;
  max-width: 100%;
  padding: 0;
  text-align: start;
}
main .hero .hero-slogan {
  display: block;
  width: clamp(210px, min(25vw, 34svh), 360px);
  max-width: 100%;
  height: auto;
  margin: 0;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,.55));
}
main .hero .hero-kicker {
  margin: 0;
  font: 700 13px/1.5 Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #e6c57d;
  text-shadow: 0 2px 9px rgba(0,0,0,.7);
}
main .hero h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(46px, min(7vw, 8svh), 104px);
  line-height: .98;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 18px rgba(0,0,0,.48);
}
html[lang="ar"] main .hero h1 {
  font-size: clamp(44px, min(7vw, 7svh), 96px);
  line-height: 1.2;
}
main .hero .button {
  flex: 0 0 auto;
  max-width: 100%;
  min-height: 48px;
  gap: 20px;
  padding: 12px 22px;
  font-size: 15px;
}
main .hero .button span { flex: 0 0 auto; }
main .hero .hero-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  /* Leave the bottom-right corner free for the floating back-to-top button. */
  padding-right: 72px;
}
main .hero .hero-bottom {
  position: static;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  min-width: 0;
  margin: 0;
}
main .hero .scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  text-shadow: 0 1px 5px #000, 0 1px 12px #000;
}
main .hero .scroll-link span { flex: 0 0 30px; margin: 0; }
main .hero .hero-carousel-controls {
  position: static;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  margin: 0;
  transform: none;
  direction: ltr;
}
.hero-carousel-controls button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232,208,158,.75);
  border-radius: 50%;
  background: rgba(8,8,8,.65);
  color: #f9f0dc;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}
.hero-carousel-controls button:hover,
.hero-carousel-controls button:focus-visible {
  background: #c8ac70;
  color: #080808;
  outline: 2px solid #f1d99f;
  outline-offset: 2px;
}
.hero-carousel-dots { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.hero-carousel-dots button { width: 10px; height: 10px; border-width: 0; background: rgba(255,255,255,.55); }
.hero-carousel-dots button[aria-pressed="true"] { background: #e6c57d; transform: scale(1.25); }
.founder-image img { filter: none; }
/* The three collections share a baseline after removing their overlaid labels. */
main .collection-grid .middle-card { margin-top: 0; }
.page-galerie .gallery-lightbox p { display: none; }
.page-galerie .gallery-lightbox img { max-height: calc(92dvh - 32px); }

@media (max-width: 760px) {
  main .hero { padding-inline: 17px; }
  .hero-photo .hero-slide { object-position: center; }
  .hero-photo::after,
  html[lang="ar"] .hero-photo::after {
    background: linear-gradient(90deg, rgba(2,5,5,.52), rgba(2,5,5,.28) 72%, rgba(2,5,5,.13)),
                linear-gradient(0deg, rgba(2,5,5,.24), transparent 24%);
  }
  main .hero .hero-brand-mark { display: none; }
  main .hero .hero-content { width: 100%; align-items: center; text-align: center; }
  main .hero .hero-slogan { width: clamp(190px, 58vw, 310px); }
  main .hero .hero-kicker { justify-content: center; font-size: 12px; letter-spacing: .06em; }
  main .hero h1 { font-size: clamp(42px, min(12vw, 8svh), 72px); }
  html[lang="ar"] main .hero h1 { font-size: clamp(42px, min(12vw, 8svh), 64px); }
  main .hero .hero-footer { flex-direction: column-reverse; gap: 16px; padding-right: 0; }
  main .hero .hero-bottom { align-self: stretch; margin-right: 72px; }
}
@media (max-width: 599px) and (max-height: 740px) {
  main .hero { gap: 12px; padding-block: 12px; }
  main .hero .hero-content { gap: 10px; }
  main .hero .hero-slogan { width: 190px; }
  main .hero .hero-kicker { line-height: 1.35; }
  main .hero h1 { font-size: clamp(36px, 11vw, 50px); }
  html[lang="ar"] main .hero h1 { font-size: clamp(36px, 11vw, 48px); line-height: 1.18; }
}
/* Short landscape viewports use two text columns instead of cropping the stack. */
@media (min-width: 600px) and (max-height: 600px) {
  main .hero { gap: 12px; padding-block: 16px; }
  main .hero .hero-brand-mark { display: none; }
  main .hero .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    justify-items: start;
    gap: 8px 24px;
    width: 100%;
    text-align: start;
  }
  main .hero .hero-slogan { grid-column: 1; grid-row: 1; width: 180px; }
  main .hero .hero-kicker { grid-column: 1; grid-row: 2; justify-content: flex-start; font-size: 12px; letter-spacing: .04em; }
  main .hero h1 { grid-column: 1; grid-row: 3; font-size: clamp(30px, 7svh, 42px); }
  html[lang="ar"] main .hero h1 { font-size: clamp(30px, 7svh, 40px); line-height: 1.15; }
  main .hero .button { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  main .hero .hero-footer { flex-direction: row; gap: 16px; padding-right: 72px; }
  main .hero .hero-bottom { margin-right: 0; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo .hero-slide { transition: none; }
}

/* Keep the location caption separated from the heading after the copy removal. */
main .terroir-content > h2 + .location-mark { display: block; margin-block-start: 26px; }
