:root {
  --bg: #0e0b0b;
  --panel: #171212;
  --line: #2a2020;
  --text: #ece4e1;
  --muted: #a8998f;
  --safelight: #d6332b;
  --safelight-soft: rgba(214, 51, 43, 0.14);
  --paper: #f3ede4;
  --max: 760px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration-color: var(--safelight); text-underline-offset: 3px; }
a:hover { color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap;
}
.brand {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600; letter-spacing: 0.02em; text-decoration: none; font-size: 18px;
}
.brand span { color: var(--safelight); }
nav a { margin-left: 18px; text-decoration: none; color: var(--muted); font-size: 15px; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

main { padding: 56px 0 72px; }

h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; line-height: 1.2; }
h1 { font-size: clamp(32px, 6vw, 48px); margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 24px; margin: 44px 0 12px; }
h3 { font-size: 18px; margin: 28px 0 8px; }
p, li { color: var(--text); }
.lede { font-size: 20px; color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px;
  color: var(--safelight); font-weight: 600; margin-bottom: 12px;
}

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; margin-top: 28px;
}
.card h2, .card h3 { margin-top: 0; }

.btn {
  display: inline-block; background: var(--safelight); color: #fff; text-decoration: none;
  padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
}
.btn:hover { background: #e8443b; color: #fff; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }

/* Darkroom hero: photos hanging on a line under a red safelight */
.darkroom {
  position: relative; border-radius: 16px; overflow: hidden; margin-top: 36px;
  background: radial-gradient(ellipse at 50% -20%, rgba(214,51,43,0.45), transparent 60%), #120c0c;
  border: 1px solid var(--line); padding: 40px 16px 32px;
}
.darkroom .wire { position: absolute; left: 0; right: 0; top: 46px; height: 1px; background: #5a4440; }
.prints { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; }
.print {
  width: 96px; background: var(--paper); padding: 6px 6px 18px; border-radius: 2px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.5); position: relative; text-align: center;
  color: #3a2f2a; font-size: 12px; font-weight: 600;
}
.print::before {
  content: ""; position: absolute; top: -10px; left: 50%; width: 10px; height: 16px;
  margin-left: -5px; background: #8a7a70; border-radius: 2px;
}
.print .img { height: 72px; border-radius: 1px; margin-bottom: 6px; }
.print:nth-child(1) { transform: rotate(-4deg); }
.print:nth-child(2) { transform: rotate(3deg); }
.print:nth-child(3) { transform: rotate(-2deg); }
.print:nth-child(4) { transform: rotate(4deg); }
.i1 { background: linear-gradient(160deg, #6d4c3d, #b98b6a); }
.i2 { background: linear-gradient(160deg, #3f5a63, #9bb3ad); }
.i3 { background: linear-gradient(160deg, #5c5148, #c9b48f); }
.i4 { background: linear-gradient(160deg, #4a3b52, #c48a7c); }

ul.steps { padding-left: 20px; }
ul.steps li { margin-bottom: 8px; }

.placeholder {
  background: var(--safelight-soft); border: 1px dashed var(--safelight);
  border-radius: 4px; padding: 0 4px; color: #ffb3ad;
}

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer.site a { color: var(--muted); margin-right: 16px; text-decoration: none; }
footer.site a:hover { color: var(--text); }
footer.site p { color: var(--muted); margin: 6px 0; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  main { padding: 36px 0 56px; }
  nav a { margin-left: 12px; font-size: 14px; }
  .print { width: 74px; }
  .print .img { height: 56px; }
}
