/* ===================================================
   HEADWORKS – Premium Online-Marketing Agency
   Art Direction v2 – Architectural, Premium, Depth
   =================================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --dark: #0e0e0e;
  --dark-2: #161616;
  --dark-3: #1c1c1c;
  --light: #f7f7f7;
  --light-2: #efefef;
  --accent: #e50914;
  --accent-glow: rgba(229, 9, 20, 0.08);
  --gray-100: #f0f0f0;
  --gray-200: #e0e0e0;
  --gray-300: #cccccc;
  --gray-400: #999999;
  --gray-500: #777777;
  --gray-600: #555555;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
}

.section-label--light {
  color: rgba(229, 9, 20, 0.7);
}

.section-label--light::before {
  background: rgba(229, 9, 20, 0.5);
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--black);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 580px;
  line-height: 1.8;
}

.section-subtitle--center {
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: 72px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-label {
  padding-left: 0;
}

.section-header--center .section-label::before {
  display: none;
}

.section-header--center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 16px 34px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  letter-spacing: 0.01em;
}

.btn__arrow {
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow:
    0 4px 24px rgba(229, 9, 20, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn--primary:hover {
  background: #cc0812;
  box-shadow:
    0 12px 40px rgba(229, 9, 20, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.btn--large {
  padding: 20px 44px;
  font-size: 1.02rem;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 34px;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--gray-200);
  padding: 14px 28px;
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--outline-light:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.nav--scrolled {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
}

.nav__logo:hover {
  opacity: 0.8;
}

.nav__logo-img {
  height: 40px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--white);
}
.nav__link:hover::after {
  width: 100%;
}

.nav__cta-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  padding: 10px 24px;
  border-radius: 60px;
  transition: all var(--transition);
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(229, 9, 20, 0.25);
}

.nav__cta-link:hover {
  background: #cc0812;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(229, 9, 20, 0.35);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ====================================
   HERO – Premium Split Layout
   ==================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.hero__content {
  max-width: 560px;
}

.hero__gradient {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 140%;
  background: radial-gradient(
    ellipse at center,
    rgba(229, 9, 20, 0.06) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero__gradient-2 {
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(
    ellipse at center,
    rgba(229, 9, 20, 0.03) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.hero__noise {
  position: absolute;
  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='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
  position: relative;
  padding-left: 28px;
}

.hero__eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
}

.hero__title {
  margin-bottom: 28px;
}

.hero__title-line {
  display: block;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.04em;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #ff4d58 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.05em;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 460px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__trust-line {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 40px;
  line-height: 1.6;
  max-width: 420px;
  letter-spacing: 0.01em;
}

/* --- Hero Signature Element --- */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.signature {
  position: relative;
  width: 460px;
  height: 460px;
}

/* SVG fills the wrapper, labels can overflow safely */
.signature__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Animated flow dashes: stream from outer nodes towards center */
@keyframes sigFlowIn {
  0% {
    stroke-dashoffset: 28;
  }
  100% {
    stroke-dashoffset: -28;
  }
}

.sig-flow {
  opacity: 0.55;
  animation: sigFlowIn 2.2s linear infinite;
}
.sig-flow--1 {
  animation-delay: 0s;
}
.sig-flow--2 {
  animation-delay: -0.73s;
}
.sig-flow--3 {
  animation-delay: -1.46s;
}

/* Node activation flash – fires in sync with the travelling dot */
.sig-activate {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-flash 14s linear infinite;
  opacity: 0;
}

