/* ─────────────────────────────────────────────────────────────
   THE AMP WRITER — Landing Page Styles
   Design: Minimalist editorial, slightly brutalist
   ───────────────────────────────────────────────────────────── */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #f4f3ef;
  --red:        #e83a3a;
  --red-dark:   #c42e2e;
  --black:      #1c1c1c;
  --black-soft: #2b2b2b;
  --gray-dk:    #333333;
  --gray:       #666666;
  --gray-lt:    #aaaaaa;
  --border:     rgba(17,17,17,0.1);
  --radius:     4px;
  --transition: 0.2s ease;
  --font-heading: 'Helvetica World', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Merriweather', 'PT Serif', Georgia, serif;
  }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── TYPOGRAPHY UTILITIES ─────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.2rem;
}

.section-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 2.5rem;
}

.red-text { color: var(--red); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-lg  { padding: 0.85rem 1.8rem; font-size: 15px; }
.btn-xl  { padding: 1rem 2.2rem; font-size: 16px; }
.btn-block { width: 100%; }

.btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,58,58,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-ghost:hover {
  background: var(--black);
  color: var(--bg);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--bg);
  border-color: rgba(241,239,231,0.4);
}
.btn-ghost-dark:hover {
  background: rgba(241,239,231,0.1);
  border-color: var(--bg);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--black);
}

.btn-white {
  background: #fff;
  color: var(--red);
  border-color: #fff;
  font-weight: 700;
}
.btn-white:hover {
  background: var(--bg);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(241,239,231,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17,17,17,0.05);
  transition: all 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.nav.nav-hidden {
  transform: translateY(-110%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-dk);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--red); }
.nav-links .nav-cta {
  padding: 0.5rem 1.2rem;
  color: #fff;
}
.nav-links .nav-cta:hover { color: #fff; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem 1.5rem;
  gap: 1rem;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-dk);
  text-decoration: none;
}
.mobile-menu a.btn-red {
  align-self: flex-start;
  padding: 0.6rem 1.4rem;
  color: #fff;
}
.mobile-menu.open { display: flex; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding-top: 120px;
  padding-bottom: 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.8rem;
}
.eyebrow-divider {
  color: rgba(17,17,17,0.25);
  font-size: 14px;
  line-height: 1;
}
.dot-red {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 1.8rem;
  max-width: 820px;
}
.hero-headline em {
  font-style: italic;
  color: var(--red);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-dk);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.meta-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  color: var(--black);
}
.stat-label {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
}
.meta-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Ticker */
.hero-ticker-wrap {
  border-top: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.9rem 0;
  background: var(--red);
}
.hero-ticker {
  display: inline-flex;
  gap: 2rem;
  animation: ticker 28s linear infinite;
}
.hero-ticker span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.hero-ticker span:nth-child(even) { color: rgba(255,255,255,0.5); font-size: 10px; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── PROBLEM ──────────────────────────────────────────────── */
.problem {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 4rem;
}

.problem-card {
  background: var(--bg);
  padding: 2.5rem;
  transition: background var(--transition);
}
.problem-card:hover { background: #ebe9e0; }

.problem-icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--red);
}

.problem-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.problem-card p {
  font-size: 14px;
  color: var(--gray-dk);
  line-height: 1.7;
}

.problem-closer {
  text-align: center;
}
.problem-closer p {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  line-height: 1.5;
}

/* ── PROCESS ──────────────────────────────────────────────── */
.process {
  padding: 8rem 0;
  background: var(--red);
  border-bottom: none;
}

/* Flip label + headline on red bg */
.process .section-label {
  color: #fff;
}
.process .section-headline {
  color: #fff;
}
.process .section-headline em {
  color: #fff;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.process-step {
  flex: 1;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  transition: background var(--transition);
  position: relative;
}
.process-step:last-child {
  border-right: 1px solid rgba(255,255,255,0.2);
}
.process-step:hover { background: rgba(0,0,0,0.12); }

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: rgba(255,255,255,0.15);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color var(--transition);
}
.process-step:hover .step-number {
  color: rgba(255,255,255,0.6);
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  color: #fff;
}
.step-content p {
  font-size: 13.5px;
  color: #fff;
  line-height: 1.7;
}

