:root {
  color-scheme: light;
  --site-font: "LyonArabicDisplay", Georgia, serif;
  --bg: #ffffff;
  --ink: #000000;
  --muted: #9b8c92;
  --maroon: #891c43;
  --line: #9b8c92;
  --shadow: 0 20px 60px rgba(55, 36, 12, 0.18);
}

@font-face {
  font-family: "LyonArabicDisplay";
  src: url("./assets/fonts/LyonArabicText-RegularNo2.otf") format("opentype");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "GTAmericaStandard";
  src: url("./assets/fonts/GT-America-Standard-Regular.otf") format("opentype");
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--site-font);
  background: var(--bg);
  color: var(--ink);
}

body.is-scroll-locked {
  overflow: hidden;
  width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  min-height: 100svh;
}

.smooth-wrapper,
.smooth-content {
  min-height: 100svh;
}

.hero-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem;
  pointer-events: none;
}

.brand-mark {
  width: 10vw;
  height: 10vw;
  object-fit: cover;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  place-items: center;
  padding: 8rem 1rem 2rem;
  overflow: hidden;
  background: url("./assets/images/ArtBasel-Qatar-FEATURED.webp") center/cover
    no-repeat;
  color: #fffdf9;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 16, 12, 0.8),
    rgba(23, 16, 12, 0.01)
  );
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 12rem;
  background: linear-gradient(180deg, transparent, rgba(10, 8, 6, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  text-align: center;
  padding-top: 2rem;
}

.eyebrow,
.video-kicker,
.card-mark {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 244, 229, 0.72);
  font-size: 0.78rem;
}

.hero h1 {
  margin: 0.5rem 0 1rem;
  font-family: var(--site-font);
  font-size: clamp(3.2rem, 14vw, 6.8rem);
  font-weight: 500;
  line-height: 0.95;
}

.divider {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0 1.2rem;
}

.divider span {
  position: relative;
  width: 8.5rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(224, 185, 131, 0.8),
    transparent
  );
}

.hero-copy {
  margin: 0 auto;
  max-width: 32rem;
  color: rgba(255, 246, 237, 0.9);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.8rem auto 0;
  width: min(100%, 20rem);
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--maroon);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(200, 154, 92, 0.35);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.gallery {
  position: relative;
  padding: 0.75rem;
  color: #fff8ef;
  background:
    radial-gradient(circle at top, rgba(201, 154, 92, 0.16), transparent 28%),
    linear-gradient(180deg, #17110c, #0f0b08 56%, #120d0a);
}

.gallery-intro {
  margin: 0 auto 0.75rem;
  max-width: 42rem;
  padding: 0 0.25rem;
  color: rgba(255, 244, 229, 0.8);
  text-align: center;
  font-size: 0.95rem;
}

.gallery-inline {
  overflow: clip;
}

.gallery-inline__surface {
  padding: 0.6rem;
  border-radius: 28px;
  background: rgba(12, 9, 7, 0.7);
  border: 1px solid rgba(225, 183, 126, 0.12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.gallery-inline__header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.4rem 0.3rem 1rem;
}

.gallery-inline__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-left: 1rem;
}

.gallery-inline__viewport::-webkit-scrollbar {
  display: none;
}

.gallery-inline__header h2 {
  margin: 0.25rem 0 0;
  font-family: var(--site-font);
  font-size: clamp(2.1rem, 9vw, 4rem);
  line-height: 0.95;
  font-weight: 500;
}

.gallery-inline__track {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  width: max-content;
  padding: 0.25rem 0.25rem 1rem 0.25rem;
}

.gallery-inline__panel {
  position: relative;
  width: min(82vw, 24rem);
  min-height: 38rem;
  padding: 1rem;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(31, 23, 18, 0.96),
    rgba(11, 8, 7, 0.98)
  );
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  flex: 0 0 auto;
  text-align: left;
  color: #fff8ef;
  scroll-snap-align: start;
}

.gallery-inline__panel.is-active {
  outline: 1px solid rgba(221, 181, 120, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.gallery-inline__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0908;
}

.gallery-inline__media[data-flip-image] {
  cursor: pointer;
  touch-action: manipulation;
}

.gallery-inline__media[data-flip-image]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.32));
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.gallery-inline__media[data-flip-image]:hover::after,
.gallery-inline__media[data-flip-image]:focus-visible::after {
  opacity: 1;
}

