@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&display=swap');

/* =========================
   RESET / BASE
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: #050505;
  color: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
}


/* =========================
   HEADER / NAV
========================= */
.site-header {
  height: 90px;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #050505;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo span { color: #c1121f; }
nav { display: flex; gap: 30px; }

nav a {
  color: #f5f5f5;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
}

nav a:hover { color: #c1121f; }


/* =========================
   SHARED REUSABLES
========================= */
.eyebrow {
  color: #c1121f;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
}

.section-eyebrow {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: #444;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 40px;
}

.section-title span { color: #c1121f; }

.red { color: #c1121f; }

/* image frame shared elements */
.frame-titlebar {
  height: 28px;
  background: #0c0c0c;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 10px;
  flex-shrink: 0;
}

.frame-controls {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.fc {
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid #2a2a2a;
  background: #111;
}

.frame-filename {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: #444;
  text-transform: uppercase;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.frame-dim {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: #2a2a2a;
  flex-shrink: 0;
}

.img-body {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.height-landscape { height: 380px; }   /* 4:3 landscape in 2-col frame  */
.height-medium    { height: 300px; }   /* detail / supporting frames    */
.height-portrait  { height: 400px; }   /* 4:5 portrait in 1-col frame   */
.height-stretch   { flex: 1; min-height: 420px; }  /* fills row span in mod-tall */
.height-process   { height: 420px; }

.img-placeholder {
  width: 100%;
  height: 100%;
  background: #060606;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      transparent 2px,
      transparent 6px
    );
}

.img-placeholder span {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: #1e1e1e;
  text-transform: uppercase;
}

/* to replace placeholder with image later:
   .img-placeholder img { width:100%; height:100%; object-fit:cover; display:block; }
   .img-placeholder span { display:none; }
*/

.img-strip {
  height: 26px;
  border-top: 1px solid #1a1a1a;
  background: #090909;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  flex-shrink: 0;
}

.img-strip span {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: #333;
  text-transform: uppercase;
}

.img-pending-label {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: #222;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.img-status-label {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: #1a1a1a;
  text-transform: uppercase;
  position: absolute;
  bottom: 14px;
  right: 14px;
}


/* =========================
   ENTRY HERO
========================= */
.entry-hero {
  display: grid;
  grid-template-columns: 480px 1fr;
  min-height: 680px;
  border-bottom: 1px solid #222;
}

.hero-text-side {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #222;
}

.entry-title {
  font-size: 100px;
  font-weight: 900;
  line-height: .88;
  letter-spacing: -3px;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
}

.hero-meta-row {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #111;
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
}

.hmk {
  font-size: 10px;
  letter-spacing: 2px;
  color: #444;
  text-transform: uppercase;
  width: 80px;
  flex-shrink: 0;
}

.hmv {
  font-size: 12px;
  letter-spacing: 1px;
  color: #ccc;
  text-transform: uppercase;
}

.hero-statement {
  font-size: 16px;
  color: #888;
  line-height: 1.7;
  border-left: 2px solid #c1121f;
  padding-left: 18px;
}

/* RIGHT IMAGE SIDE */
.hero-image-side {
  position: relative;
  background: #050505;
  display: flex;
  flex-direction: column;
}

.hero-img-frame {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-left: 1px solid #c1121f;
  position: relative;
}

.hero-img-frame::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  border-top: 2px solid #f5f5f5;
  border-right: 2px solid #f5f5f5;
  z-index: 1;
}

.hero-img-frame::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid #f5f5f5;
  border-left: 2px solid #f5f5f5;
  z-index: 1;
}

.hero-img-body {
  flex: 1;
  position: relative;
  background: #060606;
  background-image:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      transparent 2px,
      transparent 6px
    );
}


/* =========================
   METADATA STRIP
========================= */
.meta-strip {
  display: flex;
  align-items: center;
  padding: 0 60px;
  border-bottom: 1px solid #222;
  background: #070707;
  min-height: 56px;
  flex-wrap: wrap;
  gap: 0;
}

.meta-pill {
  display: flex;
  flex-direction: column;
  padding: 14px 24px;
  gap: 4px;
}

.mp-key {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 8px;
  letter-spacing: 2px;
  color: #444;
  text-transform: uppercase;
}

.mp-val {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: #aaa;
  text-transform: uppercase;
}

.meta-divider {
  width: 1px;
  height: 36px;
  background: #1e1e1e;
  flex-shrink: 0;
}


/* =========================
   FEATURED FRAME
========================= */
.featured-section {
  padding: 80px 60px;
  border-bottom: 1px solid #222;
}

.featured-heading {
  margin-bottom: 36px;
}

.featured-frame {
  display: flex;
  flex-direction: column;
  border: 1px solid #c1121f;
  position: relative;
}

.featured-frame::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-top: 2px solid #f5f5f5;
  border-left: 2px solid #f5f5f5;
  z-index: 1;
  pointer-events: none;
}

.featured-frame::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid #f5f5f5;
  border-right: 2px solid #f5f5f5;
  z-index: 1;
  pointer-events: none;
}

.featured-img-body {
  height: 600px;
  position: relative;
  background: #060606;
  background-image:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.018) 0px,
      rgba(255,255,255,0.018) 1px,
      transparent 2px,
      transparent 6px
    );
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-caption-bar {
  padding: 18px 20px;
  background: #090909;
  border-top: 1px solid #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.caption-text {
  font-size: 13px;
  color: #777;
  line-height: 1.5;
  max-width: 600px;
}

