/* =========================================================
   SAM HOFMAN STUDIO — Portfolio
   16:9 / 1920×1080
   Editorial: italic serif + grotesk + mono on warm paper
   ========================================================= */

:root {
  --paper: #EDE8DD;
  --ink: #0A0A0A;
  --accent: #3D4A2A;     /* deep olive — sits on warm paper, more sophisticated than red, more present than brown */
  --rule: rgba(10, 10, 10, 0.2);
  --rule-strong: #0A0A0A;
  --mute: #6B6660;
  --plate-bg: #d8d3c7;

  --serif: "Cormorant Garamond", "Source Serif 4", "Times New Roman", serif;
  --sans:  "Inter Tight", "Inter", -apple-system, sans-serif;
  --mono:  "JetBrains Mono", "IBM Plex Mono", monospace;

  --margin: 80px;
}

html, body {
  margin: 0;
  padding: 0;
  background: #1a1a1a;
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

deck-stage > section {
  width: 1920px;
  height: 1080px;
  background: var(--bg, var(--paper));
  position: relative;
  overflow: hidden;
  font-family: var(--sans);
  color: var(--ink);
}

/* ============== TYPE ============== */
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
}
.serif.upright { font-style: normal; }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.sans-body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}

/* ============== TOP / BOTTOM RULES ============== */
.top-rule {
  position: absolute;
  top: 50px;
  left: var(--margin);
  right: var(--margin);
  border-top: 1.5px solid var(--ink);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 5;
}
.top-rule.on-dark { border-top-color: rgba(255,255,255,0.6); color: rgba(255,255,255,0.85); }

.bottom-rule {
  position: absolute;
  bottom: 36px;
  left: var(--margin);
  right: var(--margin);
  border-top: 1px solid var(--ink);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 5;
}
.bottom-rule.on-dark { border-top-color: rgba(255,255,255,0.5); color: rgba(255,255,255,0.75); }

.bottom-rule .folio {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: normal;
  text-transform: none;
}
.bottom-rule.on-dark .folio { color: rgba(255,255,255,0.9); }

/* ============== PLATE ============== */
.plate {
  background: var(--plate-bg);
  overflow: hidden;
  position: relative;
}
.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aspect-4-5 { aspect-ratio: 4 / 5; }
