*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ━━━ SKIP NAVIGATION ━━━ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--orange);
  color: #1c1917;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #1c1917;
  outline-offset: 2px;
}

/* ━━━ FOCUS STYLES ━━━ */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

:root {
  --bg:        #1c1917;
  --bg2:       #231f1d;
  --bg3:       #2a2522;
  --surface:   #312c29;
  --border:    rgba(255,255,255,0.07);
  --border2:   rgba(255,255,255,0.04);
  --orange:    #f46b1a;
  --orange-lt: #f7884a;
  --orange-dim:#f46b1a22;
  --orange-glow: rgba(244,107,26,0.3);
  --text:      #f5ede4;
  --text-mid:  #a89888;
  --text-muted:#b09484;
  --red:       #e05252;
  --ff-display:'Fraunces', serif;
  --ff-body:   'Familjen Grotesk', sans-serif;
  
  --glass:     rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

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

/* subtle grain */
body::after {
  content:'';
  position:fixed;
  inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity:0.035;
  pointer-events:none;
  z-index:9999;
}

/* ━━━ NAV ━━━ */
nav {
  position:fixed;
  top:0;left:0;right:0;
  z-index:400;
  height:60px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 3rem;
  background:rgba(28,25,23,0.85);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--border);
}

.logo {
  font-family:var(--ff-display);
  font-size:1.15rem;
  font-weight:700;
  font-style:italic;
  color:var(--text);
  text-decoration:none;
  letter-spacing:-0.01em;
}
.logo b { font-style:normal; color:var(--orange); font-weight:700; }

.nav-links { display:flex; gap:0.5rem; list-style:none; align-items:center; }
.nav-links a {
  font-size:0.84rem;
  color:var(--text-muted);
  text-decoration:none;
  padding:0.35rem 0.75rem;
  border-radius:6px;
  transition:color 0.2s, background 0.2s;
  font-weight:500;
}
.nav-links a:hover { color:var(--text); background:rgba(255,255,255,0.05); }

.nav-cta {
  background:var(--orange);
  color:#1c1917;
  font-family:var(--ff-body);
  font-size:0.875rem;
  font-weight:600;
  padding:0.55rem 1.25rem;
  border-radius:8px;
  text-decoration:none;
  transition:background 0.2s, box-shadow 0.2s, transform 0.15s;
  letter-spacing:0.01em;
  white-space: nowrap;
}
.nav-cta:hover {
  background:var(--orange-lt);
  box-shadow:0 4px 20px var(--orange-glow);
  transform:translateY(-1px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 18px;
  position: relative;
  z-index: 501;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text);
  transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* Hide hamburger when off-canvas drawer is open */
body.menu-open .menu-toggle { opacity: 0; pointer-events: none; }

/* ━━━ MOBILE OFF-CANVAS OVERLAY ━━━ */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 498;
}
.mobile-overlay.active { display: block; }

/* ━━━ MOBILE OFF-CANVAS DRAWER ━━━ */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 72%;
  max-width: 300px;
  height: 100%;
  height: 100dvh;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  z-index: 500;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.mobile-menu.active { transform: translateX(0); }

.mobile-menu-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 0.3rem 0.5rem;
  line-height: 1;
  transition: color 0.2s;
  border-radius: 4px;
}
.mobile-close:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.mobile-nav {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.5rem 0;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.25rem;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: color 0.15s, background 0.15s;
}
.mobile-nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.mobile-chevron {
  font-size: 0.6rem;
  opacity: 0.45;
  transition: transform 0.25s, opacity 0.2s;
  flex-shrink: 0;
}
.mobile-nav-toggle.open .mobile-chevron { transform: rotate(180deg); opacity: 1; }

.mobile-nav-sub {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.18);
}
.mobile-nav-sub.open { display: flex; }
.mobile-nav-sub a {
  display: block;
  padding: 0.65rem 1.25rem 0.65rem 2rem;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  border-bottom: 1px solid var(--border2);
}
.mobile-nav-sub a:last-child { border-bottom: none; }
.mobile-nav-sub a:hover { color: var(--orange); background: rgba(244,107,26,0.06); }