.gallery-inline__media.is-popout-source {
  cursor: zoom-out;
  z-index: 46;
  backface-visibility: hidden;
  contain: paint;
  transform: translateZ(0);
  will-change: transform;
}

.gallery-popout-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  background: rgba(255, 248, 239, 0.05);
}

.gallery-inline__caption {
  margin-top: 0.9rem;
}

.gallery-inline__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-inline__media video {
  background: #000;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-fullscreen {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(8, 7, 6, 0.68);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.video-fullscreen:hover {
  background: rgba(8, 7, 6, 0.84);
}

.gallery-inline__caption h3 {
  margin: 0 0 0.35rem;
  font-family: var(--site-font);
  font-size: 2rem;
  font-weight: 500;
}

.gallery-inline__caption p {
  margin: 0;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  color: rgba(255, 244, 229, 0.78);
}

.gallery-popout {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  pointer-events: none;
  visibility: hidden;
  isolation: isolate;
  contain: layout paint;
}

.gallery-popout.is-open {
  pointer-events: auto;
  visibility: visible;
  overflow: hidden;
}

.gallery-popout__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 7, 5, 0);
  transition: background 180ms ease;
}

.gallery-popout.is-open .gallery-popout__backdrop {
  background: rgba(10, 7, 5, 1);
}

.gallery-popout__surface {
  position: relative;
  z-index: 1;
  width: min(92vw, 60rem);
  height: min(82svh, 48rem);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.gallery-popout__stage {
  width: min(100%, 54rem);
  height: 100%;
  display: grid;
  place-items: center;
}

.gallery-popout__stage .gallery-inline__media {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: auto;
  border-radius: clamp(18px, 3vw, 28px);
  background: transparent;
}

.gallery-popout__stage .gallery-inline__media img {
  object-fit: contain;
}

.gallery-popout__stage .gallery-inline__media::after {
  opacity: 0;
}

.gallery-popout__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(13, 9, 7, 0.78);
  color: #ffffff;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
  pointer-events: auto;
}

.gallery-popout__close:hover {
  background: rgba(13, 9, 7, 0.92);
}

.signup {
  padding: 1.4rem 1rem 2.5rem;
}

.signup-card {
  width: min(100%, 34rem);
  margin: 0 auto;
  padding: 1.25rem;
  border: 1px solid rgba(145, 117, 81, 0.12);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.signup-card h2 {
  margin: 0.35rem 0 0.65rem;
  font-family: var(--site-font);
  font-size: clamp(2rem, 7vw, 2.4rem);
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.signup-intro {
  text-align: left;
  color: var(--ink);
  line-height: 1.75;
}

.signup-form {
  display: grid;
  gap: 0.95rem;
}

.signup-form label {
  padding: 0.3rem;
  color: #4f4338;
  font-size: 0.95rem;
}

.field-row {
  display: grid;
  gap: 0.8rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(145, 117, 81, 0.2);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #968777;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(201, 154, 92, 0.75);
  box-shadow: 0 0 0 4px rgba(201, 154, 92, 0.14);
}

textarea {
  resize: vertical;
  min-height: 7.2rem;
}

.checks {
  display: grid;
  gap: 0.6rem;
  padding: 0.25rem 0.1rem;
}

.checks label,
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
  color: var(--muted);
}

.checks input,
.consent input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  margin-top: 0.2rem;
  padding: 0;
  border: 1px solid rgba(79, 67, 56, 0.5);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.86);
  accent-color: var(--maroon);
}

.submit-button {
  width: 100%;
  padding-block: 1rem;
}

.footer {
  text-align: center;
  background: linear-gradient(180deg, #16110c, #0d0907);
  color: #e9dccb;
}

.footer-mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 0.9rem;
  border-radius: 24px;
  object-fit: cover;
}

.footer p {
  margin: 0;
  font-family: var(--site-font);
  font-size: 1.8rem;
  letter-spacing: 0.22em;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0rem 0.8rem;
}

.footer-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.brand-mark-footer {
  width: 7vw;
  height: 7vw;
}

.footer a,
.footer-link-button,
.footer small {
  color: rgba(233, 220, 203, 0.78);
  text-decoration: none;
}

.footer-link-button {
  border: 0;
  padding: 0;
  background: transparent;
}

.footer a:hover,
.footer-link-button:hover {
  color: #fff8ef;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 1rem;
}

.privacy-modal__content p,
.privacy-modal__content h2,
.privacy-modal__content h3 {
  line-height: 1;
}

.privacy-modal.is-open {
  display: grid;
}

