/* Nyra landing page: "Nightfall" direction (see Nyra Site Mockups artifact, board 1). */
:root {
  --nf-ground: #0b0b0a;
  --nf-deep: #050505;
  --nf-rule: #2b2a27;
  --nf-bone: #dcd7cb;
  --nf-bright: #f1ede3;
  --nf-body: #c9c4b8;
  --nf-soft: #b9b4a8;
  --nf-mute: #a39e92;
  --nf-edge: #8c877c;
  --nf-accent: #8e1f17;
  --nf-accent-text: #e0705c;
  --nf-on-accent: #f6f2e9;
  --nf-display: 'Big Shoulders Display', Impact, 'Arial Narrow Bold', sans-serif;
  --nf-serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --nf-gutter: 6%;
  --nf-max: 80rem;
}

.front-page {
  background: var(--nf-ground);
  color: var(--nf-bone);
  font-family: var(--nf-serif);
  font-size: 1.125rem;
  line-height: 1.6;
}

.front-page a { color: var(--nf-bone); text-decoration: none; }
.front-page a:hover { color: #fff; }
.front-page a:focus-visible {
  outline: 3px solid var(--nf-accent-text);
  outline-offset: 4px;
}

/* Shared type roles */
.landing-eyebrow,
.iron-links,
.iron-cta,
.landing-button,
.rules-strip li,
.dossier-mark,
.wound-scale li::before {
  font-family: var(--nf-display);
  text-transform: uppercase;
}
.landing-eyebrow {
  margin: 0 0 1rem;
  color: var(--nf-mute);
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: .22em;
  line-height: 1.25;
}
.landing-section h1,
.landing-section h2,
.landing-section h3,
.landing-hero h1 {
  font-family: var(--nf-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--nf-bright);
}

/* Hero */
.landing-hero {
  display: flex;
  flex-direction: column;
  min-height: 50rem;
  padding: 1.75rem var(--nf-gutter) 0;
  box-sizing: border-box;
  background-color: var(--nf-ground);
  background-image:
    linear-gradient(180deg, rgba(11, 11, 10, .82) 0%, rgba(11, 11, 10, .12) 28%, rgba(11, 11, 10, .5) 62%, var(--nf-ground) 100%),
    url('../assets/landing/nightfall-hero.jpg');
  background-size: cover;
  background-position: center 30%;
}

.iron-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.iron-brand { display: inline-flex; align-items: center; min-height: 44px; }
.iron-brand img { display: block; height: 34px; width: auto; }
.iron-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 2.25rem;
  margin-left: auto;
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: .14em;
}
.iron-links a { display: inline-flex; align-items: center; min-height: 44px; }

.iron-cta,
.landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 0;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.iron-cta {
  padding: 0 1.25rem;
  border: 1px solid var(--nf-bone);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: .14em;
}
.iron-cta:hover { background: var(--nf-bone); color: var(--nf-ground) !important; }

.hero-field-report {
  display: flex;
  flex: 1;
  align-items: flex-end;
  padding: 6rem 0 4.5rem;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; max-width: 37.5rem; }
.hero-copy .landing-eyebrow { margin: 0; }
.hero-logo { display: block; width: 27.5rem; max-width: 80%; height: auto; }
.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 3.5rem);
  line-height: 1;
  letter-spacing: .02em;
}
.hero-lede { margin: 0; color: var(--nf-body); font-size: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }

