/* ==========================================================================
   FILM M RC — Editorial Photography Design System
   Ink black / warm white / film-inspired neutrals. Cinematic, restrained.
   ========================================================================== */

:root {
  --ink: #111111;
  --soft-black: #1B1B1B;
  --warm-white: #F7F5F0;
  --pure-white: #FFFFFF;
  --stone: #D9D5CC;
  --muted-gray: #77736C;
  --line: #DFDBD2;

  --amber: #C58A4A;
  --terracotta: #A85F45;
  --olive: #5F6657;

  --font-serif: "Cormorant Garamond", "DM Serif Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-w: 1360px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2.5px solid var(--amber);
  outline-offset: 3px;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--ink); color: var(--pure-white); padding: 12px 20px; }
.skip-link:focus { left: 12px; top: 12px; }

.eyebrow {
  display: inline-block; font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px;
}
.eyebrow.on-light { color: var(--terracotta); }

h1 { font-size: clamp(2.6rem, 5.2vw, 4.8rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.lede { font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--muted-gray); max-width: 58ch; font-family: var(--font-sans); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 15px 28px; border: 1.5px solid var(--ink); transition: all 0.35s var(--ease);
}
.btn-primary { background: var(--ink); color: var(--pure-white); }
.btn-primary:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--pure-white); }
.btn-outline-light { border-color: rgba(255,255,255,0.4); color: var(--pure-white); }
.btn-outline-light:hover { background: var(--pure-white); color: var(--ink); }
.btn-block { width: 100%; justify-content: center; }
.read-link {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.03em; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px;
  transition: border-color 0.25s ease, color 0.25s ease, gap 0.25s ease;
}
.read-link:hover { color: var(--amber); border-color: var(--amber); gap: 12px; }
.read-link.on-dark { color: var(--pure-white); border-color: rgba(255,255,255,0.5); }
.read-link.on-dark:hover { color: var(--amber); border-color: var(--amber); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--warm-white); border-bottom: 1px solid var(--line); transition: padding 0.3s ease; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 26px clamp(20px,5vw,64px); max-width: var(--max-w); margin: 0 auto; transition: padding 0.3s ease; }
.site-header.is-stuck .header-row { padding-top: 15px; padding-bottom: 15px; }
.wordmark { font-family: var(--font-serif); font-size: 1.4rem; letter-spacing: 0.06em; font-weight: 600; }
.masthead-line { text-align: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-gray); }
.main-nav ul { display: flex; gap: 34px; justify-content: center; }
.main-nav a { font-size: 0.86rem; font-weight: 500; letter-spacing: 0.02em; position: relative; padding: 4px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1.5px; background: var(--amber); transition: width 0.3s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a[aria-current="page"] { color: var(--terracotta); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.icon-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.25s ease; }
.icon-btn:hover { background: var(--stone); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; width: 20px; }
.nav-toggle span::after { position: absolute; top: 6px; width: 20px; }

/* ==========================================================================
   Homepage hero — split composition
   ========================================================================== */
.hero-split { display: grid; grid-template-columns: 0.85fr 1.15fr; min-height: 88vh; }
.hero-text-col { display: flex; flex-direction: column; justify-content: center; padding: 60px clamp(24px,5vw,64px); }
.hero-text-col h1 { max-width: 12ch; margin: 0 0 22px; }
.hero-image-col { position: relative; overflow: hidden; background: var(--soft-black); }
.hero-image-col img { width: 100%; height: 100%; object-fit: cover; }
.hero-coords {
  position: absolute; right: 28px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75); text-transform: uppercase; display: flex; align-items: center; gap: 14px;
}
.hero-coords::before { content: ""; width: 1px; height: 60px; background: rgba(255,255,255,0.5); display: block; }

/* Second section — horizontal editorial intro */
.journal-intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.journal-intro h2 { margin: 0; }
.journal-intro p { margin: 0; }

