/*
Theme Name: PriveHouse
Theme URI: https://prive.uk/house
Author: Prive
Author URI: https://prive.uk
Description: A multi-purpose gallery and event space theme for PriveHouse — a sub-brand of Prive. Taupe palette, EngraversGothic headlines, Canela body text.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: privehouse
*/

/* ═══════════════════════════════════════════════════════════════════
   FONTS — Self-hosted @font-face
   Place .woff2 files in assets/fonts/
   ═══════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'EngraversGothicBold';
  src: url('assets/fonts/EngraversGothicBold.woff2') format('woff2'),
       url('assets/fonts/EngraversGothicBold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'EngraversGothicRegular';
  src: url('assets/fonts/EngraversGothicRegular.woff2') format('woff2'),
       url('assets/fonts/EngraversGothicRegular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Canela-Light';
  src: url('assets/fonts/Canela-Light.woff2') format('woff2'),
       url('assets/fonts/Canela-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Canela-Regular';
  src: url('assets/fonts/Canela-Regular.woff2') format('woff2'),
       url('assets/fonts/Canela-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════════════════
   CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Fonts */
  --font-headline: 'EngraversGothicBold', 'Oswald', sans-serif;
  --font-location-regular: 'EngraversGothicRegular', 'Oswald', sans-serif;
  --font-body: 'Canela-Light', 'Cormorant Garamond', serif;
  --font-body-medium: 'Canela-Regular', 'Cormorant Garamond', serif;

  /* Taupe palette */
  --color-dark: #3D3428;
  --color-mid: #6B5E50;
  --color-body: #5C5045;
  --color-accent: #A89888;
  --color-bg: #FAF8F5;
  --color-card: #F0EBE4;
  --color-placeholder: #E8E2DA;
  --color-footer: #2C2621;

  /* Spacing */
  --pad-x: 2rem;           /* 32px — mobile */
  --max-width: 1600px;
  --bar-height: 112px;
}

@media (min-width: 1024px) {
  :root {
    --pad-x: 3rem;         /* 48px — desktop */
  }
}

@media (min-width: 1280px) {
  :root {
    --pad-x: 4rem;         /* 64px — xl */
  }
}

/* ═══════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-body);
  background-color: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* ═══════════════════════════════════════════════════════════════════
   UTILITY: CONTAINER
   ═══════════════════════════════════════════════════════════════════ */

.ph-container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ═══════════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════ */

.ph-headline {
  font-family: var(--font-headline);
  text-transform: uppercase;
}

.ph-body {
  font-family: var(--font-body);
  letter-spacing: 0.035em;
}

.ph-section-label {
  font-family: var(--font-headline);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.ph-h2 {
  font-family: var(--font-headline);
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--color-dark);
}

.ph-h3 {
  font-family: var(--font-headline);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--color-dark);
}

.ph-body-lg {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.9;
  letter-spacing: 0.035em;
  color: var(--color-body);
}

.ph-body-xl {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.9;
  letter-spacing: 0.035em;
  color: var(--color-body);
}

.ph-badge {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-accent);
  letter-spacing: 0.035em;
}

/* ═══════════════════════════════════════════════════════════════════
   LINKS — Underlined text link (16px, no box)
   ═══════════════════════════════════════════════════════════════════ */

.ph-text-link {
  font-family: var(--font-headline);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-dark);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
  display: inline-block;
}

.ph-text-link:hover {
  color: var(--color-mid);
  border-color: var(--color-mid);
}

/* Ghost button (border, no fill) */
.ph-ghost-btn {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
  padding: 0.75rem 2.5rem;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}

.ph-ghost-btn:hover {
  background-color: var(--color-dark);
  color: var(--color-bg);
}

/* ═══════════════════════════════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════════════════════════════ */

.ph-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--bar-height);
  transition: background-color 0.3s;
}

.ph-topbar--solid {
  background-color: var(--color-bg);
}

