/* =========================================================================
   Maya Talem — Gallery page
   Dark cinematic, masonry grid, luxury editorial
   ========================================================================= */

:root {
  --black:     #050403;
  --ink:       #0c0a08;
  --porcelain: #f4ede1;
  --warm:      #efe6d7;
  --muted:     #b6a896;
  --gold:      #c9a063;
  --gold-bright: #e4c489;
  --bronze:    #b07a4f;
  --line:      rgba(244,237,225,.18);
  --font-display: "Bodoni Moda", Georgia, serif;
  --font-body:    "Jost", "Trebuchet MS", sans-serif;
  --ease: cubic-bezier(.22,.72,0,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; }

body.gallery-page {
  margin: 0;
  background: var(--black);
  color: var(--porcelain);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }


/* =========================================================================
   Header (shared pattern)
   ========================================================================= */
.site-header {
  position: fixed; top: 26px; left: 34px; right: 34px;
  z-index: 30; display: flex; align-items: center;
  justify-content: space-between; gap: 26px;
  color: var(--porcelain);
}

.site-header.is-centered .brand-mark {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}

.site-header.is-centered .nav-right { margin-left: auto; }

.brand-mark {
  width: 110px; height: 74px; display: grid;
  place-items: center; flex-shrink: 0;
}

.brand-mark img {
  width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(.7) contrast(5);
}

.desktop-nav {
  display: flex; gap: clamp(18px,2.5vw,36px);
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
}

.desktop-nav a {
  position: relative; padding-bottom: 6px;
  color: var(--warm); opacity: .78;
  transition: opacity 400ms var(--ease);
}

.desktop-nav a::after {
  content: ""; position: absolute;
  left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold);
  transition: width 450ms var(--ease);
}

.desktop-nav a:hover { opacity: 1; }
.desktop-nav a.is-active { opacity: 1; }
.desktop-nav a.is-active::after { width: 100%; }

.menu-toggle {
  display: none; width: 40px; height: 40px;
  border: 0; background: transparent;
  flex-direction: column; gap: 7px;
  align-items: flex-end; justify-content: center;
}

.menu-toggle span {
  display: block; height: 1px; width: 26px;
  background: var(--porcelain);
  transition: transform 400ms var(--ease), opacity 400ms var(--ease);
}

.menu-toggle span:last-child { width: 18px; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 25;
  background: rgba(5,4,3,.97);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 500ms var(--ease), visibility 500ms var(--ease);
}

.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu nav { display: grid; gap: 22px; text-align: center; }

.mobile-menu a {
  font-family: var(--font-display); font-size: 30px;
  letter-spacing: .02em; color: var(--warm);
}

/* =========================================================================
   Side nav
   ========================================================================= */
.g-sidenav {
  position: fixed; top: 50%; right: 38px;
  transform: translateY(-50%);
  z-index: 30; display: flex; flex-direction: column; gap: 26px;
  padding: 8px 0;
}

.g-sidenav::before {
  content: ""; position: absolute;
  left: 11px; top: 0; bottom: 0;
  width: 1px; background: rgba(244,237,225,.1);
}

.g-sidenav-dot {
  position: relative; display: flex;
  align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .12em;
  color: var(--muted); opacity: .5;
  transition: opacity 400ms var(--ease), color 400ms var(--ease);
}

.g-sidenav-num { order: 2; min-width: 22px; text-align: right; }

.g-sidenav-mark {
  order: 1; position: relative;
  width: 9px; height: 9px; margin-left: 7px;
  border-radius: 50%; border: 1px solid var(--muted);
  background: transparent;
  transition: all 450ms var(--ease);
}

.g-sidenav-dot:hover { opacity: 1; color: var(--warm); }

.g-sidenav-dot.is-active {
  opacity: 1; color: var(--gold-bright);
}

.g-sidenav-dot.is-active .g-sidenav-mark {
  border-color: var(--gold-bright);
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(201,160,99,.18);
}

/* =========================================================================
   Hero
   ========================================================================= */
.g-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}

.g-hero-bg {
  position: absolute; inset: 0;
}

.g-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% center;
  filter: saturate(1.05);
}

