/* Gallery only: a portrait reel and two layered photographs. */
@font-face {
  font-family: "Gallery Notes";
  src: url("../../fonts/OoohBaby-Gallery.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.gallery-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: 860px;
  padding-block: 150px 78px;
  background: #06150e;
  color: var(--color-gold);
}
.gallery-hero__backdrop {
  position: absolute;
  z-index: -2;
  inset: -24px;
  background: url("../../images/a10/gallery-hero-bar-20260916.webp") 62% 45% / cover no-repeat;
  filter: blur(2px) saturate(1.18) brightness(.85) sepia(.3);
  opacity: 1;
  transform: translate3d(calc(var(--gallery-shift-x, 0px) * .4), calc(var(--gallery-shift-y, 0px) * .4), 0);
}
.gallery-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(0deg, #06150e, rgba(6, 21, 14, .16) 22%, transparent 68%, rgba(3, 12, 8, .45)),
    linear-gradient(90deg, #06150e 2%, rgba(6, 21, 14, .96) 23%, rgba(6, 21, 14, .8) 38%, rgba(6, 21, 14, .16) 66%, rgba(6, 21, 14, .12));
  pointer-events: none;
}
.gallery-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10px;
  background:
    radial-gradient(ellipse 24% 33% at 64% 24%, rgba(232, 153, 69, .18), transparent 78%),
    radial-gradient(ellipse 30% 36% at 90% 58%, rgba(238, 168, 83, .16), transparent 80%);
  filter: blur(10px);
  pointer-events: none;
}
.gallery-hero__inner {
  width: min(calc(100% - 120px), 1520px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 56px;
}
.gallery-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
}
.gallery-hero__label {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
  color: var(--color-gold-light);
  font: 500 12px/1.4 var(--font-text);
  letter-spacing: 1.8px;
}
.gallery-hero__label::after {
  content: "";
  width: 52px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.gallery-hero__title {
  margin: 0;
  font: 500 clamp(66px, 6.12vw, 100px)/1.09 var(--font-title);
  letter-spacing: -.03em;
  color: var(--color-gold);
}
.gallery-hero__title span {
  display: inline-block;
  padding-top: 4px;
  color: #edb45f;
  font-size: 1.045em;
  text-shadow: 0 3px 26px rgba(223, 154, 64, .12);
}
.gallery-hero__description {
  max-width: 22em;
  min-height: 6.6em;
  margin: 30px 0 32px;
  font: 400 clamp(16px, 1.32vw, 20px)/1.65 var(--font-text);
  color: #dedfd7;
  text-wrap: balance;
}
.gallery-hero__cta svg { flex: 0 0 auto; stroke: currentColor; stroke-width: 1.4; }
.gallery-hero__cta:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 5px; }
.gallery-hero__note {
  position: absolute;
  left: max(60px, calc((100% - 1520px) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 17px;
  max-width: 510px;
  margin: 0;
  color: rgba(218, 202, 172, .74);
  font: 400 9px/1.8 var(--font-text);
  letter-spacing: 1.35px;
}
.gallery-hero__note::before {
  content: "";
  flex: 0 0 40px;
  height: 1px;
  background: rgba(214, 171, 102, .65);
}
.gallery-hero__composition {
  position: relative;
  width: 100%;
  aspect-ratio: 1.05;
  isolation: isolate;
}
.gallery-hero__composition::before {
  content: "";
  position: absolute;
  inset: -8% -10%;
  z-index: -1;
  background:
    radial-gradient(ellipse at 58% 46%, rgba(247, 174, 86, .22), rgba(195, 110, 39, .08) 40%, transparent 69%),
    radial-gradient(ellipse 23% 33% at 32% 36%, rgba(253, 208, 133, .12), transparent 85%);
  filter: blur(20px);
  pointer-events: none;
}
.gallery-hero__phone {
  position: absolute;
  z-index: 2;
  left: 30%;
  top: 1.5%;
  width: min(50.5%, 388px);
  padding: 5px;
  border: 1px solid rgba(224, 201, 164, .58);
  border-radius: 22px;
  background: linear-gradient(145deg, #797067, #111610 18%, #151913 78%, #706152);
  box-shadow: 14px 34px 50px -12px rgba(0, 0, 0, .72), -7px 0 30px rgba(232, 158, 75, .09), 0 0 0 1px rgba(12, 15, 11, .9), inset 0 0 0 1px rgba(0, 0, 0, .8);
  /* Preserve the editorial angle without moving the screen during playback. */
  transform: rotate(-3deg);
}
.gallery-hero__phone::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 1px;
  border-radius: inherit;
  border-top: 1px solid rgba(255, 243, 215, .37);
  border-left: 1px solid rgba(255, 243, 215, .15);
  pointer-events: none;
}
/* The small camera island and rounded bezel establish portrait orientation. */
.gallery-hero__phone::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 17px;
  left: 39%;
  width: 22%;
  height: 13px;
  border-radius: 18px;
  background: radial-gradient(circle at 84% 50%, #26302f 2px, transparent 3px), #070a08;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .045);
  pointer-events: none;
}
.gallery-hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 17;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: #101a12;
}
.gallery-hero__media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 7, .48), transparent 24%, transparent 62%, rgba(4, 12, 7, .25) 75%, rgba(4, 12, 7, .86));
  pointer-events: none;
}
.gallery-hero__poster,
.gallery-hero__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
  filter: brightness(.86) contrast(1.01) saturate(1.01) sepia(.18);
}
.gallery-hero__poster { opacity: 1; }
.gallery-hero__video { opacity: 0; transition: opacity 180ms ease; }
.gallery-hero__video.is-ready { opacity: 1; }
.gallery-hero__reel-label {
  position: absolute;
  z-index: 4;
  left: 20px;
  top: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border-radius: 2px;
  color: #e8dfcf;
  background: rgba(9, 17, 11, .48);
  font: 500 9px/1.4 var(--font-text);
  letter-spacing: 1.2px;
  white-space: nowrap;
  pointer-events: none;
}
.gallery-hero__reel-caption {
  position: absolute;
  z-index: 4;
  left: 22px;
  right: 20px;
  bottom: 48px;
  color: #f4e8d5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
  pointer-events: none;
}
.gallery-hero__reel-menu {
  position: absolute;
  z-index: 4;
  top: 47px;
  right: 18px;
  width: 12px;
  height: 20px;
  color: rgba(244, 232, 213, .75);
  pointer-events: none;
}
.gallery-hero__reel-menu svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.gallery-hero__reel-caption span {
  display: block;
  margin-bottom: 9px;
  font: 500 9px/1.4 var(--font-text);
  letter-spacing: 1.6px;
}
.gallery-hero__reel-caption strong {
  display: block;
  font: 500 clamp(20px, 2vw, 29px)/1.15 var(--font-title);
}
.gallery-hero__progress {
  position: absolute;
  z-index: 4;
  left: 22px;
  right: 22px;
  bottom: 23px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(245, 236, 222, .38);
  pointer-events: none;
}
.gallery-hero__progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #f0c77f;
  transform: scaleX(0);
  transform-origin: left center;
}
.gallery-hero__food {
  position: absolute;
  width: 36%;
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 2px;
  border: 1px solid rgba(235, 182, 103, .34);
  border-radius: 4px;
  background: #141c13;
  box-shadow: 8px 23px 38px -9px rgba(0, 0, 0, .66), 0 2px 10px rgba(0, 0, 0, .3);
  overflow: hidden;
}
.gallery-hero__food--first {
  z-index: 1;
  left: 6%;
  top: 13%;
  transform: rotate(-12deg);
}
.gallery-hero__food--second {
  z-index: 3;
  width: 32%;
  aspect-ratio: 6 / 7;
  right: 0;
  bottom: 22%;
  transform: rotate(9deg);
}
.gallery-hero__food img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-hero__food--first img { object-position: 62% 50%; }
.gallery-hero__food--second img { object-position: 50% 88%; }
.gallery-hero__food::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: linear-gradient(0deg, rgba(4, 13, 8, .72), transparent 53%);
  pointer-events: none;
}
.gallery-hero__food figcaption {
  position: absolute;
  z-index: 1;
  left: 14px;
  right: 8px;
  bottom: 19px;
  color: rgba(251, 241, 223, .96);
  font: 400 clamp(25px, 2.5vw, 38px)/1.1 "Gallery Notes", cursive;
  transform: rotate(-6deg);
  text-shadow: 0 2px 9px rgba(0, 0, 0, .5);
}
.gallery-hero__food--second figcaption { transform: rotate(-8deg); left: 12px; }
.gallery-hero__food--first figcaption { max-width: min(52%, 3.3em); }