.caption-id {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: #333;
  text-transform: uppercase;
  flex-shrink: 0;
}


/* =========================
   EDITORIAL IMAGE MODULES
========================= */
.editorial-section {
  padding: 80px 60px;
  border-bottom: 1px solid #222;
}

.editorial-heading {
  margin-bottom: 40px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 14px;
}

.img-module {
  display: flex;
  flex-direction: column;
  border: 1px solid #1e1e1e;
  background: #070707;
  transition: border-color 0.2s;
}

.img-module:hover { border-color: #333; }

/* layout modifiers */
.mod-wide { grid-column: span 2; }
.mod-tall { grid-column: span 1; grid-row: span 2; display: flex; flex-direction: column; }
.mod-sm   { grid-column: span 1; }


/* =========================
   PROCESS NOTES
========================= */
.process-section {
  padding: 80px 60px;
  border-bottom: 1px solid #222;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.process-text {
  max-width: 560px;
}

.process-body {
  font-size: 17px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 22px;
}

.process-image {
  display: flex;
  flex-direction: column;
  border: 1px solid #1e1e1e;
  background: #070707;
  position: sticky;
  top: 110px;
}


/* =========================
   ENTRY STATEMENT
========================= */
.statement-section {
  padding: 100px 60px;
  border-bottom: 1px solid #222;
  text-align: center;
}

.statement-inner {
  max-width: 760px;
  margin: 0 auto;
}

.statement-quote {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.6;
  color: #ccc;
  border-left: 3px solid #c1121f;
  text-align: left;
  padding: 10px 0 10px 32px;
  margin: 20px 0 24px;
  font-style: normal;
}

.statement-sig {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: #444;
  text-transform: uppercase;
  text-align: left;
  padding-left: 35px;
}


/* =========================
   CREDITS
========================= */
.credits-section {
  padding: 80px 60px;
  border-bottom: 1px solid #222;
}

.credits-heading {
  margin-bottom: 40px;
}

.credits-grid {
  display: flex;
  flex-direction: column;
  max-width: 700px;
}

.credit-row {
  display: flex;
  gap: 40px;
  padding: 14px 0;
  border-bottom: 1px solid #111;
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
}

.credit-key {
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #444;
  text-transform: uppercase;
  width: 220px;
  flex-shrink: 0;
}

.credit-val {
  font-size: 13px;
  color: #ccc;
}


/* =========================
   BOTTOM NAV
========================= */
.entry-nav {
  padding: 50px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1a1a1a;
}

.nav-pager {
  display: flex;
  gap: 30px;
}

.nav-btn {
  font-family: 'IBM Plex Mono', 'Courier New', Courier, monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

.nav-btn.primary {
  color: #c1121f;
  text-decoration: none;
}

.nav-btn.primary:hover { color: #f5f5f5; }

.nav-btn.locked {
  color: #2a2a2a;
  cursor: default;
  pointer-events: none;
}


/* =========================
   FOOTER
========================= */
.footer {
  padding: 40px;
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
  border-top: 1px solid #222;
  color: #777;
  font-weight: 800;
  letter-spacing: 2px;
}

.footer-logo { color: #777; }

.footer a {
  color: #777;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 2px;
}

.footer a:hover { color: #c1121f; }


/* =========================
   MOBILE
========================= */
@media (max-width: 1024px) {
  .entry-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-text-side {
    padding: 60px 40px;
    border-right: none;
    border-bottom: 1px solid #222;
  }

  .entry-title { font-size: 72px; }

  .hero-image-side { min-height: 400px; }
  .hero-img-frame { border-left: none; border-top: 1px solid #c1121f; }

  .process-section {
    grid-template-columns: 1fr;
  }

  .process-image { position: static; }
}

@media (max-width: 800px) {
  .site-header { padding: 0 24px; }
  nav { display: none; }

  .featured-section,
  .editorial-section,
  .credits-section,
  .statement-section,
  .entry-nav { padding: 50px 28px; }

  .meta-strip { padding: 0 28px; }

  .hero-text-side { padding: 50px 28px; }

  .entry-title { font-size: 56px; letter-spacing: -2px; }

  .section-title { font-size: 36px; }

  .featured-img-body { height: 360px; }

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

  .mod-wide { grid-column: span 2; }
  .mod-tall { grid-column: span 1; grid-row: span 1; }
  .height-stretch { min-height: 300px; }

  .entry-nav {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .editorial-grid { grid-template-columns: 1fr; }
  .mod-wide, .mod-tall { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}


/* =========================
   MOBILE NAV — HAMBURGER
========================= */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #f5f5f5;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* =========================
   MOBILE NAV — OVERLAY
========================= */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 100;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
}

.mobile-nav-links a {
  color: #f5f5f5;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 4px;
  transition: color 0.2s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus {
  color: #c1121f;
  outline: none;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
}
