/* ═══════════════════════════════════════════════════
   THE POST FACTORY — Main Stylesheet
   postfactory.co.uk
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=DM+Mono:wght@400;500&display=swap');

/* ── VARIABLES ── */
:root {
  --black:      #080808;
  --near-black: #0f0f0f;
  --dark:       #141414;
  --panel:      #1a1a1a;
  --border:     #2a2a2a;
  --mid:        #444;
  --muted:      #666;
  --silver:     #999;
  --light:      #ccc;
  --white:      #f2f0eb;
  --accent:     #e8c84a;
  --accent-dim: #b89a2a;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;
  --nav-height:   64px;
  --max-width:    1200px;
  --section-pad:  100px 80px;
  --page-pad:     160px 80px 80px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* ── GRAIN OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9999;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(8,8,8,0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.08em;
  color: var(--white);
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-mark {
  width: 28px; height: 28px;
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--accent);
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); text-decoration: none; }
.nav-links a.nav-cta {
  background: var(--accent);
  color: var(--black);
  padding: 8px 20px;
  font-weight: 700;
  transition: background 0.2s;
}
.nav-links a.nav-cta:hover { background: var(--accent-dim); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 80px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(232,200,74,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(232,200,74,0.03) 0%, transparent 50%),
    linear-gradient(180deg, transparent 40%, rgba(8,8,8,0.95) 100%);
}
.hero-filmstrips {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-filmstrips::before,
.hero-filmstrips::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 56px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px, transparent 26px,
    var(--border) 26px, var(--border) 28px,
    transparent 28px, transparent 34px,
    rgba(255,255,255,0.025) 34px, rgba(255,255,255,0.025) 62px
  );
  animation: filmroll 10s linear infinite;
}
.hero-filmstrips::before { left: 0; }
.hero-filmstrips::after  { right: 0; }
@keyframes filmroll {
  from { transform: translateY(0); }
  to   { transform: translateY(62px); }
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.hero-eyebrow::before {
  content: '';
  display: block; width: 36px; height: 1px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 10vw, 136px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 28px;
  position: relative;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
  display: block;
}
.hero-sub {
  max-width: 520px;
  font-size: 17px;
  font-weight: 300;
  color: var(--light);
  line-height: 1.75;
  margin-bottom: 44px;
  position: relative;
}
.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
}
.hero-scroll {
  position: absolute;
  bottom: 32px; right: 80px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 10px;
}
.hero-scroll::after {
  content: '';
  display: block; width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: var(--black);
}
.btn-primary:hover { background: var(--accent-dim); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--silver);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--silver); color: var(--white); }
.btn-dark {
  background: var(--black);
  color: var(--accent);
}
.btn-dark:hover { background: var(--near-black); }

/* ── STATS BAR ── */
.stats-bar {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 80px;
  display: flex;
  gap: 0;
}
.stat {
  flex: 1;
  padding-right: 40px;
  margin-right: 40px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── SECTIONS ── */
.section { padding: var(--section-pad); }
.section-dark { background: var(--near-black); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-accent { background: var(--accent); }
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-dark .section-tag { color: var(--accent); }
.section-accent .section-tag { color: var(--black); opacity: 0.5; }
.section-tag::before {
  content: '';
  display: block; width: 22px; height: 1px;
  background: currentColor;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 20px;
}
.section-accent .section-title { color: var(--black); }
.section-intro {
  font-size: 16px;
  font-weight: 300;
  color: var(--light);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 56px;
}
.section-accent .section-intro { color: rgba(0,0,0,0.65); }

/* ── WHY GRID ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 56px;
}
.why-item {
  background: var(--near-black);
  padding: 44px 36px;
  transition: background 0.2s;
}
.why-item:hover { background: var(--panel); }
.why-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.25s;
}
.why-item:hover .why-num { color: var(--accent); }
.why-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.why-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.7;
}

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}
.service-card {
  background: var(--near-black);
  padding: 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--accent);
  transition: height 0.3s ease;
}
.service-card:hover { background: var(--panel); text-decoration: none; }
.service-card:hover::before { height: 100%; }
.service-icon {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.service-name {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-price {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.testimonial {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 36px;
  position: relative;
}
.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--accent);
  opacity: 0.25;
  position: absolute;
  top: 12px; left: 28px;
  line-height: 1;
}
.testimonial-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--light);
  line-height: 1.75;
  margin-bottom: 20px;
  padding-top: 28px;
}
.testimonial-author {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2px;
}
.testimonial-role {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ── CTA BAND ── */
.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--black);
  margin-bottom: 10px;
}
.cta-band-sub {
  font-size: 15px;
  color: rgba(0,0,0,0.55);
  font-weight: 300;
}