@keyframes node-flash {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  7% {
    opacity: 0.4;
    transform: scale(2.6);
  }
  16% {
    opacity: 0;
    transform: scale(4.2);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes blurSharpen {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes signatureFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero__eyebrow {
  animation: fadeInUp 0.8s ease-out both;
}

.hero__title-line:nth-child(1) {
  animation: blurSharpen 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero__title-line:nth-child(2) {
  animation: blurSharpen 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero__title-line:nth-child(3) {
  animation: blurSharpen 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both;
}

.hero__subtitle {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__buttons {
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero__trust-line {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.signature {
  animation:
    signatureFloat 8s ease-in-out infinite,
    sigFadeIn 0.1s ease-out 0s both;
}

@keyframes sigFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Flow dash animation already declared above via .sig-flow classes */

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ====================================
   TRUST / POSITIONING
   ==================================== */
.trust {
  padding: 120px 0;
  background: var(--light);
  position: relative;
}

.trust::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gray-200) 50%,
    transparent 100%
  );
}

.trust__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.trust__content .section-title {
  max-width: 500px;
}

.trust__text {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.85;
  max-width: 480px;
}

.trust__points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trust__point {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.trust__point:hover {
  border-color: rgba(229, 9, 20, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  transform: translateX(4px);
}

.trust__point-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  transition: all var(--transition);
}

.trust__point:hover .trust__point-icon {
  background: rgba(229, 9, 20, 0.06);
}

.trust__point-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}

.trust__point-text {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ====================================
   BRANCHES – Premium Entry Modules
   ==================================== */
.branches {
  padding: 160px 0;
  background: var(--white);
  position: relative;
}

.branches__modules {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.branch-module {
  display: block;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(
    145deg,
    var(--dark) 0%,
    #141414 60%,
    var(--dark-2) 100%
  );
  transition: all var(--transition-slow);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.branch-module:hover {
  border-color: rgba(229, 9, 20, 0.2);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(229, 9, 20, 0.08);
  transform: translateY(-4px);
}

.branch-module__inner {
  display: grid;
  grid-template-columns: 1fr 180px;
  align-items: center;
  min-height: 300px;
  max-width: 960px;
  margin: 0 auto;
}

.branch-module__content {
  padding: 64px 60px;
  position: relative;
  z-index: 2;
}

.branch-module__eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 6px 16px;
  background: rgba(229, 9, 20, 0.08);
  border-radius: 60px;
}

.branch-module__title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 520px;
}

.branch-module__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 480px;
}

.branch-module__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  padding: 12px 28px;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  transition: all var(--transition);
}

.branch-module:hover .branch-module__cta {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(229, 9, 20, 0.3);
}

.branch-module__cta svg {
  transition: transform var(--transition);
}

.branch-module:hover .branch-module__cta svg {
  transform: translateX(4px);
}

.branch-module__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.branch-module__pattern {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.35);
  transition: all var(--transition-slow);
}

.branch-module__pattern svg {
  width: 52px;
  height: 52px;
}

.branch-module:hover .branch-module__pattern {
  color: rgba(229, 9, 20, 0.4);
  background: rgba(229, 9, 20, 0.06);
  border-color: rgba(229, 9, 20, 0.12);
  transform: scale(1.06);
}

.branch-module__accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.branch-module:hover .branch-module__accent {
  opacity: 0.6;
}

/* ====================================
   PROBLEMS – Dark Depth
   ==================================== */
.problems {
  padding: 140px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.problems::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229, 9, 20, 0.15),
    transparent
  );
}

.problems::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0.5;
}

.problems .section-title {
  color: var(--white);
}

.problems .section-subtitle {
  color: rgba(255, 255, 255, 0.72);
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.problem-block {
  padding: 48px 36px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.problem-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.06),
    transparent
  );
}

.problem-block:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(229, 9, 20, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.problem-block__number {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  margin-bottom: 28px;
  letter-spacing: -0.04em;
  transition: color var(--transition);
}

.problem-block:hover .problem-block__number {
  color: rgba(229, 9, 20, 0.15);
}

.problem-block__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.problem-block__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

/* ====================================
   SERVICES – Editorial Panels
   ==================================== */
.services {
  padding: 160px 0;
  background: var(--light);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.services__panels {
  display: flex;
  flex-direction: column;
  max-width: 860px;
  margin: 0 auto;
}

.service-panel {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 40px;
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: border-color var(--transition);
}

.service-panel:first-child {
  border-top: 1px solid var(--gray-200);
}

.service-panel:hover {
  border-color: rgba(229, 9, 20, 0.15);
}

.service-panel__number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  letter-spacing: -0.03em;
  transition: opacity var(--transition);
  padding-top: 4px;
}

.service-panel:hover .service-panel__number {
  opacity: 0.4;
}

.service-panel__body {
  max-width: 640px;
}

.service-panel__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.service-panel__text {
  font-size: 0.98rem;
  color: var(--gray-500);
  line-height: 1.85;
  margin-bottom: 24px;
}

.service-panel__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-panel__list li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-500);
  padding: 0;
  position: relative;
  padding-left: 12px;
  transition: color var(--transition);
}