.g-hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      rgba(5,4,3,.85) 0%,
      rgba(5,4,3,.55) 32%,
      rgba(5,4,3,.08) 58%,
      rgba(8,6,4,.08) 100%),
    linear-gradient(0deg, rgba(5,4,3,.35), rgba(5,4,3,0) 40%);
}

.g-hero-content {
  position: relative; z-index: 2;
  padding: 0 min(7vw, 100px);
  padding-top: 100px;
  max-width: 640px;
}

.g-eyebrow {
  display: block;
  font-size: 12px; letter-spacing: .44em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}

.g-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(5rem, 11vw, 9.5rem);
  line-height: .92; letter-spacing: -.01em;
  margin: 0 0 32px;
  color: var(--porcelain);
}

.g-hero-sub {
  font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; line-height: 2;
  color: var(--muted); margin: 0 0 52px;
}

.g-cta {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid rgba(201,160,99,.4);
  padding-bottom: 6px;
  transition: gap 400ms var(--ease), border-color 400ms var(--ease), color 400ms var(--ease);
}

.g-cta svg {
  width: 32px; height: 10px;
  stroke: currentColor; stroke-width: 1; fill: none;
  transition: transform 400ms var(--ease);
}

.g-cta:hover { gap: 24px; border-color: var(--gold); color: var(--gold-bright); }
.g-cta:hover svg { transform: translateX(6px); }

/* =========================================================================
   Filter bar
   ========================================================================= */
.g-collection { background: var(--black); }

.g-filterbar {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 16px;
  padding: 28px min(5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.g-filters { display: flex; flex-wrap: wrap; gap: 8px; }

.g-filter {
  background: none; border: none; padding: 6px 0;
  font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
  position: relative;
  transition: color 300ms var(--ease);
}

.g-filter::after {
  content: ""; position: absolute;
  left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold);
  transition: width 350ms var(--ease);
}

.g-filter:hover { color: var(--warm); }
.g-filter.is-active { color: var(--gold); }
.g-filter.is-active::after { width: 100%; }

/* separator between filters */
.g-filter + .g-filter::before {
  content: "·"; margin-right: 8px;
  color: var(--line); font-weight: 400;
  pointer-events: none;
}

.g-viewas {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}

.g-view-btn {
  background: none; border: none; padding: 4px;
  color: var(--muted); transition: color 300ms var(--ease);
}

.g-view-btn svg { width: 14px; height: 14px; display: block; }
.g-view-btn:hover { color: var(--warm); }
.g-view-btn.is-active { color: var(--gold); }

/* =========================================================================
   Masonry grid
   ========================================================================= */
.g-grid[data-view="grid"] {
  padding: 3px;
  columns: 3;
  column-gap: 3px;
}

.g-item {
  break-inside: avoid;
  margin-bottom: 3px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.g-item.is-loaded { opacity: 1; transform: none; }

.g-item--tall .g-item-inner { aspect-ratio: 2 / 3.2; }

.g-item-inner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0a0906;
}

.g-item-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.88) saturate(1.05);
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
}

.g-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5,4,3,.85) 0%, transparent 50%);
  opacity: 0;
  display: flex; align-items: flex-end; padding: 20px;
  transition: opacity 400ms var(--ease);
}

.g-item-title {
  font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}

.g-item:hover .g-item-inner img {
  transform: scale(1.05);
  filter: brightness(1) saturate(1.1);
}

.g-item:hover .g-item-overlay { opacity: 1; }

/* list view */
.g-grid[data-view="list"] {
  padding: 0 min(5vw,72px);
  columns: unset;
}

.g-grid[data-view="list"] .g-item {
  display: flex; align-items: center; gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.g-grid[data-view="list"] .g-item-inner {
  width: 120px; height: 80px;
  aspect-ratio: unset; flex-shrink: 0;
}

.g-grid[data-view="list"] .g-item--tall .g-item-inner {
  aspect-ratio: unset;
}

.g-grid[data-view="list"] .g-item-overlay {
  opacity: 1; background: none; padding: 0;
  position: static;
}

.g-grid[data-view="list"] .g-item-title {
  color: var(--warm); font-size: 12px;
}

/* =========================================================================
   Quote
   ========================================================================= */
.g-quote {
  position: relative;
  padding: 100px min(5vw,72px);
  text-align: center;
  background: var(--black);
  border-top: 1px solid var(--line);
}

.g-quote-mark {
  font-family: var(--font-display);
  font-size: 7rem; line-height: 0;
  color: var(--gold); opacity: .25;
  display: block;
}

.g-quote-mark.open { margin-bottom: -32px; text-align: left; padding-left: min(5vw,72px); }
.g-quote-mark.close { margin-top: -24px; text-align: right; padding-right: min(5vw,72px); }

.g-quote blockquote {
  margin: 0 auto;
  max-width: 640px;
}

.g-quote blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.55;
  color: var(--warm);
  margin: 0;
}

