/* ══════════════════════════════════════════
   Elevate Systems Consulting — custom.css
   ══════════════════════════════════════════ */

/* ── Base reset & variables ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red:       #ff073a;
  --red-dark:  #B00D20;
  --black:     #0A0A0A;
  --white:     #FAFAFA;
  --grey-100:  #F2EAE3;
  --grey-200:  #E8E6E1;
  --grey-400:  #9A9690;
  --grey-600:  #5C5954;
  --ink:       #1A1816;
  --serif:     "Poppins", sans-serif;
  --sans:      "Poppins", sans-serif;
  --mono:      "Poppins", sans-serif;
  --nav-h:     76px;
  --pad:       clamp(40px, 6vw, 100px);
  --section-pad: clamp(80px, 10vw, 140px);
}

a { color: var(--red); text-decoration: none; }

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ══════════════════════════════════════════
   NAV — Desktop
   ══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250,250,250,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  z-index: 100;
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,.07); }

.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo  { height: 60px; width: auto; object-fit: contain; }

.nav-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}
.nav-name span {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey-400);
}

/* Desktop nav links */
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--grey-600);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .25s ease;
  transform-origin: left;
}
.nav-links a:hover           { color: var(--ink); }
.nav-links a:hover::after    { transform: scaleX(1); }
.nav-links a.active          { color: var(--red); }
.nav-links a.active::after   { transform: scaleX(1); }

/* "Get in Touch" desktop CTA pill */
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px;
  font-weight: 500 !important;
  line-height: 1;
  transition: background .2s !important;
}
.nav-cta::after          { display: none !important; }
.nav-cta:hover           { background: var(--red-dark) !important; }

/* Burger — hidden on desktop */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  z-index: 201; /* above drawer */
}
.burger span {
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  display: block;
  transition: transform .25s ease, opacity .2s ease;
}

/* Drawer close btn — hidden on desktop */
.drawer-close { display: none; }

.page{
    margin-top:20px;
}
/* ══════════════════════════════════════════
   NAV — Mobile drawer  (≤ 900 px)
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
    .page{
    margin-top:50px;
}
nav{z-index:200;}
  /* Show burger, hide desktop CTA */
  .burger     { display: flex; }
  .nav-cta    { display: none !important; } /* desktop pill hidden */

  /* ── Overlay ── */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
  }
  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  /* ── Slide-in drawer ── */
  .nav-links {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--black);
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 100vh;
    z-index: 200;
    /* padding: 80px 40px 60px; */
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(.4, 0, .2, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, .4);
  }
  .nav-links.open {
    transform: translateX(0);       /* slide in */
  }

  /* Nav links inside drawer */
  .nav-links a {
    color: rgba(255,255,255,.6) !important;
    font-size: 1rem !important;
    letter-spacing: .06em;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    width: 100%;
    display: block;
    /* stagger fade-in */
    opacity: 0;
    transform: translateX(20px);
    transition:
      opacity   .3s ease,
      transform .3s ease,
      color     .2s;
  }
  .nav-links a:last-of-type  { border-bottom: none; }
  .nav-links a::after        { display: none; }     /* remove underline anim */
  .nav-links a:hover         { color: var(--white) !important; }
  .nav-links a.active        { color: var(--red) !important; }

  /* Stagger delays (a is child 1+, after .drawer-close child) */
  .nav-links.open a:nth-child(2) { transition-delay: .07s; }
  .nav-links.open a:nth-child(3) { transition-delay: .12s; }
  .nav-links.open a:nth-child(4) { transition-delay: .17s; }
  .nav-links.open a:nth-child(5) { transition-delay: .22s; }
  .nav-links.open a:nth-child(6) { transition-delay: .27s; }

  /* Reveal links when open */
  .nav-links.open a {
    opacity: 1;
    transform: translateX(0);
  }

  /* Mobile CTA button inside drawer */
  .nav-links a.mobile-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 14px 24px !important;
    background: var(--red) !important;
    color: var(--white) !important;
    border-radius: 50px;
    border-bottom: none !important;
    font-weight: 500;
    letter-spacing: .08em;
    text-align: center;
    transition-delay: .3s !important;
            width: auto;
  }
  .nav-links a.mobile-cta:hover { background: var(--red-dark) !important; }

  /* ── Drawer close button (✕) ── */
  .drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px; right: 20px;
    width: 38px; height: 38px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 4px;
    color: rgba(255,255,255,.75);
    font-size: 1rem;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
    z-index: 201;
  }
  .drawer-close:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
  }

  /* ── Burger → ✕ animation ── */
  .burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Keep burger icon white when drawer is open */
  .burger.open span { background: var(--ink); }
}

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  line-height: 1;
  transition: background .2s, gap .2s;
  width: fit-content;
}
.btn-primary:hover          { background: var(--red-dark); gap: 18px; }
.btn-primary:hover svg      { transform: translateX(4px); }
.btn-primary svg            { transition: transform .2s; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 32px;
  border: 1.5px solid var(--grey-200);
  cursor: pointer;
  border-radius: 50px;
  line-height: 1;
  transition: border-color .2s, color .2s;
  width: fit-content;
}
.btn-outline:hover { border-color: var(--ink); }