.service-panel__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.35;
  transition: opacity var(--transition);
}

.service-panel:hover .service-panel__list li::before {
  opacity: 0.7;
}

/* ====================================
   FOUNDERS – Editorial Duo
   ==================================== */
.founders {
  padding: 160px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.founders::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(229, 9, 20, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.founders__header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.founders__header .section-label {
  color: rgba(255, 255, 255, 0.72);
}

.founders__header .section-title {
  color: var(--white);
  max-width: 600px;
  margin: 0 auto;
}

.founders__intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  max-width: 600px;
  margin: 20px auto 0;
}

.founders__duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.founder-editorial {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
}

.founder-editorial:hover {
  border-color: rgba(229, 9, 20, 0.15);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}

.founder-editorial__portrait {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.founder-editorial__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-editorial__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
}

.founder-editorial__info {
  padding: 36px 32px 40px;
}

.founder-editorial__role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.founder-editorial__name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.founder-editorial__text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin-bottom: 24px;
}

.founder-editorial__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.founder-editorial__tags li {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  padding: 0;
  position: relative;
  padding-left: 12px;
  transition: color var(--transition);
}

.founder-editorial__tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
}

.founder-editorial:hover .founder-editorial__tags li {
  color: rgba(255, 255, 255, 0.7);
}

.founders__closing {
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  margin-top: 64px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

/* ====================================
   PROCESS – Refined Steps
   ==================================== */
.process {
  padding: 140px 0;
  background: var(--white);
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gray-200) 50%,
    transparent 100%
  );
}

/* --- Process Flow Visual --- */
.process__flow-visual {
  max-width: 800px;
  margin: 0 auto 48px;
}

.process__flow-svg {
  width: 100%;
  height: 48px;
}

/* --- Trust Section Visual --- */
.trust__visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.trust__visual-svg {
  width: 100%;
  height: 100%;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  text-align: center;
  padding: 48px 28px;
  background: var(--light);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
}

.process-card:hover {
  border-color: var(--gray-200);
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.05);
  background: var(--white);
}

.process-card__step {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  opacity: 0.15;
  transition: opacity var(--transition);
}

.process-card:hover .process-card__step {
  opacity: 0.4;
}

.process-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.process-card__text {
  font-size: 0.86rem;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ====================================
   CTA – Premium Dark
   ==================================== */
.cta {
  padding: 140px 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(229, 9, 20, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229, 9, 20, 0.12),
    transparent
  );
}

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta__title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  line-height: 1.18;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.cta__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

/* ====================================
   FOOTER – Refined
   ==================================== */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 72px 0 36px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}

.footer__logo-img {
  height: 36px;
  width: auto;
}

.footer__tagline {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  gap: 56px;
}