.g-quote-line {
  width: 48px; height: 1px;
  background: var(--gold); opacity: .5;
  margin: 40px auto 0;
}

/* =========================================================================
   Footer
   ========================================================================= */
.g-footer {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 24px;
  padding: 32px min(5vw,72px);
  border-top: 1px solid var(--line);
  background: var(--black);
}

.g-footer-brand {
  width: 80px; height: 54px;
  display: grid; place-items: center; flex-shrink: 0;
}

.g-footer-brand img {
  width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(.7) contrast(5);
}

.g-footer-nav {
  display: flex; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
  flex-wrap: wrap; justify-content: center;
}

.g-footer-nav a {
  transition: color 300ms var(--ease);
}

.g-footer-nav a:hover { color: var(--gold); }

.g-footer-nav span { opacity: .35; }

.g-footer-social {
  display: flex; align-items: center; gap: 20px;
}

.g-footer-social a {
  color: var(--muted);
  transition: color 300ms var(--ease), transform 300ms var(--ease);
}

.g-footer-social a svg {
  width: 18px; height: 18px; display: block;
}

.g-footer-social a:hover { color: var(--gold); transform: translateY(-2px); }

/* =========================================================================
   Lang globe (same as other pages)
   ========================================================================= */
.lang-globe {
  position: fixed; bottom: 32px; left: 32px; z-index: 50;
  display: flex; flex-direction: column; align-items: center;
  gap: 5px; width: 48px;
  border: 1px solid rgba(201,160,99,.35);
  background: rgba(5,4,3,.72);
  backdrop-filter: blur(12px);
  color: var(--muted); padding: 10px 6px 8px;
  cursor: pointer;
  transition: border-color 400ms var(--ease), color 400ms var(--ease), box-shadow 400ms var(--ease);
}

.lang-globe svg { width: 18px; height: 18px; display: block; }

.lang-globe-label {
  font-family: var(--font-body);
  font-size: 9px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; line-height: 1;
}

.lang-globe:hover {
  border-color: var(--gold); color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201,160,99,.2), 0 8px 28px -8px rgba(201,160,99,.35);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .g-sidenav { display: none; }
  .g-grid[data-view="grid"] { columns: 2; }
  .g-hero-title { font-size: clamp(3.5rem, 14vw, 6rem); }
  .g-hero-content { padding: 0 28px; padding-top: 100px; }
}

@media (max-width: 560px) {
  .g-grid[data-view="grid"] { columns: 1; }
  .g-filterbar { padding: 20px 20px; }
  .g-footer { flex-direction: column; align-items: flex-start; padding: 28px 20px; }
  .g-footer-nav { justify-content: flex-start; }
  .lang-globe { bottom: 24px; left: 20px; }
}

/* =========================================================================
   Arabic / RTL
   ========================================================================= */
[lang="ar"] .g-hero-title,
[lang="ar"] .g-quote blockquote p {
  font-family: "Tajawal", Georgia, serif;
  letter-spacing: 0;
}

[lang="ar"] .g-eyebrow,
[lang="ar"] .g-hero-sub,
[lang="ar"] .g-cta,
[lang="ar"] .g-filter,
[lang="ar"] .g-item-title,
[lang="ar"] .g-footer-nav {
  letter-spacing: 0;
  font-family: "Tajawal", sans-serif;
}

