/* Forge and Boom — marketing-site shared styles.
   Used by /, /about, /contact, /eula, /privacy.
   The app at /design-mortar-rack has its own stylesheet (main.css). */

:root {
  --bg: #0F1117;
  --surface: #1A1D27;
  --text: #E8E6E0;
  --muted: #9B9A95;
  --red: #B22234;
  --blue: #3C3B6E;
  --cream: #F4EEDB;
  --gold: #C9A227;
  --spark: #E25822;
  --maxw: 1200px;

  /* Type stacks. Anton does the heavy lifting (display, headings, UI labels);
     Inter keeps body copy legible; Zilla Slab is the slab-serif accent for
     stat numerals. */
  --font-display: Anton, Impact, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-slab: "Zilla Slab", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Type primitives */
.stencil {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: .95;
}
.slab { font-family: var(--font-slab); font-weight: 700; }
.eyebrow {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--red);
  display: inline-block;
}

/* Nav */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 10; padding: 18px 0; }
.nav .wrap { max-width: 100%; padding: 0 16px; }
.nav.solid { position: static; background: var(--bg); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  height: 88px;
  width: auto;
  filter: drop-shadow(0 3px 9px rgba(0,0,0,1)) drop-shadow(0 0 18px rgba(0,0,0,0.75));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 14px;
}
.nav-links a { opacity: .85; }
.nav-links a:hover { opacity: 1; color: var(--cream); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--cream);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .bar,
.nav-toggle .bar::before,
.nav-toggle .bar::after {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .15s ease;
}
.nav-toggle .bar { position: relative; }
.nav-toggle .bar::before,
.nav-toggle .bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bar::before { top: -7px; }
.nav-toggle .bar::after  { top:  7px; }
.nav.open .nav-toggle .bar { background: transparent; }
.nav.open .nav-toggle .bar::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle .bar::after  { top: 0; transform: rotate(-45deg); }
.nav-links a.active { color: var(--cream); opacity: 1; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 15px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--red); color: var(--cream); }
.btn-primary:hover { box-shadow: inset 0 -3px 0 rgba(0,0,0,.35); }
.btn-ghost { background: transparent; color: var(--cream); border: 1.5px solid var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--bg); }
.btn-gold { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-gold:hover { background: var(--gold); color: var(--bg); }
.btn .arrow { display: inline-block; transform: translateY(-1px); }

/* Hero — column layout at all widths. Hero box locked to a 16:9 aspect
   floor of the viewport width; video pinned at the top full-width at its
   own native aspect (no side cropping); hero-inner text block pushed down
   ~75% into the video so it overlaps the lower portion and extends below.
   Hero is free to grow taller than 16:9 if the text needs more room. */
.hero {
  position: relative;
  display: block;
  padding: 0 0 40px;
  background: #000;
  min-height: calc(100vw * 9 / 16);
  max-height: none;
  overflow: visible;
}
.hero video, .hero .poster {
  position: absolute;
  top: 0; left: 0;
  transform: none;
  width: 100%;
  height: auto;
  max-width: none;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(15,17,23,0), var(--bg));
  z-index: 2;
  pointer-events: none;
}
.hero::after { display: none; }
.hero .wrap { position: relative; z-index: 3; width: 100%; max-width: 1600px; }
.hero-inner {
  /* Column-layout hero: text block sits below the video (which is pinned
     to the top of the hero at full viewport width). padding-top pushes
     the copy down to ~75% of the video height so it overlaps the lower
     portion of the scene before extending past it. */
  position: relative;
  z-index: 3;
  width: 90%;
  margin: 0 auto;
  padding-top: calc(100vw * 576 / 1280 * 0.75);
}
.hero h1 {
  font-size: clamp(32px, 3.4vw, 52px);
  margin: 12px 0 14px;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.12;
}
.hero h1 .dot { color: var(--red); }
.hero h1 .h1-icon {
  display: inline-block;
  height: .9em;
  width: auto;
  vertical-align: -0.12em;
  margin: 0 .05em;
}
.hero .txt-bg {
  display: inline;
  background: rgba(0,0,0,0.7);
  padding: 0 8px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  border-radius: 2px;
}
.hero p.sub {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--cream);
  opacity: .92;
  margin-bottom: 18px;
}
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .ctas .btn { padding: 12px 18px; font-size: 13px; }
.hero .trust { margin-top: 18px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* Sections */
section { padding: 10px 0 100px; position: relative; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head h2 { font-size: clamp(34px, 4.2vw, 56px); color: var(--text); margin-top: 14px; }

/* 3-up features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 6px;
  padding: 32px;
}
.feature .ico {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(178,34,52,.12);
  color: var(--red);
  border-radius: 4px;
  margin-bottom: 18px;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.feature p { color: var(--muted); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 6px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}
.step .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  color: var(--red);
  line-height: 1;
}
.step .shot {
  flex: 1;
  background: #0a0c12;
  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.step p { font-size: 14px; color: var(--text); }

/* Show the work */
.showwork {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.04);
  padding: 48px;
  border-radius: 6px;
}
.showwork .visual {
  aspect-ratio: 4/3;
  background: #0a0c12;
  border: 1px dashed rgba(255,255,255,.08);
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.showwork ul { list-style: none; margin-top: 18px; display: grid; gap: 12px; }
.showwork li { display: flex; gap: 12px; color: var(--text); }
.showwork li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--red);
  margin-top: 9px;
  flex: 0 0 auto;
}
.spec { margin-top: 24px; display: flex; gap: 32px; flex-wrap: wrap; }
.spec .num {
  font-family: var(--font-slab);
  font-weight: 700;
  color: var(--cream);
  font-size: 28px;
  line-height: 1;
}
.spec .lbl {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.price {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.price.gold { border-color: rgba(201,162,39,.45); }
.price .tier {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 13px;
}
.price .amt {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  color: var(--cream);
}
.price.gold .amt { color: var(--gold); }
.price ul { list-style: none; display: grid; gap: 10px; color: var(--text); }
.price li::before { content: "+ "; color: var(--red); font-weight: 700; }
.price.gold li::before { color: var(--gold); }
.price .foot { margin-top: auto; font-size: 12px; color: var(--muted); }

/* Footer CTA strip */
.ctastrip { background: var(--blue); padding: 64px 0; text-align: center; }
.ctastrip .line {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: .06em;
  color: var(--cream);
  margin-bottom: 24px;
  text-transform: uppercase;
}

/* Footer */
footer { padding: 54px 0 40px; color: var(--muted); font-size: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-brand img { height: 58px; margin-bottom: 10px; }
.foot-links { display: flex; gap: 36px; flex-wrap: wrap; }
.foot-col h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  font-size: 13px;
  margin-bottom: 10px;
}
.foot-col a { display: block; padding: 4px 0; }
.foot-col a:hover { color: var(--cream); }
.foot-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .06em;
}

/* Riveted divider */
.rivet { display: flex; align-items: center; gap: 10px; margin: 0 auto; max-width: 240px; opacity: .5; }
.rivet .bar { flex: 1; height: 2px; background: linear-gradient(to right, transparent, #555, transparent); }
.rivet .dot { width: 6px; height: 6px; border-radius: 50%; background: #777; box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }

/* Long-form pages (about, eula, privacy) */
.page-head { padding: 140px 0 40px; }
.page-head h1 {
  font-size: clamp(40px, 5vw, 68px);
  color: var(--cream);
  margin-top: 14px;
}
.page-head .meta {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
}

.longform { padding-bottom: 100px; }
.longform .layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.longform .toc {
  position: sticky;
  top: 24px;
  font-size: 13px;
  line-height: 1.5;
}
.longform .toc h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  font-size: 12px;
  margin-bottom: 12px;
}
.longform .toc a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-left: -12px;
}
.longform .toc a:hover { color: var(--cream); border-left-color: var(--red); }
.longform .body { max-width: 70ch; }
.longform .body h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 48px 0 16px;
  scroll-margin-top: 24px;
}
.longform .body h3 {
  font-family: var(--font-slab);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  margin: 28px 0 10px;
}
.longform .body p { margin: 0 0 16px; color: var(--text); }
.longform .body ul, .longform .body ol { margin: 0 0 16px 22px; }
.longform .body li { margin-bottom: 8px; }
.longform .body li::marker { color: var(--red); }
.longform .body strong { color: var(--cream); }
.longform .body a { color: var(--cream); text-decoration: underline; text-decoration-color: rgba(178,34,52,.6); text-underline-offset: 3px; }
.longform .body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--surface);
  border-left: 3px solid var(--red);
  border-radius: 0 4px 4px 0;
  color: var(--text);
  font-size: 15px;
}
.longform .body blockquote p:last-child { margin-bottom: 0; }
.longform .body hr {
  margin: 40px 0;
  border: 0;
  height: 1px;
  background: rgba(255,255,255,.08);
}