.footer__heading {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer__col ul li a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: 36px;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ====================================
   SCROLL ANIMATIONS
   ==================================== */
html.js [data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js [data-animate].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
html.js .problem-block:nth-child(1) {
  transition-delay: 0.05s;
}
html.js .problem-block:nth-child(2) {
  transition-delay: 0.12s;
}
html.js .problem-block:nth-child(3) {
  transition-delay: 0.19s;
}

html.js .service-col:nth-child(1) {
  transition-delay: 0.05s;
}
html.js .service-col:nth-child(2) {
  transition-delay: 0.12s;
}
html.js .service-col:nth-child(3) {
  transition-delay: 0.19s;
}

html.js .process-card:nth-child(1) {
  transition-delay: 0.05s;
}
html.js .process-card:nth-child(2) {
  transition-delay: 0.1s;
}
html.js .process-card:nth-child(3) {
  transition-delay: 0.15s;
}
html.js .process-card:nth-child(4) {
  transition-delay: 0.2s;
}

html.js .branch-module:nth-child(2) {
  transition-delay: 0.1s;
}

html.js .founder-editorial:nth-child(2) {
  transition-delay: 0.1s;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    display: none;
  }

  .hero__content {
    max-width: 620px;
  }

  .trust__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .problems__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .founders__duo {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .branch-module__inner {
    grid-template-columns: 1fr;
  }

  .branch-module__visual {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .section-header {
    margin-bottom: 48px;
  }

  /* Nav mobile */
  html.js .nav__toggle {
    display: flex;
  }

  .nav__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 8px;
  }

  html.js .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    justify-content: center;
    padding: 60px 40px;
    gap: 28px;
    transition: right var(--transition);
  }

  html.js .nav__menu.active {
    right: 0;
  }

  .nav__link {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .nav__cta-link {
    margin-top: 12px;
  }

  /* Hero mobile */
  .hero {
    padding: 130px 0 80px;
    min-height: auto;
  }

  .hero__title-line {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .hero__buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero__buttons .btn {
    text-align: center;
    justify-content: center;
  }

  /* Grids mobile */
  .problems__grid,
  .process__grid {
    grid-template-columns: 1fr;
  }

  .process__flow-visual {
    display: none;
  }

  .trust__visual {
    display: none;
  }

  .problem-block {
    padding: 36px 28px;
  }

  .process-card {
    padding: 36px 24px;
  }

  .branch-module__content {
    padding: 40px 28px;
  }

  .branch-module__title {
    font-size: 1.4rem;
  }

  .service-panel {
    grid-template-columns: 48px 1fr;
    gap: 0 24px;
    padding: 40px 0;
  }

  .service-panel__number {
    font-size: 2rem;
  }

  .founder-editorial__portrait {
    height: 320px;
  }

  /* Footer mobile */
  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 40px;
  }

  /* Sections padding */
  .trust,
  .problems,
  .services,
  .founders,
  .branches,
  .process,
  .cta {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .btn--large {
    padding: 16px 32px;
    font-size: 0.95rem;
  }

  .process-card__step {
    font-size: 1.8rem;
  }

  .footer__links {
    flex-direction: column;
    gap: 32px;
  }

  .founder-editorial__portrait {
    height: 260px;
  }

  .founder-editorial__info {
    padding: 28px 24px 32px;
  }

  .founder-editorial__name {
    font-size: 1.3rem;
  }

  .branch-module__content {
    padding: 32px 24px;
  }

  .service-panel {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-panel__number {
    font-size: 1.6rem;
  }
}

/* --- Selection & Scrollbar --- */
::selection {
  background: rgba(229, 9, 20, 0.2);
  color: var(--black);
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}
/* ===================================================
   HEADWORKS – Premium Online-Marketing Agency
   Modern, Minimal, Luxurious – Conversion-focused
   =================================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --dark: #1a1a1a;
  --light: #f5f5f5;
  --accent: #e50914;
  --gray-200: #e5e5e5;
  --gray-400: #999999;
  --gray-600: #666666;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label--light {
  color: rgba(255, 255, 255, 0.78);
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--black);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 580px;
  line-height: 1.75;
}

.section-subtitle--center {
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: 64px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.btn__arrow {
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(229, 9, 20, 0.25);
}

.btn--primary:hover {
  background: #cc0812;
  box-shadow: 0 8px 32px rgba(229, 9, 20, 0.35);
  transform: translateY(-2px);
}

.btn--large {
  padding: 20px 40px;
  font-size: 1.05rem;
}

.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  padding: 16px 32px;
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--gray-200);
  padding: 14px 28px;
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--outline-light:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.nav--scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 40px;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--white);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  padding: 10px 24px;
  border-radius: 60px;
  transition: all var(--transition);
}

.nav__cta-link:hover {
  background: #cc0812;
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  padding: 160px 0 120px;
  overflow: hidden;
}

.hero__gradient {
  position: absolute;
  top: -40%;
  right: -15%;
  width: 70%;
  height: 110%;
  background: radial-gradient(
    ellipse at center,
    rgba(229, 9, 20, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease-out both;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--accent), #ff4d58);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 44px;
  animation: fadeInUp 0.8s ease-out 0.12s both;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out both;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.24s both;
}

.hero__trust-line {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 36px;
  line-height: 1.6;
  max-width: 540px;
  animation: fadeInUp 0.8s ease-out 0.36s both;
}

/* --- Trust --- */
.trust {
  padding: 100px 0;
  background: var(--light);
}

.trust__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.trust__content .section-title {
  max-width: 480px;
}

.trust__text {
  font-size: 1.02rem;
  color: var(--gray-600);
  line-height: 1.8;
  max-width: 480px;
}

.trust__points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.trust__point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.trust__point-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  border: 1px solid var(--gray-200);
}

.trust__point-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.trust__point-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* --- Process --- */
.process {
  padding: 120px 0;
  background: var(--light);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  text-align: center;
  padding: 44px 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
}

.process-card:hover {
  border-color: rgba(229, 9, 20, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.process-card__step {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.2;
  transition: opacity var(--transition);
}

.process-card:hover .process-card__step {
  opacity: 0.5;
}

.process-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process-card__text {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.process-card:nth-child(1) {
  transition-delay: 0.05s;
}
.process-card:nth-child(2) {
  transition-delay: 0.1s;
}
.process-card:nth-child(3) {
  transition-delay: 0.15s;
}
.process-card:nth-child(4) {
  transition-delay: 0.2s;
}

/* --- Cases --- */
.cases {
  padding: 120px 0;
  background: var(--white);
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.case-card {
  padding: 48px 40px;
  background: var(--light);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: all var(--transition);
}

.case-card:hover {
  border-color: var(--gray-200);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.05);
}

.case-card__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(229, 9, 20, 0.06);
  padding: 6px 16px;
  border-radius: 60px;
  margin-bottom: 24px;
}

.case-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.case-card__text {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 28px;
}

.case-card__placeholder {
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px dashed var(--gray-200);
}

.case-card__placeholder span {
  font-size: 0.82rem;
  color: var(--gray-400);
  font-style: italic;
}

.case-card:nth-child(1) {
  transition-delay: 0.05s;
}
.case-card:nth-child(2) {
  transition-delay: 0.15s;
}

/* --- CTA --- */
.cta {
  padding: 120px 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(229, 9, 20, 0.08) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta__title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.75;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
}

.footer__logo-img {
  height: 36px;
  width: auto;
}

.footer__tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 280px;
}

.footer__links {
  display: flex;
  gap: 56px;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 20px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition);
}

.footer__col ul li a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: 32px;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.2);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animations: only hide elements when JS is available */
html.js [data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

html.js [data-animate].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .problems__grid,
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  /* Nav mobile: visible by default for no-JS, off-canvas only with JS */
  html.js .nav__toggle {
    display: flex;
  }

  .nav__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 8px;
  }

  html.js .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    justify-content: center;
    padding: 60px 40px;
    gap: 28px;
    transition: right var(--transition);
  }

  html.js .nav__menu.active {
    right: 0;
  }

  .nav__link {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .nav__cta-link {
    margin-top: 12px;
  }

  /* Hero mobile */
  .hero {
    padding: 130px 0 80px;
    min-height: auto;
  }

  .hero__title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .hero__buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero__buttons .btn {
    text-align: center;
    justify-content: center;
  }

  /* Grids mobile */
  .problems__grid,
  .cases__grid,
  .process__grid {
    grid-template-columns: 1fr;
  }

  .problem-block,
  .case-card {
    padding: 36px 28px;
  }

  .process-card {
    padding: 36px 24px;
  }

  /* Footer mobile */
  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 40px;
  }

  /* Sections padding */
  .trust,
  .problems,
  .services,
  .founders,
  .branches,
  .process,
  .cases,
  .cta {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .btn--large {
    padding: 16px 32px;
    font-size: 0.95rem;
  }

  .process-card__step {
    font-size: 2rem;
  }

  .footer__links {
    flex-direction: column;
    gap: 32px;
  }
}

/* --- Selection color --- */
::selection {
  background: rgba(229, 9, 20, 0.2);
  color: var(--black);
}

/* --- Scrollbar (Webkit) --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ===================================================
   PREMIUM DESIGN EVOLUTION
   Refinement layer – architectural depth & precision
   Final cascade: overrides all previous definitions
   =================================================== */

/* --- Enhanced Design Tokens --- */
:root {
  --space-section: clamp(80px, 10vw, 160px);
  --surface-elevated: rgba(255, 255, 255, 0.035);
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glass-hover: rgba(255, 255, 255, 0.14);
  --shadow-depth-sm:
    0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-depth-md:
    0 1px 3px rgba(0, 0, 0, 0.04), 0 12px 36px rgba(0, 0, 0, 0.06);
  --shadow-depth-lg:
    0 2px 4px rgba(0, 0, 0, 0.04), 0 24px 64px rgba(0, 0, 0, 0.1);
  --shadow-dark-md:
    inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 56px rgba(0, 0, 0, 0.3);
  --shadow-dark-lg:
    inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 36px 80px rgba(0, 0, 0, 0.35);
}

/* ---------- 1. HERO – Typography & Glow Precision ---------- */

.hero {
  padding: clamp(130px, 16vh, 180px) 0 clamp(80px, 10vh, 120px);
}

/* Ensure hero content is above decorative overlays (mobile touch fix) */
.hero__inner {
  z-index: 3;
}

.hero__noise,
.hero__gradient,
.hero__gradient-2 {
  z-index: 1;
  pointer-events: none;
}

.hero__eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.45);
}

