/* STORRM — Dark editorial, premium B2B */

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface2: #1a1a1a;
  --fg: #f2ede4;
  --fg-muted: #8a8278;
  --fg-dim: #4a4540;
  --accent: #e8852a;
  --accent-dim: #3d210a;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --measure: 65ch;
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

/* HERO */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 8rem 4rem 6rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 1px;
  height: 40%;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.4;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  width: 100%;
}

.hero-label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.label-rule {
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-aside {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 2rem;
  border-top: 1px solid var(--fg-dim);
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: var(--measure);
}

/* NUMBERS */
.numbers {
  border-top: 1px solid var(--fg-dim);
  border-bottom: 1px solid var(--fg-dim);
  padding: 3rem 4rem;
}

.numbers-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

.num-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 3rem 0 0;
}

.num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.num-label {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  line-height: 1.4;
  max-width: 18ch;
}

.num-divider {
  width: 1px;
  height: 4rem;
  background: var(--fg-dim);
  margin: 0 2rem;
}

/* PHILOSOPHY */
.philosophy {
  padding: 8rem 4rem;
}

.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
}

.philosophy-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding-top: 0.5rem;
}

.philosophy-headline {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  max-width: 55ch;
}

.philosophy-body {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: var(--measure);
  margin-bottom: 1.5rem;
}

/* FEATURES */
.features {
  padding: 8rem 4rem;
  background: var(--surface);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 4rem;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.features-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--fg-dim);
  border: 1px solid var(--fg-dim);
}

.feature-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s ease;
}

.feature-card:hover {
  background: var(--surface2);
}

.feature-icon {
  color: var(--accent);
  width: 1.25rem;
}

.feature-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--fg-muted);
  line-height: 1.7;
  flex: 1;
}

/* LEARNING LOOP */
.loop {
  padding: 8rem 4rem;
  background: var(--bg);
  border-top: 1px solid var(--fg-dim);
}

.loop-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.loop-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  background: var(--accent-dim);
  padding: 0.375rem 0.875rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
}

.loop-headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  max-width: 20ch;
}

.loop-body {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 60ch;
  margin-bottom: 4rem;
}

.loop-diagram {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.loop-step {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 15rem;
}

.loop-step-label {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--fg);
}

.loop-step-desc {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

.loop-arrow {
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

/* MANIFESTO */
.manifesto {
  padding: 8rem 4rem;
  background: var(--surface);
}

.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.4;
  color: var(--fg);
  max-width: 65ch;
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}

.manifesto-attribution {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  margin-bottom: 4rem;
}

.manifesto-rule {
  width: 4rem;
  height: 1px;
  background: var(--accent);
  margin-bottom: 3rem;
}

.manifesto-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 4rem;
}

.manifesto-point {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mp-num {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 2.5rem;
}

.mp-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
}

/* CLOSING / PRICING */
.closing {
  padding: 8rem 4rem 6rem;
  background: var(--bg);
  border-top: 1px solid var(--fg-dim);
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.closing-headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 55ch;
  margin-bottom: 4rem;
}

.closing-pricing {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--fg-dim);
  margin-bottom: 2rem;
}

.pricing-tier {
  flex: 1;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-right: 1px solid var(--fg-dim);
}

.pricing-tier:last-child {
  border-right: none;
}

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

.pt-price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}

.pt-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-muted);
}

.pt-desc {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

.pricing-divider {
  display: none;
}

.closing-note {
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

/* FOOTER */
.site-footer {
  padding: 3rem 4rem;
  border-top: 1px solid var(--fg-dim);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--fg-muted);
}

.footer-meta {
  font-size: 0.8125rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-sep {
  color: var(--fg-dim);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { padding: 6rem 2rem 4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-aside { border-top: none; padding-top: 0; }

  .numbers { padding: 2.5rem 2rem; }
  .numbers-inner { grid-template-columns: 1fr; gap: 2rem; }
  .num-divider { display: none; }
  .num-item { padding: 0; }

  .philosophy { padding: 5rem 2rem; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 1.5rem; }

  .features { padding: 5rem 2rem; }
  .features-grid { grid-template-columns: 1fr; }

  .loop { padding: 5rem 2rem; }
  .loop-diagram { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .loop-arrow { transform: rotate(90deg); padding: 0; }

  .manifesto { padding: 5rem 2rem; }
  .manifesto-points { grid-template-columns: 1fr; }

  .closing { padding: 5rem 2rem 4rem; }
  .closing-pricing { flex-direction: column; }
  .pricing-tier { border-right: none; border-bottom: 1px solid var(--fg-dim); }
  .pricing-tier:last-child { border-bottom: none; }

  .site-footer { padding: 2rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  .hero-headline { font-size: 2.5rem; }
  .closing-headline { font-size: 2.5rem; }
}