/* ── PAGE HEADER ── */
.page-header {
  padding: var(--page-pad);
  background: var(--near-black);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header .section-tag,
.page-header h1,
.page-header .lead {
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 88px);
  letter-spacing: 0.03em;
  line-height: 0.93;
  color: var(--white);
  margin-bottom: 20px;
}
.page-header .lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--light);
  max-width: 560px;
  line-height: 1.75;
}

/* ── SERVICES PAGE ── */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.price-table tr { border-bottom: 1px solid var(--border); }
.price-table tr:last-child { border-bottom: none; }
.price-table td {
  padding: 11px 0;
  font-size: 13px;
  color: var(--silver);
}
.price-table td:last-child {
  text-align: right;
  color: var(--white);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 12px;
}
.price-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
  font-style: italic;
  line-height: 1.6;
}
.service-block {
  margin-bottom: 80px;
}
.service-block:last-child { margin-bottom: 0; }
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-top: 36px;
}
.service-body p {
  font-size: 15px;
  font-weight: 300;
  color: var(--light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.divider-line {
  height: 1px;
  background: var(--border);
  margin: 80px 0;
}
.alert-box {
  background: rgba(232,200,74,0.07);
  border: 1px solid rgba(232,200,74,0.2);
  border-left: 3px solid var(--accent);
  padding: 18px 22px;
  margin-bottom: 40px;
}
.alert-box p {
  font-size: 13px;
  color: var(--light);
  line-height: 1.65;
}
.alert-box strong { color: var(--accent); }
.addl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 36px;
}
.addl-item {
  background: var(--near-black);
  padding: 28px;
}
.addl-icon {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.addl-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 8px;
}
.addl-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.65;
}

/* ── KNOWLEDGE PAGE ── */
.knowledge-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 7px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--black);
}
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.k-card {
  background: var(--panel);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
  text-decoration: none;
  color: inherit;
}
.k-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  text-decoration: none;
}
.k-thumb {
  aspect-ratio: 16/9;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.k-thumb-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--panel) 0%, var(--dark) 100%);
}
.k-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.15) 0%, rgba(8,8,8,0.55) 100%);
  z-index: 0;
  pointer-events: none;
}
/* When k-thumb has a photo, remove the plain gradient bg */
.k-thumb .k-thumb-bg[style*="background-image"] {
  background: none;
}
.k-play {
  width: 44px; height: 44px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  transition: background 0.2s;
}
.k-card:hover .k-play { background: var(--accent); }
.k-play svg {
  fill: var(--accent);
  width: 14px; height: 14px;
  margin-left: 2px;
  transition: fill 0.2s;
}
.k-card:hover .k-play svg { fill: var(--black); }
.k-series {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  position: absolute;
  bottom: 10px; left: 14px;
  z-index: 1;
}
.k-content { padding: 20px; }
.k-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.4;
}
.k-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