.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 9, 7, 0.72);
  backdrop-filter: blur(5px);
}

.privacy-modal__surface {
  position: relative;
  z-index: 1;
  width: 95%;
  height: 90%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.35rem, 4vw, 2.5rem);
  padding-top: 3.5rem;
  border: 1px solid rgba(225, 183, 126, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(255, 250, 244, 0.98)
    ),
    var(--bg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  color: var(--ink);
  outline: none;
}

.privacy-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid rgba(137, 28, 67, 0.22);
  border-radius: 999px;
  background: var(--maroon);
  color: #ffffff;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  z-index: 2;
}

.privacy-modal__close:hover {
  transform: translateY(-1px);
}

.privacy-modal__kicker {
  margin: 0 0 0.45rem;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maroon);
  font-size: 0.78rem;
}

.privacy-modal h2 {
  margin: 0 0 1rem;
  font-family: var(--site-font);
  font-size: 32px;
  font-weight: 500;
  line-height: 0.95;
}

.privacy-modal__content {
  display: grid;
  gap: 0.2rem;
  clear: both;
  color: #4f4338;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.privacy-modal__content p {
  margin: 0;
}

.gallery-view {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
}

.gallery-view.open {
  display: grid;
  place-items: stretch;
}

.gallery-view__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 6, 6, 0.68);
  backdrop-filter: blur(10px);
}

.gallery-view__surface {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100svh;
  padding: 1rem;
  color: #fff8ef;
  overflow: hidden;
}

.gallery-view__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0.2rem 1rem;
}

.gallery-view__header h2 {
  margin: 0.25rem 0 0;
  font-family: var(--site-font);
  font-size: 2rem;
}

.gallery-view__scroller {
  width: 100%;
  height: calc(100svh - 5.5rem);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.gallery-view__scroller::-webkit-scrollbar {
  display: none;
}

.gallery-view__pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: calc(100svh - 5.5rem);
  display: flex;
  align-items: center;
}

.gallery-view__track {
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  width: max-content;
  padding: 0.25rem 0.25rem 1rem;
}

.gallery-view__spacer {
  width: 100%;
  height: 0;
}

.gallery-view__panel {
  position: relative;
  width: min(82vw, 24rem);
  min-height: 38rem;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(31, 23, 18, 0.96),
    rgba(11, 8, 7, 0.98)
  );
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  flex: 0 0 auto;
}

.gallery-view__media img,
.gallery-view__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-view__media video {
  background: #000;
}

.gallery-view__caption {
  margin-top: 0.9rem;
}

.gallery-view__caption h3 {
  margin: 0 0 0.35rem;
  font-family: var(--site-font);
  font-size: 2rem;
  font-weight: 600;
}

.gallery-view__caption p {
  margin: 0;
  color: rgba(255, 244, 229, 0.78);
  line-height: 1.7;
}

.video-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
}

.partners-section {
  background: var(--bg);
}

.partners-divider {
  width: 65%;
  height: 2px;
  margin: 2rem auto;
  background: var(--maroon);
}