/* ══════════════════════════════════════════
   SECTION UTILITIES
   ══════════════════════════════════════════ */
.section        { padding: var(--section-pad) var(--pad); }
.section-inner  { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--red); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-body {
  color: var(--grey-600);
  font-size: .97rem;
  max-width: 580px;
  line-height: 1.8;
}

/* ══════════════════════════════════════════
   FADE-UP ANIMATION
   ══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible            { opacity: 1; transform: none; }
.fade-up:nth-child(2)       { transition-delay: .1s; }
.fade-up:nth-child(3)       { transition-delay: .2s; }
.fade-up:nth-child(4)       { transition-delay: .3s; }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vw, 120px) var(--pad);
  position: relative;
  overflow: hidden;
}
.hero-left-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 10% 80%, rgba(232,16,42,.04) 0%, transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(232,16,42,.03) 0%, transparent 40%);
}
.hero-left::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--red) 30%, var(--red) 70%, transparent);
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--red); }

.hero-h1 {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -.01em;
}
.hero-h1 em { font-style: normal; color: var(--red); }

.hero-sub {
  font-size: 1rem;
  color: var(--grey-600);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 48px;
}

.hero-right {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-right-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img               { position: absolute; bottom: 0; right: 140px; }
.hero-img img           { height: 570px; object-fit: contain; }

.hero-orb-1 {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,16,42,.22) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orb1 8s ease-in-out infinite;
}
.hero-orb-2 {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,16,42,.1) 0%, transparent 70%);
  bottom: -60px; left: -60px;
  animation: orb2 10s ease-in-out infinite;
}
@keyframes orb1 { 0%,100%{ transform: translate(0,0) scale(1); }  50%{ transform: translate(-30px,20px) scale(1.1); } }
@keyframes orb2 { 0%,100%{ transform: translate(0,0) scale(1); }  50%{ transform: translate(20px,-30px) scale(1.15); } }

.hero-grid-svg       { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }
.hero-logo-big       { width: clamp(180px, 22vw, 260px); filter: drop-shadow(0 0 50px rgba(232,16,42,.45)); animation: float 6s ease-in-out infinite; }
@keyframes float     { 0%,100%{ transform: translateY(0); }  50%{ transform: translateY(-14px); } }

.hero-tagline {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 18px 48px 0;
  color: rgba(255,255,255,.3);
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,.07);
}
.hero-diag { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }

/* ══════════════════════════════════════════
   STATS STRIP
   ══════════════════════════════════════════ */