/* Unusual 3-col: large image / small image / text article */
.trio-grid { display: grid; grid-template-columns: 1.3fr 0.85fr 1fr; gap: 28px; align-items: stretch; }
.trio-media-lg { aspect-ratio: 4/5; overflow: hidden; background: var(--stone); }
.trio-media-sm { aspect-ratio: 1/1; overflow: hidden; background: var(--stone); align-self: start; }
.trio-media-lg img, .trio-media-sm img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.trio-media-lg:hover img, .trio-media-sm:hover img { transform: scale(1.04); }
.trio-text { display: flex; flex-direction: column; justify-content: center; padding: 10px 0; }
.trio-text .cat { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 12px; display: block; }

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 90px 0; }
.section-dark { background: var(--ink); color: var(--pure-white); }
.section-dark p, .section-dark .lede { color: rgba(255,255,255,0.6); }
.section-dark h2, .section-dark h3 { color: var(--pure-white); }
.section-stone { background: var(--stone); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* ==========================================================================
   Collections — gallery grid, each proportion different
   ========================================================================== */
.collections-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; }
.collection-card { position: relative; overflow: hidden; background: var(--soft-black); display: block; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.collection-card:hover img { transform: scale(1.045); }
.collection-card .cc-label {
  position: absolute; left: 20px; bottom: 20px; color: var(--pure-white); z-index: 2;
  font-family: var(--font-sans);
}
.collection-card .cc-label .cat { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); display: block; margin-bottom: 6px; }
.collection-card .cc-label h3 { color: var(--pure-white); font-size: 1.3rem; margin: 0; }
.collection-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,17,17,0.75), transparent 55%); z-index: 1; }
.cc-street { grid-column: span 2; aspect-ratio: 3/4; }
.cc-portraits { grid-column: span 2; aspect-ratio: 1/1; }
.cc-architecture { grid-column: span 2; aspect-ratio: 4/3; }
.cc-landscapes { grid-column: span 3; aspect-ratio: 16/9; }
.cc-travel { grid-column: span 3; aspect-ratio: 16/9; }
.cc-everyday { grid-column: span 6; aspect-ratio: 21/8; }

/* Collection detail (exhibition) page */
.exhibition-head { text-align: center; padding: 20px 0 60px; }
.exhibition-grid { display: grid; gap: 30px; }
.exhibition-grid.g-vertical { grid-template-columns: repeat(3, 1fr); }
.exhibition-grid.g-square { grid-template-columns: repeat(3, 1fr); }
.exhibition-grid.g-panoramic { grid-template-columns: 1fr; }
.exhibition-grid.g-cinematic { grid-template-columns: repeat(2, 1fr); }
.ex-item { overflow: hidden; background: var(--stone); }
.ex-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.ex-item:hover img { transform: scale(1.04); }
.ex-item.v { aspect-ratio: 3/4; }
.ex-item.sq { aspect-ratio: 1/1; }
.ex-item.pano { aspect-ratio: 21/8; }
.ex-item.cine { aspect-ratio: 16/9; }
.ex-caption { font-size: 0.8rem; color: var(--muted-gray); padding-top: 10px; }

/* ==========================================================================
   Journal archive — newspaper-inspired
   ========================================================================== */
.journal-lead { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid var(--line); margin-bottom: 60px; }
.journal-lead-media { aspect-ratio: 4/3; overflow: hidden; background: var(--stone); margin-bottom: 20px; }
.journal-lead-media img { width: 100%; height: 100%; object-fit: cover; }
.journal-side-list { display: flex; flex-direction: column; }
.journal-side-item { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.journal-side-item:first-child { border-top: none; padding-top: 0; }
.journal-side-media { aspect-ratio: 1/1; overflow: hidden; background: var(--stone); }
.journal-side-media img { width: 100%; height: 100%; object-fit: cover; }
.journal-side-item h4 { font-family: var(--font-sans); font-weight: 700; font-size: 0.92rem; margin: 0 0 4px; line-height: 1.35; }

.journal-columns { column-count: 3; column-gap: 40px; }
.journal-col-card { break-inside: avoid; margin-bottom: 44px; display: block; }
.journal-col-media { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 16px; background: var(--stone); }
.journal-col-media img { width: 100%; height: 100%; object-fit: cover; }
.journal-col-card h3 { font-size: 1.2rem; margin: 8px 0; }
.journal-col-card .cat { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); }
.journal-col-card .meta { font-size: 0.78rem; color: var(--muted-gray); font-family: var(--font-sans); }

/* ==========================================================================
   Gallery (masonry + lightbox)
   ========================================================================== */
