/* ===========================
   IRONSTACK — Dark Editorial Theme
   Typography: Bebas Neue (display) + DM Sans (body)
   Palette: #111111 / #d4a012 / #e8e8e8 / #888
   =========================== */

:root {
  --bg:        #111111;
  --bg-2:      #1a1a1a;
  --bg-3:      #222222;
  --gold:      #d4a012;
  --gold-dim:  #9e7709;
  --text:      #e8e8e8;
  --text-muted:#888888;
  --border:    rgba(212,160,18,0.15);
  --radius:    8px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Typography helpers ---- */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', 'Arial Black', sans-serif;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--text);
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--text); }

.section__tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.section__tag--light { color: rgba(212,160,18,0.7); }

/* ===========================
   NAV
   =========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(17,17,17,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.375rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__link:hover { color: var(--text); }

.nav__link--cta {
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s;
}

.nav__link--cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}

.hero__glow--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #d4a012 0%, transparent 70%);
  top: -100px; right: 0;
}

.hero__glow--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #8b6914 0%, transparent 70%);
  bottom: 10%; left: 30%;
}

.hero__diagonal {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(135deg, transparent 0%, rgba(212,160,18,0.04) 50%, rgba(212,160,18,0.08) 100%);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero__content {
  position: relative;
  max-width: 900px;
}

.hero__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.hero__headline {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  color: var(--text);
  margin-bottom: 1.75rem;
  line-height: 0.95;
}

.hero__sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 480px;
}

/* Stats row */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  padding: 0 2rem 0 0;
}

.stat:first-child { padding-left: 0; }

.stat__value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 2rem;
}

/* ===========================
   PILLARS
   =========================== */
.pillars {
  padding: 6rem 3rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.pillars__header {
  max-width: 600px;
  margin: 0 auto 4rem;
  text-align: center;
}

.pillars__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.25rem;
}

.pillars__desc {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pillar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.pillar:hover { border-color: rgba(212,160,18,0.35); }

.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.6;
}

.pillar__icon {
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.pillar__num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: rgba(212,160,18,0.12);
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  line-height: 1;
}

.pillar__name {
  font-size: 1.75rem;
  margin-bottom: 0.875rem;
  color: var(--text);
}

.pillar__body {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.65;
}

/* ===========================
   THE STACK
   =========================== */
.stack {
  padding: 6rem 3rem;
  background: var(--bg);
}

.stack__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.stack__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.stack__desc {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
}

.stack__visual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.layer { display: flex; align-items: center; gap: 1.25rem; }

.layer__bar {
  height: 48px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(212,160,18,0.3) 100%);
  border-radius: 4px;
  width: calc(60% + var(--delay) * 12%);
  position: relative;
  overflow: hidden;
}

.layer__bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(17,17,17,0.4));
}

.layer--1 .layer__bar { opacity: 0.95; width: 70%; }
.layer--2 .layer__bar { opacity: 0.75; width: 82%; }
.layer--3 .layer__bar { opacity: 0.55; width: 94%; }
.layer--4 .layer__bar { opacity: 0.35; width: 100%; background: linear-gradient(90deg, rgba(212,160,18,0.4) 0%, rgba(212,160,18,0.1) 100%); }

.layer__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ===========================
   MANIFESTO
   =========================== */
.manifesto {
  position: relative;
  padding: 7rem 3rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212,160,18,0.05) 0%, transparent 65%);
  pointer-events: none;
}

.manifesto__content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.manifesto__quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 2rem;
  font-style: normal;
  quotes: none;
}

.manifesto__body {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================
   CLOSING
   =========================== */
.closing {
  position: relative;
  padding: 7rem 3rem;
  background: var(--bg);
  overflow: hidden;
}

.closing__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(212,160,18,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(212,160,18,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.closing__content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.closing__headline {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  color: var(--text);
}

.closing__body {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.closing__cta { display: inline-block; }

.closing__cta-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding: 1rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  padding: 2.5rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
}

.footer__tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* ===========================
   PAGE HEADER (shared)
   =========================== */
.page-header {
  padding: 8rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,160,18,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-header__content { position: relative; max-width: 800px; }

.page-header__headline {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 1.25rem;
}

.page-header__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
}

/* ===========================
   CONTENT SECTIONS
   =========================== */
.section {
  padding: 5rem 3rem;
}

.section--alt { background: var(--bg-2); }

.section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.section__body {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  font-size: 1rem;
}

.section__body p + p { margin-top: 1.25rem; }

/* ===========================
   PILLAR CARDS (about page)
   =========================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.pillar-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s;
}

.pillar-card:hover { border-color: rgba(212,160,18,0.3); }

.pillar-card__icon {
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.pillar-card__name {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.pillar-card__body {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.65;
}

/* ===========================
   SERVICES
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.service-card__badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.service-card__name {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.service-card__price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.service-card__price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
}

.service-card__desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.service-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.service-card__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.service-card__feature::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.service-card__cta {
  display: inline-block;
  margin-top: 1.75rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s;
}

.service-card__cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===========================
   CONTACT FORM
   =========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.contact-info__label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  margin-top: 2rem;
}

.contact-info__label:first-child { margin-top: 0; }

.contact-info__value {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 400;
}

.contact-info__value--muted { color: var(--text-muted); font-weight: 300; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-input,
.form-textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.875rem 1rem;
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  color: var(--bg);
  background: var(--gold);
  border: none;
  padding: 1rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}

.form-submit:hover { background: #e8b520; }

.form-submit:disabled {
  background: var(--gold-dim);
  cursor: not-allowed;
}

.form-success {
  background: rgba(212,160,18,0.1);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--gold);
  font-size: 0.95rem;
}

.form-error {
  background: rgba(220, 50, 50, 0.1);
  border: 1px solid rgba(220, 50, 50, 0.4);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #e05050;
  font-size: 0.875rem;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav__links { gap: 1.25rem; }
  .nav__link--cta { padding: 0.4rem 1rem; }

  .hero { padding: 7rem 1.5rem 4rem; }
  .hero__stats { flex-wrap: wrap; gap: 1.5rem; }
  .stat__divider { display: none; }
  .stat { padding: 0; }

  .pillars { padding: 4rem 1.5rem; }
  .stack__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .stack { padding: 4rem 1.5rem; }
  .manifesto, .closing { padding: 5rem 1.5rem; }
  .footer { padding: 2rem 1.5rem; }
  .pillars__grid { grid-template-columns: 1fr; }

  .page-header { padding: 7rem 1.5rem 3rem; }
  .section { padding: 4rem 1.5rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__headline { font-size: 3rem; }
  .stat__value { font-size: 2rem; }
  .nav__link:not(.nav__link--cta) { display: none; }
}