@media (min-width: 700px) {
  .hero-header {
    padding: 1.4rem 1.5rem;
  }

  .hero {
    padding-inline: 1.5rem;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }

  .gallery {
    padding-inline: 1.5rem;
  }

  .gallery-track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .slide {
    height: 14rem;
  }

  .slide-large {
    grid-column: span 2;
    height: 15rem;
  }

  .slide-video {
    grid-column: span 2;
  }

  .signup {
    padding-inline: 1.5rem;
    padding-bottom: 4rem;
  }

  .signup-card {
    padding: 2rem;
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-inline__surface {
    padding: 1rem;
  }

  .gallery-inline__viewport {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .gallery-inline__header h2 {
    font-size: 2.6rem;
  }

  .gallery-inline__panel {
    width: min(72vw, 28rem);
    min-height: 42rem;
  }
}

@media (max-width: 699px) {
  .hero-header {
    padding: 0.9rem;
  }

  .video-fullscreen {
    display: none;
  }

  .brand-mark {
    width: 40vw;
    height: 40vw;
  }

  .brand-mark-footer {
    width: 30vw;
    height: 30vw;
  }

  .footer {
    padding: 10px;
  }

  .footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0;
  }

  .footer a,
  .footer-link-button {
    font-size: 0.75rem;
  }

  .hero {
    padding: 6.75rem 1rem 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .hero-copy {
    font-size: 0.95rem;
  }

  .gallery {
    padding: 0.75rem 0.75rem 1rem;
  }

  .gallery-inline__surface {
    padding: 0.75rem;
  }

  .gallery-inline__header {
    padding-bottom: 0.8rem;
  }

  .gallery-inline__header h2 {
    font-size: clamp(2rem, 8.5vw, 2.8rem);
  }

  .gallery-inline__panel {
    width: min(70vw, 22rem);
    min-height: 34rem;
    padding: 0.9rem;
  }

  .gallery-inline__caption h3 {
    font-size: 1.7rem;
  }

  .signup {
    padding: 1.25rem 0.75rem 2rem;
  }

  .signup-card {
    padding: 1rem;
  }
  
}

@media (min-width: 1000px) {
  .hero {
    min-height: 94svh;
    padding-top: 9rem;
  }

  .gallery-track {
    gap: 1rem;
  }

  .slide,
  .slide-large {
    height: 17rem;
  }

  .signup-card {
    width: min(100%, 38rem);
  }

  .gallery-inline__track {
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .gallery-inline__track {
    transition: none;
  }
}

/* ─── Gallery Nav ─────────────────────────────────────────────────────────── */
.gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0.5rem 0.25rem;
}

.gallery-nav__btn {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(225, 183, 126, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 244, 229, 0.85);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
  flex-shrink: 0;
}

.gallery-nav__btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(225, 183, 126, 0.6);
  transform: translateY(-1px);
}

.gallery-nav__btn:disabled {
  opacity: 0.28;
  cursor: default;
}

.gallery-nav__dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.gallery-nav__dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(225, 183, 126, 0.3);
  padding: 0;
  transition:
    background 200ms ease,
    transform 200ms ease;
  flex-shrink: 0;
}

.gallery-nav__dot.is-active {
  background: rgba(225, 183, 126, 0.9);
  transform: scale(1.35);
}

.gallery-nav__dot:hover:not(.is-active) {
  background: rgba(225, 183, 126, 0.55);
}

/* ─── Item Modal ──────────────────────────────────────────────────────────── */
.item-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: clamp(0.75rem, 4vw, 2rem);
}

.item-modal.is-open {
  display: grid;
}

.item-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 7, 5, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.item-modal__surface {
  position: relative;
  z-index: 1;
  width: min(100%, 56rem);
  max-height: min(92svh, 52rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(225, 183, 126, 0.18);
  border-radius: 24px;
  background: linear-gradient(
    160deg,
    rgba(28, 20, 15, 0.98),
    rgba(14, 10, 8, 0.99)
  );
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  scrollbar-width: none;
  color: #fff8ef;
}

.item-modal__surface::-webkit-scrollbar {
  display: none;
}

.item-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(13, 9, 7, 0.82);
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.item-modal__close:hover {
  background: rgba(137, 28, 67, 0.85);
  transform: translateY(-1px);
}

.item-modal__body {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .item-modal__body {
    grid-template-columns: 1fr 1fr;
  }
}

.item-modal__media-wrap {
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  background: #080605;
  min-height: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .item-modal__media-wrap {
    border-radius: 24px 0 0 24px;
    min-height: 26rem;
  }
}

.item-modal__media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
  max-height: 52rem;
}

@media (min-width: 640px) {
  .item-modal__media-wrap img {
    object-fit: contain;
    max-height: 52rem;
  }
}

.item-modal__media-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-modal__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: clamp(1.25rem, 4vw, 2rem);
}

.item-modal__eyebrow {
  margin: 0;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: rgba(225, 183, 126, 0.8);
}

.item-modal__title {
  margin: 0;
  font-family: var(--site-font);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
  color: #fff8ef;
}

.item-modal__desc {
  margin: 0;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 244, 229, 0.72);
}

.item-modal__link {
  display: inline-block;
  align-self: flex-start;
  text-decoration: none;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  font-size: 0.9rem;
  padding: 0.75rem 1.4rem;
  margin-top: 0.25rem;
}

/* ─── Gallery viewport unlock on mobile (touch scroll) ────────────────────── */
@media (max-width: 899px) {
  .gallery-inline__viewport {
    overflow-x: auto !important;
  }
}

/* ─── Submit button disabled state ──────────────────────────────────────── */
/* ─── Partners Section ───────────────────────────────────────────────────── */
/* ─── Partners Section ───────────────────────────────────────────────────── */
.partners-section {
  background: #ffffff;
  overflow: hidden;
}