.masonry { column-count: 4; column-gap: 18px; }
.masonry-item { break-inside: avoid; margin-bottom: 18px; position: relative; cursor: pointer; overflow: hidden; background: var(--soft-black); }
.masonry-item img { width: 100%; display: block; transition: transform 0.6s var(--ease), opacity 0.3s ease; }
.masonry-item:hover img { transform: scale(1.03); }
.masonry-item .mi-cat { position: absolute; left: 14px; bottom: 14px; color: var(--pure-white); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; z-index: 2; opacity: 0; transition: opacity 0.3s ease; }
.masonry-item:hover .mi-cat { opacity: 1; }
.masonry-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,17,17,0.55), transparent 45%); opacity: 0; transition: opacity 0.3s ease; }
.masonry-item:hover::after { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; background: rgba(17,17,17,0.97); z-index: 999;
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 78vh; object-fit: contain; }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; color: rgba(255,255,255,0.75); font-size: 0.85rem; font-family: var(--font-sans); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: var(--pure-white); width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; transition: border-color 0.25s ease, background 0.25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--amber); background: rgba(197,138,74,0.15); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Stories — vertical timeline
   ========================================================================== */
.timeline { max-width: 900px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 130px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 40px; padding: 50px 0; position: relative; }
.timeline-item:first-child { padding-top: 0; }
.timeline-date { font-family: var(--font-sans); font-size: 0.78rem; color: var(--muted-gray); letter-spacing: 0.04em; padding-top: 6px; text-align: right; }
.timeline-dot { position: absolute; left: 126px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); }
.timeline-media { aspect-ratio: 16/9; overflow: hidden; margin-bottom: 20px; background: var(--stone); }
.timeline-media img { width: 100%; height: 100%; object-fit: cover; }
.timeline-body .cat { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); }
.timeline-body h3 { margin: 8px 0 10px; }
.timeline-body p { color: var(--muted-gray); }

/* ==========================================================================
   Techniques — structured educational layout
   ========================================================================== */
.tech-list-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tech-tile { background: var(--warm-white); padding: 36px 28px; transition: background 0.25s ease; }
.tech-tile:hover { background: var(--pure-white); }
.tech-tile .num { font-family: var(--font-serif); font-size: 1.6rem; color: var(--stone); display: block; margin-bottom: 16px; }
.tech-tile h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tech-tile p { font-size: 0.9rem; color: var(--muted-gray); margin-bottom: 14px; }

.technique-body { max-width: 700px; margin: 0 auto; }
.technique-body h2 { font-size: 1.5rem; margin-top: 1.8em; }
.technique-body p, .technique-body li { font-size: 1.02rem; color: #262626; }
.technique-body ul, .technique-body ol { margin: 1.2em 0; padding-left: 1.4em; }
.technique-body ul { list-style: disc; }
.technique-body li { margin-bottom: 0.6em; }

/* ==========================================================================
   Article / Story reading experience
   ========================================================================== */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--muted-gray); flex-wrap: wrap; font-family: var(--font-sans); }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb .sep { opacity: 0.4; }

.article-header { padding: 46px 0 0; }
.article-header .breadcrumb { margin-bottom: 24px; }
.article-header h1 { max-width: 20ch; margin: 18px 0 20px; }
.article-byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: 0.86rem; color: var(--muted-gray); flex-wrap: wrap; font-family: var(--font-sans); }
.article-byline a { font-weight: 700; color: var(--ink); }
.article-byline a:hover { color: var(--terracotta); }
.article-hero-media { aspect-ratio: 16/9; overflow: hidden; margin: 38px 0 0; background: var(--stone); }
.article-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-caption { font-size: 0.8rem; color: var(--muted-gray); padding-top: 10px; font-family: var(--font-sans); }