.process-connector {
  display: none; /* hidden in desktop grid layout */
}


/* ── SERVICES ─────────────────────────────────────────────── */
.services {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.service-card {
  border: 1px solid var(--border);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.service-primary {
  background: var(--red);
  color: #fff;
  border-color: rgba(0,0,0,0.12);
}
.service-primary .service-tag,
.service-primary .service-who,
.service-primary .service-outcome {
  color: rgba(255,255,255,0.75);
}
.service-primary .service-title { color: #fff; }
.service-primary .service-bullets li { color: rgba(255,255,255,0.85); }
.service-primary .service-bullets li::before { color: #fff; }

.service-secondary {
  background: var(--bg);
}

.service-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.2;
}

.service-who, .service-outcome {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-dk);
}

.service-outcome strong {
  font-weight: 600;
}
.service-primary .service-outcome strong { color: rgba(255,255,255,0.95); }

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.service-bullets li {
  font-size: 14px;
  color: var(--gray-dk);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.service-bullets li::before {
  content: '→';
  color: var(--red);
  flex-shrink: 0;
  font-size: 13px;
  margin-top: 2px;
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border);
}

.about-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 6rem;
  align-items: start;
}

.about-img-wrap {
  position: relative;
  display: inline-block;
}

.about-img-placeholder {
  width: 320px;
  height: 380px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.about-initials {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: #fff;
  opacity: 0.15;
  letter-spacing: 0.1em;
}

.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
}

.about-right .section-headline { margin-bottom: 1.5rem; }

.about-right p {
  font-size: 15px;
  color: var(--gray-dk);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.about-quote {
  border-left: 3px solid var(--red);
  padding: 0.8rem 1.5rem;
  margin: 1.8rem 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--black);
  font-style: italic;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  color: var(--gray-dk);
  transition: all var(--transition);
}
.tag:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ── ORIGIN STORY ────────────────────────────────────────── */
.origin {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border);
}

.origin-intro {
  font-size: 1.05rem;
  color: var(--gray-dk);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 4rem;
}

.origin-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* connecting line */
.origin-timeline::before {
  content: '';
  position: absolute;
  top: 46px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--red), rgba(17,17,17,0.1));
  z-index: 0;
}

.timeline-item {
  padding: 0 2rem 3rem 0;
  position: relative;
  z-index: 1;
}

.timeline-item:not(:last-child) {
  padding-right: 2.5rem;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--black);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.timeline-unit {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

/* Red dot marker on the line */
.timeline-year::after {
  display: none; /* using border approach instead */
}

.timeline-item::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 2;
}

.timeline-content {
  margin-top: 2.5rem;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.timeline-content p {
  font-size: 13.5px;
  color: var(--gray-dk);
  line-height: 1.75;
}

/* ── WIDGET DISTRIBUTION ──────────────────────────────────── */
.widget-dist {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border);
}

.wd-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Left col */
.wd-desc {
  font-size: 15px;
  color: var(--gray-dk);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 420px;
}

.wd-how {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.wd-step {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.wd-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: rgba(17,17,17,0.15);
  min-width: 30px;
  line-height: 1.2;
  transition: color var(--transition);
}
.wd-step:hover .wd-num { color: var(--red); }

.wd-step strong {
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}
.wd-step p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}
.wd-step code {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  background: rgba(17,17,17,0.06);
  padding: 1px 5px;
  border-radius: 3px;
}

.wd-viral-note {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: rgba(232,58,58,0.06);
  border: 1px solid rgba(232,58,58,0.2);
  border-left: 3px solid var(--red);
  padding: 1rem 1.2rem;
  font-size: 13px;
  color: var(--gray-dk);
  line-height: 1.6;
}
.wd-viral-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.wd-viral-note strong { color: var(--black); }

/* Right col — card */
.wd-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.wd-form-header {
  padding: 1.4rem 1.6rem 1rem;
  border-bottom: 1px solid var(--border);
}

.wd-form-badge {
  display: inline-block;
  background: rgba(232,58,58,0.1);
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.wd-form-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--black);
}

.wd-form {
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.wd-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.wd-field label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gray-dk);
  text-transform: uppercase;
}
.wd-field .req { color: var(--red); }

