/* ============================================================
   TTMD — Time Taken to Make a Dress
   Global Stylesheet
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Typography --- */
.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 400;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--text);
  line-height: 1.15;
}

h1 { font-size: clamp(36px, 5.5vw, 72px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.5vw, 48px); letter-spacing: -0.01em; }
h3 { font-size: clamp(20px, 2vw, 28px); }

.body-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 600px;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 64px);
}

.section {
  padding: clamp(64px, 10vw, 140px) 0;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  background: rgba(248,246,243,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 500ms var(--ease);
}

.nav.scrolled {
  background: rgba(248,246,243,0.95);
}

.nav-logo {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  transition: color 500ms var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 0.5px;
  background: var(--text);
  transition: width 500ms var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-secondary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text-secondary);
  transition: transform 500ms var(--ease), opacity 500ms var(--ease);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--text);
  color: var(--bg);
  padding: 8px 16px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 9999;
  transition: top 200ms;
}
.skip-link:focus {
  top: 8px;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--text);
  color: var(--bg);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 500ms var(--ease), transform 500ms var(--ease);
}

.btn-primary:hover {
  background: #0D0D0D;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  border: 0.5px solid var(--text-tertiary);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 500ms var(--ease), background 500ms var(--ease);
}

.btn-outline:hover {
  color: var(--text);
  background: var(--bg-surface);
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* --- Footer --- */
.site-footer {
  padding: 64px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-address {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.8;
  margin-top: 12px;
}

.footer-tagline {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-tertiary);
  line-height: 1.8;
  margin-top: 12px;
}

.footer-nav {
  display: flex;
  gap: 48px;
}

.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 10px;
  transition: color 500ms var(--ease);
}

.footer-col a:hover { color: var(--text); }

.footer-instagram-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-tertiary);
}

/* --- Placeholder System ---
   Usage:
   <div class="placeholder placeholder--hero">
     <img src="img/placeholders/silhouette-hero.svg" alt="" aria-label="Image placeholder — hero">
   </div>
*/
.placeholder {
  position: relative;
  background: var(--bg-surface);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder:not(.placeholder--filled) img,
.placeholder:not(.placeholder--filled) svg {
  position: absolute;
  opacity: var(--placeholder-opacity);
  width: 40%;
  height: auto;
}

.placeholder--filled {
  background: transparent;
}

.placeholder--filled img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  object-fit: cover !important;
}

.orientation-compare {
  display: grid;
  grid-template-columns: 3fr 4fr;
  gap: 24px;
  align-items: start;
}

.orientation-compare figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.orientation-compare figcaption {
  text-align: center;
  color: var(--text-tertiary);
}

@media (max-width: 768px) {
  .orientation-compare { grid-template-columns: 1fr; }
}

.placeholder--hero {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.placeholder--portrait {
  aspect-ratio: 3 / 4;
  width: 100%;
}

.placeholder--fabric {
  aspect-ratio: 1 / 1;
  width: 100%;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--bg-surface);
  padding: clamp(64px, 10vw, 140px) 0;
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner .cta-subtext {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto 32px;
}

/* --- Homepage: Hero --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.06) 0%, rgba(10,8,6,0.1) 40%, rgba(10,8,6,0.2) 100%), url('../img/homepage_white_dramatic_gown.png') center/cover no-repeat;
  z-index: 0;
}

/* Subtle texture overlay */
.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 80px, rgba(26,26,26,0.01) 80px, rgba(26,26,26,0.01) 81px);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.hero-wordmark {
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.5s forwards;
}

.hero-sub {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1s forwards;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.3s forwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.8s forwards;
}

