/* =========================================================================
   V6d · HALATION
   Cinematic film treatment. Deep warm black, single halation red-orange,
   heavy SVG grain everywhere, light leak in one corner, soft emulsion bleed
   on every "photo". Full-bleed frames. Type breathes.
   ========================================================================= */

:root {
  --black:     #0A0807;
  --black-2:   #14110E;
  --paper:     #EAE4D6;
  --paper-soft:#C8BFAC;
  --paper-mute:#8B8474;
  --halation:  #C9554D;
  --halation-warm:#E07A52;
  --highlight: #F4D9A8;

  --serif: 'Fraunces', 'Source Serif 4', Georgia, serif;
  --sans:  'Inter', -apple-system, Helvetica, Arial, sans-serif;
}

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

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

p, h1, h2, h3 { margin: 0; padding: 0; }

a {
  color: var(--halation-warm);
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 122, 82, 0.4);
}
a:hover { color: var(--highlight); border-bottom-color: var(--highlight); }

::selection { background: var(--halation); color: var(--black); }

/* =========================================================================
   PERSISTENT OVERLAYS — grain, leak, vignette
   ========================================================================= */

.grain {
  position: fixed;
  inset: -50px;
  background: white;
  filter: url(#grain);
  opacity: 0.36;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 200;
}

.leak {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 199;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(224, 122, 82, 0.32) 0%, rgba(224, 122, 82, 0.12) 25%, transparent 55%),
    radial-gradient(40% 60% at 0% 100%, rgba(244, 217, 168, 0.10) 0%, transparent 60%);
  mix-blend-mode: screen;
}

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 201;
  background: radial-gradient(120% 90% at 50% 50%, transparent 50%, rgba(0,0,0,0.55) 100%);
}

/* =========================================================================
   TOP STRIP
   ========================================================================= */

.strip {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  padding: 14px 32px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-mute);
  border-bottom: 1px solid rgba(234, 228, 214, 0.06);
}

/* =========================================================================
   FILM CONTAINER
   ========================================================================= */

.film {
  position: relative;
  z-index: 5;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 96px;
}

/* =========================================================================
   FRAME (one work / one moment)
   Two-column at desktop: photo + caption, alternating sides.
   ========================================================================= */

.frame {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid rgba(234, 228, 214, 0.06);
}
.frame--flip { grid-template-columns: 1fr 1.25fr; }
.frame--hero {
  grid-template-columns: 1.4fr 1fr;
  padding: 96px 0 80px;
  border-bottom: 1px solid rgba(234, 228, 214, 0.06);
}
.frame--close {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 120px 0 60px;
  border-bottom: none;
}

/* PHOTO PLACEHOLDER (gradient stand-in; in production swap with <img>) */
.frame__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  filter:
    contrast(1.04)
    saturate(0.9)
    drop-shadow(0 0 24px rgba(201, 85, 77, 0.35))
    drop-shadow(0 0 80px rgba(201, 85, 77, 0.20));
}
.frame__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 50% 40%, transparent 60%, rgba(201, 85, 77, 0.4) 90%, rgba(201, 85, 77, 0.85) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}
.frame__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  filter: url(#grain);
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 3;
}

/* Photo "subjects" — gradient placeholders that read as photography */
.frame__photo--hero {
  background:
    radial-gradient(80% 60% at 30% 35%, #E07A52 0%, #8E3522 35%, #2E1410 75%, #0F0807 100%);
}
.frame__photo--orange {
  background:
    radial-gradient(70% 50% at 60% 40%, #F4B068 0%, #C25A2A 40%, #5A2010 80%, #1A0A06 100%);
}
.frame__photo--teal {
  background:
    radial-gradient(70% 60% at 40% 50%, #88A8A0 0%, #3F605E 45%, #1B2A30 85%, #0A1014 100%);
}
.frame__photo--dusk {
  background:
    linear-gradient(180deg, #C95A40 0%, #6E2E25 30%, #2A1410 70%, #0A0807 100%);
}

.frame__no {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 4;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: rgba(244, 217, 168, 0.85);
  mix-blend-mode: screen;
  background: rgba(0,0,0,0.35);
  padding: 4px 10px;
  border-radius: 1px;
}

/* CAPTION */
.frame__caption { padding: 8px 0; }
.frame__caption--center { max-width: 720px; margin: 0 auto; }

.meta {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper-mute);
  margin-bottom: 18px;
}
.meta--end { margin-top: 22px; margin-bottom: 0; color: var(--paper-soft); }

.hero {
  font-family: var(--serif);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(40px, 6vw, 76px);
  font-variation-settings: "opsz" 144;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--paper);
  text-wrap: balance;
}
.hero em {
  font-style: italic;
  color: var(--halation-warm);
  font-weight: 400;
}

.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 54px);
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--paper);
}

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.5;
  color: var(--paper-soft);
  margin-top: 22px;
  max-width: 44ch;
}

.copy {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.55;
  color: var(--paper-soft);
  max-width: 42ch;
}

.warm { color: var(--halation-warm); }
.warm-link { color: var(--halation-warm); border-bottom-color: rgba(224, 122, 82, 0.45); }
.warm-link:hover { color: var(--highlight); }

@media (max-width: 820px) {
  .frame, .frame--flip, .frame--hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0;
  }
  .frame__photo { aspect-ratio: 3 / 4; }
}

/* =========================================================================
   CONTACT SHEET (smaller stacked frames for writing)
   ========================================================================= */

.contact {
  padding: 80px 0;
  border-bottom: 1px solid rgba(234, 228, 214, 0.06);
}
.contact__head { margin-bottom: 36px; }

.contact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cp {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cp__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  filter:
    contrast(1.04)
    drop-shadow(0 0 10px rgba(201, 85, 77, 0.3))
    drop-shadow(0 0 30px rgba(201, 85, 77, 0.15));
}
.cp__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 70% at 50% 50%, transparent 60%, rgba(201, 85, 77, 0.45) 95%, rgba(201, 85, 77, 0.85) 100%);
  mix-blend-mode: screen;
}
.cp__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  filter: url(#grain);
  opacity: 0.18;
  mix-blend-mode: overlay;
}
.cp__photo > span {
  position: absolute;
  bottom: 8px;
  right: 10px;
  z-index: 3;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(244, 217, 168, 0.85);
  background: rgba(0,0,0,0.4);
  padding: 2px 6px;
}

.cp__photo--a { background: radial-gradient(70% 60% at 35% 45%, #D4A56A, #6E3A1F, #1A0908); }
.cp__photo--b { background: radial-gradient(70% 60% at 60% 40%, #8FA8B8, #3A5060, #0F1820); }
.cp__photo--c { background: radial-gradient(70% 60% at 50% 50%, #C66848, #6A2A1A, #1A0807); }
.cp__photo--d { background: radial-gradient(70% 60% at 40% 60%, #5A8A7A, #2A4538, #0F1A14); }

.cp__date {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--paper-mute);
  text-transform: uppercase;
}
.cp__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.3;
  color: var(--paper);
  font-variation-settings: "opsz" 36;
}

@media (max-width: 820px) {
  .contact__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   END
   ========================================================================= */

.end {
  position: relative;
  z-index: 5;
  padding: 36px 32px 56px;
  text-align: center;
  border-top: 1px solid rgba(234, 228, 214, 0.06);
  max-width: 1280px;
  margin: 0 auto;
}
.end p:first-child {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--halation-warm);
  margin-bottom: 16px;
}