.wd-field input[type="text"],
.wd-field input[type="url"],
.wd-field select {
  border: 1.5px solid #e0ddd6;
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 13.5px;
  color: var(--black);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.wd-field input:focus,
.wd-field select:focus { border-color: var(--red); }
.wd-field input::placeholder { color: #bbb; }

.wd-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Color picker */
.color-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.wd-color-inp {
  width: 40px;
  height: 36px;
  border: 1.5px solid #e0ddd6;
  border-radius: var(--radius);
  padding: 2px;
  cursor: pointer;
  background: var(--bg);
  -webkit-appearance: none;
  appearance: none;
}
.wd-color-inp::-webkit-color-swatch-wrapper { padding: 0; border-radius: 3px; }
.wd-color-inp::-webkit-color-swatch { border: none; border-radius: 3px; }
.wd-color-val {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--gray-dk);
}

/* Code preview block */
.wd-code-wrap {
  border-bottom: 1px solid var(--border);
}

.wd-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.4rem;
  background: #1a1a1a;
}

.wd-code-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.wd-copy-btn {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--red);
  border: none;
  border-radius: 4px;
  padding: 5px 14px;
  cursor: pointer;
  transition: background var(--transition), transform 0.1s;
}
.wd-copy-btn:hover { background: var(--red-dark); }
.wd-copy-btn:active { transform: scale(0.96); }
.wd-copy-btn.copied {
  background: #2a9d5c;
}