.landing-button {
  padding: 0 1.9rem;
  min-height: 54px;
  border: 1px solid var(--nf-edge);
  font-weight: 800;
  font-size: 1.19rem;
  letter-spacing: .12em;
}
.landing-button.primary { background: var(--nf-accent); border-color: var(--nf-accent); color: var(--nf-on-accent); }
.landing-button.primary:hover { background: #a8281e; color: var(--nf-on-accent); }
.landing-button.secondary { background: transparent; }
.landing-button.secondary:hover { border-color: var(--nf-bone); background: rgba(220, 215, 203, .08); }

.rules-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 calc(var(--nf-gutter) * -1);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--nf-rule);
  background: rgba(5, 5, 5, .86);
}
.rules-strip li {
  display: grid;
  place-items: center;
  min-height: 3.5rem;
  border-right: 1px solid var(--nf-rule);
  color: var(--nf-mute);
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: .22em;
}
.rules-strip li:last-child { border-right: 0; }
.rules-strip li:nth-child(2) { color: var(--nf-bone); }
.rules-strip li:nth-child(3) { color: var(--nf-accent-text); }

/* Page rhythm */
.landing-main { display: block; }
.landing-section,
.eye-band {
  box-sizing: border-box;
  max-width: var(--nf-max);
  margin: 0 auto;
  padding: 7rem var(--nf-gutter);
}
.landing-section h2,
.tool-ledger h2 {
  max-width: 18ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.2vw, 2.875rem);
  line-height: 1.02;
  letter-spacing: .01em;
}
.landing-section h3 {
  margin: 0 0 .75rem;
  font-size: 1.875rem;
  line-height: 1.1;
  letter-spacing: .04em;
}
.landing-section p,
.tool-ledger li { margin: 0 0 1.25rem; color: var(--nf-body); font-size: 1.25rem; }
.landing-section p:last-child { margin-bottom: 0; }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2.5rem 5rem;
  align-items: start;
}
.reverse-split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.reverse-split > :first-child { order: 2; }

.world-statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2.5rem 5rem; align-items: start; }
.world-statement > div { display: contents; }
.world-statement .landing-eyebrow { grid-column: 1; }
.world-statement h2 { grid-column: 1; }
.world-statement .copy-columns { grid-column: 2; grid-row: 1 / span 2; }
.copy-columns { display: grid; gap: 1.25rem; }
.copy-columns p { margin: 0; }

.section-kicker { max-width: 52rem; margin-bottom: 2.5rem; }