.partners-intro {
  text-align: center;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.25rem, 6vw, 4rem)
    clamp(1.5rem, 4vw, 2.5rem);
  max-width: 680px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(145, 117, 81, 0.12);
}

.partners-kicker {
  margin: 0 0 0.6rem;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #c99a5c;
}

.partners-lead {
  margin: 0;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  line-height: 1.75;
  color: #5c4e42;
}

/* Divider between rows */
.partners-divider-line {
  height: 1px;
  background: rgba(145, 117, 81, 0.12);
  margin: 0 clamp(1.25rem, 5vw, 3.5rem);
}

/* ─── Partner Row ─────────────────────────────────────────────────────────── */
.partner-row {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0;
  align-items: stretch;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 3.5rem);
  gap: clamp(1.5rem, 4vw, 3rem);
}

/* Image column */
.partner-row__image-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: #f0ebe3;
  align-self: start;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
}

.partner-row__image-wrap--sm {
  aspect-ratio: 3 / 2;
  max-height: 260px;
}

.partner-row__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 480ms ease;
}

.partner-row:hover .partner-row__image-wrap img {
  transform: scale(1.025);
}

/* Content column */
.partner-row__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.partner-row__tier {
  margin: 0 0 0.45rem;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #c99a5c;
}

.partner-row__name {
  margin: 0 0 0.6rem;
  font-family: var(--site-font);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  color: #1a1209;
}

.partner-row__rule {
  width: 48px;
  height: 1px;
  background: #c99a5c;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.partner-row__body {
  margin: 0 0 1.25rem;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  font-size: clamp(0.88rem, 1.8vw, 1rem);
  line-height: 1.85;
  color: #3e342a;
}

.partner-row__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  font-size: 0.88rem;
  color: #c99a5c;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition:
    color 160ms ease,
    gap 160ms ease;
  width: fit-content;
}

.partner-row__link:hover {
  color: #8a3a1a;
  gap: 0.55rem;
}

/* ─── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 679px) {
  .partner-row {
    grid-template-columns: 1fr;
    direction: ltr;
    padding: clamp(1.75rem, 6vw, 2.5rem) clamp(1.25rem, 5vw, 1.75rem);
    gap: 1.25rem;
  }

  .partner-row__image-wrap,
  .partner-row__image-wrap--sm {
    aspect-ratio: 16 / 9;
    max-height: none;
    border-radius: 12px;
  }

  .partner-row__name {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .partners-divider-line {
    margin: 0 1.25rem;
  }
}

/* ─── Tablet ──────────────────────────────────────────────────────────────── */
@media (min-width: 680px) and (max-width: 999px) {
  .partner-row {
    grid-template-columns: 5fr 7fr;
    padding: 2.5rem 2rem;
    gap: 2rem;
  }
}

.submit-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ─── Success Modal ──────────────────────────────────────────────────────── */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 1rem;
}

.success-modal.is-open {
  display: grid;
}

.success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 9, 7, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 0;
  cursor: pointer;
}

.success-modal__surface {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: clamp(1.75rem, 6vw, 2.75rem) clamp(1.5rem, 5vw, 2.5rem);
  padding-top: 3.5rem;
  border: 1px solid rgba(225, 183, 126, 0.28);
  border-radius: 28px;
  background: white;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.38);
  text-align: center;
  outline: none;
  color: var(--ink);
}

.success-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid rgba(137, 28, 67, 0.22);
  border-radius: 999px;
  background: var(--maroon);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  transition:
    transform 160ms ease,
    background 160ms ease;
  flex-shrink: 0;
}

.success-modal__close:hover {
  transform: translateY(-1px);
  background: #6e1635;
}

.success-modal__kicker {
  margin: 0 0 0.3rem;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maroon);
  font-size: 0.74rem;
}

.success-modal__title {
  margin: 0 0 0.65rem;
  font-family: var(--site-font);
  font-size: clamp(2rem, 8vw, 2.8rem);
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.success-modal__body {
  margin: 0 0 1.5rem;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  font-size: 0.97rem;
  line-height: 1.7;
  color: #4f4338;
}

.success-modal__cta {
  display: inline-block;
  text-decoration: none;
  font-family: "GTAmericaStandard", Arial, sans-serif;
  font-size: 0.95rem;
  padding: 0.9rem 1.8rem;
  width: 100%;
}

@media (max-width: 399px) {
  .success-modal__surface {
    padding: 1.5rem 1.25rem;
  }
}