.wd-code {
  background: #1a1a1a;
  padding: 1rem 1.4rem 1.4rem;
  margin: 0;
  overflow-x: auto;
  max-height: 200px;
  overflow-y: auto;
}
.wd-code code {
  font-family: 'Courier New', monospace;
  font-size: 11.5px;
  line-height: 1.65;
  color: #c9d1d9;
  white-space: pre;
}
/* Syntax hint coloring */
.wd-code .t-tag   { color: #79c0ff; }
.wd-code .t-key   { color: #ffab70; }
.wd-code .t-str   { color: #a5d6ff; }
.wd-code .t-num   { color: #79c0ff; }
.wd-code .t-comm  { color: #6e7681; }

.wd-disclaimer {
  padding: 0.9rem 1.6rem;
  font-size: 11.5px;
  color: var(--gray-lt);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 960px) {
  .wd-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .wd-desc { max-width: 100%; }
}
@media (max-width: 480px) {
  .wd-field-row { grid-template-columns: 1fr; }
}

/* ── AUDIT MODAL ──────────────────────────────────────────── */

.audit-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.audit-modal-overlay.open {
  display: flex;
}

.audit-modal-card {
  background: var(--red);
  border-radius: calc(var(--radius) * 2);
  padding: 2.5rem 2rem;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.audit-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.audit-modal-close:hover { background: rgba(255,255,255,0.28); }

.lm-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.lm-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.8rem;
}

.lm-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.2rem;
}

.lm-highlight {
  font-style: italic;
  color: #ffd0d0;
}

.lm-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.lm-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2.5rem;
  text-align: left;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.lm-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
}
.benefit-check {
  background: rgba(255,255,255,0.2);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  color: #fff;
}

/* Form */
.lm-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

.form-group input,
.form-group select {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-family: var(--font-heading);
  font-size: 15px;
  color: #fff;
  outline: none;
  transition: all var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder { color: rgba(255,255,255,0.4); }
.form-group select option { background: var(--red-dark); color: #fff; }
.form-group input:focus,
.form-group select:focus {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.18);
}

.lm-submit { margin-top: 0.5rem; }

.form-disclaimer {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
}
.form-success.visible { display: block; }
.success-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 auto 1.2rem;
}
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.form-success p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 1.65;
}

/* ── A DIFFERENT WAY ──────────────────────────────────────── */
.diff-way {
  padding: 8rem 0;
  background: var(--red);
  border-bottom: none;
}

.diff-way .section-label { color: #fff; }
.diff-way .section-headline { color: #fff; }
.diff-way .red-text { color: #fff; }

.dw-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.dw-lead {
  font-size: 15px;
  color: #fff;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.dw-quote {
  border-left: 3px solid rgba(255,255,255,0.5);
  margin: 2rem 0 0;
  padding: 0.9rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #fff;
  font-style: italic;
  line-height: 1.6;
  background: rgba(0,0,0,0.1);
}

.dw-contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.dw-model {
  padding: 1.6rem;
  border-radius: var(--radius);
}

.dw-model--old {
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.15);
}

.dw-model--new {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
}

.dw-model-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.dw-model--new .dw-model-label { color: #fff; }

.dw-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.dw-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 13px;
  color: #fff;
  line-height: 1.5;
}

.dw-x { color: rgba(255,255,255,0.55); font-weight: 700; flex-shrink: 0; }
.dw-check { color: #fff; font-weight: 700; flex-shrink: 0; }

@media (max-width: 900px) {
  .dw-inner { grid-template-columns: 1fr; gap: 3rem; }
  .dw-contrast { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .dw-contrast { grid-template-columns: 1fr; }
}

/* ── PRICING ──────────────────────────────────────────────── */
.pricing {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border);
}

.pricing-intro {
  font-size: 15px;
  color: var(--gray-dk);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 3.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.pricing-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pricing-card:hover {
  border-color: rgba(232,58,58,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.pricing-card--sm {
  padding: 1.6rem;
  background: var(--bg);
}

.pc-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.8rem;
}

.pc-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--black);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.pc-desc {
  font-size: 13.5px;
  color: var(--gray-dk);
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.pc-price {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.pc-amount {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}

.pc-type {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.pc-scope-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 1.2rem 0 0.6rem;
}

.pc-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pc-includes li {
  font-size: 13px;
  color: var(--gray-dk);
  padding-left: 1rem;
  position: relative;
}
.pc-includes li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(17,17,17,0.04);
  border: 1px solid rgba(17,17,17,0.08);
  border-left: 3px solid var(--black);
  padding: 1.2rem 1.6rem;
  font-size: 13.5px;
  color: var(--gray-dk);
  line-height: 1.75;
}
.pn-icon {
  color: var(--black);
  font-size: 10px;
  margin-top: 4px;
  flex-shrink: 0;
}
.pricing-note strong { color: var(--black); }

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card--sm { grid-column: 1 / -1; max-width: 480px; }
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--sm { max-width: 100%; }
}

/* ── BRIDGE ───────────────────────────────────────────────── */
.bridge {
  padding: 6rem 0;
  background: var(--red);
  border-bottom: none;
}

.bridge .section-headline { color: #fff; }
.bridge .red-text { color: #fff; }

.bridge-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.bridge-text p {
  font-size: 15px;
  color: #fff;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.bridge-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.bridge-pillar {
  padding: 1.4rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.bridge-pillar:hover { border-color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.1); }

.bp-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: rgba(255,255,255,0.2);
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}
.bridge-pillar:hover .bp-num { color: rgba(255,255,255,0.7); }

.bridge-pillar h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.bridge-pillar p {
  font-size: 13px;
  color: #fff;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .bridge-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 540px) {
  .bridge-pillars { grid-template-columns: 1fr; }
}

/* ── ESTIMATOR ────────────────────────────────────────────── */
.estimator {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border);
}

.estimator-intro {
  font-size: 15px;
  color: var(--gray-dk);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 3.5rem;
}

.estimator-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

/* ─ Checkbox groups ─ */
.ec-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
  margin-bottom: 2.5rem;
}

.ec-group-label {
  grid-column: 1 / -1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
}

.ec-item {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: start;
  gap: 0.8rem;
  padding: 1rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--transition);
  position: relative;
}
.ec-item:hover { background: rgba(17,17,17,0.03); }

/* Hide native checkbox */
.ec-check {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Custom checkbox */
.ec-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: border-color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ec-check:checked + .ec-box {
  background: var(--red);
  border-color: var(--red);
}
.ec-check:checked + .ec-box::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px,-1px);
}

.ec-item:has(.ec-check:checked) {
  background: rgba(232,58,58,0.04);
}

.ec-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ec-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}

.ec-desc {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.55;
}

.ec-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-dk);
  white-space: nowrap;
  padding-top: 2px;
}
.ec-item:has(.ec-check:checked) .ec-price {
  color: var(--red);
}

/* ─ Estimate panel ─ */
.estimator-panel {
  position: sticky;
  top: 100px;
}

