/* The Photography Journal — "Light Meter" visual.
   Dark meter body, gold exposure accents, aperture-blade motif, contact-sheet grid.
   Sans typography. No rounded corners. No emoji. */

:root {
  --bg: #1b1b1d;
  --panel: #232326;
  --panel-2: #2a2a2e;
  --ink: #e8e6e0;
  --muted: #9a978f;
  --line: #3a3a3f;
  --accent: #d4a017;
  --accent-dim: #8f6c10;
  --comp: #c96b2f;
  --gear: #5fa8d3;
  --light: #e0c04a;
  --post: #a07fd0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.68;
  font-size: 16px;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.2px; }

/* ---------- meter bar (header) ---------- */
.meter-bar {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}
.meter-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--ink); }
.aperture-mark { width: 42px; height: 42px; flex: 0 0 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: .2px; }
.brand-tag { font-size: 11px; color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; }
.nav-rail { display: flex; gap: 24px; }
.nav-rail a {
  color: var(--ink); font-size: 13px; letter-spacing: .6px; text-transform: uppercase;
  padding-bottom: 3px; border-bottom: 2px solid transparent;
}
.nav-rail a:hover { border-bottom-color: var(--accent); text-decoration: none; }

/* ---------- viewport (hero) ---------- */
.viewport {
  background:
    radial-gradient(circle at 82% 30%, rgba(212,160,23,.14), transparent 42%),
    var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.viewport::before {
  content: "";
  position: absolute; top: -60px; right: -60px; width: 300px; height: 300px;
  border: 1px solid var(--accent-dim); opacity: .5;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.viewport::after {
  content: "";
  position: absolute; top: -40px; right: -40px; width: 260px; height: 260px;
  border: 1px solid var(--line); opacity: .6;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.viewport .wrap { position: relative; z-index: 1; }
.viewport-kicker {
  color: var(--accent); font-size: 12px; letter-spacing: 3px; font-weight: 700;
  text-transform: uppercase; margin-bottom: 14px;
}
.viewport h1 { font-size: 38px; line-height: 1.12; max-width: 760px; margin-bottom: 16px; }
.viewport-lede { max-width: 620px; color: var(--muted); font-size: 17px; }

/* ---------- exposure scale strip ---------- */
.exposure-scale {
  display: flex; align-items: center; gap: 0; margin: 26px 0 0; max-width: 520px;
  border: 1px solid var(--line); background: var(--panel-2);
}
.exposure-scale span {
  flex: 1; text-align: center; font-size: 11px; letter-spacing: 1px; color: var(--muted);
  padding: 7px 0; text-transform: uppercase; border-right: 1px solid var(--line);
}
.exposure-scale span:last-child { border-right: 0; }
.exposure-scale .hot { color: var(--bg); background: var(--accent); font-weight: 700; }

/* ---------- section labels ---------- */
.rail-label {
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted);
  font-weight: 700; margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.rail-label::after { content: ""; height: 1px; flex: 1; background: var(--line); }
section { padding: 34px 0; }

/* ---------- genre tabs ---------- */
.genre-nav { padding: 34px 0 6px; }
.genre-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.genre-tab {
  background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 6px; color: var(--ink);
  min-height: 92px;
}
.genre-tab:hover { border-color: var(--accent); text-decoration: none; color: var(--ink); }
.genre-tab .tick { font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.genre-tab .g-name { font-weight: 700; font-size: 16px; line-height: 1.25; }
.genre-tab.c-Composition { border-left-color: var(--comp); }
.genre-tab.c-Gear { border-left-color: var(--gear); }
.genre-tab.c-Lighting { border-left-color: var(--light); }
.genre-tab.c-Post { border-left-color: var(--post); }

/* ---------- contact sheet (home wall) ---------- */
.reel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.reel-head h2 { font-size: 21px; }
.reel-more { font-size: 13px; letter-spacing: .4px; }
.contact-sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* ---------- shot card ---------- */
.shot-card {
  background: var(--panel); border: 1px solid var(--line); padding: 0;
  display: flex; flex-direction: column; color: var(--ink); position: relative;
}
.shot-card:hover { border-color: var(--accent); text-decoration: none; color: var(--ink); }
.frame-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--panel-2);
}
.frame-no { font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; color: var(--muted); letter-spacing: 1px; }
.g-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
  padding: 2px 7px; border: 1px solid currentColor;
}
.g-Composition { color: var(--comp); }
.g-Gear { color: var(--gear); }
.g-Lighting { color: var(--light); }
.g-Post { color: var(--post); }
.frame-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-title { font-weight: 700; font-size: 16px; line-height: 1.32; }
.card-meter { display: flex; gap: 6px; }
.card-meter i { height: 4px; flex: 1; background: var(--line); }
.card-meter i.lit { background: var(--accent); }
.card-facts { display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
.card-facts span { color: var(--muted); }
.card-facts b { color: var(--ink); font-weight: 600; }
.card-desc { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- page head ---------- */
.plate-head { padding: 38px 0 14px; }
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.plate-head h1 { font-size: 32px; line-height: 1.18; }
.plate-lede { color: var(--muted); margin-top: 10px; max-width: 680px; }

/* ---------- shoot layout (entry page) ---------- */
.shoot-layout { display: grid; grid-template-columns: 320px 1fr; gap: 30px; padding-top: 22px; padding-bottom: 46px; align-items: start; }

/* fact card = spec slate */
.spec-slate { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); position: sticky; top: 16px; }
.slate-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2);
}
.slate-head .slate-title { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.spec-list { display: flex; flex-direction: column; }
.spec-row { display: flex; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt {
  flex: 0 0 42%; padding: 10px 14px; color: var(--muted); border-right: 1px solid var(--line);
  font-size: 12px; letter-spacing: .4px; text-transform: uppercase;
}
.spec-row dd { flex: 1; padding: 10px 14px; }
.spec-row dd ul { list-style: none; }
.spec-row dd li { padding: 1px 0; }

/* exposure log (prose) */
.exposure-log { background: var(--panel); border: 1px solid var(--line); padding: 26px 30px; }
.exposure-log .sec { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.exposure-log .sec:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.exposure-log h2 { font-size: 19px; margin-bottom: 12px; display: flex; align-items: baseline; gap: 12px; }
.sec-num {
  font-family: "SFMono-Regular", Consolas, monospace; color: var(--accent); font-size: 13px;
  border: 1px solid var(--accent-dim); padding: 1px 8px; flex: 0 0 auto;
}
.exposure-log p { margin-bottom: 12px; color: #cfccc4; }
.exposure-log p:last-child { margin-bottom: 0; }

/* reel (related) */
.reel-list { list-style: none; }
.reel-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.reel-list li:last-child { border-bottom: 0; }
.reel-list li a { font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: var(--panel); border-top: 3px solid var(--accent); margin-top: 24px; padding: 34px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.footer-brand { flex: 1 1 320px; }
.footer-brand .brand-name { font-size: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 420px; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: var(--ink); font-size: 14px; }
.copyright { flex: 1 1 100%; font-size: 12px; color: var(--muted); margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- legal prose (reuses exposure-log wrapper) ---------- */
.legal-doc { background: var(--panel); border: 1px solid var(--line); padding: 28px 32px; }
.legal-doc h2 { font-size: 18px; margin: 22px 0 10px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { margin-bottom: 12px; color: #cfccc4; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .contact-sheet { grid-template-columns: repeat(2, 1fr); }
  .genre-tabs { grid-template-columns: repeat(2, 1fr); }
  .shoot-layout { grid-template-columns: 1fr; }
  .spec-slate { position: static; }
  .viewport h1 { font-size: 31px; }
}
@media (max-width: 560px) {
  .contact-sheet, .genre-tabs { grid-template-columns: 1fr; }
  .meter-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav-rail { gap: 16px; flex-wrap: wrap; }
  .viewport h1 { font-size: 26px; }
  .exposure-log { padding: 20px; }
}