.mobile-nav-divider { flex-shrink: 0; height: 1px; background: var(--border); margin: 0.4rem 0; }

.mobile-cta-wrap {
  flex-shrink: 0;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}
.mobile-cta-wrap .btn-main { width: 100%; justify-content: center; font-size: 1.17rem; }

/* ━━━ NAV DROPDOWN ━━━ */
.nav-has-dropdown { position: relative; }

.nav-has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-has-dropdown > a::after {
  content: '▾';
  font-size: 0.65rem;
  opacity: 0.45;
  transition: transform 0.2s, opacity 0.2s;
  line-height: 1;
}
.nav-has-dropdown:hover > a::after {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(35,31,29,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem;
  min-width: 520px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03);
  z-index: 410;
}
.nav-has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  font-size: 0.81rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  font-weight: 500;
  white-space: nowrap;
  display: block;
}
.nav-dropdown a:hover {
  color: var(--orange);
  background: rgba(244,107,26,0.08);
}

.mobile-services-list {
  list-style: none;
  padding: 0 0 0 1.25rem;
  margin: -0.5rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 2px solid rgba(244,107,26,0.25);
}
.mobile-services-list li {
  margin-bottom: 0 !important;
}
.mobile-services-list a {
  font-family: var(--ff-body) !important;
  font-size: 0.88rem !important;
  font-style: normal !important;
  color: var(--text-muted) !important;
  display: block;
  padding: 0.4rem 0 !important;
  transition: color 0.2s;
  background: none !important;
}
.mobile-services-list a:hover { color: var(--orange) !important; }

@media (max-width: 1024px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* ━━━ HERO ━━━ */
/* Base Hero Layouts */
.hero, .sc-hero, .hero-center-layout {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  padding-top: 50px; /* Consistently clear header */
  position: relative;
  overflow: hidden;
}

.hero-center-layout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Hero Columns */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  border-right: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  padding: 2rem;
  z-index: 2;
}

.hero-main {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}

.hero-strip {
  grid-column: 1 / -1;
  position: relative;
  z-index: 5;
}