.hero__eyebrow::before {
  width: 20px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.hero__title-line {
  text-shadow: 0 0 120px rgba(255, 255, 255, 0.03);
}

.hero__title-accent {
  filter: drop-shadow(0 2px 32px rgba(229, 9, 20, 0.25));
}

.hero__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.008em;
  line-height: 1.85;
}

.hero__trust-line {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.18);
  letter-spacing: 0.01em;
}

/* Refined signature float – slower, subtler */
@keyframes signatureFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Signature SVG refinements */
.signature {
  animation-duration: 10s;
}

.sig-flow {
  opacity: 0.45;
  animation-duration: 2.6s;
}

/* ---------- 2. PREMIUM SECTION DIVIDERS ---------- */

/* Light section dividers – refined gradient */
.trust::before,
.services::before,
.process::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 5%,
    var(--gray-200) 25%,
    var(--gray-300) 50%,
    var(--gray-200) 75%,
    transparent 95%
  );
}

/* Dark section dividers – accent glow */
.problems::before,
.cta::after {
  background: linear-gradient(
    90deg,
    transparent 5%,
    rgba(229, 9, 20, 0.06) 20%,
    rgba(229, 9, 20, 0.2) 50%,
    rgba(229, 9, 20, 0.06) 80%,
    transparent 95%
  );
}

