/* Proof Strip — Contact Sheet Editorial (darkroom contact sheet) */

:root {
  color-scheme: light;

  --emulsion: #E8E2D6;
  --emulsion-2: #F3EEE4;
  --emulsion-3: #D9D2C4;
  --matte: #121416;
  --ink: #1A1C1F;
  --ink-2: #3A3E45;
  --ink-3: #6A7078;
  --halide: #A8ADB4;
  --rule: #B8B3A8;
  --safelight: #C47A2A;
  --safelight-deep: #8F5418;
  --fixer: #4A5A66;
  --chrome: #E8EAED;

  --display: "League Spartan", "Segoe UI", sans-serif;
  --body: "Cormorant Garamond", Georgia, serif;
  --mono: "League Spartan", ui-sans-serif, sans-serif;

  --shell: min(72rem, calc(100% - 2.5rem));
  --radius: 0;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.175rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(196, 122, 42, 0.08), transparent 55%),
    linear-gradient(180deg, var(--emulsion-2), var(--emulsion));
  min-height: 100vh;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--safelight-deep);
  text-underline-offset: 0.18em;
}
a:hover { color: var(--matte); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--matte);
  color: var(--chrome);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.mast {
  border-bottom: 1px solid var(--rule);
  background: rgba(243, 238, 228, 0.92);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.mast__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--matte);
}

.wordmark__mark {
  width: 1.55rem;
  height: 1.1rem;
  background:
    linear-gradient(90deg, var(--matte) 0 12%, transparent 12% 18%, var(--matte) 18% 30%, transparent 30% 36%, var(--matte) 36% 48%, transparent 48% 54%, var(--matte) 54% 66%, transparent 66% 72%, var(--matte) 72% 84%, transparent 84% 90%, var(--matte) 90% 100%),
    var(--halide);
  border: 1px solid var(--matte);
  box-shadow: inset 0 0 0 1px var(--emulsion-2);
}

.nav {
  display: flex;
  gap: 1.1rem;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav a {
  text-decoration: none;
  color: var(--ink-2);
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--safelight-deep); }

/* Hero = contact sheet strip */
.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 11px,
      rgba(18, 20, 22, 0.06) 11px 12px
    ),
    linear-gradient(180deg, #1a1c1f 0%, #2a2e33 100%);
  color: var(--chrome);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.1rem;
  background:
    repeating-linear-gradient(
      180deg,
      var(--matte) 0 10px,
      transparent 10px 18px
    );
  opacity: 0.85;
}
.hero::before { left: 0; }
.hero::after { right: 0; }

.hero__sheet {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.45rem;
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.hero__frame {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #3a3f46, #1e2227);
  border: 1px solid rgba(232, 234, 237, 0.25);
  position: relative;
  animation: densify 1.2s ease both;
}
.hero__frame:nth-child(2) { animation-delay: 0.05s; }
.hero__frame:nth-child(3) { animation-delay: 0.1s; }
.hero__frame:nth-child(4) { animation-delay: 0.15s; }
.hero__frame:nth-child(5) { animation-delay: 0.2s; }
.hero__frame:nth-child(6) { animation-delay: 0.25s; }

.hero__frame span {
  position: absolute;
  left: 0.25rem;
  bottom: 0.15rem;
  font-family: var(--display);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: rgba(232, 234, 237, 0.55);
}

.hero__brand {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  color: #fff;
}

.hero h1 {
  margin: 0;
  max-width: 38rem;
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.35;
  color: rgba(232, 234, 237, 0.92);
}

.hero__stand {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  color: rgba(232, 234, 237, 0.72);
  font-size: 1.15rem;
}

.hero__stamp {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--safelight);
  color: var(--safelight);
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes densify {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__frame { animation: none; }
}

.panel {
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.panel--sheet {
  background:
    linear-gradient(90deg, rgba(18, 20, 22, 0.03), transparent 8%),
    var(--emulsion-3);
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--safelight-deep);
}

h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: 0.02em;
  color: var(--matte);
}

.lede {
  display: grid;
  gap: 0.85rem;
  max-width: 42rem;
}
.lede p { margin: 0; color: var(--ink-2); }

.library {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--matte);
}

.entry {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.entry__id {
  margin: 0;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fixer);
  padding-top: 0.35rem;
}

.entry h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.entry h3 a {
  text-decoration: none;
  color: var(--matte);
}
.entry h3 a:hover { color: var(--safelight-deep); }
.entry p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }

.standards,
.not-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  max-width: 44rem;
}
.standards li,
.not-list li {
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border-left: 3px solid var(--safelight);
  background: rgba(255, 255, 255, 0.35);
}

.faq {
  display: grid;
  gap: 0.55rem;
  max-width: 44rem;
}
.faq details {
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.4);
  padding: 0.75rem 1rem;
}
.faq summary {
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--matte);
}
.faq details p {
  margin: 0.65rem 0 0.15rem;
  color: var(--ink-2);
}

.support-block {
  max-width: 40rem;
  padding: 1.1rem 1.2rem;
  border: 1px dashed var(--fixer);
  background: rgba(196, 122, 42, 0.08);
}

.article__head {
  padding: 2.5rem 0 0.5rem;
  border-bottom: 1px solid var(--rule);
  background: linear-gradient(180deg, #1f2328, #2c3138);
  color: var(--chrome);
}
.article__head .eyebrow { color: var(--safelight); }
.article__head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #fff;
}
.article__meta {
  margin: 0.85rem 0 1.4rem;
  color: rgba(232, 234, 237, 0.7);
  font-size: 1rem;
}

.prose {
  max-width: 42rem;
}
.prose h2 {
  margin-top: 2rem;
}
.prose p,
.prose li {
  color: var(--ink-2);
}
.prose ul {
  padding-left: 1.2rem;
}

.backlink {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--safelight-deep);
}

.colophon {
  padding: 1.75rem 0 2.5rem;
  background: var(--matte);
  color: rgba(232, 234, 237, 0.75);
}
.colophon__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  margin-bottom: 0.85rem;
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.colophon a {
  color: rgba(232, 234, 237, 0.8);
  text-decoration: none;
}
.colophon a:hover { color: var(--safelight); }
.colophon__note {
  margin: 0;
  font-size: 0.95rem;
}

.page-404 {
  padding: 4rem 0;
  text-align: center;
}
.page-404 h1 {
  font-family: var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

:focus-visible {
  outline: 2px solid var(--safelight);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .entry {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .hero__sheet {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
  .nav { gap: 0.75rem; }
}