/* Plain-English callout at top of legal docs */
.summary-callout {
  background: var(--surface);
  border: 1px solid rgba(201,162,39,.35);
  border-left: 3px solid var(--gold);
  padding: 22px 26px;
  border-radius: 4px;
  margin: 0 0 32px;
  font-size: 15px;
}
.summary-callout h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* Contact form */
.form-wrap { max-width: 560px; margin: 0 auto; padding: 60px 0 100px; }
.form-wrap label {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  font-size: 12px;
  margin-bottom: 6px;
}
.form-wrap input, .form-wrap select, .form-wrap textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  margin-bottom: 18px;
}
.form-wrap input:focus, .form-wrap select:focus, .form-wrap textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-wrap textarea { resize: vertical; min-height: 140px; }
.form-success {
  display: none;
  background: var(--surface);
  border-left: 3px solid var(--red);
  padding: 24px 26px;
  border-radius: 0 4px 4px 0;
}
.form-success.show { display: block; }
.form-success.show ~ form { display: none; }
.form-note { color: var(--muted); font-size: 12px; margin-top: 12px; }

/* Responsive */
@media (max-width: 900px) {
  .features, .steps, .pricing { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .showwork { grid-template-columns: 1fr; padding: 28px; }
  .longform .layout { grid-template-columns: 1fr; }
  .longform .toc { position: static; margin-bottom: 24px; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 11; }
  .nav .wrap { padding: 0 8px 0 16px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 12px 16px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    font-size: 16px;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 4px; }
  .nav-links a.btn { width: 100%; text-align: center; padding: 14px 18px; }
}
@media (max-width: 600px) {
  .brand img { height: 36px; }
  .foot-brand img { height: 48px; }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(34px, 9vw, 52px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero video { display: none; }
}
