@font-face {
    font-family: 'Space Grotesk';
    src: url('./assets/fonts/SpaceGrotesk-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('./assets/fonts/SpaceGrotesk-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('./assets/fonts/SpaceGrotesk-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('./assets/fonts/SpaceGrotesk-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('./assets/fonts/SpaceGrotesk-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
  --bg: #0b0b0d;
  --bg-soft: #121215;
  --paper: #f4efec;
  --paper-deep: #e9e1dc;
  --ink: #16171b;
  --muted: #68636a;
  --muted-light: #b8afb3;
  --red: #f22626;
  --red-dark: #bd1818;
  --line: rgba(242, 38, 38, 0.34);
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
    cursor: none;
}

.custom-cursor {
    width: 28px;
    height: 28px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999999;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 1.5px solid rgba(180, 18, 38, 0.95);
    background:
        radial-gradient(circle, rgba(180, 18, 38, 0.55) 0 2px, transparent 3px),
        rgba(10, 10, 10, 0.18);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 18px rgba(180, 18, 38, 0.35);
    backdrop-filter: blur(2px);
    transition:
        width 0.18s ease,
        height 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.custom-cursor::before,
.custom-cursor::after {
    content: "";
    position: absolute;
    background: rgba(180, 18, 38, 0.75);
}

.custom-cursor::before {
    width: 8px;
    height: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-cursor::after {
    width: 1px;
    height: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-cursor.is-hovering {
    width: 46px;
    height: 46px;
    border-color: rgba(255, 255, 255, 0.85);
    background:
        radial-gradient(circle, rgba(180, 18, 38, 0.75) 0 2px, transparent 3px),
        rgba(180, 18, 38, 0.18);
    box-shadow:
        0 0 0 1px rgba(180, 18, 38, 0.35),
        0 0 26px rgba(180, 18, 38, 0.55);
}

@media (pointer: coarse) {
    body {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }
}

h1, h2, h3,
.hero-title,
.section-title,
.nav-logo {
    font-family: var(--font-heading);
}

.nav-logo img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    display: block;
}

::selection {
    background: #b00020;
    color: #ffffff;
}

img {
    max-width: 100%;
    display: block;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 9999;
  background: var(--red);
  color: white;
  padding: .7rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.scrolled {
  background: rgba(244, 239, 236, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(17, 17, 19, 0.08);
  padding: 10px 0;
}
.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .02em; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); border-radius: 50%;
  font-family: var(--serif); font-weight: 700;
}
.brand-text { font-size: 1.08rem; }
.nav-menu { display: flex; align-items: center; gap: 24px; font-size: .88rem; font-weight: 700; }
.nav-menu a { color: var(--ink); opacity: .82; }
.nav-menu a:hover, .nav-menu a.active { color: var(--red); opacity: 1; }
.nav-cta {
  background: var(--red);
  color: white !important;
  opacity: 1 !important;
  padding: .78rem 1rem;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(242, 38, 38, .22);
}
.nav-toggle { display: none; background: transparent; border: 0; width: 42px; height: 42px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section { padding: 118px 0; position: relative; }
.surface { background: var(--bg); color: var(--paper); }

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(242, 38, 38, .16), transparent 28%),
    linear-gradient(135deg, var(--paper) 0%, var(--paper-deep) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(22,23,27,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(22,23,27,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-inner { display: grid; grid-template-columns: 1.16fr .84fr; gap: 80px; align-items: center; position: relative; }
.eyebrow { color: var(--red); text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: .78rem; }
.hero h1, .section-kicker h2, .section-heading h2, .contact-box h2 {
  font-family: var(--serif); line-height: 1.02; letter-spacing: -.04em;
}
.hero h1 { font-size: clamp(3rem, 7vw, 7.3rem); max-width: 980px; margin: 0 0 28px; }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.35rem); color: #423e43; max-width: 760px; margin: 0 0 34px; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .85rem 1.15rem; border-radius: 999px;
  font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; box-shadow: 0 16px 34px rgba(242, 38, 38, .24); }
.button-primary:hover { background: var(--red-dark); }
.button-ghost { border: 1px solid currentColor; color: inherit; }

.signal-panel {
  background: rgba(11, 11, 13, .94);
  color: var(--paper);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.signal-panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 0 0, rgba(242,38,38,.24), transparent 38%);
  pointer-events: none;
}
.panel-header, .signal-list div { position: relative; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 16px; margin-bottom: 16px; }
.panel-header span, .signal-list span { color: var(--muted-light); }
.signal-list div { padding: 14px 0; margin: 0; }
.signal-list div:last-child { border-bottom: 0; }

.trust-strip { background: var(--ink); color: var(--paper); padding: 28px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-grid div { border-left: 1px solid rgba(242,38,38,.5); padding-left: 18px; }
.trust-grid strong { display: block; font-family: var(--serif); font-size: 1.3rem; }
.trust-grid span { color: var(--muted-light); font-size: .9rem; }

.two-column { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.section-kicker span, .section-heading span { color: var(--red); font-weight: 900; letter-spacing: .16em; }
.section-kicker h2, .section-heading h2 { font-size: clamp(2.4rem, 4vw, 4.8rem); margin: 10px 0 0; }
.section-copy { font-size: 1.08rem; color: #423e43; }
.surface .section-copy, .surface .section-heading p { color: var(--muted-light); }
.quote-card {
  margin-top: 30px; padding: 26px; border-left: 4px solid var(--red);
  background: white; box-shadow: 0 18px 54px rgba(0,0,0,.06);
}

.section-heading { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.section-heading p { color: #59545a; margin: 12px 0 0; }
.cards { display: grid; gap: 22px; }
.three-cards { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 26px;
  padding: 30px;
  min-height: 390px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--line); background: rgba(255,255,255,.08); }
.card-number { color: var(--red); font-weight: 900; letter-spacing: .2em; }
.card h3 { font-family: var(--serif); font-size: 2rem; line-height: 1.1; margin: 22px 0 14px; }
.card p { color: var(--muted-light); }
ul { margin: 22px 0 0; padding-left: 1.2rem; }
li { margin: .48rem 0; }
.premium-line {
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(242,38,38,.08);
}

.industry-map {
  min-height: 430px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 50%, rgba(242,38,38,.26), transparent 32%),
    linear-gradient(135deg, var(--bg) 0%, #1b1719 100%);
  position: relative;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.industry-map::before { content: ""; position: absolute; inset: 14%; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.industry-map::after { content: ""; position: absolute; inset: 28%; border: 1px solid rgba(242,38,38,.42); border-radius: 50%; }
.map-core { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--paper); font-family: var(--serif); font-size: 2rem; line-height: 1; }
.node { position: absolute; width: 14px; height: 14px; background: var(--red); border-radius: 50%; box-shadow: 0 0 22px var(--red); }
.n1 { left: 22%; top: 31%; } .n2 { right: 20%; top: 26%; } .n3 { left: 32%; bottom: 22%; } .n4 { right: 26%; bottom: 32%; }
.compact h2 { font-size: clamp(2.2rem, 3.4vw, 4rem); }
.tag-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag-grid span { border: 1px solid var(--line); border-radius: 999px; padding: .55rem .85rem; background: rgba(242,38,38,.06); font-weight: 700; font-size: .92rem; }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.method-step { padding: 26px; border: 1px solid var(--card-border); border-radius: 24px; background: var(--card); }
.method-step span { display: inline-grid; place-items: center; width: 38px; height: 38px; background: var(--red); color: white; border-radius: 50%; font-weight: 900; }
.method-step h3 { font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; }
.method-step p { color: var(--muted-light); }

.contact-section { background: linear-gradient(135deg, var(--paper-deep), var(--paper)); }
.contact-box { max-width: 850px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 78px 0; }
.contact-box h2 { font-size: clamp(2.3rem, 5vw, 5rem); margin: 8px 0 20px; }
.contact-box p:not(.eyebrow) { color: #423e43; font-size: 1.05rem; }
.contact-actions { justify-content: center; margin-top: 28px; }
.small-note { font-size: .85rem !important; margin-top: 18px; color: var(--muted) !important; }
code { background: rgba(0,0,0,.06); border-radius: 6px; padding: .1rem .35rem; }

.site-footer { background: var(--bg); color: var(--paper); padding: 38px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-grid p, .footer-grid span { color: var(--muted-light); margin: 4px 0 0; }
.footer-grid div:last-child { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.footer-grid a { color: var(--red); font-weight: 800; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .hero-inner, .two-column { grid-template-columns: 1fr; gap: 44px; }
  .three-cards, .method-grid, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .signal-panel { max-width: 620px; }
}

@media (max-width: 760px) {
  .site-header { background: rgba(244,239,236,.94); backdrop-filter: blur(16px); }
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: 68px; left: 20px; right: 20px;
    background: var(--ink); color: var(--paper);
    border-radius: 22px; padding: 18px;
    display: none; flex-direction: column; align-items: stretch; gap: 6px;
    box-shadow: var(--shadow);
  }
  .nav-menu.active { display: flex; }
  .nav-menu a { color: var(--paper); padding: .8rem 1rem; }
  .nav-cta { text-align: center; }
  .hero { padding-top: 98px; min-height: auto; }
  .section { padding: 82px 0; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .three-cards, .method-grid, .trust-grid { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .contact-box { padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}