.stats-strip {
  background: var(--grey-100);
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  padding: 48px var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative; overflow: hidden;
}
.stats-strip::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23E8102A' stroke-width='0.3' opacity='0.18'%3E%3Cpath d='M 0 30 L 30 0 L 60 30 L 30 60 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.stat            { text-align: center; position: relative; z-index: 1; }
.stat-num        { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--red); line-height: 1; margin-bottom: 6px; }
.stat-label      { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-400); font-weight: 400; }

/* ══════════════════════════════════════════
   HOME FEATURES
   ══════════════════════════════════════════ */
.home-features    { padding: var(--section-pad) var(--pad); position: relative; overflow: hidden; }
.home-features-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 95% 50%, rgba(232,16,42,.04) 0%, transparent 55%);
}
.section-watermark {
  position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: clamp(120px, 18vw, 220px); font-weight: 700;
  color: rgba(232,16,42,.04); line-height: 1; pointer-events: none; user-select: none;
}
.features-split  { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; position: relative; }
.pillars         { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--grey-200); margin-top: 60px; }
.pillar          { background: var(--white); padding: 40px 44px; position: relative; overflow: hidden; transition: background .25s; }
.pillar::before  { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transition: transform .3s ease; transform-origin: bottom; }
.pillar:hover    { background: var(--grey-100); }
.pillar:hover::before { transform: scaleY(1); }
.pillar-num      { font-family: var(--mono); font-size: .7rem; color: var(--red); letter-spacing: .15em; margin-bottom: 14px; }
.pillar-title    { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.pillar-text     { font-size: .88rem; color: var(--grey-600); line-height: 1.7; }

/* ══════════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════════ */
.cta-band          { background: var(--red); padding: 80px var(--pad); text-align: center; position: relative; overflow: hidden; }
.cta-band::before  {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='30' fill='none' stroke='white' stroke-width='0.4' opacity='0.12'/%3E%3Ccircle cx='40' cy='40' r='15' fill='none' stroke='white' stroke-width='0.4' opacity='0.1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.cta-band-inner    { position: relative; z-index: 1; }
.cta-title         { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); color: white; font-weight: 600; margin-bottom: 24px; }

/* ══════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════ */
.about-hero         { background: var(--black); padding: clamp(80px,10vw,140px) var(--pad); position: relative; overflow: hidden; }
.about-hero-inner   { position: relative; z-index: 2; }
.about-section      { padding: var(--section-pad) var(--pad); background: var(--white); position: relative; overflow: hidden; }
.about-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.about-split        { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.approach-list      { list-style: none; margin-top: 32px; }
.approach-list li   { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--grey-200); font-size: .93rem; color: var(--grey-600); }
.approach-list li::before { content: '→'; color: var(--red); font-size: .9rem; flex-shrink: 0; margin-top: 2px; }
.sectors            { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.sector-tag         { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--grey-100); color: var(--grey-600); padding: 8px 16px; border-radius: 2px; border: 1px solid var(--grey-200); transition: border-color .2s, color .2s; cursor: default; }
.sector-tag:hover   { border-color: var(--red); color: var(--red); }
.quote-block        { margin-top: 48px; padding: 36px; background: var(--grey-100); border-left: 3px solid var(--red); border-radius: 0 2px 2px 0; }
.quote-text         { font-family: var(--serif); font-size: 1.05rem; font-style: italic; color: var(--grey-600); line-height: 1.7; margin-bottom: 12px; }
.quote-attr         { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-400); }