.hero-scroll-hint span {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-tertiary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* --- Homepage: Clock --- */
.clock-section {
  padding: clamp(56px, 8vw, 96px) 0 clamp(20px, 2.5vw, 32px);
  text-align: center;
  position: relative;
}

.clock-number {
  font-family: var(--serif);
  font-size: clamp(48px, 9vw, 100px);
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  margin: 14px 0 8px;
}

.clock-label {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.clock-sub {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 6px;
}

/* --- Homepage: Philosophy --- */
.philosophy {
  padding: clamp(20px, 2.5vw, 32px) 0 clamp(56px, 8vw, 96px);
  text-align: center;
}

.philosophy blockquote {
  font-family: var(--serif);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 300;
  color: var(--text-secondary);
  font-style: italic;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}

.philosophy cite {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: 20px;
  font-style: normal;
}

/* --- Homepage: Process --- */
.process-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.process-header .section-heading { margin-top: 12px; }

.process-header .body-text {
  margin: 16px auto 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  overflow: hidden;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

.process-step {
  padding: clamp(28px, 4vw, 48px) clamp(16px, 2vw, 28px);
  text-align: center;
  transition: background 0.4s var(--ease);
  cursor: default;
}


.process-step:hover {
  background: rgba(26,26,26,0.03);
}

.process-num {
  font-size: 10px;
  color: var(--text-tertiary);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.process-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 1.2;
}

.process-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
}

.process-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.process-hours {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-top: 12px;
  letter-spacing: 0.1em;
}

/* --- Homepage: Featured Commission --- */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  margin-top: 48px;
}

.featured-image {
  min-height: 500px;
}

.featured-text {
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-text h3 {
  margin: 16px 0;
}

.featured-meta {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 28px;
}

.featured-stat-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.featured-stat-value {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--text);
  font-weight: 300;
}

/* --- Homepage: Exhibit Row (full-bleed) --- */
.exhibit-row {
  padding: clamp(56px, 8vw, 96px) 0 0;
}

.exhibit-row-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.exhibit-row-header h2 { margin-top: 12px; }

.exhibit-row-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
}

.exhibit-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #1a1a1a;
}

.exhibit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease);
}

.exhibit-card:hover img { transform: scale(1.04); }

.exhibit-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 36px);
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
  color: #fff;
}

.exhibit-card-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.exhibit-card-desc {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  max-width: 32ch;
}

@media (max-width: 800px) {
  .exhibit-row-grid { grid-template-columns: 1fr; }
}

/* --- Shared: Page Hero (bespoke, commission, exhibit) --- */
.page-hero {
  padding: calc(72px + clamp(80px, 12vw, 140px)) 0 clamp(60px, 8vw, 100px);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 0.5px solid var(--border);
  color: #fff;
}

.page-hero h1 { margin-top: 16px; color: #fff; }
.page-hero .eyebrow { color: rgba(255,255,255,0.7); }
.page-hero .body-text { margin: 20px auto 0; text-align: center; color: rgba(255,255,255,0.85); max-width: 640px; }

/* Background media slot — accepts <video> or image */
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.65) 0%, rgba(10,8,6,0.78) 100%),
              url('../img/homepage_white_dramatic_gown.png') center/cover no-repeat;
}

.page-hero-bg video,
.page-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,6,0.55) 0%, rgba(10,8,6,0.75) 100%);
  pointer-events: none;
}

.page-hero > .container { position: relative; z-index: 1; }

/* --- Bespoke: Chapters --- */
.chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.chapter.reversed { direction: rtl; }
.chapter.reversed > * { direction: ltr; }

.chapter-image {
  min-height: 500px;
}