.article-body { max-width: 700px; margin: 0 auto; }
.article-body h2 { font-size: 1.55rem; margin-top: 1.8em; }
.article-body p { font-size: 1.06rem; color: #262626; }
.article-body ul { margin: 1.2em 0; padding-left: 1.4em; list-style: disc; }
.article-body li { margin-bottom: 0.6em; color: #262626; }
.article-inline-media { margin: 2.4em 0; }
.article-inline-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.article-inline-media figcaption { font-size: 0.82rem; color: var(--muted-gray); padding-top: 8px; font-family: var(--font-sans); }
.article-body blockquote { border-left: 2px solid var(--amber); margin: 2em 0; padding: 0.2em 0 0.2em 26px; font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.4; font-style: italic; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.related-card .card-media { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 14px; background: var(--stone); }
.related-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.related-card:hover .card-media img { transform: scale(1.04); }
.related-card .cat { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); }
.related-card h3 { font-size: 1.02rem; margin: 8px 0 0; }

/* ==========================================================================
   Advertorial
   ========================================================================== */
.ad-label {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-gray); background: var(--stone); padding: 5px 12px;
}
.advertorial-banner { background: var(--pure-white); border: 1.5px solid var(--ink); padding: 22px clamp(20px,4.5vw,40px); margin-bottom: 40px; }
.advertorial-banner .tag-row strong { font-family: var(--font-sans); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.88rem; display: block; margin-bottom: 6px; }
.advertorial-banner p { margin: 0; color: var(--muted-gray); font-size: 0.92rem; font-family: var(--font-sans); }
.advertorial-archive-card { position: relative; }
.advertorial-archive-card .ad-label { position: absolute; top: 14px; left: 14px; background: var(--pure-white); z-index: 2; }

.ad-slot { border: 1px dashed var(--muted-gray); background: var(--stone); padding: 30px; text-align: center; margin: 44px 0; }
.ad-slot .ad-slot-label { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; display: block; }
.ad-slot .ad-slot-note { font-size: 0.82rem; color: var(--muted-gray); margin: 0; font-family: var(--font-sans); }
.article-with-rail { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start; }
.rail-ad { position: sticky; top: 110px; }

/* ==========================================================================
   About / Contact / Legal
   ========================================================================== */
.page-header { padding: 60px 0 20px; }
.page-header .breadcrumb { margin-bottom: 22px; }
.page-header h1 { max-width: 22ch; }

.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { aspect-ratio: 4/5; overflow: hidden; background: var(--stone); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }

.split-screen { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.split-form { padding: 70px clamp(24px,5vw,64px); display: flex; flex-direction: column; justify-content: center; }
.split-info { background: var(--ink); color: var(--pure-white); padding: 70px clamp(24px,5vw,64px); display: flex; flex-direction: column; justify-content: center; }
.split-info h2 { color: var(--pure-white); }

.info-line { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.15); font-family: var(--font-sans); }
.info-line:first-of-type { border-top: none; padding-top: 0; }
.info-line strong { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.info-line a, .info-line span { color: rgba(255,255,255,0.8); font-size: 0.98rem; }
.info-line a:hover { color: var(--amber); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; font-family: var(--font-sans); }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; }
.field input, .field select, .field textarea {
  padding: 13px 15px; border: 1.5px solid var(--line); background: var(--pure-white); color: var(--ink); transition: border-color 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); }
.field textarea { resize: vertical; min-height: 130px; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 24px; font-size: 0.85rem; color: var(--muted-gray); font-family: var(--font-sans); }
.consent-row input { margin-top: 3px; }
.form-status { display: none; padding: 14px 18px; margin-top: 16px; font-size: 0.9rem; border: 1px solid var(--line); font-family: var(--font-sans); }
.form-status.success { display: block; background: var(--stone); }

.legal-shell { max-width: 760px; }
.legal-meta { color: var(--muted-gray); font-size: 0.9rem; margin-bottom: 40px; font-family: var(--font-sans); }
.legal-content h2 { font-size: 1.35rem; margin-top: 2em; }
.legal-content h3 { font-size: 1.08rem; margin-top: 1.5em; }
.legal-content p, .legal-content li { color: #333; font-family: var(--font-sans); font-size: 0.98rem; }
.legal-content ul { margin: 1em 0; padding-left: 1.4em; list-style: disc; }
.legal-content li { margin-bottom: 0.5em; }
.legal-content a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.toc { background: var(--pure-white); border: 1px solid var(--line); padding: 26px 30px; margin-bottom: 44px; font-family: var(--font-sans); }
.toc strong { display: block; margin-bottom: 12px; }
.toc a { display: block; color: var(--muted-gray); font-size: 0.9rem; padding: 5px 0; }
.toc a:hover { color: var(--terracotta); }

/* Author */
.author-header { display: flex; gap: 26px; align-items: center; }
.author-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--stone); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 1.8rem; color: var(--terracotta); flex-shrink: 0; }
.author-note { border: 1px dashed var(--muted-gray); background: var(--pure-white); padding: 16px 20px; font-size: 0.85rem; color: var(--muted-gray); margin: 24px 0 0; font-family: var(--font-sans); }