/* ══════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════ */
.services-hero      { background: var(--grey-100); border-bottom: 1px solid var(--grey-200); padding: clamp(80px,10vw,120px) var(--pad) clamp(60px,7vw,100px); position: relative; overflow: hidden; }
.services-grid      { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2px; background: var(--grey-200); }
.service-card       { background: var(--white); padding: 48px 44px; position: relative; overflow: hidden; transition: background .3s; }
.service-card:hover { background: var(--grey-100); }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 44px; right: 44px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .35s ease; transform-origin: left; }
.service-card:hover::after { transform: scaleX(1); }
.service-num        { font-family: var(--serif); font-size: 3.5rem; font-weight: 700; color: var(--grey-200); line-height: 1; margin-bottom: 20px; transition: color .3s; }
.service-card:hover .service-num { color: rgba(232,16,42,.12); }
.service-title      { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.service-text       { font-size: .9rem; color: var(--grey-600); line-height: 1.75; }
.services-footer    { padding: var(--section-pad) var(--pad); text-align: center; border-top: 1px solid var(--grey-200); position: relative; overflow: hidden; }

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
.contact-layout     { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--nav-h)); }
.contact-left       { background: var(--black); padding: clamp(60px,8vw,120px) clamp(40px,5vw,80px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.contact-left-inner { position: relative; z-index: 2; }
.contact-info       { display: flex; flex-direction: column; gap: 24px; }
.contact-item       { display: flex; align-items: flex-start; gap: 16px; color: rgba(255,255,255,.6); font-size: .93rem; }
.contact-icon       { width: 36px; height: 36px; background: rgba(232,16,42,.15); border: 1px solid rgba(232,16,42,.3); border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg   { width: 14px; height: 14px; stroke: var(--red); }
.contact-item strong { display: block; color: var(--white); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--mono); margin-bottom: 4px; font-weight: 400; }
.contact-right      { background: var(--white); padding: clamp(60px,8vw,120px) clamp(40px,5vw,80px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.contact-right::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), rgba(232,16,42,0)); }
.contact-left-inner .section-title{ color:#FFF;}

.form-title     { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 36px; color: var(--ink); }
.form-label     { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--grey-400); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--grey-100); border: 1.5px solid var(--grey-200); border-radius: 2px; padding: 13px 16px; font-family: var(--sans); font-size: .92rem; color: var(--ink); outline: none; transition: border-color .2s, background .2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--red); background: var(--white); }
.form-textarea  { min-height: 120px; resize: vertical; }
.form-select    { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%239A9690' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-row       { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success   { display: none; background: rgba(232,16,42,.06); border: 1px solid rgba(232,16,42,.2); border-radius: 2px; padding: 20px 24px; color: var(--red); font-size: .9rem; margin-top: 16px; align-items: center; gap: 12px; }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer          { background: var(--ink); color: rgba(255,255,255,.4); padding: 48px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .8rem; font-family: var(--mono); letter-spacing: .06em; position: relative; overflow: hidden; }
footer::before  { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,16,42,.5), transparent); }
footer a        { color: rgba(255,255,255,.5); text-decoration: none; }
footer a:hover  { color: var(--red); }

/* ══════════════════════════════════════════
   BLOG
   ══════════════════════════════════════════ */