[dir="rtl"] .g-hero-content { padding-right: min(7vw,100px); padding-left: 0; }
[dir="rtl"] .g-hero-veil {
  background:
    linear-gradient(270deg,
      rgba(5,4,3,.85) 0%,
      rgba(5,4,3,.55) 32%,
      rgba(5,4,3,.08) 58%,
      rgba(8,6,4,.08) 100%),
    linear-gradient(0deg, rgba(5,4,3,.35), rgba(5,4,3,0) 40%);
}
[dir="rtl"] .g-sidenav { right: auto; left: 38px; }
[dir="rtl"] .g-sidenav::before { left: auto; right: 11px; }
[dir="rtl"] .g-sidenav-dot { flex-direction: row-reverse; }
[dir="rtl"] .g-quote-mark.open { text-align: right; padding-left: 0; padding-right: min(5vw,72px); }
[dir="rtl"] .g-quote-mark.close { text-align: left; padding-right: 0; padding-left: min(5vw,72px); }
[dir="rtl"] .lang-globe { left: auto; right: 32px; }

/* mirror hero photo in RTL */
[dir="rtl"] .g-hero-bg img { transform: scaleX(-1); }
body.lang-switching .g-hero-bg img { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .g-item, .g-item-inner img, .g-cta svg { transition: none !important; }
}


.header-biography { margin-left: auto; color: inherit; font: 600 12px "Jost", sans-serif; text-transform: uppercase; letter-spacing: .16em; padding: 10px 0; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.header-biography:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-biography:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.site-header:has(.header-biography) .menu-toggle { margin-left: 0; }

.g-hero-bg img { object-fit: cover; object-position: center; }
/* Original, unshaded cover photo: no dark veil or filter. */
.g-hero-veil { display: none; }
.g-hero-bg img { filter: none; }
@media (max-width: 640px) {
  .g-hero-bg img { object-position: 66% center; }
  /* Text sits on the face on phones: shadow the letters, not the photo. */
  .g-hero-content { text-shadow: 0 1px 3px rgba(0,0,0,.75), 0 0 18px rgba(0,0,0,.55); }
  .g-hero-content .g-cta svg { filter: drop-shadow(0 1px 3px rgba(0,0,0,.75)); }
  .gallery-page .g-hero { align-items: flex-end; }
  .gallery-page .g-hero-content { padding-bottom: 96px; }
  /* Phones only: a dark fade at the bottom keeps the title readable. */
  .g-hero-veil, [dir="rtl"] .g-hero-veil {
    display: block;
    background: linear-gradient(0deg, rgba(5,4,3,.88) 0%, rgba(5,4,3,.6) 28%, rgba(5,4,3,0) 52%);
  }
}


/* Original proportions and colors for the supplied photo selection. */
.g-item { display: block; }
.g-item .g-item-inner { aspect-ratio: auto; }
.g-item .g-item-inner img { height: auto; filter: none; }
.g-item:hover .g-item-inner img { transform: none; filter: none; }
.g-item:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.g-photo-count { margin: 16px min(5vw,72px); color: var(--muted); font-size: 12px; }
.g-grid[data-view="list"] .g-item-inner { width: 100%; height: auto; display: flex; align-items: center; gap: 24px; }
.g-grid[data-view="list"] .g-item-inner img { width: 120px; height: 110px; object-fit: contain; flex-shrink: 0; }
.gallery-lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 64px 64px 56px; border: 0; background: rgba(5,4,3,.97); color: white; }
.gallery-lightbox::backdrop { background: #050403; }
.gallery-lightbox[open] { display: grid; place-items: center; }
.gallery-lightbox img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; }
.gallery-lightbox button { position: absolute; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.3); color: white; font-size: 26px; cursor: pointer; }
.gallery-lightbox button:focus-visible { outline: 2px solid var(--gold); }
.gallery-lightbox-close { top: 16px; right: 20px; }
.gallery-lightbox-prev { top: 50%; left: 12px; }
.gallery-lightbox-next { top: 50%; right: 12px; }
.gallery-lightbox p { position: absolute; bottom: 12px; left: 60px; right: 60px; text-align: center; font-size: 12px; }
@media (max-width: 640px) { .gallery-lightbox { padding-inline: 12px; } .gallery-lightbox-prev,.gallery-lightbox-next { top: auto; bottom: 12px; } }

.gallery-page .site-header { position: fixed; }

