/* IRONMORROW Brotherhood — site styles. No build step required. */

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cinzel-600.woff2") format("woff2");
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cinzel-700.woff2") format("woff2");
}
@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/cinzel-800.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-700.woff2") format("woff2");
}

:root {
  --bg: #111316;
  --bg-deep: #0c0d0f;
  --bg-elevated: #17191c;
  --bg-card: #1b1e22;
  --border: #34383d;
  --gold: #d4af37;
  --gold-soft: #b6a16b;
  --gold-deep: #b89245;
  --gold-line: #75612e;
  --ink: #e5e6e8;
  --muted: #adb0b5;
  --faint: #777b80;
  --white: #ffffff;
  --on-gold: #17191c;
  --crisis-bg: #30291b;
  --crisis-border: #65522c;
  --crisis-text: #ffcc66;
  --highlight-bg: #29261e;
  --placeholder-bg: #3a2a12;
  --radius: 16px;
  --header-h: 4.25rem;
  --serif: "Cinzel", Palatino, "Palatino Linotype", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #e8c65a;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(760px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(17, 19, 22, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
  text-decoration: none;
  min-width: 0;
}

.brand-link:hover {
  color: var(--gold);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 22%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.28);
}

.brand-word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  line-height: 1;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--gold);
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  transition: background 0.15s, box-shadow 0.15s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
  box-shadow: none;
  position: relative;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before,
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: rotate(-45deg); }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

@media (max-width: 839px) {
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #141619;
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1rem 1.1rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    display: flex;
    flex-direction: column;
  }
  .site-nav a {
    display: block;
    padding: 0.8rem 0.4rem;
    border-bottom: 1px solid var(--border);
  }
}

@media (min-width: 840px) {
  .nav-toggle { display: none; }
  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 1.4rem;
  }
  .brand-mark { width: 44px; height: 44px; }
  .brand-word { font-size: 0.88rem; letter-spacing: 0.32em; }
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  padding: 2.5rem 0 3.25rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg-deep);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 13, 15, 0.28) 0%, rgba(12, 13, 15, 0.42) 38%, rgba(12, 13, 15, 0.92) 100%),
    linear-gradient(90deg, rgba(12, 13, 15, 0.82) 0%, rgba(12, 13, 15, 0.45) 48%, rgba(12, 13, 15, 0.2) 100%);
}

.hero-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero-copy {
  max-width: 38rem;
}

.hero-logo {
  width: 72px;
  height: 72px;
  border-radius: 22%;
  margin-bottom: 1.15rem;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), var(--shadow);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(1.7rem, 5vw, 2.55rem);
  letter-spacing: 0.28em;
  color: var(--gold);
  line-height: 1.15;
}

.hero-brand span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.42em;
  letter-spacing: 0.42em;
  font-weight: 700;
  color: var(--gold-soft);
}

.tagline {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.45rem, 4.2vw, 2.35rem);
  line-height: 1.25;
  color: var(--white);
}

.subline {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-style: italic;
}

.gold-rule {
  width: 45px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  margin: 0 0 1.25rem;
}

/* Hero coming-soon CTA */
.hero-cta {
  background: rgba(27, 30, 34, 0.88);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.25rem;
  box-shadow: var(--shadow);
  max-width: 28.5rem;
}

.hero-soon {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  line-height: 1.3;
  color: var(--white);
}

.hero-cta .badge-row {
  justify-content: flex-start;
  margin-top: 1rem;
}

.hero-questions {
  margin: 1.05rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-questions a {
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.hero-questions a:hover {
  color: #e8c65a;
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: var(--on-gold);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: #e0bb45;
  color: var(--on-gold);
}

.btn-block { width: 100%; }

@media (min-width: 900px) {
  .hero {
    align-items: center;
    padding: 3.5rem 0 4rem;
  }
  .hero-media img { object-position: center 40%; }
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(12, 13, 15, 0.88) 0%, rgba(12, 13, 15, 0.62) 38%, rgba(12, 13, 15, 0.15) 68%, rgba(12, 13, 15, 0.28) 100%),
      linear-gradient(180deg, rgba(12, 13, 15, 0.18) 0%, rgba(12, 13, 15, 0.08) 50%, rgba(12, 13, 15, 0.55) 100%);
  }
  .hero-logo { width: 88px; height: 88px; }
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 40rem;
}