/* Visual signature motif – centered accent dot between sections */
.trust,
.services,
.process,
.branches {
  position: relative;
}

.trust::after,
.branches::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.25;
  z-index: 2;
}

/* ---------- 3. PANEL & CARD DEPTH ---------- */

/* Dark cards – inner light edge for material feel */
.problem-block {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.problem-block:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 32px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.problem-block__number {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.025);
}

.problem-block:hover .problem-block__number {
  color: rgba(229, 9, 20, 0.12);
}

/* Branch modules – premium depth + accent line */
.branch-module {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.branch-module:hover {
  border-color: rgba(229, 9, 20, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 40px 100px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(229, 9, 20, 0.06);
  transform: translateY(-3px);
}

/* Light cards – layered shadow system */
.trust__point {
  box-shadow: var(--shadow-depth-sm);
  transition: all var(--transition);
}

.trust__point:hover {
  box-shadow: var(--shadow-depth-md);
  transform: translateX(4px);
}

.process-card {
  box-shadow: var(--shadow-depth-sm);
}

.process-card:hover {
  box-shadow: var(--shadow-depth-lg);
  transform: translateY(-4px);
}

/* ---------- 4. REFINED TYPOGRAPHY ---------- */

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.section-label::before {
  width: 18px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.section-title {
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* ---------- 5. SERVICE PANELS – Editorial Refinement ---------- */

.service-panel {
  padding: 52px 0;
}

.service-panel__number {
  font-size: 3rem;
  font-weight: 900;
  opacity: 0.08;
}

.service-panel:hover .service-panel__number {
  opacity: 0.2;
}

.service-panel__title {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.service-panel__list li {
  transition: color var(--transition);
}

.service-panel:hover .service-panel__list li {
  color: var(--accent);
}

/* ---------- 6. FOUNDER CARDS – Premium Editorial ---------- */

.founders {
  padding: var(--space-section) 0;
}

.founders::before {
  width: 900px;
  height: 900px;
}

.founder-editorial {
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.founder-editorial:hover {
  box-shadow: var(--shadow-dark-lg);
  transform: translateY(-5px);
}

/* Accent bottom line on hover */
.founder-editorial::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.founder-editorial:hover::after {
  opacity: 0.5;
}

.founder-editorial__portrait {
  height: 440px;
}

.founder-editorial__gradient {
  height: 50%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
}

.founder-editorial__img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-editorial:hover .founder-editorial__img {
  transform: scale(1.04);
}

.founder-editorial__role {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
}

.founder-editorial__name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.founder-editorial__tags li {
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.founder-editorial:hover .founder-editorial__tags li {
  color: rgba(255, 255, 255, 0.7);
}

.founders__closing {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* ---------- 7. CTA – Premium Depth ---------- */

.cta {
  padding: var(--space-section) 0;
}

.cta__title {
  letter-spacing: -0.04em;
  font-weight: 800;
}

.cta__text {
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.005em;
}

/* ---------- 8. MICRO-INTERACTIONS ---------- */

/* Premium button hover with controlled bounce */
.btn--primary:hover {
  transform: translateY(-2px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Nav link subtle lift */
.nav__link {
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.nav__link:hover {
  transform: translateY(-1px);
}

/* Smoother scroll reveal */
html.js [data-animate] {
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 9. FOOTER – Premium Refinement ---------- */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  letter-spacing: 0.005em;
}

.footer__heading {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.65);
}

.footer__col ul li a {
  color: rgba(255, 255, 255, 0.6);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
  display: inline-block;
}

.footer__col ul li a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: 0.01em;
}

/* ---------- 10. PREMIUM MOBILE ---------- */

@media (max-width: 1024px) {
  /* Restore premium grid for branch modules */
  .branch-module__inner {
    grid-template-columns: 1fr;
  }

  .founders__duo {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .founder-editorial__portrait {
    height: 380px;
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Luxurious mobile spacing */
  .hero {
    padding: clamp(120px, 18vh, 160px) 0 clamp(60px, 8vh, 80px);
    min-height: auto;
  }

  .hero__title-line {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.06;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 32px;
  }

  /* Mobile buttons – generous touch targets */
  .hero__buttons {
    gap: 10px;
  }

  .hero__buttons .btn {
    padding: 16px 28px;
    font-size: 0.9rem;
    min-height: 52px;
    justify-content: center;
  }

  /* Consistent premium section spacing */
  .trust,
  .problems,
  .services,
  .founders,
  .branches,
  .process,
  .cases,
  .cta {
    padding: clamp(64px, 10vw, 100px) 0;
  }

  /* Premium mobile cards */
  .problem-block {
    padding: 32px 24px;
  }

  .branch-module__content {
    padding: 36px 24px 40px;
  }

  .branch-module__cta {
    padding: 14px 24px;
    min-height: 48px;
  }

  /* Mobile founder cards */
  .founder-editorial__portrait {
    height: 320px;
  }

  .founder-editorial__info {
    padding: 28px 24px 32px;
  }

  .founder-editorial__name {
    font-size: 1.3rem;
  }

  /* Mobile typography precision */
  .section-title {
    font-size: clamp(1.6rem, 6.5vw, 2.4rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
  }

  .section-label {
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    margin-bottom: 14px;
  }

  /* Mobile CTA */
  .cta__title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    line-height: 1.2;
  }

  /* Mobile container breathing room */
  .container {
    padding: 0 24px;
  }

  /* Mobile service panels */
  .service-panel {
    padding: 40px 0;
  }

  .service-panel__number {
    font-size: 2rem;
  }

  /* Mobile nav refinement */
  html.js .nav__menu {
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
  }

  .nav__link {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
  }

  /* Footer mobile */
  .footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero__title-line {
    font-size: clamp(1.7rem, 8.5vw, 2.4rem);
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .hero__buttons {
    flex-direction: column;
    gap: 10px;
  }

  .founder-editorial__portrait {
    height: 280px;
  }

  .founder-editorial__info {
    padding: 24px 20px 28px;
  }

  .founder-editorial__name {
    font-size: 1.2rem;
  }

  .founder-editorial__text {
    font-size: 0.88rem;
  }

  .branch-module__content {
    padding: 28px 20px 32px;
  }

  .branch-module__title {
    font-size: 1.3rem;
  }

  .cta__title {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .footer__links {
    flex-direction: column;
    gap: 28px;
  }
}
