:root {
  --gallery-pad: clamp(22px, 5vw, 76px);
  --gallery-line: rgba(237, 230, 214, .14);
  --gallery-muted: rgba(237, 230, 214, .52);
}

html { scroll-behavior: smooth; }
body.ads-page { background: #090a0d; color: var(--bone); }
.ads-page .noise { opacity: .11; }
.ads-page img { display: block; width: 100%; }

.gallery-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 var(--gallery-pad);
  border-bottom: 1px solid var(--gallery-line);
  background: rgba(9, 10, 13, .88);
  backdrop-filter: blur(18px);
}
.gallery-header__brand { display: inline-flex; align-items: center; gap: 12px; color: var(--bone); }
.gallery-header__brand svg { width: 16px; height: 39px; fill: currentColor; }
.gallery-header__brand span { font-size: 10px; letter-spacing: .34em; }
.gallery-header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.gallery-header nav a { color: var(--gallery-muted); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.gallery-header nav a:hover { color: var(--bone); }

.brand-stage {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px var(--gallery-pad) 70px;
  text-align: center;
  border-bottom: 1px solid var(--gallery-line);
  background: radial-gradient(circle at 50% 20%, rgba(210, 205, 194, .055), transparent 32rem);
}
.brand-stage > p { margin: 0 0 36px; color: var(--gallery-muted); font-size: 9px; letter-spacing: .38em; text-transform: uppercase; }
.master-lockup { display: flex; align-items: center; color: var(--bone); }
.master-lockup svg { width: clamp(44px, 5vw, 72px); height: clamp(103px, 12vw, 168px); fill: currentColor; }
.master-lockup span { margin-left: clamp(12px, 1.8vw, 28px); font-size: clamp(42px, 7vw, 106px); font-weight: 450; letter-spacing: .19em; line-height: 1; }
.brand-stage h1 { margin: 34px 0 0; color: var(--titanium); font-family: var(--sans); font-size: clamp(15px, 1.45vw, 21px); font-weight: 350; letter-spacing: .08em; }
.brand-stage > a { margin-top: 44px; color: var(--gold); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }

.campaign-gallery { padding: 88px var(--gallery-pad) 120px; }
.gallery-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; max-width: 1440px; margin: 0 auto 70px; }
.gallery-intro p, .campaign header p { margin: 0; color: var(--gallery-muted); font-size: 9px; line-height: 1.7; letter-spacing: .19em; text-transform: uppercase; }
.gallery-intro h2 { margin: 13px 0 0; font-family: var(--sans); font-size: clamp(22px, 2.5vw, 36px); font-weight: 400; letter-spacing: -.01em; }
.gallery-intro h2 span, .campaign h3 span { color: var(--gold); font-weight: 300; }
.gallery-intro > p { text-align: right; text-transform: none; letter-spacing: .02em; }

.campaign { max-width: 1440px; margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--gallery-line); }
.campaign + .campaign { margin-top: 110px; }
.campaign header { display: flex; align-items: baseline; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.campaign h3 { margin: 0; font-family: var(--sans); font-size: clamp(15px, 1.4vw, 20px); font-weight: 380; letter-spacing: .015em; }
.ad-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 1px; background: var(--gallery-line); }
.ad-pair figure { margin: 0; background: #0c0d10; }
.ad-pair img { aspect-ratio: 4 / 5; object-fit: cover; }
.ad-pair figcaption { padding: 15px 18px; border-top: 1px solid var(--gallery-line); color: var(--gallery-muted); font-size: 8px; letter-spacing: .17em; text-transform: uppercase; }
.ad-pair figure:last-child figcaption { color: var(--gold); }
.ad-single { max-width: 900px; margin: 0 auto; padding: 1px; background: var(--gallery-line); }
.ad-single figure { margin: 0; background: #0c0d10; }
.ad-single img { aspect-ratio: 4 / 5; object-fit: cover; }
.ad-single figcaption { padding: 15px 18px; border-top: 1px solid var(--gallery-line); color: var(--gold); font-size: 8px; letter-spacing: .17em; text-transform: uppercase; }

.campaign-code { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 46px); padding: 48px var(--gallery-pad); border-top: 1px solid var(--gallery-line); border-bottom: 1px solid var(--gallery-line); }
.campaign-code p { margin: 0; color: var(--gallery-muted); font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.campaign-code i { width: 42px; height: 1px; background: var(--gallery-line); }

.gallery-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 52px var(--gallery-pad); }
.gallery-footer p { margin: 0; color: var(--gallery-muted); font-size: 9px; letter-spacing: .12em; }
.gallery-footer p:last-child { text-align: right; }

@media (max-width: 760px) {
  .gallery-header { height: 66px; }
  .gallery-header nav a:not(:last-child) { display: none; }
  .brand-stage { min-height: 48vh; padding-top: 62px; }
  .master-lockup svg { width: 34px; height: 80px; }
  .master-lockup span { margin-left: 9px; font-size: clamp(32px, 12vw, 50px); letter-spacing: .13em; }
  .brand-stage > p { margin-bottom: 26px; }
  .brand-stage h1 { margin-top: 26px; font-size: 13px; }
  .brand-stage > a { margin-top: 32px; }
  .campaign-gallery { padding-top: 62px; }
  .gallery-intro { align-items: start; margin-bottom: 48px; }
  .gallery-intro > p { display: none; }
  .campaign + .campaign { margin-top: 78px; }
  .campaign header { display: block; }
  .campaign h3 { margin-top: 9px; }
  .ad-pair { grid-template-columns: 1fr; }
  .campaign-code { flex-direction: column; gap: 16px; text-align: center; }
  .campaign-code i { width: 1px; height: 22px; }
  .gallery-footer { grid-template-columns: 1fr auto; }
  .gallery-footer > p:first-of-type { display: none; }
}