.chapter-content {
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chapter-num {
  font-family: var(--serif);
  font-size: clamp(60px, 8vw, 100px);
  font-weight: 300;
  color: rgba(26, 26, 26, 0.06);
  line-height: 1;
  margin-bottom: 16px;
}

.chapter-content h2 {
  margin-bottom: 20px;
}

.chapter-content .body-text {
  margin-bottom: 24px;
}

.chapter-detail {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 28px;
}

.detail-item {
  flex: 1;
}

.detail-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.detail-value {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Bespoke: Fabric Exhibit --- */
.fabric-section {
  padding: clamp(80px, 12vw, 160px) 0;
}

.fabric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.fabric-card {
  background: var(--bg-surface);
  overflow: hidden;
  cursor: default;
}

.fabric-swatch {
  height: 180px;
}

.fabric-info {
  padding: 20px;
}

.fabric-name {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}

.fabric-origin {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.fabric-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* --- Bespoke: Promise --- */
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  margin-top: 48px;
}

.promise-cell {
  padding: clamp(28px, 4vw, 48px);
  transition: background 0.4s var(--ease);
}


.promise-cell:hover { background: rgba(26,26,26,0.03); }

.promise-num {
  font-size: 10px;
  color: var(--text-tertiary);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.promise-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 12px;
}

.promise-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Bespoke: CTA --- */
.bespoke-cta {
  padding: clamp(80px, 12vw, 140px) 0;
  text-align: center;
}

.bespoke-cta h2 { margin-bottom: 16px; }
.bespoke-cta .body-text { margin: 0 auto 36px; text-align: center; }

/* --- Utility: Section Heading --- */
.section-heading {
  margin-top: 16px;
  margin-bottom: 8px;
}

/* --- Hero Secondary CTA (desktop only) --- */
.hero-secondary-cta {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 16px;
  display: block;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 0 0 0;
    background: rgba(248,246,243,0.98);
    padding: 48px 32px;
    gap: 24px;
    z-index: 999;
  }
  .nav-toggle { display: flex; }

  .nav-links.open a {
    font-size: 16px;
    padding: 12px 0;
  }
  .nav-overlay-cta {
    margin-top: auto;
    width: 100%;
    list-style: none;
  }
  .nav-overlay-cta .btn-primary {
    display: block;
    text-align: center;
  }

  .footer-inner { flex-direction: column; }
  .footer-nav { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (min-width: 769px) {
  .nav-overlay-cta { display: none; }
}

/* --- Page-specific Responsive --- */
@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-image { min-height: 300px; }
  .featured-meta { flex-direction: column; gap: 16px; }

  .chapter { grid-template-columns: 1fr; }
  .chapter.reversed { direction: ltr; }
  .chapter-image { min-height: 300px; }
  .chapter-detail { flex-direction: column; gap: 16px; }

  .fabric-grid { grid-template-columns: 1fr 1fr; }

  .promise-grid { grid-template-columns: 1fr; }

  .hero-secondary-cta { display: none; }
}

@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .fabric-grid { grid-template-columns: 1fr; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Full-bleed editorial launch direction --- */
.container { max-width: 1600px; padding-inline: clamp(18px, 2.2vw, 36px); }
.section { padding-block: clamp(56px, 7vw, 104px); }
.hero-content { position: absolute; left: 0; bottom: clamp(72px, 10vh, 120px); width: 100%; padding-inline: clamp(22px, 4vw, 64px); text-align: left; }
.hero-wordmark { max-width: 760px; color: #fff; font-size: clamp(54px, 8vw, 118px); line-height: .92; text-shadow: 0 2px 30px rgba(0,0,0,.18); }
.hero-sub { color: rgba(255,255,255,.82); }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.72); }
.hero-scroll-hint { left: auto; right: clamp(22px, 4vw, 64px); transform: none; }
.hero-scroll-hint span { color: rgba(255,255,255,.75); }
.scroll-line { background: linear-gradient(to bottom, rgba(255,255,255,.75), transparent); }
.clock-section { padding-top: clamp(48px, 6vw, 80px); }
.philosophy { padding-bottom: clamp(48px, 6vw, 80px); }
.exhibit-row { padding-top: 0; }
.exhibit-row-header { margin-bottom: 0; padding-block: clamp(38px, 5vw, 64px); }
.exhibit-row-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 92vh; }
.exhibit-card { aspect-ratio: auto; min-height: 92vh; }
.exhibit-card-overlay { padding: clamp(24px, 3.5vw, 56px); }
.exhibit-card-title { font-size: clamp(28px, 3.2vw, 52px); }
.process-header { max-width: 760px; }
.page-hero { min-height: 82vh; padding: 0; display: flex; align-items: flex-end; text-align: left; }
.page-hero > .container { width: 100%; padding-bottom: clamp(48px, 8vw, 96px); z-index: 1; }
.page-hero .body-text { margin: 20px 0 0; text-align: left; }
.chapter, .chapter.reversed { min-height: 96vh; grid-template-columns: minmax(0, 1.7fr) minmax(340px, .7fr); gap: 0; padding: 0; align-items: stretch; }
.chapter.reversed { grid-template-columns: minmax(340px, .7fr) minmax(0, 1.7fr); }
.chapter-image, .chapter-image.placeholder--portrait { aspect-ratio: auto; min-height: 96vh; border: 0; }
.chapter-image img { width: 100%; height: 100%; object-fit: cover; }
.chapter-content { padding: clamp(44px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.fabric-section .container { max-width: none; padding-inline: 0; }
.fabric-section > .container > .eyebrow, .fabric-section > .container > .section-heading, .fabric-section > .container > .body-text { margin-left: clamp(18px, 2.2vw, 36px); }
.fabric-grid { gap: 0; }

@media (max-width: 800px) {
  .hero-content { margin-bottom: 72px; }
  .hero-wordmark { font-size: clamp(48px, 15vw, 72px); }
  .exhibit-row-grid { grid-template-columns: 1fr; }
  .exhibit-card { min-height: 88svh; }
  .chapter, .chapter.reversed { display: grid; grid-template-columns: 1fr; min-height: 0; }
  .chapter-image, .chapter-image.placeholder--portrait { min-height: 78svh; order: 1; }
  .chapter-content, .chapter.reversed .chapter-content { order: 2; padding: 44px 20px 56px; }
  .page-hero { min-height: 78svh; }
}