/* Look groups: each outfit keeps its own heading and photo sequence. */
.g-look-collection { padding: 0 min(5vw,72px) 60px; }
.g-look + .g-look { margin-top: 64px; }
.g-look-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 28px 0 22px; border-top: 1px solid var(--line); }
.g-look-heading h2 { margin: 0; color: var(--warm); font-family: var(--font-display, Georgia, serif); font-weight: 400; font-size: clamp(30px, 4vw, 54px); }
.g-look-heading > span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.g-look-filter { display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.g-look-filter select { color-scheme: dark; color: var(--warm); background: var(--black); border: 1px solid var(--line); padding: 12px 36px 12px 14px; min-width: 170px; font: inherit; cursor: pointer; }
.g-look-filter select:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.g-look .g-grid[data-view="list"] { padding: 0; }
@media (max-width: 600px) {
  .g-look-collection { padding-inline: 20px; }
  .g-look + .g-look { margin-top: 38px; }
  .g-look-filter { gap: 12px; }
}

/* Editorial photo sequence: aligned portraits, quiet captions, generous space. */
.g-look-collection { max-width: 1560px; margin-inline: auto; padding: 0 clamp(24px,6vw,100px) 100px; }
.g-look + .g-look { margin-top: clamp(70px,9vw,140px); }
.g-look-heading { padding: 28px 0 36px; }
.g-look-heading h2 { font-size: clamp(36px,4vw,58px); }
.g-look .g-grid[data-view="grid"] { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; gap: 38px 28px; columns: unset; padding: 0; }
.g-look .g-item[hidden] { display: none !important; }
.g-look .g-grid[data-view="grid"] .g-item { margin: 0; }
.g-look .g-grid[data-view="grid"] .g-item-inner { overflow: visible; background: transparent; }
.g-look .g-grid[data-view="grid"] .g-item-inner img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: contain; object-position: center; background: #0b0a09; }
.g-look .g-item-overlay { position: static; opacity: 1; padding: 14px 0 0; background: transparent; }
.g-look .g-item-title { color: var(--muted); font-size: 9px; font-weight: 400; letter-spacing: .14em; }
.g-look-more { display: block; margin: 34px auto 0; background: none; color: var(--warm); border: 0; border-bottom: 1px solid var(--line); padding: 12px 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.g-look-more:hover { color: var(--gold); border-color: var(--gold); }
.g-look-more:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.g-context { width: 80%; margin: clamp(50px,7vw,100px) auto 0; }
.g-context img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.g-context figcaption { margin-top: 16px; color: var(--muted); text-align: center; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.g-filterbar { max-width: 1560px; margin-inline: auto; padding-inline: clamp(24px,6vw,100px); }
.g-photo-count { max-width: 1560px; margin: 24px auto; padding-inline: clamp(24px,6vw,100px); }
.g-sidenav { display: none; }
@media (min-width: 601px) and (max-width: 980px) {
  .g-look .g-grid[data-view="grid"] { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 22px; }
}
@media (max-width: 600px) {
  .g-look .g-grid[data-view="grid"] { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .g-look-heading { padding-bottom: 24px; }
  .g-context { width: 100%; margin-top: 48px; }
  .g-look-more { font-size: 10px; }
}

/* Fashion spreads: mineral paper, natural photo edges and asymmetric scale. */
.g-collection {
  --black: #e6e7e4;
  --warm: #272c2e;
  --muted: #6b706f;
  --gold: #535f62;
  --line: rgba(39,44,46,.18);
  background: var(--black);
  color: var(--warm);
}
.g-filterbar { border: 0; padding-top: 42px; padding-bottom: 18px; }
.g-look-filter select { color-scheme: light; border: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
.g-photo-count { font-size: 10px; margin-top: 0; margin-bottom: 55px; letter-spacing: .08em; }
.g-look-collection { padding-inline: clamp(24px,8vw,130px); padding-bottom: 130px; }
.g-look { position: relative; }
.g-look + .g-look { margin-top: clamp(110px,14vw,210px); }
.g-look-heading { border: 0; padding: 0 0 45px; align-items: flex-end; }
.g-look-heading h2 { font-size: clamp(58px,7vw,104px); font-style: italic; line-height: 1.05; letter-spacing: -.055em; }
.g-look-heading > span { font-size: 10px; padding-bottom: 10px; letter-spacing: .12em; text-transform: uppercase; }
/* Four photographs per outfit: a full-height portrait and three beside it. */
.g-look .g-grid[data-view="grid"] {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  aspect-ratio: 1 / 1;
  gap: clamp(8px, 1.5vw, 22px);
  align-items: stretch;
  padding: 0;
  columns: unset;
}
.g-look .g-grid[data-view="grid"] .g-item { margin: 0; min-width: 0; min-height: 0; }
.g-look .g-grid[data-view="grid"] .g-image--lead { grid-column: 1; grid-row: 1 / 4; }
.g-look .g-grid[data-view="grid"] .g-image--side { grid-column: 2; }
.g-look .g-grid[data-view="grid"] .g-item-inner { width: 100%; height: 100%; aspect-ratio: auto; overflow: hidden; }
.g-look .g-grid[data-view="grid"] .g-item-inner img { width: 100%; height: 100%; object-fit: contain; background: transparent; }
.g-look .g-item-overlay { display: none; }
.g-look .g-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (max-width: 600px) {
  .g-look-collection { padding-inline: 18px; padding-bottom: 70px; }
  .g-look-heading { padding-bottom: 24px; }
  .g-look-heading h2 { font-size: 48px; }
  .g-look-heading > span { font-size: 9px; }
  .g-look + .g-look { margin-top: 65px; }
}

/* White photo layout: wide opening image, ruled monogram, three images. */
html { scroll-snap-type: none; }
body.gallery-page { background: #fff; color: #111; }
.g-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.gallery-page .site-header {
  position: absolute; top: 18px; left: 4.2%; right: 4.2%; height: 72px; margin: 0; color: var(--porcelain);
}
.gallery-page .brand-mark { width: 76px; height: 56px; }
.g-logo-strip img,
.g-footer-brand img { filter: grayscale(1) invert(1) contrast(5); mix-blend-mode: multiply; }
.gallery-page .header-biography { text-shadow: none; }
.gallery-page .menu-toggle span { background: var(--porcelain); }
.gallery-page main { margin: 0; }
.gallery-page .g-hero { min-height: 100svh; }
.gallery-page .g-hero-title { font-size: clamp(64px, 8vw, 120px); }
.gallery-page #g-grid { margin: 0 4.2%; padding-top: 4.2vw; }
.g-photo-page { aspect-ratio: 16 / 9; overflow: hidden; }
.g-photo-link { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.g-photo-link img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.g-photo-page .g-photo-link img { object-position: center; }
.g-logo-strip {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(16px, 2.5vw, 38px); height: clamp(70px, 6.4vw, 110px); padding: 0 1.4%;
}
.g-logo-strip::before, .g-logo-strip::after { content: ''; height: 3px; background: #111; }
.g-logo-strip img { width: clamp(100px, 9vw, 140px); height: 100%; object-fit: cover; transform: scale(1.8); }
.g-photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.9vw, 30px); }
.g-photo-row .g-photo-link { aspect-ratio: 2 / 3; }
.g-photo-row .g-photo-link img { object-fit: contain; object-position: center; }
/* Side photos that must match in size fill their cell. */
.g-photo-row .g-photo-link--fill img { object-fit: cover; }
.g-photo-row .g-photo-link--small { width: 85%; height: auto; align-self: center; justify-self: center; }
.g-photo-link:focus-visible { outline: 3px solid #111; outline-offset: -4px; }
.g-sidenav { display: none; }
.g-footer { margin-top: 60px; background: #fff; color: #111; border-top-color: #ddd; }
.g-footer-nav { color: #555; }
.gallery-page .lang-globe { color: #111; border-color: #ddd; background: rgba(255,255,255,.92); }
@media (max-width: 600px) {
  .gallery-page .site-header { height: 66px; gap: 12px; }
  .gallery-page .g-hero-title { font-size: clamp(54px, 15vw, 80px); }
  .g-logo-strip { height: 62px; gap: 12px; }
  .g-logo-strip img { width: 78px; }
  .g-logo-strip::before, .g-logo-strip::after { height: 2px; }
  .g-photo-row { gap: 8px; }
  .g-photo-row .g-photo-link { aspect-ratio: 2 / 3; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