.hero-center-layout {
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Force elements to fit within hero height */
.hero > .wrap, .hero-center-layout > .wrap, .sc-hero > .wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ━━━ STAT HERO ━━━ */
.stat-hero {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding-top: 60px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

.stat-box {
  padding: 3rem;
  border-right: 1px solid var(--border);
  text-align: center;
  transition: background 0.3s;
}
.stat-box:hover { background: rgba(255,255,255,0.02); }
.stat-box:last-child { border-right: none; }

.stat-n {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.stat-n span { color: var(--orange); font-style: normal; }
.stat-l { font-size: 0.85rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

@media (max-width: 1024px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-box:nth-child(2) { border-right: none; }
  .stat-box:nth-child(n+3) { border-top: 1px solid var(--border); }
}

@media (max-width: 600px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat-box { border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat-box:last-child { border-bottom: none; }
}

/* decorative orange corner */
.hero-left::before {
  content:'';
  position:absolute;
  top:0;left:0;
  width:3px;
  height:120px;
  background:linear-gradient(to bottom, var(--orange), transparent);
}

.hero-tag {
  display:inline-flex;
  align-items:center;
  gap:0.6rem;
  font-size:0.75rem;
  font-weight:600;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:var(--orange);
  margin-bottom:2rem;
  opacity:0;
  animation:up 0.7s 0.1s both;
}
.hero-tag-line {
  width:24px;height:1.5px;
  background:var(--orange);
}

.hero h1, .sc-hero h1, .hero-center-layout h1 {
  font-family:var(--ff-display);
  font-size:clamp(3rem,5.5vw,5.8rem);
  font-weight:300;
  font-style:italic;
  line-height:1.05;
  letter-spacing:-0.02em;
  margin-bottom:2rem;
  opacity:0;
  animation:up 0.8s 0.2s both;
}

.hero h1 strong, .sc-hero h1 strong, .hero-center-layout h1 strong {
  font-weight:700;
  font-style:normal;
  color:var(--orange);
  display:block;
}

.hero-sub {
  font-size:1rem;
  color:var(--text-mid);
  max-width:44ch;
  line-height:1.75;
  margin-bottom:2.5rem;
  opacity:0;
  animation:up 0.8s 0.32s both;
}

.hero-btns {
  display:flex;
  gap:0.75rem;
  align-items:center;
  opacity:0;
  animation:up 0.8s 0.44s both;
}

.btn-main {
  background:var(--orange);
  color:#1c1917;
  font-family:var(--ff-body);
  font-size:1.17rem;
  font-weight:700;
  padding:0.9rem 2rem;
  border-radius:8px;
  text-decoration:none;
  transition:all 0.2s;
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
}
.btn-main:hover {
  background:var(--orange-lt);
  box-shadow:0 8px 30px var(--orange-glow);
  transform:translateY(-2px);
}

.btn-outline {
  border:1px solid var(--border);
  color:var(--text-mid);
  font-size:0.88rem;
  font-weight:500;
  padding:0.9rem 1.6rem;
  border-radius:8px;
  text-decoration:none;
  transition:all 0.2s;
}
.btn-outline:hover { border-color:rgba(255,255,255,0.15); color:var(--text); }

/* Right column — hero visual */
.hero-right {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:6rem 3rem 6rem 4rem;
  position:relative;
  background:var(--bg2);
}

/* big italic number bg */
.hero-right::before {
  content:'360';
  position:absolute;
  bottom:-2rem;
  right:-1rem;
  font-family:var(--ff-display);
  font-size:22rem;
  font-weight:700;
  font-style:italic;
  color:rgba(244,107,26,0.04);
  line-height:1;
  pointer-events:none;
  user-select:none;
}

.proof-card {
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  background:var(--bg3);
  opacity:0;
  animation:up 0.9s 0.5s both;
}

.proof-card-head {
  padding:1rem 1.5rem;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.proof-card-head span {
  font-size:0.85rem;
  font-weight:600;
  color:var(--text-muted);
  letter-spacing:0.06em;
  text-transform:uppercase;
}

.live-badge {
  display:flex;
  align-items:center;
  gap:0.4rem;
  font-size:0.85rem;
  color:var(--orange);
  font-weight:600;
}
.live-dot {
  width:6px;height:6px;
  border-radius:50%;
  background:var(--orange);
  animation:pulse 2s infinite;
}

@keyframes pulse {
  0%,100%{ box-shadow:0 0 0 0 var(--orange-glow); }
  50%{ box-shadow:0 0 0 5px transparent; }
}

.proof-metrics {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:0;
}

.metric {
  padding:1.5rem;
  border-right:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.metric:nth-child(3),.metric:nth-child(6){ border-right:none; }
.metric:nth-child(4),.metric:nth-child(5),.metric:nth-child(6){ border-bottom:none; }

.metric-val {
  font-family:var(--ff-display);
  font-size:1.9rem;
  font-weight:700;
  color:var(--text);
  line-height:1;
  margin-bottom:0.25rem;
  letter-spacing:-0.02em;
}
.metric-val .acc { color:var(--orange); }

.metric-label {
  font-size:0.85rem;
  color:var(--text-muted);
  line-height:1.4;
}

/* bottom strip */
.hero-strip {
  grid-column:1/-1;
  border-top:1px solid var(--border);
  display:flex;
  align-items:stretch;
}

.strip-item {
  flex:1;
  padding:1.5rem 2rem;
  border-right:1px solid var(--border);
  display:flex;
  align-items:center;
  gap:1rem;
}
.strip-item:last-child { border-right:none; }

.strip-icon {
  width:36px;height:36px;
  border-radius:8px;
  background:var(--orange-dim);
  border:1px solid rgba(244,107,26,0.2);
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;
  flex-shrink:0;
}

.strip-text strong {
  display:block;
  font-size:0.88rem;
  font-weight:600;
  color:var(--text);
  margin-bottom:0.1rem;
}
.strip-text span { font-size:0.85rem; color:var(--text-muted); }

/* ━━━ SECTION BASE ━━━ */
section { border-top:1px solid var(--border); }

.wrap {
  max-width:1160px;
  margin:0 auto;
  padding:6.5rem 3rem;
}

.eyebrow {
  display:inline-flex;
  align-items:center;
  gap:0.6rem;
  font-size:0.85rem;
  font-weight:600;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--orange);
  margin-bottom:1.25rem;
}
.eyebrow::before {
  content:'';
  width:18px;height:1.5px;
  background:var(--orange);
  flex-shrink:0;
}

h2.section-title {
  font-family:var(--ff-display);
  font-size:clamp(2.4rem,4vw,4rem);
  font-weight:300;
  font-style:italic;
  letter-spacing:-0.02em;
  line-height:1.1;
}
h2.section-title strong {
  font-weight:700;
  font-style:normal;
}

/* ━━━ PROBLEM ━━━ */
.problem-bg { background:var(--bg2); }

.problem-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6rem;
  margin-top:4rem;
  align-items:start;
}

.problem-copy p {
  font-size:1rem;
  color:var(--text-mid);
  line-height:1.8;
  margin-bottom:1.25rem;
}

.result-box {
  border:1px solid rgba(224,82,82,0.2);
  background:rgba(224,82,82,0.05);
  border-radius:10px;
  padding:1.25rem 1.5rem;
  margin-top:2rem;
  font-size:0.88rem;
  color:#e08080;
  line-height:1.6;
  font-weight:500;
}

.prob-list { display:flex; flex-direction:column; }

.prob-row {
  display:flex;
  gap:1.25rem;
  padding:1.4rem 0;
  border-bottom:1px solid var(--border2);
  opacity:0;
  transform:translateX(18px);
  transition:opacity 0.55s, transform 0.55s;
}
.prob-row:first-child { border-top:1px solid var(--border2); }
.prob-row.vis { opacity:1; transform:translateX(0); }

.prob-x {
  width:30px;height:30px;
  border-radius:7px;
  background:rgba(224,82,82,0.1);
  border:1px solid rgba(224,82,82,0.18);
  display:flex;align-items:center;justify-content:center;
  font-size:0.8rem;
  color:#e08080;
  flex-shrink:0;
  margin-top:1px;
}

.prob-body strong {
  display:block;
  font-size:0.95rem;
  font-weight:600;
  color:var(--text);
  margin-bottom:0.2rem;
}
.prob-body p { font-size:0.82rem; color:var(--text-muted); line-height:1.5; }

/* ━━━ SERVICES ━━━ */
.services-bg { background:var(--bg); }

.svc-header {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5rem;
  align-items:end;
  margin-bottom:3.5rem;
}
.svc-header p { font-size:0.97rem; color:var(--text-mid); line-height:1.75; }

.service-block { margin-top: 6rem; position: relative; }

.svc-feat-grid { 
  display: grid; 
  grid-template-columns: 320px 1fr; 
  gap: 5rem; 
  align-items: start; 
}

.svc-header-area { 
  position: sticky; 
  top: 100px; 
}

.svc-feat-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.sf-card { 
  background: var(--bg2); 
  border: 1px solid var(--border); 
  border-radius: 16px; 
  padding: 2.5rem; 
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.sf-card:hover { 
  transform: translateY(-8px); 
  background: var(--bg3);
  border-color: rgba(244,107,26,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.sf-card-title {
  font-family: var(--ff-body);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.sf-card-desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.sf-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.sf-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s;
}

.sf-list li span {
  color: var(--orange);
  font-weight: bold;
}

.sf-card:hover .sf-list li {
  color: var(--text);
}

.sf-list li:hover {
  transform: translateX(6px);
  color: var(--orange) !important;
}

/* ━━━ HOW IT WORKS ━━━ */
.how-bg { background:var(--bg2); }

.how-layout {
  display:grid;
  grid-template-columns:1fr 480px;
  gap:7rem;
  margin-top:4rem;
  align-items:start;
}

.steps { display:flex; flex-direction:column; }

.step {
  display:grid;
  grid-template-columns:60px 1fr;
  gap:1.5rem;
  padding:2rem 0;
  border-bottom:1px solid var(--border);
  opacity:0;
  transform:translateY(18px);
  transition:opacity 0.6s, transform 0.6s;
}
.step:first-child { border-top:1px solid var(--border); }
.step.vis { opacity:1; transform:translateY(0); }
.step:hover .step-bubble { background:var(--orange); color:#fff; border-color:var(--orange); }

.step-bubble {
  width:44px;height:44px;
  border-radius:50%;
  border:1.5px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--ff-display);
  font-size:1rem;
  font-weight:700;
  color:var(--text-muted);
  flex-shrink:0;
  margin-top:2px;
  transition:all 0.25s;
  background:var(--bg3);
}

.step-title {
  font-family:var(--ff-body);
  font-size:1rem;
  font-weight:700;
  margin-bottom:0.5rem;
  color:var(--text);
}
.step-desc { font-size:0.88rem; color:var(--text-muted); line-height:1.7; }

/* sticky visual */
.how-visual { position:sticky; top:80px; }

.pipeline-card {
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background:var(--bg3);
}

.pc-header {
  padding:1rem 1.5rem;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:var(--surface);
}

.pc-title { font-size:0.85rem; font-weight:600; color:var(--text-muted); letter-spacing:0.06em; text-transform:uppercase; }

.pc-body { padding:1.5rem; display:flex; flex-direction:column; gap:0.6rem; }

.pipe-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0.9rem 1rem;
  border-radius:8px;
  background:var(--bg2);
  border:1px solid var(--border2);
  font-size:0.84rem;
  transition:border-color 0.2s;
}
.pipe-row:hover { border-color:rgba(244,107,26,0.2); }

.pipe-stage { color:var(--text-mid); font-weight:500; }

.pipe-right { display:flex; align-items:center; gap:0.6rem; }

.pipe-num {
  font-family:var(--ff-display);
  font-size:0.95rem;
  font-weight:700;
  color:var(--text);
}

.pipe-bar-wrap {
  width:60px;height:4px;
  background:var(--border);
  border-radius:2px;
  overflow:hidden;
}
.pipe-bar {
  height:100%;
  border-radius:2px;
  background:var(--orange);
}

.pc-footer {
  border-top:1px solid var(--border);
  padding:1rem 1.5rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.pc-footer span { font-size:0.85rem; color:var(--text-muted); }

.pc-revenue {
  font-family:var(--ff-display);
  font-size:1.4rem;
  font-weight:700;
  color:var(--orange);
  letter-spacing:-0.02em;
}

/* ━━━ WHO ━━━ */
.who-bg { background:var(--bg); }

.who-layout {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6rem;
  margin-top:4rem;
  align-items:start;
}

.who-intro { font-size:0.97rem; color:var(--text-mid); line-height:1.8; margin-bottom:2.5rem; }

.who-items { display:flex; flex-direction:column; }

.who-row {
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1rem 0;
  border-bottom:1px solid var(--border2);
  font-size:1.1rem;
  font-weight:500;
  color:var(--text);
  opacity:0;
  transform:translateY(10px);
  transition:opacity 0.5s, transform 0.5s;
}
.who-row:first-child { border-top:1px solid var(--border2); }
.who-row.vis { opacity:1; transform:translateY(0); }

.who-check {
  width:22px;height:22px;
  border-radius:50%;
  background:var(--orange-dim);
  border:1px solid rgba(244,107,26,0.25);
  display:flex;align-items:center;justify-content:center;
  font-size:0.65rem;
  color:var(--orange);
  flex-shrink:0;
}

/* proof box */
.proof-box {
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background:var(--bg2);
}

.pb-top {
  padding:2rem;
  border-bottom:1px solid var(--border);
}

.pb-top .eyebrow { margin-bottom:0.75rem; }

.pb-top p { font-size:0.9rem; color:var(--text-mid); line-height:1.75; }

.pb-stats {
  display:grid;
  grid-template-columns:1fr 1fr;
}

.pbs {
  padding:1.75rem 2rem;
  border-right:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.pbs:nth-child(even){ border-right:none; }
.pbs:nth-child(3),.pbs:nth-child(4){ border-bottom:none; }

.pbs-n {
  font-family:var(--ff-display);
  font-size:2.4rem;
  font-weight:700;
  font-style:italic;
  color:var(--text);
  line-height:1;
  margin-bottom:0.3rem;
  letter-spacing:-0.03em;
}
.pbs-n span { color:var(--orange); font-style:normal; }

.pbs-l { font-size:0.78rem; color:var(--text-muted); line-height:1.5; }

/* ━━━ CTA ━━━ */
.cta-bg {
  background:var(--orange);
  border-top:none;
  position:relative;
  overflow:hidden;
}

.cta-bg::before {
  content:'→';
  position:absolute;
  right:-2rem;
  top:50%;
  transform:translateY(-50%);
  font-family:var(--ff-display);
  font-size:28rem;
  font-weight:700;
  color:rgba(0,0,0,0.06);
  line-height:1;
  pointer-events:none;
}

.cta-inner {
  max-width:1160px;
  margin:0 auto;
  padding:6rem 3rem;
  display:grid;
  grid-template-columns:1fr auto;
  gap:5rem;
  align-items:center;
}

.cta-inner h2 {
  font-family:var(--ff-display);
  font-size:clamp(2.5rem,5vw,4.8rem);
  font-weight:300;
  font-style:italic;
  color:#fff;
  line-height:1.05;
  letter-spacing:-0.02em;
  max-width:18ch;
}
.cta-inner h2 strong { font-weight:700; font-style:normal; }

.cta-right { display:flex; flex-direction:column; gap:1rem; align-items:flex-start; }

.cta-note {
  font-size:0.85rem;
  color:rgba(255,255,255,0.65);
  line-height:1.6;
  max-width:26ch;
}

.btn-cta {
  background:#fff;
  color:var(--orange);
  font-family:var(--ff-body);
  font-size:0.95rem;
  font-weight:700;
  padding:1rem 2.2rem;
  border-radius:8px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
  transition:all 0.2s;
  white-space:nowrap;
}
.btn-cta:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(0,0,0,0.2); }

/* ━━━ FOOTER ━━━ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 5rem 3rem 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text-mid);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-logo b { color: var(--orange); font-style: normal; }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 230px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-col a:last-child { color: var(--orange); margin-top: 0.2rem; }
.footer-col a:last-child:hover { color: var(--orange-lt); }

.footer-cta-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-cta-text {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.footer-cta-btn { align-self: flex-start; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--text); }

/* ━━━ KEYFRAMES & REVEAL ━━━ */
@keyframes up {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}

.reveal {
  opacity:0;
  transform:translateY(20px);
  transition:opacity 0.65s ease, transform 0.65s ease;
}
.reveal.vis { opacity:1; transform:translateY(0); }

/* delay helpers */
.d1 { transition-delay:0.1s; }
.d2 { transition-delay:0.2s; }
.d3 { transition-delay:0.3s; }

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.hero-img-wrap {
  position: relative;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  z-index: -1;
  opacity: 0.4;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.05); }
}


/* ━━━ CSS VISUAL COMPONENTS ━━━ */
.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Home Glow Core */
.glow-core-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-core-wrap {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.glow-core {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: pulse-glow 4s ease-in-out infinite;
  opacity: 0.8; /* Increased opacity for better visibility */
}

.core-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border: 1px solid var(--border);
  border-radius: 50%;
}


/* Pipeline Visualization */
.pipeline-viz {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.pipe-node {
  width: 60px;
  height: 60px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
}

.pipe-line {
  width: 100px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15); /* Increased contrast from var(--border) */
  position: relative;
  overflow: hidden;
}

.pipe-flow {
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  animation: pipeline-flow 3s linear infinite;
}

@keyframes pipeline-flow {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ━━━ HOMEPAGE SERVICES RESTORATION ━━━ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.svc-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.svc-card:hover {
  transform: translateY(-8px);
  background: var(--bg3);
  border-color: rgba(244,107,26,0.3);
  box-shadow: var(--shadow-lg);
}

.svc-card:hover::before { transform: scaleX(1); }

.svc-n { font-family: var(--ff-display); font-size: 0.875rem; color: var(--orange); font-weight: 700; margin-bottom: 1rem; }
.svc-emoji { font-size: 2rem; margin-bottom: 1.5rem; display: block; }
.svc-title { font-family: var(--ff-body); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text); }
.svc-desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }

/* Mobile Hero Title Contrast Fix */
@media (max-width: 768px) {
  .hero-center-layout h1, .sc-hero h1, .hero h1 {
    color: var(--text) !important;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    position: relative;
    z-index: 5;
  }
  /* Specific override for pages with dark brown text issue */
  .hero-center-layout h1 strong, .sc-hero h1 strong, .hero h1 strong {
    color: var(--orange) !important;
  }
}

/* ━━━ RESPONSIVE ━━━ */
@media (max-width: 1024px) {
  .hero, .sc-hero, .hero-center-layout { grid-template-columns: 1fr; min-height: auto; padding-top: 60px; height: auto; }
  .hero-left, .sc-left { padding: 1.5rem 1.5rem 3rem; border-right: none; border-bottom: 1px solid var(--border); }
  .hero-center-layout > .wrap { padding-top: 1.5rem !important; }
  .hero-right, .sc-right { padding: 2rem 1.5rem 4rem; overflow: visible; display: flex !important; visibility: visible !important; opacity: 1 !important; transform: none !important; }
  .hero-right::before { font-size: 15rem; bottom: -1rem; right: -1rem; display: none; }
  
  .hero-right .glow-core-wrap { transform: none; position: relative; margin: 0 auto; display: flex !important; flex-direction: column; align-items: center; width: 100%; aspect-ratio: unset; height: auto; min-height: auto; }
  .hero-right .glow-core, .hero-right .core-ring { display: none; }
  .proof-card, .form-container { 
    width: 100% !important; 
    max-width: 480px; 
    position: relative !important; 
    left: 0 !important; 
    top: 0 !important;
    transform: none !important; 
    margin: 1.5rem auto 0 !important; /* Safer margin for form visibility */
    z-index: 10;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .hero-strip { flex-wrap: wrap; }
  .strip-item { flex: 1 1 50%; border-bottom: 1px solid var(--border); }
  .strip-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .strip-item:nth-child(even) { border-right: none; }
  .strip-item:nth-child(3), .strip-item:nth-child(4) { border-bottom: none; }
  
  .problem-grid { grid-template-columns: 1fr; gap: 4rem; }
  .svc-header { grid-template-columns: 1fr; gap: 2rem; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  
  .how-layout { grid-template-columns: 1fr; gap: 4rem; }
  .how-visual { position: relative; top: auto; margin-top: 2rem; }
  
  .who-layout { grid-template-columns: 1fr; gap: 4rem; }
  
  .cta-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; justify-items: center; }
  .cta-right { align-items: center; }
  .cta-bg::before { display: none; }
}

@media (max-width: 768px) {
  h2.section-title { font-size: clamp(2.2rem, 8vw, 3rem); }
  
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  
  .hero h1 { font-size: clamp(1.8rem, 5.5vw, 2.4rem); }
  .hero-left, .hero-right { padding: 4rem 1.5rem; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn-main, .btn-outline { justify-content: center; }
  
  .proof-metrics { grid-template-columns: 1fr 1fr; }
  .metric { border-right: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important; }
  .metric:nth-child(even) { border-right: none !important; }
  .metric:nth-last-child(-n+2) { border-bottom: none !important; }
  
  .strip-item { flex: 1 1 100%; border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .strip-item:last-child { border-bottom: none !important; }
  
  .wrap { padding: 4rem 1.5rem; }
  .svc-grid { grid-template-columns: 1fr; }
  
  .pipeline-viz { transform: scale(0.9); width: 100%; justify-content: center; gap: 15px; margin: 2rem 0; }
  .pipe-line { width: 40px; background: rgba(255, 255, 255, 0.15); }
  
  .step { grid-template-columns: 44px 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
  .step-list { grid-template-columns: 1fr !important; }
  
  .pb-stats { grid-template-columns: 1fr; }
  .pbs { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .pbs:last-child { border-bottom: none !important; }
  
  .cta-inner { padding: 5rem 1.5rem; }
  
  .stat-grid { grid-template-columns: 1fr; margin-top: 3rem; margin-bottom: 3rem; }
  .stat-box { padding: 2rem; border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat-box:last-child { border-bottom: none; }
  
  .footer-inner { padding: 3.5rem 1.5rem 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: span 2; }
  .footer-tagline { max-width: 100%; }
  .footer-cta-col { grid-column: span 2; }
  .footer-cta-btn { align-self: stretch; text-align: center; justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-legal { gap: 1.5rem; }
}

/* ━━━ SERVICES EXTRA ━━━ */
.service-block { margin-top: 5rem; padding-top: 5rem; border-top: 1px solid var(--border); }
  .service-block:first-of-type { border-top: none; margin-top: 2rem; padding-top: 0; }
  .svc-header-area { margin-bottom: 3.5rem; }
  .svc-header-area h2 { font-family:var(--ff-display); font-size:clamp(2.4rem,4vw,3.5rem); font-weight:300; font-style:italic; line-height:1.1; margin-bottom:1rem; }
  .svc-header-area h2 strong { font-weight:700; font-style:normal; }
  .svc-header-area p { font-size:1.05rem; color:var(--text-mid); max-width:600px; line-height:1.6; }
  
  .svc-feat-grid { display:grid; grid-template-columns:1fr 1fr; gap:3rem; }
  .svc-feat-col { display:flex; flex-direction:column; gap:3rem; }
  
  .sf-card { background:var(--bg2); border:1px solid var(--border); border-radius:12px; padding:2.5rem; }
  .sf-card-title { font-size:1.25rem; font-weight:700; font-family:var(--ff-body); color:var(--text); margin-bottom:0.75rem; }
  .sf-card-desc { font-size:0.95rem; color:var(--text-mid); line-height:1.7; margin-bottom:1.5rem; }
  
  .sf-list { list-style:none; padding:0; display:flex; flex-direction:column; gap:0.6rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border2); }
  .sf-list li { font-size:0.9rem; color:var(--text); display:flex; align-items:flex-start; gap:0.6rem; font-weight:500; }
  .sf-list li span { color:var(--orange); font-weight:bold; flex-shrink:0; }
  
  @media(max-width: 900px) {
    .svc-feat-grid { grid-template-columns:1fr; gap:2rem; }
    .svc-header-area { position: static; }
  }
/* ━━━ PILLAR GRID ━━━ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 5rem;
}
.pillar-card {
  text-align: center;
}
.pillar-icon {
  width: 120px;
  height: 120px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--orange);
  transition: all 0.4s ease;
}
.pillar-card:hover .pillar-icon {
  transform: scale(1.1);
  border-color: var(--orange);
  box-shadow: 0 10px 40px rgba(244,107,26,0.2);
}

@media (max-width: 900px) {
  .pillar-grid { grid-template-columns: 1fr; gap: 4rem; }
}