/* Quote band over the eye artwork */
.eye-band {
  display: flex;
  align-items: center;
  max-width: none;
  min-height: 25rem;
  padding: 5rem var(--nf-gutter);
  background-color: var(--nf-ground);
  background-image:
    linear-gradient(90deg, var(--nf-ground) 0%, rgba(11, 11, 10, .35) 45%, rgba(11, 11, 10, .2) 100%),
    url('../assets/landing/nightfall-eye.jpg');
  background-size: cover;
  background-position: center;
}
.proclamation { max-width: 36rem; margin: 0; }
.proclamation p {
  margin: 0 0 1.25rem;
  color: var(--nf-bright);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.35;
}
.proclamation footer {
  padding: 0;
  border: 0;
  color: var(--nf-mute);
  font-family: var(--nf-display);
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* Flat ruled panels (replaces the old beveled dossier cards) */
.feature-grid,
.combat-grid,
.magic-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--nf-rule);
  background: var(--nf-rule);
}
.dossier,
.combat-grid > div,
.magic-ledger article,
.wound-scale li,
.tool-ledger {
  position: relative;
  box-sizing: border-box;
  margin: 0;
  padding: 2.5rem 2.25rem 3rem;
  background: var(--nf-ground);
}
.dossier { display: flex; flex-direction: column; gap: .25rem; }
.dossier .landing-eyebrow { margin-bottom: .5rem; }
.dossier p { font-size: 1.125rem; color: var(--nf-soft); }
.dossier small {
  margin-top: auto;
  padding-top: .75rem;
  color: var(--nf-accent-text);
  font-family: var(--nf-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dossier-mark {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--nf-edge);
  color: var(--nf-bone);
  font-weight: 800;
  font-size: 1.25rem;
}

/* Combat */
.combat-band { border-top: 1px solid var(--nf-rule); }
.wound-scale {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 1px;
  margin: 0 0 1px;
  padding: 0;
  list-style: none;
  counter-reset: wounds;
  border: 1px solid var(--nf-rule);
  border-bottom: 0;
  background: var(--nf-rule);
}
.wound-scale li { display: grid; align-content: center; gap: .3rem; counter-increment: wounds; padding: 1.5rem 2.25rem; }
.wound-scale li::before {
  content: '0' counter(wounds);
  color: var(--nf-mute);
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: .22em;
}
.wound-scale strong {
  color: var(--nf-bright);
  font-family: var(--nf-display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wound-scale span { color: var(--nf-soft); }
.wound-scale li:nth-child(3)::before { color: var(--nf-accent-text); }
.wound-scale li:nth-child(4) { background: linear-gradient(90deg, rgba(142, 31, 23, .38), var(--nf-ground) 70%); }
.wound-scale li:nth-child(4)::before { color: var(--nf-accent-text); }
.combat-grid { border-top-color: var(--nf-rule); }
.combat-grid p { color: var(--nf-soft); font-size: 1.125rem; }

/* Magic */
.magic-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 2.5rem 5rem;
  align-items: center;
}
.magic-band h2 { max-width: 20ch; }
.magic-ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.magic-ledger p { color: var(--nf-soft); font-size: 1.125rem; }

/* Agency / tools */
.agency-section { align-items: center; }
.tool-ledger { border: 1px solid var(--nf-rule); }
.tool-ledger ul { margin: 0; padding-left: 1.2rem; }
.tool-ledger li { font-size: 1.125rem; color: var(--nf-soft); }
.tool-ledger li + li { margin-top: .9rem; }
.tool-ledger li::marker { color: var(--nf-accent-text); }
.tool-ledger strong { color: var(--nf-bone); }
.agency-section .landing-button { margin-top: .5rem; }
.cta-proof {
  margin-top: 1rem !important;
  color: var(--nf-mute) !important;
  font-family: var(--nf-display);
  font-weight: 600 !important;
  font-size: .94rem !important;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* Closing oath */
.closing-oath {
  max-width: none;
  border-top: 1px solid var(--nf-rule);
  background: linear-gradient(180deg, rgba(142, 31, 23, .22), var(--nf-ground) 80%);
  text-align: center;
}
.closing-oath h2 { max-width: 22ch; margin-inline: auto; }
.closing-oath .landing-button { margin-top: 1.25rem; }

/* Footer */
.landing-footer {
  padding: 3.5rem var(--nf-gutter);
  background: var(--nf-deep);
  border-top: 1px solid var(--nf-rule);
  color: var(--nf-mute);
  font-size: 1rem;
}
.landing-footer strong { color: var(--nf-bone); }
.landing-footer a {
  color: var(--nf-accent-text);
  text-decoration: underline;
  text-underline-offset: .2rem;
}
.landing-footer a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .iron-cta,
  .landing-button { transition: none; }
}

@media (max-width: 900px) {
  .landing-section,
  .eye-band { padding-block: 4.5rem; }
  .split-section,
  .reverse-split,
  .world-statement,
  .magic-band,
  .feature-grid,
  .combat-grid,
  .magic-ledger { grid-template-columns: 1fr; }
  .reverse-split > :first-child { order: 0; }
  .world-statement > div { display: block; }
  .world-statement .copy-columns { margin-top: 1.5rem; }
  .iron-links { margin-left: 0; gap: .25rem 1.5rem; }
  .hero-field-report { padding: 4rem 0 3rem; }
  .rules-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules-strip li:nth-child(2) { border-right: 0; }
  .rules-strip li:nth-child(-n+2) { border-bottom: 1px solid var(--nf-rule); }
}

@media (max-width: 420px) {
  .landing-hero { padding-inline: 1rem; }
  .hero-actions { display: grid; }
  .landing-button { width: 100%; }
  .dossier,
  .combat-grid > div,
  .magic-ledger article,
  .tool-ledger { padding: 1.75rem 1.25rem 2rem; }
  .wound-scale li { padding: 1.25rem; }
}