/* Transparent top bar — subtle black gradient for legibility over video */
.ph-topbar--transparent::before {
  content: '';
  position: absolute;
  inset: 0;
  bottom: -80px;
  height: calc(var(--bar-height) + 80px);
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

.ph-topbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Wordmark */
.ph-wordmark {
  display: flex;
  align-items: baseline;
  text-transform: uppercase;
  transition: color 0.3s;
}

.ph-wordmark__prive {
  font-family: var(--font-headline);
  font-size: 22px;
  letter-spacing: 0.45em;
}

.ph-wordmark__spacer {
  display: inline-block;
  width: 0.35em;
}

.ph-wordmark__house {
  font-family: var(--font-location-regular);
  font-size: 22px;
  letter-spacing: 0.45em;
  transition: color 0.3s;
}

/* Transparent mode (home page) */
.ph-topbar--transparent .ph-wordmark { color: #fff; }
.ph-topbar--transparent .ph-wordmark__house { color: rgba(255,255,255,0.6); }

/* Solid mode (inner pages) */
.ph-topbar--solid .ph-wordmark { color: var(--color-dark); }
.ph-topbar--solid .ph-wordmark__house { color: var(--color-mid); }

/* Nav links */
.ph-topbar__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .ph-topbar__nav { display: flex; }
}

.ph-nav-link {
  font-family: var(--font-headline);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.ph-topbar--transparent .ph-nav-link { color: rgba(255,255,255,0.7); }
.ph-topbar--transparent .ph-nav-link:hover { color: #fff; }

.ph-topbar--solid .ph-nav-link { color: var(--color-mid); }
.ph-topbar--solid .ph-nav-link:hover { color: var(--color-dark); }

.ph-nav-link__icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.ph-nav-link__icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */

.ph-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  height: 100svh;
  min-height: 600px;
}

@media (max-width: 1023px) {
  .ph-hero {
    height: 115svh;
  }
}

.ph-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  border: 0;
}

/* Scale the Vimeo iframe to cover the hero — eliminates all letterboxing */
iframe.ph-hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: max(100%, 177.78vh);   /* 100vw or 16/9 of viewport height */
  height: max(100%, 56.25vw);   /* 100vh or 9/16 of viewport width  */
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

/* Mobile: hero is 115svh, so scale iframe wider to compensate */
@media (max-width: 1023px) {
  iframe.ph-hero__video {
    width: max(100%, 205vh);    /* 177.78 × 1.15 ≈ 205 — covers 115svh hero */
    height: max(115svh, 56.25vw);
  }
}

iframe.ph-hero__video.ph-video--loaded {
  opacity: 1;
}

.ph-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.ph-hero__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: calc(15svh + 4rem);
}

@media (min-width: 1024px) {
  .ph-hero__content {
    padding-bottom: 6rem;
  }
}

.ph-hero__headline {
  font-family: var(--font-headline);
  font-size: clamp(24px, 4.5vw, 42px);
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.25em;
  color: #fff;
  opacity: 0;
  animation: ph-fade-in 0.9s cubic-bezier(0.25, 0.1, 0.25, 1) 0.3s forwards;
}

@media (min-width: 1024px) {
  .ph-hero__headline {
    letter-spacing: 0.38em;
  }
}

.ph-hero__memberships-mobile {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-headline);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 2rem;
  transition: color 0.2s;
  opacity: 0;
  animation: ph-fade-in 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.55s forwards;
}

.ph-hero__memberships-mobile:hover {
  color: #fff;
}

.ph-hero__memberships-mobile svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

@media (min-width: 1024px) {
  .ph-hero__memberships-mobile { display: none; }
}

/* Fade-in animation */
@keyframes ph-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════ */

.ph-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .ph-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.ph-section--no-top { padding-top: 0; }
.ph-section--no-bottom { padding-bottom: 0; }