.section-intro {
  margin-bottom: 2rem;
}

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
  }
}

.about-aside {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem 1.4rem;
}

.about-aside p {
  margin: 0;
  color: var(--ink);
}

.about-aside .quote {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--gold);
  margin-bottom: 1rem;
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Feature cards */
.feature-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(6, 1fr); }
  .feature-grid article { grid-column: span 2; }
  .feature-grid article:nth-child(4) { grid-column: 2 / span 2; }
  .feature-grid article:nth-child(5) { grid-column: 4 / span 2; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.35rem 1.3rem 1.4rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--white);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Safety */
.safety-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .safety-grid { grid-template-columns: repeat(3, 1fr); }
}

.safety-grid h3 {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.08rem;
}

/* Stores */
.stores {
  text-align: center;
}

.stores .lead {
  margin-inline: auto;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.store-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 11.5rem;
  padding: 0.85rem 1.3rem;
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  background: #121417;
  color: var(--white);
  text-align: left;
  text-decoration: none;
}

.store-badge .soon {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
}

.store-badge .store-name {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

/* Crisis */
.crisis {
  padding: 0 0 4.25rem;
}

.crisis-box {
  background: var(--crisis-bg);
  border: 1px solid var(--crisis-border);
  border-radius: 16px;
  padding: 1.2rem 1.25rem;
  color: var(--crisis-text);
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.crisis-box a {
  color: var(--crisis-text);
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 2.4rem 0 calc(2.2rem + env(safe-area-inset-bottom, 0px));
  color: var(--faint);
  font-size: 0.92rem;
}

.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-brand {
  font-family: var(--serif);
  letter-spacing: 0.28em;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
}

.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

.footer-copy { margin: 0; }

@media (min-width: 800px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Inner pages */
.page-main h2 {
  font-family: var(--serif);
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0 0 0.7rem;
}
.page-main h3 {
  font-family: var(--serif);
  color: var(--white);
  font-weight: 700;
  font-size: 1.12rem;
  margin: 1.45rem 0 0.5rem;
}


.page-main {
  padding: 2.5rem 0 4rem;
}

.page-hero {
  margin-bottom: 2rem;
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  line-height: 1.15;
}

.draft-banner {
  background: var(--crisis-bg);
  border: 1px solid var(--crisis-border);
  color: var(--crisis-text);
  border-radius: 12px;
  padding: 0.95rem 1.05rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  margin: 0 0 1.6rem;
}

.doc-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1.8rem;
}

.doc-meta p { margin: 0.2rem 0; }

.legal h1,
.legal h2,
.legal h3 {
  font-family: var(--serif);
  color: var(--white);
  line-height: 1.25;
}

.legal h2 {
  margin: 2.1rem 0 0.7rem;
  font-size: 1.35rem;
}

.legal h3 {
  margin: 1.3rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal p,
.legal li {
  color: var(--ink);
}

.legal ul,
.legal ol {
  padding-left: 1.2rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  font-size: 0.92rem;
  display: block;
  overflow-x: auto;
}

.legal th,
.legal td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  min-width: 10rem;
}

.legal th {
  background: var(--bg-card);
  color: var(--gold-soft);
  font-weight: 700;
}

.legal td { color: var(--ink); }

mark.placeholder {
  background: var(--placeholder-bg);
  color: #f0d9a0;
  padding: 0.05em 0.25em;
  border-radius: 4px;
  font-weight: 600;
}

/* Support */
.faq {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 2.2rem;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.2rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--white);
  padding: 0.9rem 0;
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.steps {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}

.steps li { margin: 0.35rem 0; }

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.3rem 1.3rem 1.4rem;
  margin-bottom: 2.2rem;
}

.contact-card h3 { margin-top: 0; }
.contact-card p { margin: 0.35rem 0; }
