:root {
  --obsidian: #0e0b0a;
  --iron: #1c1613;
  --bone: #f3ebdd;
  --copper: #b5542a;
  --ember: #d27a2c;
  --oxblood: #5e1616;
  --ink-soft: #d9d0c3;
  --surface-a: rgba(18, 14, 12, 0.92);
  --surface-b: rgba(30, 22, 18, 0.95);
  --border-hard: rgba(210, 122, 44, 0.38);
  --shadow-hard: 0 30px 80px rgba(0, 0, 0, 0.45);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at 0% 0%, rgba(94, 22, 22, 0.15), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(181, 84, 42, 0.12), transparent 45%),
    linear-gradient(170deg, #090707 0%, #11100e 35%, #100d0b 70%, #0b0908 100%);
  color: var(--bone);
  font-family: "IBM Plex Sans", "Bahnschrift", "Segoe UI", sans-serif;
}

.scene-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  opacity: 0.2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(210, 122, 44, 0.2);
  background: rgba(10, 8, 8, 0.88);
  backdrop-filter: blur(10px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--bone);
  text-decoration: none;
}

.monolith-mark {
  position: relative;
  width: 48px;
  height: 38px;
  border: 1px solid rgba(210, 122, 44, 0.45);
  background: linear-gradient(180deg, rgba(181, 84, 42, 0.18), rgba(181, 84, 42, 0.02));
  overflow: hidden;
}

.stack {
  position: absolute;
  bottom: 6px;
  background: linear-gradient(180deg, #291d18, #14110f);
}

.stack-a {
  left: 6px;
  width: 10px;
  height: 16px;
}

.stack-b {
  left: 19px;
  width: 10px;
  height: 23px;
}

.stack-c {
  left: 32px;
  width: 10px;
  height: 14px;
}

.base-notch {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 5px;
  border-top: 1px solid rgba(210, 122, 44, 0.4);
  background: #0c0a09;
}

.brand-text {
  display: grid;
  gap: 0.12rem;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-text small {
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--bone);
}

.page-shell {
  width: min(1060px, 92vw);
  margin: 2rem auto 4rem;
  display: grid;
  gap: 1rem;
}

.panel {
  border: 1px solid var(--border-hard);
  background: linear-gradient(180deg, var(--surface-a), var(--surface-b));
  box-shadow: var(--shadow-hard);
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
  animation: rise 450ms ease both;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(181, 84, 42, 0.08);
  pointer-events: none;
}

.split-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--ember);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1,
h2,
h3 {
  font-family: "Rajdhani", "Arial Narrow", sans-serif;
  letter-spacing: 0.03em;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  margin-bottom: 0.6rem;
}

h2 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  margin-bottom: 0.55rem;
}

h3 {
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
}

p {
  margin-top: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}

.lead {
  color: var(--bone);
  font-size: 1.05rem;
}

.hero-geometry {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.95), rgba(26, 19, 15, 0.9));
}

.logo-reference {
  width: 100%;
  max-width: 330px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(210, 122, 44, 0.5);
  background: #0a0908;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  filter: saturate(0.82) contrast(1.08);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0.58rem 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.78rem;
  cursor: pointer;
  transition: transform 130ms ease, background 130ms ease, color 130ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(90deg, #b5542a 0%, #d27a2c 100%);
  color: #0c0908;
  font-weight: 700;
}

.button-secondary {
  border-color: rgba(210, 122, 44, 0.42);
  background: rgba(20, 15, 12, 0.75);
  color: var(--bone);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.text-link {
  color: var(--ember);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.bullet-stack {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.bullet-stack li {
  color: var(--ink-soft);
}

.microcopy {
  font-size: 0.92rem;
}

.fra-form {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.progress-shell {
  display: grid;
  gap: 0.45rem;
}

.progress-shell p {
  margin: 0;
  color: var(--bone);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.progress-track {
  width: 100%;
  height: 7px;
  background: rgba(28, 22, 19, 0.9);
  border: 1px solid rgba(210, 122, 44, 0.3);
}

.progress-track span {
  display: block;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--copper), var(--ember));
  transition: width 170ms ease;
}

.intake-step {
  border: 1px solid rgba(210, 122, 44, 0.24);
  background: rgba(10, 8, 8, 0.45);
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
}

.js .intake-step {
  display: none;
}

.js .intake-step.is-active {
  display: grid;
  animation: rise 260ms ease both;
}

.field-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

label,
fieldset {
  display: grid;
  gap: 0.35rem;
  color: var(--bone);
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(210, 122, 44, 0.3);
  background: rgba(15, 12, 10, 0.95);
  color: var(--bone);
  padding: 0.58rem 0.6rem;
  font-size: 0.94rem;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

fieldset {
  margin: 0;
  padding: 0.6rem;
  border: 1px solid rgba(210, 122, 44, 0.25);
}

legend {
  padding: 0 0.4rem;
}

.checkbox-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(17, 13, 11, 0.84);
  border: 1px solid rgba(210, 122, 44, 0.18);
  padding: 0.5rem 0.6rem;
}

.checkbox-option input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.radio-row {
  display: grid;
  gap: 0.65rem;
}

.radio-row label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.radio-row input {
  width: auto;
  margin: 0;
}

.field-error {
  color: #ff9b7a;
  font-size: 0.83rem;
}

.review-note {
  border-left: 2px solid rgba(210, 122, 44, 0.7);
  padding-left: 0.65rem;
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.reference-card {
  border: 1px solid rgba(210, 122, 44, 0.3);
  background: rgba(10, 8, 8, 0.55);
  padding: 0.85rem;
  margin-bottom: 1rem;
}

.reference-card p {
  margin-bottom: 0.25rem;
}

code {
  display: inline-block;
  color: var(--bone);
  background: rgba(12, 10, 9, 0.9);
  border: 1px solid rgba(210, 122, 44, 0.3);
  padding: 0.2rem 0.4rem;
  margin-bottom: 0.45rem;
}

.site-footer {
  border-top: 1px solid rgba(210, 122, 44, 0.2);
  padding: 1.2rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.83rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .site-nav a {
    padding: 0.3rem 0;
  }
}