.ep-inner {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.ep-header {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.ep-total-wrap {
  background: var(--bg);
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.5rem;
}

.ep-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 0.3rem;
}

.ep-total {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}
.ep-total.has-value { color: var(--red); }

.ep-range {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.4;
}

/* Selected list */
.ep-selected {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 220px;
  overflow-y: auto;
}

.ep-selected li {
  font-size: 12.5px;
  color: var(--gray-dk);
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(17,17,17,0.06);
}
.ep-selected li:last-child { border-bottom: none; }
.ep-selected li span { color: var(--gray); font-size: 12px; white-space: nowrap; }

.ep-empty {
  color: var(--gray) !important;
  font-style: italic;
  font-size: 12.5px !important;
  border-bottom: none !important;
}

.ep-disclaimer {
  font-size: 11.5px;
  color: var(--gray);
  line-height: 1.6;
  background: rgba(232,58,58,0.05);
  border-left: 3px solid var(--red);
  padding: 0.7rem 0.9rem;
  border-radius: 0 4px 4px 0;
  margin-bottom: 1.4rem;
}

.ep-cta {
  display: block;
  text-align: center;
  width: 100%;
  text-decoration: none;
}

.ep-cta-note {
  font-size: 11.5px;
  color: var(--gray);
  text-align: center;
  margin-top: 0.6rem;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .estimator-inner { grid-template-columns: 1fr; }
  .estimator-panel { position: static; }
}
@media (max-width: 760px) {
  .ec-group { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ec-item { grid-template-columns: 22px 1fr; }
  .ec-price { display: none; }
}

/* ── IDEAS / BLOG HUB ─────────────────────────────────────── */

.ideas {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border);
}

.ideas-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

.ideas-header-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.ideas-newsletter {
  background: var(--bg);
  border: 1.5px solid var(--border);
  padding: 1.4rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nl-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nl-badge {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.nl-desc {
  font-size: 13.5px;
  color: var(--gray-dk);
}

.nl-form {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nl-form input {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 13.5px;
  background: transparent;
  outline: none;
  min-width: 180px;
  transition: border-color var(--transition);
}
.nl-form input:focus {
  border-color: var(--red);
}

.nl-form button {
  padding: 0.65rem 1.2rem;
}

.ideas-meta {
  font-size: 15px;
  color: var(--gray-dk);
  line-height: 1.75;
}

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.idea-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.idea-card:hover {
  border-color: rgba(232,58,58,0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.ic-cat {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 1rem;
  width: fit-content;
}
.ic-cat--applied {
  background: rgba(232,58,58,0.1);
  color: var(--red);
}
.ic-cat--theory {
  background: rgba(17,17,17,0.07);
  color: var(--gray-dk);
}

.ic-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.35;
  margin-bottom: 0.8rem;
  flex-grow: 1;
}

.ic-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.ic-link {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--red);
  text-decoration: none;
  transition: opacity var(--transition);
  margin-top: auto;
}
.ic-link:hover { opacity: 0.7; }

.ideas-cta {
  text-align: center;
}

@media (max-width: 960px) {
  .ideas-grid { grid-template-columns: 1fr 1fr; }
  .ideas-header { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 600px) {
  .ideas-grid { grid-template-columns: 1fr; }
}

/* ── FINAL CTA ────────────────────────────────────────────── */

.final-cta {
  background: var(--black);
  padding: 8rem 0;
  text-align: center;
}

.final-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-lt);
  margin-bottom: 1.5rem;
}

.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
}
.cta-headline .red-text { color: var(--red); }

.cta-sub {
  font-size: 15px;
  color: var(--gray-lt);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: #0c0c0c;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-brand .logo {
  color: #fff;
  font-size: 1.05rem;
}

.footer-tagline {
  font-size: 11px;
  color: var(--gray-lt);
  letter-spacing: 0.06em;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 13px;
  color: var(--gray-lt);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--red); }

.footer-copy {
  font-size: 12px;
  color: var(--gray-lt);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }

  .problem-grid { grid-template-columns: 1fr; }

  .process-steps {
    flex-direction: column;
  }
  .process-step {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }
  .process-step:last-child {
    border-bottom: 1px solid var(--border);
  }

  .services-grid { grid-template-columns: 1fr; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-img-placeholder {
    width: 100%;
    max-width: 360px;
    height: 280px;
  }
  .about-badge { right: 0; }

  .form-row { grid-template-columns: 1fr; }

  .origin-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .origin-timeline::before { display: none; }
  .timeline-item::before { display: none; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-meta { gap: 1.5rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .service-card { padding: 2rem; }
  .lm-inner { text-align: left; }
  .lm-badge { font-size: 10px; }
  .audit-modal-card { padding: 2rem 1.25rem; }
}

/* ── MODERN INTELLECTUAL TYPOGRAPHY & UI REFINEMENTS ───────── */

/* Headings and primary UI elements in sans-serif */
h1, h2, h3, h4, h5, h6,
.section-headline, .hero-headline, .section-label,
.btn, .nav-links a, .mobile-menu a, .hero-eyebrow, .hero-ticker span,
.tag, .service-tag, .pc-tag, .ec-group-label, .ec-name, .ec-price,
.wd-num, .stat-num, .timeline-year, .step-number, .ic-cat,
.footer-links a, .chat-btn, .widget-trigger, .timeline-unit,
.logo, .ic-link, input, select, textarea {
  font-family: var(--font-heading);
}

/* Headings styling */
.section-headline, .hero-headline, h1, h2 {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
}

/* Subtitles / Subheadings */
h3, h4, h5, .hero-sub, .section-label {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--black-soft);
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

/* Emphasized text in headlines often looks better without italics in Helvetica, but if used, keep it refined */
.hero-headline em, .section-headline em {
  font-style: normal;
  color: var(--red);
}

/* Body and reading elements in serif */
p, li, .service-outcome, .about-quote, .wd-desc, .ec-desc {
  font-family: var(--font-body);
  font-size: 1.18rem;
  line-height: 1.8;
  color: var(--gray-dk);
}

.about-quote {
  font-size: 1.45rem;
  line-height: 1.5;
  color: var(--black);
  border-left: 2px solid var(--red);
  padding: 1rem 1.8rem;
  margin: 2.5rem 0;
  background: linear-gradient(to right, rgba(232,58,58,0.03), transparent);
}

/* Smoothing Button interactions for a sleek feel */
.btn {
  border-radius: 2px; /* sharper, more intellectual edge */
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,58,58,0.25);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.05s ease, box-shadow 0.05s ease;
}

/* Cards & Layout */
.problem-card, .service-card, .pricing-card, .idea-card {
  border-radius: 2px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.problem-card:hover, .service-card:hover, .pricing-card:hover, .idea-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}

/* Refined borders */
.hero, .problem, .process, .services, .about, .origin, .diff-way, .pricing, .estimator, .bridge, .widget-dist {
  border-color: rgba(17,17,17,0.06);
}

::selection {
  background: rgba(232,58,58,0.15);
  color: var(--black);
}

/* ── MOBILE RESPONSIVENESS ────────────────────────────────── */
@media (max-width: 900px) {
  /* Navigation */
  .nav-links { display: none; }
  .nav .nav-cta { display: none; }
  .burger { display: flex; }

  /* Hero */
  .hero-inner { padding-top: 2rem; padding-bottom: 3rem; }
  .hero-headline { font-size: clamp(2.5rem, 8vw, 4rem); }

  /* Problem */
  .problem-grid { grid-template-columns: 1fr; }

  /* Process */
  .process-steps { flex-direction: column; gap: 1rem; }
  .process-step, .process-step:last-child { 
    border: 1px solid rgba(255,255,255,0.2); 
    padding: 2rem 1.5rem; 
  }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-placeholder { width: 100%; max-width: 100%; margin: 0 auto; display: flex; justify-content: center; }
  .about-img-wrap { display: block; text-align: center; }
  
  /* Origin */
  .origin-timeline { grid-template-columns: 1fr; gap: 2rem; }
  .origin-timeline::before { 
    top: 0; bottom: 0; left: 5px; right: auto; width: 2px; height: 100%;
    background: linear-gradient(to bottom, var(--red), rgba(17,17,17,0.1));
  }
  .timeline-item { padding: 0 0 1rem 2.5rem !important; }
  .timeline-year { font-size: 1.8rem; }
  .timeline-item::before { top: 10px; left: 0; }
  .timeline-content { margin-top: 1rem; }
  
  /* Ideas-Newsletter Form Stack */
  .ideas-newsletter { flex-direction: column; align-items: stretch; }
  .nl-form { flex-direction: column; width: 100%; }
  .nl-form input { min-width: 100%; }
  
  /* Estimation grid tweaks */
  .estimator-inner { grid-template-columns: 1fr; }
  .ec-group { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  /* Mobile padding & fonts */
  .container { padding: 0 1.5rem; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .meta-divider { display: none; }
  .section-headline { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  
  /* Timeline refinement */
  .timeline-year { font-size: 1.5rem; }
}

/* ── BLOG POST ENTRY ──────────────────────────────────────── */

.blog-post {
  padding: 120px 0 8rem;
  background: var(--bg);
}

.blog-container {
  max-width: 800px;
  margin: 0 auto;
}

.blog-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.blog-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.blog-meta {
  font-size: 14px;
  color: var(--gray-dk);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.blog-meta strong {
  font-weight: 700;
  color: var(--black);
}

.blog-intro {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--gray-dk);
  font-family: var(--font-body);
  font-style: italic;
  border-left: 3px solid var(--red);
  padding-left: 1.5rem;
  margin-top: 2rem;
  background: linear-gradient(to right, rgba(232,58,58,0.03), transparent);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.blog-intro a, .blog-content a {
  color: var(--red);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.blog-intro a:hover, .blog-content a:hover {
  border-color: var(--red);
}

.blog-content {
  font-family: var(--font-body);
  font-size: 1.18rem;
  line-height: 1.8;
  color: var(--gray-dk);
}

.blog-content p {
  margin-bottom: 1.8rem;
}

.blog-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--black);
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.blog-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

.blog-content hr + h2 {
  margin-top: 1.2rem;
}

/* ── READING PROGRESS BAR ─────────────────────────────────── */
#readingProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--red);
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── BACK TO TOP ──────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--black);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 500;
  pointer-events: none;
}
#backToTop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#backToTop:hover { background: var(--red); }

.blog-quote {
  font-size: 1.45rem;
  line-height: 1.5;
  color: var(--black);
  border-left: 2px solid var(--red);
  padding: 1rem 1.8rem;
  margin: 3rem 0;
  background: linear-gradient(to right, rgba(232,58,58,0.03), transparent);
  font-style: italic;
}

.blog-author-bio {
  margin-top: 5rem;
  padding: 2.5rem;
  background: rgba(17,17,17,0.03);
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.7;
  border-left: 3px solid var(--gray);
}

.blog-figure {
  margin: 2.5rem 0 3rem;
}

.blog-figure img {
  width: 100%;
  display: block;
  border-radius: 2px;
  object-fit: cover;
}

.blog-figure figcaption {
  font-size: 13px;
  color: var(--gray);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  margin-top: 0.75rem;
  font-style: italic;
  text-align: center;
}

/* ── BLOG SUBSCRIBE BLOCK ─────────────────────────────────── */

.blog-subscribe {
  margin-top: 4rem;
  padding: 2.5rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.bs-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.bs-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.bs-copy {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 1.75rem;
}

.bs-form {
  display: flex;
  gap: 0.5rem;
  max-width: 460px;
  margin: 0 auto;
}

.bs-form input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  font-family: var(--font-heading);
  font-size: 13.5px;
  outline: none;
  transition: border-color var(--transition);
}

.bs-form input:focus { border-color: var(--red); }

.bs-success {
  color: var(--red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
}

/* ── IDEAS SUBSCRIBE STRIP ────────────────────────────────── */

.ideas-subscribe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin: 4rem 0 3rem;
}

.is-copy {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.is-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.is-desc {
  font-size: 13.5px;
  color: var(--gray-dk);
  max-width: 400px;
  line-height: 1.5;
}

.is-form {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.is-form input {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  font-family: var(--font-heading);
  font-size: 13.5px;
  width: 200px;
  outline: none;
  transition: border-color var(--transition);
}

.is-form input:focus { border-color: var(--red); }

@media (max-width: 768px) {
  .ideas-subscribe { flex-direction: column; align-items: stretch; }
  .is-form { flex-direction: column; }
  .is-form input { width: 100%; }
  .bs-form { flex-direction: column; }
}