/* Brand statement */
.ph-brand-statement { max-width: 48rem; }
.ph-brand-statement h2 { margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════════════════════════════════
   EXHIBITION CARD (Split layout — image + details)
   ═══════════════════════════════════════════════════════════════════ */

.ph-exhibition-card {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 520px;
}

@media (min-width: 1024px) {
  .ph-exhibition-card {
    grid-template-columns: 1fr 1fr;
  }
}

.ph-exhibition-card__image {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background-color: var(--color-placeholder);
}

@media (min-width: 1024px) {
  .ph-exhibition-card__image {
    min-height: 0;
  }
}

.ph-exhibition-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-exhibition-card__details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 2rem;
  background-color: var(--color-card);
}

@media (min-width: 1024px) {
  .ph-exhibition-card__details {
    padding: 5rem 4rem;
  }
}

.ph-exhibition-card__title {
  margin-bottom: 1.25rem;
}

.ph-exhibition-card__badge {
  margin-bottom: 1.25rem;
}

.ph-exhibition-card__desc {
  max-width: 28rem;
  margin-bottom: 0.75rem;
}

.ph-exhibition-card__curator {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-accent);
  letter-spacing: 0.035em;
  line-height: 1.85;
  max-width: 28rem;
  margin-bottom: 2rem;
}

.ph-exhibition-card__artist {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-accent);
  letter-spacing: 0.035em;
  line-height: 1.85;
  max-width: 28rem;
  margin-bottom: 0.5rem;
}

/* Past exhibitions link — right-aligned */
.ph-past-link {
  margin-top: 3rem;
  text-align: right;
}

/* ═══════════════════════════════════════════════════════════════════
   VENUE HIRE — Full-width split
   ═══════════════════════════════════════════════════════════════════ */

.ph-venue {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 620px;
}

@media (min-width: 1024px) {
  .ph-venue {
    grid-template-columns: 1fr 1fr;
  }
}

.ph-venue__image {
  min-height: 420px;
  width: 100%;
  height: 100%;
  background-color: var(--color-placeholder);
  position: relative;
  overflow: hidden;
}

.ph-venue__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-venue__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0;
  background-color: var(--color-card);
}

@media (min-width: 1024px) {
  .ph-venue__content {
    padding: 8rem 0;
  }
}

.ph-venue__content h2 { margin-bottom: 1.5rem; }

.ph-venue__content p {
  max-width: 28rem;
  margin-bottom: 1.5rem;
}

.ph-venue__content p:last-of-type {
  margin-bottom: 2.5rem;
}

.ph-factsheet-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-headline);
  font-size: 16px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-dark);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.ph-factsheet-link:hover {
  color: var(--color-mid);
  border-color: var(--color-mid);
}

.ph-factsheet-link svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */

.ph-footer {
  background-color: var(--color-footer);
  color: #fff;
  padding: 3.5rem 0;
}

.ph-footer__wordmark {
  margin-bottom: 2rem;
}

.ph-footer__wordmark .ph-wordmark { color: #fff; }
.ph-footer__wordmark .ph-wordmark__house { color: rgba(255,255,255,0.5); }
.ph-footer__wordmark .ph-wordmark__prive { font-size: 24px; }
.ph-footer__wordmark .ph-wordmark__house { font-size: 24px; }

.ph-footer__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 1024px) {
  .ph-footer__body {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }
}

.ph-footer__desc {
  font-family: var(--font-body);
  font-size: 19px;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  letter-spacing: 0.035em;
  max-width: 28rem;
}

@media (min-width: 1024px) {
  .ph-footer__desc { grid-column: span 5; }
}

.ph-footer__social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .ph-footer__social-wrap {
    grid-column: 9 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}

.ph-footer__social a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.ph-footer__social a:hover { color: #fff; }

.ph-footer__social svg {
  width: 18px;
  height: 18px;
}

.ph-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
}