@media (max-width: 1199px) {
  .gallery-hero { min-height: 760px; padding-block: 158px 72px; }
  .gallery-hero__inner { width: calc(100% - 80px); gap: 24px; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); }
  .gallery-hero__content { padding-bottom: 30px; }
  .gallery-hero__note { left: 40px; bottom: 28px; max-width: 440px; font-size: 8px; letter-spacing: 1.1px; }
  .gallery-hero__title { font-size: clamp(58px, 6.4vw, 75px); }
  .gallery-hero__description { font-size: 16px; }
  .gallery-hero__phone { padding: 5px; border-radius: 20px; }
  .gallery-hero__media { border-radius: 14px; }
  .gallery-hero__phone::after { top: 13px; height: 10px; }
  .gallery-hero__reel-label { left: 14px; top: 34px; font-size: 8px; letter-spacing: .8px; gap: 6px; }
  .gallery-hero__reel-menu { top: 36px; right: 14px; width: 10px; height: 18px; }
  .gallery-hero__progress { left: 18px; bottom: 20px; }
  .gallery-hero__reel-caption { left: 18px; right: 16px; bottom: 42px; }
  .gallery-hero__reel-caption span { font-size: 8px; letter-spacing: 1.15px; }
  .gallery-hero__food figcaption { left: 10px; bottom: 15px; font-size: 30px; }
}
@media (max-width: 899px) {
  .gallery-hero { min-height: 0; padding-block: 140px 72px; }
  .gallery-hero__inner { width: calc(100% - 64px); max-width: 640px; grid-template-columns: 1fr; gap: 44px; }
  .gallery-hero__content { max-width: 530px; padding-bottom: 0; }
  .gallery-hero__title { font-size: 73px; }
  .gallery-hero__description { margin-block: 26px 28px; font-size: 17px; }
  .gallery-hero__composition { width: 100%; aspect-ratio: .95; }
  .gallery-hero__phone { top: 3%; width: 52.5%; left: 28%; }
  .gallery-hero__note { position: relative; left: auto; bottom: auto; width: calc(100% - 64px); max-width: 640px; margin: 30px auto 0; }
  .gallery-hero__backdrop { top: 31%; background-position: 64% 56%; }
  .gallery-hero::before { background: linear-gradient(180deg, #06150e 12%, rgba(6, 21, 14, .95) 33%, rgba(6, 21, 14, .25) 62%, rgba(6, 21, 14, .17) 80%, #06150e); }
  .gallery-hero::after { background: radial-gradient(ellipse 38% 21% at 75% 65%, rgba(242, 163, 68, .15), transparent 80%), radial-gradient(ellipse 32% 20% at 18% 76%, rgba(219, 146, 64, .12), transparent 80%); }
}
@media (max-width: 599px) {
  .gallery-hero { padding-block: 112px 54px; }
  .gallery-hero__inner { width: calc(100% - 44px); gap: 32px; }
  .gallery-hero__label { font-size: 11px; margin-bottom: 23px; }
  .gallery-hero__title { font-size: clamp(54px, 14.1vw, 74px); }
  .gallery-hero__description { font-size: 15px; line-height: 1.65; margin-block: 24px 26px; }
  .gallery-hero__composition { aspect-ratio: .82; }
  .gallery-hero__phone { left: 27%; top: 3%; width: 57.5%; padding: 4px; border-radius: 17px; transform: rotate(-3deg); }
  .gallery-hero__media { border-radius: 12px; }
  .gallery-hero__phone::after { top: 11px; height: 9px; background: radial-gradient(circle at 84% 50%, #26302f 1.5px, transparent 2px), #070a08; }
  .gallery-hero__reel-label { top: 29px; left: 12px; gap: 5px; font-size: 7.5px; letter-spacing: .65px; padding: 4px 5px; }
  .gallery-hero__reel-menu { top: 30px; right: 11px; width: 9px; height: 17px; }
  .gallery-hero__progress { left: 15px; right: 15px; bottom: 18px; height: 2px; }
  .gallery-hero__reel-caption { left: 15px; right: 12px; bottom: 37px; }
  .gallery-hero__reel-caption span { font-size: 7px; letter-spacing: .9px; margin-bottom: 7px; }
  .gallery-hero__reel-caption strong { font-size: clamp(17px, 4.4vw, 23px); }
  .gallery-hero__food--first { width: 37%; left: 3%; top: 13%; transform: rotate(-12deg); }
  .gallery-hero__food--second { width: 35%; right: 0; bottom: 25%; transform: rotate(9deg); }
  .gallery-hero__food figcaption { font-size: clamp(24px, 6vw, 31px); left: 8px; right: 4px; bottom: 12px; }
  .gallery-hero__note { width: calc(100% - 44px); margin-top: 24px; gap: 12px; font-size: 7.5px; letter-spacing: .9px; }
  .gallery-hero__note::before { flex-basis: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-hero { --gallery-shift-x: 0px !important; --gallery-shift-y: 0px !important; }
  .gallery-hero__video, .gallery-hero__cta { transition: none; }
}