.blog-hero          { background: var(--black); padding: clamp(80px,10vw,140px) var(--pad); position: relative; overflow: hidden; }
.blog-grid          { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2px; background: var(--grey-200); }
.blog-card          { background: var(--white); display: flex; flex-direction: column; position: relative; overflow: hidden; cursor: pointer; transition: background .25s; }
.blog-card:hover    { background: var(--grey-100); }
.blog-card::after   { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.blog-card:hover::after { transform: scaleY(1); }
.blog-card-img      { width: 100%; height: 200px; background: var(--black); position: relative; overflow: hidden; }
.blog-card-img-inner { width: 100%; height: 100%; }
.blog-card-body     { padding: 32px 36px 36px; flex: 1; display: flex; flex-direction: column; }
.blog-tag           { font-family: var(--mono); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.blog-tag::before   { content: ''; width: 16px; height: 1px; background: var(--red); }
.blog-card-title    { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 14px; transition: color .2s; }
.blog-card:hover .blog-card-title { color: var(--red); }
.blog-card-excerpt  { font-size: .88rem; color: var(--grey-600); line-height: 1.75; flex: 1; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.blog-card-meta     { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--grey-200); font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: var(--grey-400); }
.blog-card-arrow    { color: var(--red); font-size: 1rem; transition: transform .2s; }
.blog-card:hover .blog-card-arrow { transform: translateX(5px); }

.article-hero       { background: var(--black); padding: clamp(80px,10vw,120px) var(--pad) 60px; position: relative; overflow: hidden; }
.article-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.article-tag        { font-family: var(--mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.article-title      { font-family: var(--serif); font-size: clamp(1.8rem,4vw,3rem); font-weight: 600; color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.article-meta       { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: rgba(255,255,255,.4); display: flex; gap: 24px; flex-wrap: wrap; }
.article-body       { max-width: 860px; margin: 0 auto; padding: 60px var(--pad); }
.article-body p     { font-size: 1rem; color: var(--grey-600); line-height: 1.85; margin-bottom: 24px; }
.article-body h2    { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); margin: 40px 0 16px; }
.article-body h3    { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.article-body ul    { margin: 0 0 24px 20px; }
.article-body ul li { font-size: .97rem; color: var(--grey-600); line-height: 1.8; margin-bottom: 8px; }
.article-body ul li::marker { color: var(--red); }
.article-body blockquote { border-left: 3px solid var(--red); padding: 20px 28px; margin: 32px 0; background: var(--grey-100); font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--grey-600); }
.article-back       { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); cursor: pointer; margin-bottom: 40px; transition: gap .2s; }
.article-back:hover { gap: 14px; }

.blog-filter-btn { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: 8px 18px; background: var(--white); border: 1.5px solid var(--grey-200); color: var(--grey-600); cursor: pointer; border-radius: 2px; transition: all .2s; }
.blog-filter-btn:hover, .blog-filter-btn.active { background: var(--red); border-color: var(--red); color: white; }

/* Home blog preview */
.home-blog         { padding: var(--section-pad) var(--pad); background: var(--grey-100); border-top: 1px solid var(--grey-200); position: relative; overflow: hidden; }
.home-blog-inner   { max-width: 1100px; margin: 0 auto; }
.home-blog-header  { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }
.home-blog-cards   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--grey-200); }
.home-blog-card    { background: var(--white); padding: 32px 36px; cursor: pointer; position: relative; overflow: hidden; transition: background .25s; }
.home-blog-card:hover { background: var(--grey-100); }
.home-blog-card::after { content: ''; position: absolute; bottom: 0; left: 36px; right: 36px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s ease; transform-origin: left; }
.home-blog-card:hover::after { transform: scaleX(1); }
.home-blog-card-tag     { font-family: var(--mono); font-size: .63rem; letter-spacing: .15em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.home-blog-card-title   { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 12px; transition: color .2s; }
.home-blog-card:hover .home-blog-card-title { color: var(--red); }
.home-blog-card-excerpt { font-size: .84rem; color: var(--grey-600); line-height: 1.7; margin-bottom: 20px; }
.home-blog-card-date    { font-family: var(--mono); font-size: .65rem; letter-spacing: .1em; color: var(--grey-400); }

/* ══════════════════════════════════════════
   RESPONSIVE — shared breakpoints
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero              { grid-template-columns: 1fr; }
  .hero-right        { min-height: 300px; }
  .stats-strip       { grid-template-columns: 1fr; gap: 24px; }
  .pillars           { grid-template-columns: 1fr; }
  .features-split    { grid-template-columns: 1fr; gap: 40px; }
  .about-split       { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout    { grid-template-columns: 1fr; }
  .contact-left      { min-height: 400px; }
  .form-row          { grid-template-columns: 1fr; }
  .home-blog-cards   { grid-template-columns: 1fr; }
  .blog-grid         { grid-template-columns: 1fr; }
  .section-watermark { display: none; }
  .hero-img          { display: block; }
  .hero-img {
    position: absolute;
    bottom: -15px;
    right: 100px;
}
.hero-img img {
    height: 300px;
    object-fit: contain;
}
}