@media (min-width: 768px) {
  .ph-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.ph-footer__copyright {
  font-family: var(--font-headline);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  order: 2;
}

@media (min-width: 768px) {
  .ph-footer__copyright { order: 0; }
}

.ph-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

@media (min-width: 768px) {
  .ph-footer__links {
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
  }
}

.ph-footer__links a {
  font-family: var(--font-headline);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.ph-footer__links a:hover {
  color: rgba(255,255,255,0.6);
}

/* ═══════════════════════════════════════════════════════════════════
   PAGE HEADERS (Enquire, Past Exhibitions, Privacy Policy)
   ═══════════════════════════════════════════════════════════════════ */

.ph-page-header {
  padding-top: 9rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .ph-page-header {
    padding-top: 11rem;
    padding-bottom: 7rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   ENQUIRE FORM
   ═══════════════════════════════════════════════════════════════════ */

.ph-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
}

@media (min-width: 1024px) {
  .ph-form-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }
}

.ph-form-main {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .ph-form-main { grid-column: span 7; }
}

.ph-form-sidebar {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .ph-form-sidebar { grid-column: 9 / -1; }
}

.ph-form__fields {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.ph-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .ph-form__row { grid-template-columns: 1fr 1fr; }
}

.ph-form__label {
  display: block;
  font-family: var(--font-headline);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-mid);
  margin-bottom: 0.75rem;
}

.ph-form__label .required {
  color: var(--color-accent);
  margin-left: 2px;
}

.ph-form__input,
.ph-form__textarea {
  width: 100%;
  background: transparent;
  border-bottom: 1px solid rgba(61, 52, 40, 0.19);
  padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 19px;
  color: var(--color-dark);
  letter-spacing: 0.035em;
  transition: border-color 0.2s;
}

.ph-form__input::placeholder,
.ph-form__textarea::placeholder {
  color: rgba(107, 94, 80, 0.5);
}

.ph-form__input:focus,
.ph-form__textarea:focus {
  border-color: var(--color-dark);
}

.ph-form__textarea {
  resize: none;
  min-height: 140px;
}

.ph-form__privacy {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-mid);
  letter-spacing: 0.035em;
}

.ph-form__submit {
  width: 100%;
  cursor: pointer;
}

/* Sidebar email link */
.ph-sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-headline);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-dark);
  transition: color 0.2s;
  padding-top: 2.25rem;
}

.ph-sidebar-link:hover { color: var(--color-mid); }

.ph-sidebar-link svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   EXHIBITION SINGLE
   ══════════════════════════════════════════════════════════════════ */

.ph-exhibition-hero {
  width: 100%;
}

.ph-exhibition-hero img {
  width: 100%;
  object-fit: cover;
  height: clamp(420px, 56vw, 720px);
}

.ph-exhibition-header {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .ph-exhibition-header {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
}

/* When there is no hero image, push content below the top bar */
.ph-exhibition-header--no-hero {
  padding-top: calc(var(--bar-height) + 3rem);
}

@media (min-width: 1024px) {
  .ph-exhibition-header--no-hero {
    padding-top: calc(var(--bar-height) + 5rem);
  }
}

.ph-exhibition-header h1 {
  font-family: var(--font-headline);
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.ph-exhibition-header__artist {
  font-family: var(--font-headline);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.ph-exhibition-header__curator {
  font-family: var(--font-headline);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-mid);
  margin-bottom: 1.25rem;
}

.ph-divider {
  height: 1px;
  background-color: rgba(61, 52, 40, 0.07);
}

.ph-exhibition-text {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .ph-exhibition-text { padding: 6rem 0; }
}

.ph-exhibition-text__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .ph-exhibition-text__inner {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }

  .ph-exhibition-text__body {
    grid-column: span 7;
  }
}

.ph-exhibition-text__body p {
  margin-bottom: 2rem;
}

.ph-exhibition-text__body p:last-child {
  margin-bottom: 0;
}

/* Image grid */
.ph-gallery-grid {
  padding-bottom: 2rem;
}

.ph-gallery-grid__full {
  margin-bottom: 1rem;
}

.ph-gallery-grid__full img {
  width: 100%;
  object-fit: cover;
  height: clamp(340px, 42vw, 560px);
}

.ph-gallery-grid__two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .ph-gallery-grid__two {
    grid-template-columns: 1fr 1fr;
  }
}