/* ── ABOUT PAGE ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 72px;
  align-items: start;
}
.about-body p {
  font-size: 15px;
  font-weight: 300;
  color: var(--light);
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-body strong { color: var(--white); font-weight: 600; }
.credential-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.credential {
  background: var(--panel);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 3px solid transparent;
  transition: border-color 0.2s;
}
.credential:hover { border-left-color: var(--accent); }
.credential-dot { width: 6px; height: 6px; background: var(--accent); flex-shrink: 0; }
.credential-text { font-size: 13px; color: var(--light); font-weight: 300; }
.about-aside { position: sticky; top: 80px; }
.aside-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 36px;
  margin-bottom: 20px;
}
.aside-panel-title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 14px;
}
.aside-panel p {
  font-size: 13px;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 10px;
}
.aside-panel p:last-child { margin-bottom: 0; }
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; }
.contact-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  width: 56px;
  flex-shrink: 0;
  padding-top: 2px;
}
.contact-val {
  font-size: 13px;
  color: var(--light);
  line-height: 1.55;
}
.contact-val a { color: var(--accent); }

/* ── QUOTE PAGE ── */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: start;
}
.quote-form-wrap {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 44px;
}
.form-section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
  margin-top: 32px;
}
.form-section-label:first-child { margin-top: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--dark);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { height: 110px; resize: vertical; }
.form-group select option { background: var(--dark); }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.form-check input[type="checkbox"] {
  width: 15px; height: 15px;
  margin-top: 3px; flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-check label {
  font-size: 13px;
  font-weight: 300;
  color: var(--silver);
  cursor: pointer;
}
.form-submit { width: 100%; margin-top: 8px; }
.quote-aside { position: sticky; top: 80px; }
.quote-panel {
  background: var(--near-black);
  border: 1px solid var(--border);
  padding: 36px;
  margin-bottom: 20px;
}
.quote-panel-title {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 18px;
}
.quote-panel p {
  font-size: 13px;
  font-weight: 300;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: 10px;
}
.quote-panel p:last-child { margin-bottom: 0; }

/* ── ARTICLE PAGES ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 72px;
  align-items: start;
  padding: 72px 80px;
}
.article-content { min-width: 0; }
.article-content h2 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.04em;
  color: var(--white);
  margin: 40px 0 14px;
  line-height: 1;
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin: 28px 0 8px;
  letter-spacing: 0.02em;
}
.article-content p {
  font-size: 15px;
  font-weight: 300;
  color: var(--light);
  line-height: 1.85;
  margin-bottom: 16px;
}
.article-content ul,
.article-content ol {
  margin: 0 0 18px 0;
  padding-left: 0;
}
.article-content ul li,
.article-content ol li {
  font-size: 15px;
  font-weight: 300;
  color: var(--light);
  line-height: 1.75;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}
.article-content ul li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--accent);
  font-size: 12px;
  top: 4px;
}
.article-content ol { counter-reset: ol; }
.article-content ol li::before {
  content: counter(ol) '.';
  counter-increment: ol;
  position: absolute; left: 0;
  color: var(--accent);
  font-size: 12px;
  font-family: var(--font-mono);
  top: 2px;
}
.article-content strong { color: var(--white); font-weight: 600; }
.article-content code {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 13px;
}
.article-content table th {
  background: var(--panel);
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.article-content table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--silver);
  vertical-align: top;
}
.article-content table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.callout {
  background: rgba(232,200,74,0.07);
  border: 1px solid rgba(232,200,74,0.2);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin: 24px 0;
}
.callout p { font-size: 13px; color: var(--light); line-height: 1.65; margin: 0; }
.callout strong { color: var(--accent); }
.warning-box {
  background: rgba(201,64,64,0.07);
  border: 1px solid rgba(201,64,64,0.25);
  border-left: 3px solid #c94040;
  padding: 16px 20px;
  margin: 24px 0;
}
.warning-box p { font-size: 13px; color: var(--light); line-height: 1.65; margin: 0; }
.warning-box strong { color: #e06060; }
.article-cta {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}
.article-cta h3 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 6px !important;
  margin-top: 0 !important;
}
.article-cta p {
  color: var(--silver) !important;
  margin-bottom: 20px !important;
  font-size: 14px !important;
}
.video-embed {
  background: var(--dark);
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.video-embed-placeholder {
  text-align: center;
}
.video-embed-placeholder p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 !important;
}
.article-sidebar { position: sticky; top: 80px; }
.sidebar-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 28px;
  margin-bottom: 16px;
}
.sidebar-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 14px;
}
.sidebar-links { display: flex; flex-direction: column; gap: 6px; }
.sidebar-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--silver);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links a:hover { color: var(--accent); text-decoration: none; }
.article-meta-bar {
  padding: 20px 80px;
  background: var(--near-black);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}
.article-meta-bar a {
  color: var(--muted);
  transition: color 0.2s;
}
.article-meta-bar a:hover { color: var(--accent); text-decoration: none; }
.article-meta-bar .sep { color: var(--border); }
.article-category {
  background: rgba(232,200,74,0.1);
  border: 1px solid rgba(232,200,74,0.2);
  padding: 3px 10px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-mono);
}

/* ── CHECKLIST ── */
.checklist {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 28px 32px;
  margin: 24px 0;
}
.checklist h3 {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  margin: 0 0 16px !important;
}
.checklist ul { margin: 0 !important; }
.checklist li {
  padding-left: 28px !important;
  margin-bottom: 10px !important;
}
.checklist li::before {
  content: '☐' !important;
  color: var(--accent) !important;
  font-size: 14px !important;
  top: 2px !important;
}

/* ── FOOTER ── */
.footer {
  background: var(--near-black);
  border-top: 1px solid var(--border);
  padding: 56px 80px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin: 14px 0;
}
.footer-brand .address {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 18px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-1 { animation: fadeUp 0.5s ease 0.05s both; }
.animate-2 { animation: fadeUp 0.5s ease 0.15s both; }
.animate-3 { animation: fadeUp 0.5s ease 0.25s both; }
.animate-4 { animation: fadeUp 0.5s ease 0.35s both; }

/* ── 404 ── */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 200px);
  color: var(--border);
  line-height: 1;
  margin-bottom: 0;
}
.error-title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 16px;
}
.error-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--silver);
  max-width: 400px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  :root { --section-pad: 80px 48px; --page-pad: 140px 48px 72px; }
  .nav { padding: 0 32px; }
  .hero { padding: 0 48px 72px; }
  .stats-bar { padding: 28px 48px; }
  .footer { padding: 48px; grid-template-columns: 1fr 1fr; }
  .footer-bottom { padding: 18px 48px; }
  .article-layout { padding: 60px 48px; gap: 48px; }
  .article-meta-bar { padding: 18px 48px; }
  .about-split { grid-template-columns: 1fr; }
  .about-aside { position: static; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
}
@media (max-width: 768px) {
  :root { --section-pad: 60px 24px; --page-pad: 120px 24px 56px; }
  .nav { padding: 0 16px; }
  .nav-logo { font-size: 16px; letter-spacing: 0.05em; gap: 7px; }
  .nav-logo-mark { width: 24px; height: 24px; font-size: 11px; }
  .nav-logo-text { display: none; }
  .nav-links .nav-link-hide { display: none; }
  .hero { padding: 0 24px 56px; }
  .hero-scroll { display: none; }
  .stats-bar { padding: 24px; flex-wrap: wrap; gap: 20px; }
  .stat { flex: 0 0 calc(50% - 10px); border-right: none; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .service-split { grid-template-columns: 1fr; gap: 32px; }
  .addl-grid { grid-template-columns: 1fr; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; padding: 40px 24px; }
  .article-sidebar { position: static; }
  .article-meta-bar { padding: 14px 24px; }
  .footer { padding: 40px 24px; grid-template-columns: 1fr; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 6px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