/* Search — full screen */
.search-screen { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.search-input-wrap { max-width: 720px; margin: 0 auto; position: relative; }
.search-input-wrap input {
  width: 100%; padding: 22px 60px 22px 10px; font-size: clamp(1.4rem, 3vw, 2.2rem); font-family: var(--font-serif);
  border: none; border-bottom: 1.5px solid var(--ink); background: transparent; text-align: center;
}
.search-input-wrap input:focus { outline: none; border-color: var(--amber); }
.search-input-wrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.search-results-list { max-width: 900px; margin: 60px auto 0; text-align: left; }
.search-result-row { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.search-result-row:first-child { border-top: none; }
.search-result-media { aspect-ratio: 4/3; overflow: hidden; background: var(--stone); }
.search-result-media img { width: 100%; height: 100%; object-fit: cover; }
.search-empty { text-align: center; padding: 40px 0; color: var(--muted-gray); }
.search-empty .big { font-family: var(--font-serif); font-size: 2rem; color: var(--ink); margin-bottom: 10px; }

/* Cookie notice */
.cookie-notice {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 500; max-width: 580px; margin: 0 auto;
  background: var(--ink); color: var(--pure-white); padding: 22px 26px; display: none; align-items: flex-start; gap: 20px;
  border: 1px solid rgba(255,255,255,0.15); flex-wrap: wrap; font-family: var(--font-sans);
}
.cookie-notice.is-visible { display: flex; }
.cookie-notice p { margin: 0; font-size: 0.86rem; color: rgba(255,255,255,0.75); flex: 1 1 260px; }
.cookie-notice .cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-notice a { color: var(--pure-white); text-decoration: underline; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 84px 0 0; margin-top: 90px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .wordmark { color: var(--pure-white); margin-bottom: 16px; display: block; }
.footer-brand p { font-family: var(--font-serif); font-size: 1.1rem; color: rgba(255,255,255,0.55); max-width: 28ch; line-height: 1.5; }
.footer-col h4 { font-family: var(--font-sans); color: var(--pure-white); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; font-family: var(--font-sans); }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.6); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; padding: 30px 0; font-size: 0.82rem; color: rgba(255,255,255,0.45); flex-wrap: wrap; gap: 16px; font-family: var(--font-sans); }
.footer-bottom-addr { line-height: 1.7; }
.footer-bottom-addr a { color: rgba(255,255,255,0.6); }
.footer-bottom-addr a:hover { color: var(--amber); }

/* 404 */
.error-shell { text-align: center; padding: 140px 0 120px; }
.error-code { font-family: var(--font-serif); font-size: clamp(5rem, 13vw, 8.5rem); color: var(--amber); line-height: 1; margin-bottom: 12px; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-col { aspect-ratio: 4/3; }
  .journal-intro { grid-template-columns: 1fr; gap: 16px; }
  .trio-grid { grid-template-columns: 1fr 1fr; }
  .trio-text { grid-column: span 2; }
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .cc-street, .cc-portraits, .cc-architecture, .cc-landscapes, .cc-travel, .cc-everyday { grid-column: span 1; aspect-ratio: 4/3; }
  .journal-lead { grid-template-columns: 1fr; }
  .journal-columns { column-count: 2; }
  .masonry { column-count: 3; }
  .tech-list-grid { grid-template-columns: repeat(2, 1fr); }
  .article-with-rail { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero, .split-screen { grid-template-columns: 1fr; }
  .exhibition-grid.g-vertical, .exhibition-grid.g-square, .exhibition-grid.g-cinematic { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 8px; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
  .timeline-date { text-align: left; padding-left: 26px; }
  .timeline-dot { left: 4px; }
}
@media (max-width: 900px) {
  .header-row { grid-template-columns: auto 1fr auto; }
  .main-nav { position: fixed; inset: 100px 0 0 0; background: var(--warm-white); display: none; flex-direction: column; padding: 10px clamp(20px,5vw,64px) 40px; z-index: 199; overflow-y: auto; }
  body.nav-open .main-nav { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 16px 0; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .masthead-line { font-size: 0.64rem; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .trio-grid { grid-template-columns: 1fr; }
  .trio-text { grid-column: span 1; }
  .journal-columns { column-count: 1; }
  .masonry { column-count: 2; }
  .related-grid, .tech-list-grid, .exhibition-grid.g-vertical, .exhibition-grid.g-square, .exhibition-grid.g-cinematic { grid-template-columns: 1fr; }
  .search-result-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox { padding: 20px; }
}