.ph-gallery-grid__two img {
  width: 100%;
  object-fit: cover;
  height: clamp(300px, 36vw, 480px);
}

/* ═══════════════════════════════════════════════════════════════════
   PAST EXHIBITIONS ARCHIVE
   ═══════════════════════════════════════════════════════════════════ */

.ph-exhibitions-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.ph-exhibitions-list .ph-exhibition-card {
  min-height: 420px;
}

/* ═══════════════════════════════════════════════════════════════════
   PRIVACY POLICY
   ═══════════════════════════════════════════════════════════════════ */

.ph-policy {
  max-width: 48rem;
}

.ph-policy__title {
  font-family: var(--font-headline);
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 2.5rem;
}

.ph-policy__intro {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-body);
  letter-spacing: 0.035em;
  margin-bottom: 4rem;
}

.ph-policy__sections {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.ph-policy__section-title {
  font-family: var(--font-headline);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.ph-policy__section-body p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--color-body);
  letter-spacing: 0.035em;
  margin-bottom: 1rem;
}

.ph-policy__section-body p:last-child { margin-bottom: 0; }

.ph-policy__updated {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-accent);
  letter-spacing: 0.035em;
  margin-top: 5rem;
}

/* ═══════════════════════════════════════════════════════════════════
   COMING SOON — Standalone
   ═══════════════════════════════════════════════════════════════════ */

.ph-coming-soon {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--color-dark);
}

.ph-coming-soon__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  border: 0;
}

/* Scale the Vimeo iframe to cover — eliminates all letterboxing */
iframe.ph-coming-soon__video {
  position: absolute;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  width: max(100%, 177.78vh);
  height: max(100%, 56.25vw);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

iframe.ph-coming-soon__video.ph-video--loaded {
  opacity: 1;
}

.ph-coming-soon__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.ph-coming-soon__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 2rem;
}

@media (min-width: 640px)  { .ph-coming-soon__content { padding: 0 3.5rem; } }
@media (min-width: 768px)  { .ph-coming-soon__content { padding: 0 5rem; } }
@media (min-width: 1024px) { .ph-coming-soon__content { padding: 0 7rem; } }

.ph-coming-soon__wordmark {
  text-transform: uppercase;
  color: #fff;
}

.ph-coming-soon__wordmark .ph-wordmark__prive,
.ph-coming-soon__wordmark .ph-wordmark__house {
  font-size: 28px;
}

.ph-coming-soon__label {
  font-family: var(--font-headline);
  font-size: 15px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 1.25rem;
}

.ph-coming-soon__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 2rem 2rem;
}

@media (min-width: 640px)  { .ph-coming-soon__footer { padding: 0 3.5rem 2rem; } }
@media (min-width: 768px)  { .ph-coming-soon__footer { padding: 0 5rem 2rem; } }
@media (min-width: 1024px) { .ph-coming-soon__footer { padding: 0 7rem 2rem; } }

.ph-coming-soon__copyright {
  font-family: var(--font-headline);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ═══════════════════════════════════════════════════════════════════
   SCROLL FADE-IN (applied via IntersectionObserver in JS)
   ═══════════════════════════════════════════════════════════════════ */

.ph-fade-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.ph-fade-in--visible {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════
   FORM SUCCESS STATE
   ═══════════════════════════════════════════════════════════════════ */

.ph-form-success {
  padding: 4rem 0;
}

/* ═══════════════════════════════════════════════════════════════════
   404
   ═══════════════════════════════════════════════════════════════════ */

.ph-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem;
}

.ph-404 h1 {
  font-family: var(--font-headline);
  font-size: clamp(20px, 2.2vw, 32px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.ph-404 p {
  font-family: var(--font-body);
  font-size: 19px;
  color: var(--color-body);
  letter-spacing: 0.035em;
  margin-bottom: 2.5rem;
}