/* ============================================================
   NF COSMETICS GMBH — DESIGN SYSTEM v3
   ============================================================ */

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

:root {
  --bg-base:        #030705;
  --bg-mid:         #071209;
  --bg-surface:     #0a1a0d;

  --glass-bg:       rgba(255, 255, 255, 0.022);
  --glass-border:   rgba(255, 255, 255, 0.07);

  --silver:         linear-gradient(135deg, #96a4b6 0%, #d8e2ee 30%, #eef3f8 50%, #ccd6e4 70%, #a0afc2 100%);
  --silver-flat:    #c8d4e0;
  --silver-light:   #eaf0f6;
  --silver-dim:     #8a9cb0;

  --card-bg-from:   rgba(18,28,20,0.98);
  --card-bg-to:     rgba(7,14,9,1);
  --card-border:    rgba(188, 200, 214, 0.11);
  --card-border-hi: rgba(210, 225, 240, 0.22);

  --glow-green:     rgba(46, 150, 76, 0.09);
  --glow-green-md:  rgba(46, 150, 76, 0.18);

  --text-primary:   #f0f4f8;
  --text-secondary: #b0bec8;
  --text-muted:     #607080;

  --font:           -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --transition:     200ms ease;
  --radius:         2px;
  --card-radius:    8px;
  --section-gap:    180px;
  --container-max:  1120px;
  --container-pad:  clamp(24px, 5vw, 80px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #030705;
  background-image:
    radial-gradient(ellipse at 50% -8%, rgba(46, 150, 76, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 4% 48%,  rgba(36, 120, 60, 0.09) 0%, transparent 40%),
    radial-gradient(ellipse at 96% 74%, rgba(36, 120, 60, 0.07) 0%, transparent 40%);
  color: #f0f4f8;
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #030705; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.09); border-radius: 2px; }

::selection { background: rgba(46,150,76,0.22); color: #eaf0f6; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-gap) 0;
  position: relative;
}

/* ── TYPOGRAPHY ── */

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #607080;
  margin-bottom: 22px;
}

.section-headline {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 300;
  letter-spacing: -0.028em;
  line-height: 1.12;
  color: #f0f4f8;
  margin-bottom: 30px;
}

.section-text {
  font-size: 17px;
  color: #b0bec8;
  line-height: 1.84;
  max-width: 540px;
}

/* ── BUTTONS ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 44px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
  border-radius: var(--radius);
  outline: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 1px solid rgba(255,255,255,0.4);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, #96a4b6 0%, #d8e2ee 30%, #eef3f8 50%, #ccd6e4 70%, #a0afc2 100%);
  color: #040806;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}

.btn-primary:hover::after { background: rgba(255,255,255,0.12); }

.btn-primary:hover {
  box-shadow: 0 0 52px rgba(180, 200, 220, 0.3), 0 6px 24px rgba(0,0,0,0.36);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-spacer { display: flex; align-items: center; } /* left balancer */

/* ── BACK LINK (blog, article pages) ── */

.back-link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #607080;
  text-decoration: none;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  justify-self: start;
  white-space: nowrap;
  padding: 12px 14px 12px 0;
}

.back-link:hover { color: #c8d4e0; }

.back-link span { display: none; }

.back-link::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 11px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 11' fill='none'%3E%3Cline x1='24.5' y1='5.5' x2='1' y2='5.5' stroke='black' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M7.5 1L1 5.5L7.5 10' stroke='black' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 11' fill='none'%3E%3Cline x1='24.5' y1='5.5' x2='1' y2='5.5' stroke='black' stroke-width='1' stroke-linecap='round'/%3E%3Cpath d='M7.5 1L1 5.5L7.5 10' stroke='black' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  opacity: 0.65;
  transition: opacity var(--transition);
  flex-shrink: 0;
}

.back-link:hover::before { opacity: 1; }

.logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  opacity: 0.92;
  transition: opacity var(--transition);
}

.logo-link:hover { opacity: 1; }

.header-logo {
  height: 60px;
  width: 60px;
  display: block;
  object-fit: contain;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.lang-btn {
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a0b4c8;
  cursor: pointer;
  padding: 6px 6px;
  transition: color var(--transition);
  text-decoration: none;
  display: inline-block;
}

.lang-btn:hover  { color: #f0f4f8; }
.lang-btn.active { color: #f0f4f8; }

.lang-divider {
  color: #607080;
  font-size: 11px;
  opacity: 0.45;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px var(--container-pad) 110px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #96a4b6 0%, #d8e2ee 30%, #eef3f8 50%, #ccd6e4 70%, #a0afc2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 40px;
  opacity: 0.88;
}

.hero-headline {
  font-size: clamp(42px, 6.8vw, 82px);
  font-weight: 300;
  letter-spacing: -0.038em;
  line-height: 1.06;
  color: #f0f4f8;
  margin-bottom: 34px;
}

.hero-subline {
  font-size: clamp(17px, 2.2vw, 21px);
  color: #b0bec8;
  line-height: 1.72;
  margin-bottom: 60px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 1100px;
  background: radial-gradient(circle, rgba(46,150,76,0.12) 0%, transparent 62%);
  pointer-events: none;
  z-index: 1;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-art-layer1,
.hero-art-layer2 {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-art-layer1 svg,
.hero-art-layer2 svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── HERO HELIX — CSS 3D orbital rings around the central axis ── */

.hero-helix {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  /* Perspective context: slight look-down angle for dimensional depth */
  perspective: 960px;
  perspective-origin: 50% 42%;
}

.helix-ring {
  position: absolute;
  border-radius: 50%;
  left: 50%;
}

/* Ring A — medium, green-tinted, anchors upper helix arc */
.helix-ring--a {
  width: 780px; height: 780px;
  margin-left: -390px;
  top: 3%;
  border: 1px solid rgba(56, 148, 80, 0.22);
  transform: rotateX(75deg) rotateZ(0deg);
}

/* Ring B — smaller, silver-blue, middle orbital layer */
.helix-ring--b {
  width: 500px; height: 500px;
  margin-left: -250px;
  top: 26%;
  border: 1px solid rgba(148, 176, 196, 0.16);
  transform: rotateX(75deg) rotateZ(120deg);
}

/* Ring C — largest, atmospheric outer sweep */
.helix-ring--c {
  width: 1000px; height: 1000px;
  margin-left: -500px;
  top: 13%;
  border: 1px solid rgba(40, 106, 60, 0.12);
  transform: rotateX(75deg) rotateZ(240deg);
}

/* ── HERO: seamless bottom fade into next section (all viewports) ── */

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 420px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(3, 7, 5, 0.10) 10%,
    rgba(3, 7, 5, 0.38) 30%,
    rgba(3, 7, 5, 0.70) 52%,
    rgba(3, 7, 5, 0.88) 70%,
    rgba(3, 7, 5, 0.96) 86%,
    rgba(3, 7, 5, 0.97) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ── CORE: atmospheric bridge — continues the dark fade from hero ── */

.core::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom,
    rgba(3, 7, 5, 0.97) 0%,
    rgba(3, 7, 5, 0.68) 38%,
    rgba(3, 7, 5, 0.28) 70%,
    transparent 100%);
  pointer-events: none;
  z-index: -1;
}

/* ============================================================
   CORE
   ============================================================ */

.core-list {
  list-style: none;
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.core-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  color: #b0bec8;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.core-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8d4e0;
  flex-shrink: 0;
  opacity: 0.5;
}

/* ── CORE: two-column layout with globe graphic ── */
.core-inner {
  display: flex;
  align-items: center;
  gap: 72px;
}

.core-text {
  flex: 1;
  min-width: 0;
}

.core-globe {
  flex-shrink: 0;
  width: 460px;
  height: 460px;
  overflow: visible;
}

.core-globe svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* ── SECTION DIVIDER ── */

.section-divider {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(188, 200, 214, 0.09) 20%,
    rgba(188, 200, 214, 0.2) 50%,
    rgba(188, 200, 214, 0.09) 80%,
    transparent 100%);
  margin: 0 var(--container-pad);
}

/* ── STATEMENT BAND ── */

.statement {
  padding: 130px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, transparent 0%, rgba(10,26,13,0.65) 40%, rgba(10,26,13,0.65) 60%, transparent 100%);
}

.statement-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

.statement-text {
  font-size: clamp(23px, 3.2vw, 40px);
  font-weight: 300;
  letter-spacing: -0.022em;
  line-height: 1.28;
  color: #f0f4f8;
  position: relative;
  z-index: 2;
}

.statement-text em {
  font-style: normal;
  background: linear-gradient(135deg, #96a4b6 0%, #d8e2ee 30%, #eef3f8 50%, #ccd6e4 70%, #a0afc2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.statement-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #a8bccf;
  opacity: 0.82;
  position: relative;
  z-index: 1;
  margin-left: -20px; /* subtle bleed into gap */
}

.statement-visual svg {
  width: clamp(360px, 112%, 600px);
  height: auto;
}

/* ============================================================
   CAPABILITIES — Premium elevated silver cards
   ============================================================ */

.capabilities {
  background: linear-gradient(180deg, transparent 0%, rgba(10,26,13,0.55) 50%, transparent 100%);
}

.cap-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Premium card base — elevated metallic dark surface */
.cap-card {
  background: linear-gradient(150deg, rgba(30,42,32,0.97) 0%, rgba(16,24,18,0.98) 50%, rgba(9,15,11,1) 100%);
  border: 1px solid rgba(200, 216, 230, 0.2);
  border-radius: 8px;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  cursor: default;
  will-change: transform;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 1px 0 rgba(255,255,255,0.09) inset,
    0 4px 20px rgba(0,0,0,0.42),
    0 14px 50px rgba(0,0,0,0.26);
  transition:
    box-shadow   0.4s cubic-bezier(0.25,0.46,0.45,0.94),
    border-color 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  background-size: cover;
  background-position: center;
}

/* Top specular highlight — silver edge catching light */
.cap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(218, 234, 248, 0.6) 35%,
    rgba(232, 246, 255, 0.78) 50%,
    rgba(218, 234, 248, 0.6) 65%,
    transparent 100%);
  pointer-events: none;
}

/* Cursor / touch spotlight */
.cap-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 110px at var(--mouse-x, 50%) var(--mouse-y, -10%),
    rgba(205, 226, 246, 0.11) 0%,
    rgba(188, 214, 238, 0.04) 55%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: 8px;
}

/* Per-card SVG texture backgrounds */
.cap-card--web {
  background-image:
    linear-gradient(150deg, rgba(30,42,32,0.97) 0%, rgba(16,24,18,0.98) 50%, rgba(9,15,11,1) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='240'%3E%3Crect x='40' y='45' width='240' height='165' rx='2' stroke='rgba(58,150,80,0.35)' stroke-width='0.7' fill='none'/%3E%3Crect x='40' y='45' width='240' height='22' fill='rgba(58,150,80,0.08)'/%3E%3Ccircle cx='58' cy='56' r='4' stroke='rgba(140,160,180,0.25)' stroke-width='0.6' fill='none'/%3E%3Ccircle cx='71' cy='56' r='4' stroke='rgba(140,160,180,0.25)' stroke-width='0.6' fill='none'/%3E%3Ccircle cx='84' cy='56' r='4' stroke='rgba(140,160,180,0.25)' stroke-width='0.6' fill='none'/%3E%3Cline x1='60' y1='92' x2='200' y2='92' stroke='rgba(140,160,180,0.18)' stroke-width='0.6'/%3E%3Cline x1='60' y1='108' x2='240' y2='108' stroke='rgba(140,160,180,0.14)' stroke-width='0.6'/%3E%3Cline x1='60' y1='124' x2='180' y2='124' stroke='rgba(140,160,180,0.12)' stroke-width='0.6'/%3E%3C/svg%3E");
}

.cap-card--brand {
  background-image:
    linear-gradient(150deg, rgba(30,42,32,0.97) 0%, rgba(16,24,18,0.98) 50%, rgba(9,15,11,1) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='240'%3E%3Ccircle cx='160' cy='120' r='90' stroke='rgba(58,150,80,0.25)' stroke-width='0.7' fill='none'/%3E%3Ccircle cx='160' cy='120' r='60' stroke='rgba(140,160,180,0.16)' stroke-width='0.6' fill='none'/%3E%3Ccircle cx='160' cy='120' r='30' stroke='rgba(140,160,180,0.14)' stroke-width='0.6' fill='none'/%3E%3Cline x1='160' y1='30' x2='160' y2='210' stroke='rgba(140,160,180,0.08)' stroke-width='0.5'/%3E%3Cline x1='70' y1='120' x2='250' y2='120' stroke='rgba(140,160,180,0.08)' stroke-width='0.5'/%3E%3C/svg%3E");
}

.cap-card--product {
  background-image:
    linear-gradient(150deg, rgba(30,42,32,0.97) 0%, rgba(16,24,18,0.98) 50%, rgba(9,15,11,1) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='240'%3E%3Cpolygon points='160,40 240,88 240,152 160,200 80,152 80,88' stroke='rgba(58,150,80,0.32)' stroke-width='0.7' fill='none'/%3E%3Cline x1='160' y1='40' x2='160' y2='200' stroke='rgba(140,160,180,0.1)' stroke-width='0.5'/%3E%3Cline x1='80' y1='88' x2='240' y2='88' stroke='rgba(140,160,180,0.1)' stroke-width='0.5'/%3E%3Cline x1='80' y1='152' x2='240' y2='152' stroke='rgba(140,160,180,0.1)' stroke-width='0.5'/%3E%3Ccircle cx='160' cy='120' r='20' stroke='rgba(140,160,180,0.15)' stroke-width='0.6' fill='none'/%3E%3C/svg%3E");
}

.cap-card--app {
  background-image:
    linear-gradient(150deg, rgba(30,42,32,0.97) 0%, rgba(16,24,18,0.98) 50%, rgba(9,15,11,1) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='240'%3E%3Crect x='115' y='20' width='90' height='165' rx='10' stroke='rgba(58,150,80,0.35)' stroke-width='0.7' fill='none'/%3E%3Cline x1='135' y1='36' x2='185' y2='36' stroke='rgba(140,160,180,0.22)' stroke-width='0.7' stroke-linecap='round'/%3E%3Cline x1='125' y1='70' x2='195' y2='70' stroke='rgba(140,160,180,0.16)' stroke-width='0.5'/%3E%3Cline x1='125' y1='86' x2='195' y2='86' stroke='rgba(140,160,180,0.14)' stroke-width='0.5'/%3E%3Cline x1='125' y1='102' x2='170' y2='102' stroke='rgba(140,160,180,0.12)' stroke-width='0.5'/%3E%3Ccircle cx='160' cy='165' r='6' stroke='rgba(140,160,180,0.18)' stroke-width='0.6' fill='none'/%3E%3C/svg%3E");
}

.cap-card--marketing {
  background-image:
    linear-gradient(150deg, rgba(30,42,32,0.97) 0%, rgba(16,24,18,0.98) 50%, rgba(9,15,11,1) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='240'%3E%3Cline x1='50' y1='190' x2='270' y2='190' stroke='rgba(140,160,180,0.18)' stroke-width='0.7'/%3E%3Cline x1='50' y1='190' x2='50' y2='50' stroke='rgba(140,160,180,0.18)' stroke-width='0.7'/%3E%3Cpolyline points='50,170 90,154 130,138 170,110 210,84 250,58' stroke='rgba(58,150,80,0.4)' stroke-width='1' fill='none' stroke-linejoin='round'/%3E%3Ccircle cx='90' cy='154' r='3' fill='rgba(58,150,80,0.35)'/%3E%3Ccircle cx='130' cy='138' r='3' fill='rgba(58,150,80,0.35)'/%3E%3Ccircle cx='170' cy='110' r='3' fill='rgba(58,150,80,0.35)'/%3E%3Ccircle cx='210' cy='84' r='3' fill='rgba(58,150,80,0.35)'/%3E%3Ccircle cx='250' cy='58' r='3' fill='rgba(58,150,80,0.35)'/%3E%3C/svg%3E");
}

.cap-card--infra {
  background-image:
    linear-gradient(150deg, rgba(30,42,32,0.97) 0%, rgba(16,24,18,0.98) 50%, rgba(9,15,11,1) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='240'%3E%3Ccircle cx='160' cy='60' r='14' stroke='rgba(58,150,80,0.4)' stroke-width='0.7' fill='none'/%3E%3Ccircle cx='80' cy='175' r='14' stroke='rgba(140,160,180,0.28)' stroke-width='0.7' fill='none'/%3E%3Ccircle cx='240' cy='175' r='14' stroke='rgba(140,160,180,0.28)' stroke-width='0.7' fill='none'/%3E%3Cline x1='160' y1='74' x2='90' y2='161' stroke='rgba(140,160,180,0.15)' stroke-width='0.6'/%3E%3Cline x1='160' y1='74' x2='230' y2='161' stroke='rgba(140,160,180,0.15)' stroke-width='0.6'/%3E%3Cline x1='94' y1='175' x2='226' y2='175' stroke='rgba(140,160,180,0.12)' stroke-width='0.6'/%3E%3Ccircle cx='160' cy='117' r='5' fill='rgba(58,150,80,0.22)'/%3E%3C/svg%3E");
}

.cap-card:hover {
  border-color: rgba(210, 228, 244, 0.32);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07) inset,
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 8px 32px rgba(0,0,0,0.52),
    0 20px 64px rgba(0,0,0,0.32),
    0 0 44px rgba(46,150,76,0.09);
}

.cap-card:hover::after,
.cap-card.is-touching::after { opacity: 1; }

.cap-icon {
  display: block;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 10px rgba(188, 200, 220, 0.2));
}

.cap-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0f4f8;
  margin-bottom: 13px;
}

.cap-desc {
  font-size: 14px;
  color: #b0bec8;
  line-height: 1.76;
}

/* ============================================================
   APPROACH
   ============================================================ */

.approach {
  background: linear-gradient(180deg, transparent 0%, rgba(7,18,9,0.75) 40%, rgba(7,18,9,0.75) 60%, transparent 100%);
}

.approach-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
  align-items: start;
}

.approach-pillars {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.pillar {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 26px;
  padding: 38px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: start;
}

.pillar:first-child { border-top: 1px solid rgba(255,255,255,0.07); }

.pillar-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #607080;
  opacity: 0.65;
  padding-top: 3px;
}

.pillar-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-title {
  font-size: 18px;
  font-weight: 400;
  color: #f0f4f8;
  letter-spacing: 0.005em;
  line-height: 1.4;
}

.pillar-desc {
  font-size: 13px;
  color: #607080;
  line-height: 1.78;
  letter-spacing: 0.01em;
  max-width: 380px;
}

/* ============================================================
   PROCESS — Horizontal / Vertical Timeline
   ============================================================ */

.process {
  background: linear-gradient(180deg, transparent 0%, rgba(3,7,5,0.75) 50%, transparent 100%);
}

.timeline {
  margin-top: 76px;
}

/* Desktop: 4-column horizontal grid */
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

/* Horizontal connecting line through node centers */
.timeline-steps::before {
  content: '';
  position: absolute;
  top: 63px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(188, 200, 214, 0.16) 10%,
    rgba(188, 200, 214, 0.28) 50%,
    rgba(188, 200, 214, 0.16) 90%,
    transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  text-align: center;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.timeline-num {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #c0d2e0;
  margin-bottom: 16px;
  opacity: 1;
  transition: color 0.9s ease;
}

.timeline-node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(188, 200, 214, 0.22);
  background: linear-gradient(145deg, rgba(22,34,24,0.96), rgba(10,18,12,0.99));
  box-shadow:
    0 2px 14px rgba(0,0,0,0.5),
    0 0 0 6px rgba(188,200,214,0.04),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

.timeline-node::before {
  content: '';
  position: absolute;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(218,234,248,0.5), transparent);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #bcc8d6, #eef3f8);
  opacity: 0.75;
  box-shadow: 0 0 10px rgba(188,200,214,0.35);
  transition: opacity 0.6s ease, box-shadow 0.6s ease;
}

.timeline-body { text-align: center; }

.step-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0f4f8;
  margin-bottom: 14px;
}

.step-desc {
  font-size: 15px;
  color: #b8c8d4;
  line-height: 1.82;
}

/* ── Timeline scroll activation ── */

.timeline--scroll-active .timeline-step {
  opacity: 0.25;
  transform: translateY(14px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

/* Stagger: desktop horizontal / all layouts */
.timeline--scroll-active .timeline-step:nth-child(1) { transition-delay: 0s; }
.timeline--scroll-active .timeline-step:nth-child(2) { transition-delay: 0.18s; }
.timeline--scroll-active .timeline-step:nth-child(3) { transition-delay: 0.36s; }
.timeline--scroll-active .timeline-step:nth-child(4) { transition-delay: 0.54s; }

.timeline--scroll-active .timeline-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-step.is-active .timeline-num {
  color: #d4e4f0;
  opacity: 1;
}

.timeline-step.is-active .step-title {
  color: #ffffff;
}

.timeline-step.is-active .step-desc {
  color: #ccd8e2;
}

.timeline-step.is-active .timeline-node {
  border-color: rgba(188, 200, 214, 0.52);
  box-shadow:
    0 2px 14px rgba(0,0,0,0.5),
    0 0 0 6px rgba(188,200,214,0.10),
    0 0 0 1px rgba(255,255,255,0.07) inset,
    0 0 28px rgba(188,200,214,0.25);
}

.timeline-step.is-active .timeline-dot {
  opacity: 1;
  box-shadow: 0 0 20px rgba(188,200,214,0.65);
}

/* ============================================================
   FIELDS — Same premium card language as capabilities
   ============================================================ */

.fields {
  background: linear-gradient(180deg, transparent 0%, rgba(10,26,13,0.45) 50%, transparent 100%);
}

.fields-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.field-card {
  background: linear-gradient(150deg, rgba(30,42,32,0.97) 0%, rgba(16,24,18,0.98) 50%, rgba(9,15,11,1) 100%);
  border: 1px solid rgba(200, 216, 230, 0.2);
  border-radius: 8px;
  padding: 52px 36px;
  position: relative;
  overflow: hidden;
  cursor: default;
  will-change: transform;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 1px 0 rgba(255,255,255,0.09) inset,
    0 4px 20px rgba(0,0,0,0.42),
    0 14px 50px rgba(0,0,0,0.26);
  transition:
    box-shadow   0.4s cubic-bezier(0.25,0.46,0.45,0.94),
    border-color 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  background-size: cover;
  background-position: center;
}

/* Top specular highlight */
.field-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(218, 234, 248, 0.6) 35%,
    rgba(232, 246, 255, 0.78) 50%,
    rgba(218, 234, 248, 0.6) 65%,
    transparent 100%);
  pointer-events: none;
}

/* Cursor / touch spotlight */
.field-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 110px at var(--mouse-x, 50%) var(--mouse-y, -10%),
    rgba(205, 226, 246, 0.11) 0%,
    rgba(188, 214, 238, 0.04) 55%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: 8px;
}

.field-card--beauty {
  background-image:
    linear-gradient(150deg, rgba(30,42,32,0.97) 0%, rgba(16,24,18,0.98) 50%, rgba(9,15,11,1) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='320'%3E%3Ccircle cx='200' cy='160' r='130' stroke='rgba(58,150,80,0.18)' stroke-width='0.7' fill='none'/%3E%3Ccircle cx='200' cy='160' r='90' stroke='rgba(140,160,180,0.12)' stroke-width='0.6' fill='none'/%3E%3Ccircle cx='200' cy='160' r='50' stroke='rgba(140,160,180,0.1)' stroke-width='0.6' fill='none'/%3E%3Ccircle cx='200' cy='160' r='160' stroke='rgba(58,150,80,0.08)' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
}

.field-card--consumer {
  background-image:
    linear-gradient(150deg, rgba(30,42,32,0.97) 0%, rgba(16,24,18,0.98) 50%, rgba(9,15,11,1) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='320'%3E%3Crect x='130' y='50' width='140' height='220' rx='2' stroke='rgba(58,150,80,0.28)' stroke-width='0.7' fill='none'/%3E%3Cline x1='130' y1='90' x2='270' y2='90' stroke='rgba(140,160,180,0.16)' stroke-width='0.5'/%3E%3Cline x1='155' y1='130' x2='245' y2='130' stroke='rgba(140,160,180,0.14)' stroke-width='0.5'/%3E%3Cline x1='155' y1='152' x2='245' y2='152' stroke='rgba(140,160,180,0.12)' stroke-width='0.5'/%3E%3Cline x1='155' y1='174' x2='220' y2='174' stroke='rgba(140,160,180,0.12)' stroke-width='0.5'/%3E%3C/svg%3E");
}

.field-card--digital {
  background-image:
    linear-gradient(150deg, rgba(30,42,32,0.97) 0%, rgba(16,24,18,0.98) 50%, rgba(9,15,11,1) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='320'%3E%3Cline x1='0' y1='80' x2='400' y2='80' stroke='rgba(58,150,80,0.12)' stroke-width='0.5'/%3E%3Cline x1='0' y1='160' x2='400' y2='160' stroke='rgba(58,150,80,0.12)' stroke-width='0.5'/%3E%3Cline x1='0' y1='240' x2='400' y2='240' stroke='rgba(58,150,80,0.1)' stroke-width='0.5'/%3E%3Cline x1='80' y1='0' x2='80' y2='320' stroke='rgba(58,150,80,0.1)' stroke-width='0.5'/%3E%3Cline x1='160' y1='0' x2='160' y2='320' stroke='rgba(58,150,80,0.12)' stroke-width='0.5'/%3E%3Cline x1='240' y1='0' x2='240' y2='320' stroke='rgba(58,150,80,0.1)' stroke-width='0.5'/%3E%3Cline x1='320' y1='0' x2='320' y2='320' stroke='rgba(58,150,80,0.1)' stroke-width='0.5'/%3E%3Ccircle cx='160' cy='160' r='10' stroke='rgba(58,150,80,0.32)' stroke-width='0.7' fill='none'/%3E%3Ccircle cx='80' cy='80' r='4' fill='rgba(140,160,180,0.18)'/%3E%3Ccircle cx='240' cy='80' r='4' fill='rgba(140,160,180,0.18)'/%3E%3Ccircle cx='80' cy='240' r='4' fill='rgba(140,160,180,0.18)'/%3E%3Ccircle cx='240' cy='240' r='4' fill='rgba(140,160,180,0.18)'/%3E%3C/svg%3E");
}

.field-card:hover {
  border-color: rgba(210, 228, 244, 0.32);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07) inset,
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 8px 32px rgba(0,0,0,0.52),
    0 20px 64px rgba(0,0,0,0.32),
    0 0 44px rgba(46,150,76,0.09);
}

.field-card:hover::after,
.field-card.is-touching::after { opacity: 1; }

.field-num {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #607080;
  margin-bottom: 22px;
  opacity: 0.65;
}

.field-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #f0f4f8;
  margin-bottom: 16px;
}

.field-desc {
  font-size: 14px;
  color: #b0bec8;
  line-height: 1.82;
}

/* ============================================================
   FIELDS — CASE STUDY
   ============================================================ */

.fields-case-study {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: linear-gradient(150deg, rgba(22,34,25,0.96) 0%, rgba(13,21,15,0.98) 55%, rgba(7,12,9,1) 100%);
  border: 1px solid rgba(200, 216, 230, 0.18);
  border-radius: 8px;
  padding: 68px 60px;
  position: relative;
  overflow: visible;  /* children may render beyond card; body overflow-x:hidden is the safety net */
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 6px 28px rgba(0,0,0,0.48),
    0 18px 60px rgba(0,0,0,0.28);
}

/* Top specular highlight — matches field cards */
.fields-case-study::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(218, 234, 248, 0.45) 35%,
    rgba(232, 246, 255, 0.6) 50%,
    rgba(218, 234, 248, 0.45) 65%,
    transparent 100%);
  pointer-events: none;
}

.fields-cs-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #607080;
  margin-bottom: 20px;
}

.fields-cs-headline {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: #f0f4f8;
  margin-bottom: 18px;
}

.fields-cs-subline {
  font-size: 14px;
  color: #b0bec8;
  line-height: 1.84;
  margin-bottom: 32px;
  max-width: 420px;
}

.fields-cs-bullets {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.fields-cs-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #8a9cb0;
  letter-spacing: 0.01em;
}

.fields-cs-bullets li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, #96a4b6, #c8d4e0);
  flex-shrink: 0;
  opacity: 0.7;
}

.fields-cs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
}

.fields-cs-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a9cb0;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.fields-cs-cta-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.fields-cs-cta:hover { color: #c8d4e0; }
.fields-cs-cta:hover .fields-cs-cta-arrow { transform: translateX(5px); }

/* Right column — hero bleed: column expands 160px beyond its grid track */
.fields-cs-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-right: -160px;
}


/* ── CASE STUDY VISUAL ── */

.case-study-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.case-study-visual img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.6));
}

/* ── CASE STUDY: DESKTOP HERO SCALE ── */
/* Width 140% lets the image genuinely exceed the column.
   flex-start ensures overflow escapes rightward only — not into the text column.
   translateX(-12%) pulls the image left toward the text side for visual integration.
   Body overflow-x:hidden is the safety net for the viewport edge. */
@media (min-width: 961px) {
  .case-study-visual {
    justify-content: flex-start;
    overflow: visible;
  }

  .case-study-visual img {
    width: 140%;
    max-width: 860px;
    transform: translateX(-12%);
  }
}

/* ============================================================
   PORTFOLIO — INTELLIGENCE LAYER
   ============================================================ */

.portfolio-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Two rows on desktop — desktop becomes a clear 2x2 grid */
@media (min-width: 961px) {
  .portfolio-grid { grid-template-rows: auto auto; }
}

.portfolio-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 36px 30px;
  background: linear-gradient(150deg, rgba(22,34,25,0.96) 0%, rgba(13,21,15,0.98) 55%, rgba(7,12,9,1) 100%);
  border: 1px solid rgba(200, 216, 230, 0.13);
  border-radius: 8px;
  text-decoration: none;
  overflow: hidden;
  transition:
    border-color 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 6px 24px rgba(0,0,0,0.42),
    0 14px 48px rgba(0,0,0,0.22);
}

/* Top specular highlight — same language as case study */
.portfolio-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(218, 234, 248, 0.36) 35%,
    rgba(232, 246, 255, 0.5) 50%,
    rgba(218, 234, 248, 0.36) 65%,
    transparent 100%);
  pointer-events: none;
}

.portfolio-panel:hover {
  border-color: rgba(210, 225, 240, 0.22);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 1px 0 rgba(255,255,255,0.09) inset,
    0 10px 32px rgba(0,0,0,0.5),
    0 20px 60px rgba(0,0,0,0.3);
}

.portfolio-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.portfolio-panel-id { min-width: 0; }

.portfolio-panel-title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #f0f4f8;
  margin-bottom: 6px;
}

.portfolio-panel-tm {
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 2px;
  color: #8a9cb0;
  font-weight: 400;
}

.portfolio-panel-tm--tm {
  font-size: 0.7em;
  vertical-align: baseline;
  position: relative;
  top: -0.55em;
  margin-left: 1px;
}

.portfolio-panel-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #607080;
  line-height: 1.4;
}

.portfolio-panel-signal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 9px;
  border: 1px solid rgba(200, 216, 230, 0.10);
  border-radius: 999px;
  background: rgba(255,255,255,0.022);
  flex-shrink: 0;
}

.portfolio-panel-signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7bc28d;
  box-shadow: 0 0 0 3px rgba(123, 194, 141, 0.14);
  animation: portfolioPulse 2.4s ease-in-out infinite;
}

@keyframes portfolioPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

.portfolio-panel-signal-text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a9cb0;
}

/* Graph */
.portfolio-graph {
  position: relative;
  width: 100%;
  height: 88px;
  margin-bottom: 26px;
}

.portfolio-graph svg {
  width: 100%;
  height: 100%;
  display: block;
}

.portfolio-graph-line {
  fill: none;
  stroke: rgba(200, 216, 230, 0.5);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  /* Scroll-in draw animation: line "draws" left → right */
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition:
    stroke-dashoffset 1.05s cubic-bezier(0.45, 0, 0.15, 1),
    stroke 0.4s ease;
}

.portfolio-graph-fill {
  opacity: 0;
  transition: opacity 0.9s ease;
}

.portfolio-panel.is-revealed .portfolio-graph-line { stroke-dashoffset: 0; }
.portfolio-panel.is-revealed .portfolio-graph-fill { opacity: 1; }

/* Stagger reveals across the 2x2 grid */
.portfolio-panel:nth-child(1) .portfolio-graph-line,
.portfolio-panel:nth-child(1) .portfolio-graph-fill { transition-delay: 0s; }
.portfolio-panel:nth-child(2) .portfolio-graph-line,
.portfolio-panel:nth-child(2) .portfolio-graph-fill { transition-delay: 0.12s; }
.portfolio-panel:nth-child(3) .portfolio-graph-line,
.portfolio-panel:nth-child(3) .portfolio-graph-fill { transition-delay: 0.24s; }
.portfolio-panel:nth-child(4) .portfolio-graph-line,
.portfolio-panel:nth-child(4) .portfolio-graph-fill { transition-delay: 0.36s; }

/* Fill follows line by ~0.2s (additive to per-panel stagger) */
.portfolio-panel .portfolio-graph-fill { transition-delay: calc(var(--portfolio-fill-delay, 0s) + 0.18s); }
.portfolio-panel:nth-child(1) .portfolio-graph-fill { transition-delay: 0.18s; }
.portfolio-panel:nth-child(2) .portfolio-graph-fill { transition-delay: 0.30s; }
.portfolio-panel:nth-child(3) .portfolio-graph-fill { transition-delay: 0.42s; }
.portfolio-panel:nth-child(4) .portfolio-graph-fill { transition-delay: 0.54s; }

/* If JS is disabled or fails, ensure graphs are still visible */
.no-js .portfolio-graph-line,
.portfolio-panel.no-anim .portfolio-graph-line { stroke-dashoffset: 0; }
.no-js .portfolio-graph-fill,
.portfolio-panel.no-anim .portfolio-graph-fill { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .portfolio-graph-line {
    transition: stroke 0.4s ease;
    stroke-dashoffset: 0;
  }
  .portfolio-graph-fill {
    transition: none;
    opacity: 1;
  }
}

.portfolio-panel:hover .portfolio-graph-line {
  stroke: rgba(232, 246, 255, 0.78);
}

/* Subtle baseline */
.portfolio-graph::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(200, 216, 230, 0.10) 50%,
    transparent 100%);
}

.portfolio-panel-foot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a9cb0;
  transition: color 0.3s ease;
}

.portfolio-panel-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.portfolio-panel:hover .portfolio-panel-foot { color: #c8d4e0; }
.portfolio-panel:hover .portfolio-panel-arrow { transform: translateX(5px); }

/* CTA */
.portfolio-cta-wrap {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

.portfolio-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a9cb0;
  text-decoration: none;
  padding: 14px 26px;
  border: 1px solid rgba(200, 216, 230, 0.13);
  border-radius: 999px;
  background: rgba(255,255,255,0.022);
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.portfolio-cta:hover {
  color: #eef3f8;
  border-color: rgba(210, 225, 240, 0.28);
  background: rgba(255,255,255,0.04);
}

.portfolio-cta-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.portfolio-cta:hover .portfolio-cta-arrow { transform: translateX(5px); }

/* ============================================================
   SELECTED PROJECTS — ECOSYSTEM STRIP
   ============================================================ */

.projects { padding-top: var(--section-gap); }

.projects-intro {
  max-width: 720px;
  margin-top: 14px;
  margin-bottom: 4px;
}

.projects-slider {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 48px -6px 12px;
  padding: 14px 0 28px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.projects-row {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.projects-track {
  display: flex;
  flex-shrink: 0;
  gap: 36px;
  padding-right: 36px;
  width: max-content;
  animation: projectsMarqueeLeft 38s linear infinite;
  will-change: transform;
}

.projects-row--ltr .projects-track {
  animation: projectsMarqueeRight 38s linear infinite;
}

@keyframes projectsMarqueeLeft {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@keyframes projectsMarqueeRight {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .projects-track { animation: none; }
}

.projects-tile {
  flex: 0 0 auto;
  width: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  outline: none;
}

.projects-tile-icon {
  position: relative;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.022);
  border: 1px solid rgba(200, 216, 230, 0.10);
  border-radius: 16px;
  transition:
    border-color 0.4s ease,
    background 0.4s ease,
    transform 0.5s cubic-bezier(.2,.7,.2,1);
}

.projects-tile-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.94) contrast(1.05);
  opacity: 0.72;
  transition:
    filter 0.4s ease,
    opacity 0.4s ease;
}

.projects-tile-name {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted, #607080);
  text-align: center;
  line-height: 1.35;
  opacity: 0.78;
  transition: opacity 0.35s ease, color 0.35s ease;
  pointer-events: none;
  max-width: 120px;
  word-break: break-word;
}

.projects-tile:hover .projects-tile-icon,
.projects-tile:focus-visible .projects-tile-icon {
  border-color: rgba(210, 225, 240, 0.22);
  background: rgba(255,255,255,0.04);
}
.projects-tile:hover .projects-tile-icon img,
.projects-tile:focus-visible .projects-tile-icon img {
  filter: grayscale(0.15) brightness(1) contrast(1);
  opacity: 1;
}
.projects-tile:hover .projects-tile-name,
.projects-tile:focus-visible .projects-tile-name {
  opacity: 1;
  color: var(--text-secondary, #b0bec8);
}

.projects-cta-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.projects-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a9cb0;
  text-decoration: none;
  padding: 14px 26px;
  border: 1px solid rgba(200, 216, 230, 0.13);
  border-radius: 999px;
  background: rgba(255,255,255,0.022);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.projects-cta:hover {
  color: #eef3f8;
  border-color: rgba(210, 225, 240, 0.28);
  background: rgba(255,255,255,0.04);
}
.projects-cta-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.projects-cta:hover .projects-cta-arrow { transform: translateX(5px); }

/* Light theme — strip tiles read on light surfaces */
html[data-theme="light"] .projects-tile-icon {
  background: rgba(20, 28, 38, 0.025);
  border-color: rgba(20, 28, 38, 0.10);
}
html[data-theme="light"] .projects-tile-icon img {
  filter: grayscale(1) brightness(0.92) contrast(1.05);
  opacity: 0.7;
}
html[data-theme="light"] .projects-tile:hover .projects-tile-icon,
html[data-theme="light"] .projects-tile:focus-visible .projects-tile-icon {
  background: rgba(20, 28, 38, 0.05);
  border-color: rgba(20, 28, 38, 0.20);
}
html[data-theme="light"] .projects-tile:hover .projects-tile-icon img,
html[data-theme="light"] .projects-tile:focus-visible .projects-tile-icon img {
  filter: grayscale(0.15) brightness(0.98) contrast(1);
  opacity: 1;
}

@media (max-width: 768px) {
  .projects-slider { gap: 26px; margin: 34px -6px 8px; padding: 8px 0 18px; }
  .projects-track { gap: 24px; padding-right: 24px; animation-duration: 30s; }
  .projects-row--ltr .projects-track { animation-duration: 30s; }
  .projects-tile { width: 84px; gap: 9px; }
  .projects-tile-icon { width: 64px; height: 64px; border-radius: 14px; }
  .projects-tile-icon img { width: 32px; height: 32px; }
  .projects-tile-name { font-size: 9.5px; opacity: 0.85; max-width: 92px; }
  .projects-cta-wrap { margin-top: 22px; }
  .projects .section-label,
  .projects .section-headline,
  .projects .projects-intro { text-align: center; }
}

/* ============================================================
   CASE STUDY (standalone section reusing fields-cs styling)
   ============================================================ */
.case-study .fields-case-study { margin-top: 0; }

/* ============================================================
   CONTACT
   ============================================================ */

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 110px;
  align-items: start;
}

.contact-header .section-text { margin-top: 8px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #607080;
}

.form-input {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 15px 20px;
  font-size: 15px;
  color: #f0f4f8;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}

.form-input::placeholder {
  color: #607080;
  opacity: 0.4;
}

.form-input:focus {
  border-color: rgba(188,200,214,0.3);
  background: rgba(255,255,255,0.038);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23607080' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}

select.form-input option {
  background: #0a1609;
  color: #f0f4f8;
}

.form-label-opt {
  color: #3a4a58;
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: 9px;
  text-transform: none;
}

.form-honeypot { display: none !important; }

.form-required {
  font-size: 10px;
  color: #3a4a58;
  letter-spacing: 0.08em;
  margin-top: 16px;
}

.form-success {
  font-size: 13px;
  color: rgba(80, 210, 115, 0.92);
  letter-spacing: 0.05em;
  line-height: 1.55;
  margin-top: 4px;
}

.form-error {
  color: rgba(255, 100, 80, 0.9);
}

.hidden { display: none !important; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 52px 0;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #607080;
  cursor: pointer;
  transition: color var(--transition);
  text-decoration: none;
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
}

.footer-link:hover { color: #c8d4e0; }

.footer-copy {
  font-size: 10px;
  color: #607080;
  letter-spacing: 0.09em;
  opacity: 0.5;
}

/* ============================================================
   BLOG CARDS — shared by blog.html and homepage insights section
   ============================================================ */

.blog-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.insights-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  background: linear-gradient(150deg, rgba(30,42,32,0.97) 0%, rgba(16,24,18,0.98) 50%, rgba(9,15,11,1) 100%);
  border: 1px solid rgba(200, 216, 230, 0.2);
  border-radius: 8px;
  padding: 40px 34px 36px;
  position: relative;
  overflow: visible;
  cursor: default;
  will-change: transform;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05) inset,
    0 1px 0 rgba(255,255,255,0.09) inset,
    0 4px 20px rgba(0,0,0,0.42),
    0 14px 50px rgba(0,0,0,0.26);
  transition:
    box-shadow   0.4s cubic-bezier(0.25,0.46,0.45,0.94),
    border-color 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* Top specular highlight */
.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(218, 234, 248, 0.6) 35%,
    rgba(232, 246, 255, 0.78) 50%,
    rgba(218, 234, 248, 0.6) 65%,
    transparent 100%);
  pointer-events: none;
}

/* Spotlight */
.blog-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 110px at var(--mouse-x, 50%) var(--mouse-y, -10%),
    rgba(205, 226, 246, 0.11) 0%,
    rgba(188, 214, 238, 0.04) 55%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  border-radius: 8px;
}

.blog-card:hover {
  border-color: rgba(210, 228, 244, 0.32);
  z-index: 3;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07) inset,
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 8px 32px rgba(0,0,0,0.52),
    0 20px 64px rgba(0,0,0,0.32),
    0 0 44px rgba(46,150,76,0.09);
}

.blog-card:hover::after,
.blog-card.is-touching::after { opacity: 1; }

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.blog-card-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a9cb0;
  background: rgba(188,200,214,0.07);
  border: 1px solid rgba(188,200,214,0.13);
  padding: 4px 9px;
  border-radius: 2px;
}

.blog-card-date {
  font-size: 11px;
  color: #607080;
  letter-spacing: 0.04em;
}

.blog-card-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.42;
  color: #f0f4f8;
  margin-bottom: 16px;
}

.blog-card-excerpt {
  font-size: 13px;
  color: #8a9cb0;
  line-height: 1.78;
  margin-bottom: 32px;
  flex-grow: 1;
}

.blog-card-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a9cb0;
  text-decoration: none;
  transition: color var(--transition);
  margin-top: auto;
}

.blog-card:hover .blog-card-read {
  color: #c8d4e0;
}

.blog-card-arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.blog-card:hover .blog-card-arrow {
  transform: translateX(5px);
}

/* ── INSIGHTS CTA ── */

.insights-cta-wrap {
  margin-top: 52px;
}

.insights-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a9cb0;
  text-decoration: none;
  transition: color var(--transition);
}

.insights-cta:hover { color: #c8d4e0; }

.insights-cta::after {
  content: '→';
  display: inline-block;
  transition: transform var(--transition);
}

.insights-cta:hover::after { transform: translateX(5px); }

/* ── INSIGHTS SLIDER (homepage) ── */

.insights-slider-outer {
  margin-top: 68px;
  position: relative;
}

.insights-slider-outer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(to left, #030705 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.insights-track-wrap {
  overflow: hidden;
  padding: 32px 0;
  margin: -32px 0;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.insights-track-wrap.is-dragging {
  cursor: grabbing;
}

.insights-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.insights-track .blog-card {
  flex: 0 0 320px;
  width: 320px;
  cursor: pointer;
}

/* ── BLOG PAGE HERO ── */

.blog-hero {
  padding-top: calc(70px + 52px);
  padding-bottom: 24px;
}

/* ── BLOG FEATURED SECTION ── */

.blog-featured-section {
  padding-top: 56px;
  padding-bottom: 48px;
}

.blog-featured-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(200, 220, 210, 0.5);
  margin-bottom: 28px;
}

.blog-grid--featured {
  margin-top: 0;
  gap: 28px;
}

.blog-grid--featured .blog-card {
  padding: 46px 38px 42px;
}

/* Reduce top gap on the blog articles grid section */
#articles.section {
  padding-top: 72px;
}

#articles .blog-grid {
  margin-top: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  :root { --section-gap: 130px; }

  .cap-grid,
  .blog-grid,
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-track .blog-card { flex: 0 0 280px; width: 280px; }

  /* Core: collapse to single column, globe above text */
  .core-inner {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }
  .core-globe {
    width: 290px;
    height: 290px;
    order: -1;
  }
  .core .section-label,
  .core .section-headline,
  .core .section-text { text-align: center; }
  .core-list { align-items: center; }

  .approach-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  /* Timeline: switch to vertical */
  .timeline-steps {
    grid-template-columns: 1fr;
  }

  .timeline-steps::before {
    top:    0;
    bottom: 0;
    left:   22px;
    right:  auto;
    width:  1px;
    height: auto;
    background: linear-gradient(180deg,
      transparent 0%,
      rgba(188,200,214,0.18) 10%,
      rgba(188,200,214,0.25) 50%,
      rgba(188,200,214,0.18) 90%,
      transparent 100%);
  }

  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 0 0 52px 0;
    gap: 28px;
  }

  .timeline-step:last-child { padding-bottom: 0; }

  .timeline-marker {
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    margin-bottom: 0;
    width: 44px;
  }

  .timeline-num { margin-bottom: 8px; }

  .timeline-body {
    text-align: left;
    padding-top: 10px;
  }

  /* Portfolio: stack on tablet with breathing room */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 56px;
  }
  .portfolio-panel {
    padding: 32px 32px 28px;
  }

  /* Case study: stack on tablet */
  .fields-case-study {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 52px 44px;
  }

  /* Visual first on stacked layout */
  .fields-cs-right {
    justify-content: center;
    order: -1;
    margin-right: 0;
  }
  .fields-cs-left { order: 0; }


  .contact-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .statement-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    position: static;
  }

  .statement-visual {
    justify-content: center;
    margin-left: 0;       /* reset desktop bleed */
    opacity: 0.72;
  }

  .statement-text { position: static; z-index: auto; }

  .statement-visual svg { width: clamp(280px, 80%, 440px); }
}

@media (max-width: 640px) {
  :root {
    --section-gap: 90px;
    --container-pad: 24px;
  }

  .cap-grid,
  .blog-grid,
  .insights-grid { grid-template-columns: 1fr; }

  .insights-slider-outer::after { width: 60px; }
  .insights-track .blog-card { flex: 0 0 260px; width: 260px; }
  .fields-grid { grid-template-columns: 1fr; gap: 16px; }

  .form-row { grid-template-columns: 1fr; }

  /* Footer — fully centered on mobile */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .footer-links {
    justify-content: center;
    gap: 28px;
  }

  /* Hero */
  .hero-actions { flex-direction: column; align-items: center; }

  .hero-headline { font-size: clamp(36px, 9vw, 56px); }

  .hero-subline { font-size: 16px; }

  /* Buttons: visually dominant */
  .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Section text: unconstrained, full-width legibility */
  .section-text { max-width: 100%; }

  /* Section kicker labels: centered on mobile (override inline-block) */
  .section-label {
    display: block;
    text-align: center;
  }

  /* Core section: centered balance, smaller globe */
  .core-globe { width: 256px; height: 256px; }
  .core-list { align-items: center; }
  .core .section-label,
  .core .section-headline,
  .core .section-text { text-align: center; }

  /* Fields section: centered on single column */
  .fields .section-label,
  .fields .section-headline { text-align: center; }

  /* Portfolio: mobile — generous spacing, single column */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 44px;
  }
  .portfolio-panel {
    padding: 28px 22px 24px;
  }
  .portfolio-panel-head {
    margin-bottom: 22px;
    gap: 14px;
  }
  .portfolio-panel-title {
    font-size: clamp(17px, 5vw, 22px);
  }
  .portfolio-panel-sub {
    font-size: 10px;
    letter-spacing: 0.2em;
  }
  .portfolio-graph { height: 72px; margin-bottom: 22px; }
  .portfolio-cta-wrap { margin-top: 40px; }
  .portfolio-cta { padding: 13px 22px; font-size: 10.5px; }

  /* Portfolio section: centered headline on mobile (matches fields pattern) */
  .portfolio .section-label,
  .portfolio .section-headline,
  .portfolio .section-text {
    text-align: center;
  }
  .portfolio .section-text { margin-left: auto; margin-right: auto; }

  /* Case study: mobile layout */
  .fields-case-study {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 20px;
    margin-top: 36px;
  }

  .fields-cs-subline { max-width: 100%; }

  /* Visual first, text below */
  .fields-cs-right {
    justify-content: center;
    order: -1;
    margin-right: 0;
  }
  .fields-cs-left { order: 0; }

  /* Mobile text breathing room */
  .fields-cs-label { margin-bottom: 14px; }
  .fields-cs-headline {
    font-size: clamp(17px, 4.8vw, 22px);
    margin-bottom: 14px;
    line-height: 1.32;
  }
  .fields-cs-subline { margin-bottom: 24px; line-height: 1.88; font-size: 13.5px; }
  .fields-cs-bullets { gap: 13px; margin-bottom: 32px; }
  .fields-cs-bullets li { font-size: 12.5px; }
  .fields-cs-cta { margin-top: 4px; }

  /* Statement text: centered when visual is below */
  .statement-text { text-align: center; }

  /* Statement: natural stacked layout — visual sits below text on mobile */
  .statement-inner {
    position: static;
    overflow: visible;
  }

  .statement-visual {
    position: static;
    justify-content: center;
    align-items: center;
    opacity: 0.58;
    pointer-events: auto;
    z-index: auto;
    margin-left: 0;
  }

  .statement-visual svg {
    width: clamp(220px, 72%, 340px);
    height: auto;
    margin-left: 0;
  }

  .statement-text {
    position: static;
    z-index: auto;
    padding: 0;
  }

  /* Pillar desc: no max-width constraint */
  .pillar-desc { max-width: 100%; }

  /* Contact header: full-width + centered on mobile */
  .contact-header .section-text { max-width: 100%; }
  .contact-header .section-label,
  .contact-header .section-headline,
  .contact-header .section-text { text-align: center; }

  /* Capabilities section: centered */
  .capabilities .section-label,
  .capabilities .section-headline,
  .capabilities .section-text { text-align: center; }

  /* Process section: centered */
  .process .section-label,
  .process .section-headline,
  .process .section-text { text-align: center; }

  /* Insights section: centered */
  .insights .section-label,
  .insights .section-headline,
  .insights .section-text { text-align: center; }

  /* Blog hero: centered */
  .blog-hero .section-label,
  .blog-hero .section-headline,
  .blog-hero .section-text { text-align: center; }

  /* Approach section: centered */
  .approach .section-label,
  .approach .section-headline,
  .approach .section-text { text-align: center; }

  /* Helix rings: scaled for mobile viewport */
  .hero-helix {
    perspective: 680px;
    perspective-origin: 50% 40%;
  }

  .helix-ring--a {
    width: 94vw; height: 94vw;
    margin-left: -47vw;
    top: 6%;
    border-color: rgba(56, 148, 80, 0.26);
  }

  .helix-ring--b {
    width: 60vw; height: 60vw;
    margin-left: -30vw;
    top: 28%;
    border-color: rgba(148, 176, 196, 0.20);
  }

  .helix-ring--c {
    width: 120vw; height: 120vw;
    margin-left: -60vw;
    top: 17%;
    border-color: rgba(40, 106, 60, 0.14);
  }

}

/* ============================================================
   THEME TOGGLE — Apple-style pill switch
   ============================================================ */

.theme-toggle {
  /* Pill track */
  background: rgba(36, 40, 44, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(0, 0, 0, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 14px;
  width: 54px;
  height: 26px;
  flex-shrink: 0;
  transition:
    background   0.38s ease,
    border-color 0.38s ease,
    box-shadow   0.38s ease;
}

.theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(0, 0, 0, 0.22),
    0 0 0 2.5px rgba(255, 255, 255, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Sliding thumb */
.theme-toggle-icon {
  position: absolute;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(150deg, #2e3f37 0%, #1c2c24 55%, #233028 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.13) inset,
    0 -0.5px 0 rgba(0, 0, 0, 0.26) inset,
    0 2px 6px rgba(0, 0, 0, 0.54),
    0 0 0 0.5px rgba(0, 0, 0, 0.30);
  display: block;
  transition:
    left       0.44s cubic-bezier(0.26, 1.38, 0.54, 1),
    background 0.35s ease,
    box-shadow 0.32s ease;
}

/* Sun: filled core disc + 8 line rays — inline SVG (dark mode) */
.theme-toggle-icon::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  margin: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='2.5' fill='rgba(255,255,255,.9)'/%3E%3Cg stroke='rgba(255,255,255,.76)' stroke-width='1.1' stroke-linecap='round'%3E%3Cline x1='7' y1='3' x2='7' y2='1'/%3E%3Cline x1='9.83' y1='4.17' x2='11.24' y2='2.76'/%3E%3Cline x1='11' y1='7' x2='13' y2='7'/%3E%3Cline x1='9.83' y1='9.83' x2='11.24' y2='11.24'/%3E%3Cline x1='7' y1='11' x2='7' y2='13'/%3E%3Cline x1='4.17' y1='9.83' x2='2.76' y2='11.24'/%3E%3Cline x1='3' y1='7' x2='1' y2='7'/%3E%3Cline x1='4.17' y1='4.17' x2='2.76' y2='2.76'/%3E%3C/g%3E%3C/svg%3E") no-repeat center;
  transition: opacity 0.28s ease;
}

/* Moon: crescent — two-arc SVG path, mirrored right-open (light mode) */
.theme-toggle-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px;
  margin: -8px;
  transform: scaleX(-1);
  opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='rgba(22,38,30,.82)' d='M3.4 3.84A6.2 6.2 0 1 1 3.4 12.16A4.8 4.8 0 1 0 3.4 3.84Z'/%3E%3C/svg%3E") no-repeat center;
  transition: opacity 0.28s ease;
}

/* ── Light mode: track turns silver-sage, thumb slides right ── */
html[data-theme="light"] .theme-toggle {
  background: rgba(138, 155, 150, 0.84);
  border-color: rgba(0, 0, 0, 0.09);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.13),
    inset 0 0 0 1px rgba(0, 0, 0, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.40);
}

html[data-theme="light"] .theme-toggle:hover {
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.13),
    inset 0 0 0 1px rgba(0, 0, 0, 0.07),
    0 0 0 2.5px rgba(0, 0, 0, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.40);
}

html[data-theme="light"] .theme-toggle-icon {
  left: 31px;
  background: linear-gradient(150deg, #f4f5f4 0%, #e8eceb 55%, #dce4e2 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.90) inset,
    0 -0.5px 0 rgba(0, 0, 0, 0.08) inset,
    0 2px 6px rgba(20, 40, 32, 0.16),
    0 0 0 0.5px rgba(0, 0, 0, 0.10);
}

html[data-theme="light"] .theme-toggle-icon::before { opacity: 0; }
html[data-theme="light"] .theme-toggle-icon::after  { opacity: 1; }

/* Wrapper for back-link + toggle on subpages */
.header-left-group {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
}

/* ============================================================
   LIGHT MODE — Variable & Element Overrides
   ============================================================ */

html[data-theme="light"] {
  --bg-base:        #e9eeed;
  --bg-mid:         #dfe7e3;
  --bg-surface:     #d3ddd9;
  --glass-bg:       rgba(20, 40, 32, 0.020);
  --glass-border:   rgba(20, 40, 32, 0.10);
  --silver:         linear-gradient(135deg, #3a4e5a 0%, #1e2e3a 30%, #0e1e2a 50%, #2a3a48 70%, #4a5e6a 100%);
  --silver-flat:    #2a3a4a;
  --silver-light:   #0e1e2a;
  --silver-dim:     #5a6e7a;
  --card-bg-from:   rgba(246, 251, 248, 0.97);
  --card-bg-to:     rgba(234, 244, 236, 1);
  --card-border:    rgba(20, 40, 32, 0.09);
  --card-border-hi: rgba(20, 40, 32, 0.15);
  --glow-green:     rgba(46, 150, 76, 0.04);
  --glow-green-md:  rgba(46, 150, 76, 0.08);
  --text-primary:   #141e1a;
  --text-secondary: #2e4050;
  --text-muted:     #506070;
}

html[data-theme="light"] body {
  background-color: #e9eeed;
  background-image:
    radial-gradient(ellipse at 50% -8%, rgba(46, 150, 76, 0.055) 0%, transparent 52%),
    radial-gradient(ellipse at 4% 48%,  rgba(36, 120, 60, 0.030) 0%, transparent 38%),
    radial-gradient(ellipse at 96% 74%, rgba(36, 120, 60, 0.022) 0%, transparent 38%);
  color: #141e1a;
}

html[data-theme="light"] ::-webkit-scrollbar-track { background: #e9eeed; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(20, 40, 32, 0.14); }

/* ── Typography ── */
html[data-theme="light"] .section-label    { color: var(--text-muted); }
html[data-theme="light"] .section-headline { color: var(--text-primary); }
html[data-theme="light"] .section-text     { color: var(--text-secondary); }

/* ── Header ── */
html[data-theme="light"] .back-link        { color: var(--text-muted); }
html[data-theme="light"] .back-link:hover  { color: var(--text-primary); }
html[data-theme="light"] .lang-btn         { color: #486070; }
html[data-theme="light"] .lang-btn:hover,
html[data-theme="light"] .lang-btn.active  { color: var(--text-primary); }
html[data-theme="light"] .lang-divider     { color: var(--text-muted); }

/* ── Section divider ── */
html[data-theme="light"] .section-divider {
  background: linear-gradient(90deg, transparent 0%, rgba(20,40,32,0.12) 50%, transparent 100%);
}

/* ── Hero ── */
html[data-theme="light"] .hero-headline { color: var(--text-primary); }
html[data-theme="light"] .hero-subline  { color: var(--text-secondary); }
html[data-theme="light"] .hero-label {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #4a5e6e;
  opacity: 1;
}

html[data-theme="light"] .hero::after {
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(233,238,237,0.10) 10%,
    rgba(233,238,237,0.38) 30%,
    rgba(233,238,237,0.70) 52%,
    rgba(233,238,237,0.88) 70%,
    rgba(233,238,237,0.96) 86%,
    rgba(233,238,237,0.97) 100%);
}

html[data-theme="light"] .core::before {
  background: linear-gradient(to bottom,
    rgba(233,238,237,0.97) 0%,
    rgba(233,238,237,0.68) 38%,
    rgba(233,238,237,0.28) 70%,
    transparent 100%);
}

/* ── Core ── */
html[data-theme="light"] .core-item { color: var(--text-secondary); }
html[data-theme="light"] .core-dot  { background: var(--text-secondary); }

/* ── Statement ── */
html[data-theme="light"] .statement-text { color: var(--text-primary); }

/* ── Shared card base (caps + fields + blog) ── */
html[data-theme="light"] .cap-card,
html[data-theme="light"] .cap-card--web,
html[data-theme="light"] .cap-card--brand,
html[data-theme="light"] .cap-card--product,
html[data-theme="light"] .cap-card--app,
html[data-theme="light"] .cap-card--marketing,
html[data-theme="light"] .cap-card--infra,
html[data-theme="light"] .field-card,
html[data-theme="light"] .field-card--beauty,
html[data-theme="light"] .field-card--consumer,
html[data-theme="light"] .field-card--digital,
html[data-theme="light"] .blog-card {
  background: linear-gradient(150deg, rgba(244,250,246,0.97) 0%, rgba(234,244,237,0.98) 50%, rgba(216,236,221,1) 100%);
  border-color: rgba(20,40,32,0.09);
  box-shadow:
    0 0 0 1px rgba(20,40,32,0.03) inset,
    0 1px 0 rgba(255,255,255,0.75) inset,
    0 4px 20px rgba(20,40,32,0.065),
    0 14px 50px rgba(20,40,32,0.040);
}

html[data-theme="light"] .cap-card::before,
html[data-theme="light"] .field-card::before,
html[data-theme="light"] .blog-card::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(20,40,32,0.04) 35%,
    rgba(20,40,32,0.055) 50%,
    rgba(20,40,32,0.04) 65%,
    transparent 100%);
}

html[data-theme="light"] .cap-card:hover,
html[data-theme="light"] .field-card:hover,
html[data-theme="light"] .blog-card:hover {
  border-color: rgba(20,40,32,0.12);
  box-shadow:
    0 0 0 1px rgba(20,40,32,0.03) inset,
    0 8px 32px rgba(20,40,32,0.08),
    0 20px 60px rgba(20,40,32,0.05),
    0 0 44px rgba(46,150,76,0.04);
}

/* ── Capabilities ── */
html[data-theme="light"] .capabilities {
  background: linear-gradient(180deg, transparent 0%, rgba(182,214,192,0.52) 50%, transparent 100%);
}

html[data-theme="light"] .cap-title { color: var(--text-primary); }
html[data-theme="light"] .cap-desc  { color: var(--text-secondary); }

/* ── Approach ── */
html[data-theme="light"] .approach {
  background: linear-gradient(180deg, transparent 0%, rgba(182,214,192,0.60) 40%, rgba(182,214,192,0.60) 60%, transparent 100%);
}

html[data-theme="light"] .pillar             { border-bottom-color: rgba(20,40,32,0.07); }
html[data-theme="light"] .pillar:first-child { border-top-color: rgba(20,40,32,0.07); }
html[data-theme="light"] .pillar-num         { color: var(--text-muted); }
html[data-theme="light"] .pillar-title       { color: var(--text-primary); }
html[data-theme="light"] .pillar-desc        { color: var(--text-muted); }

/* ── Process / Timeline ── */
html[data-theme="light"] .process {
  background: linear-gradient(180deg, transparent 0%, rgba(205,226,213,0.64) 50%, transparent 100%);
}

html[data-theme="light"] .timeline-steps::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(20,40,32,0.09) 10%,
    rgba(20,40,32,0.14) 50%,
    rgba(20,40,32,0.09) 90%,
    transparent 100%);
}

html[data-theme="light"] .timeline-num { color: #4a6070; }

html[data-theme="light"] .timeline-node {
  background: linear-gradient(145deg, rgba(245,250,245,0.96), rgba(228,242,228,0.99));
  border-color: rgba(20,40,32,0.11);
  box-shadow:
    0 2px 14px rgba(20,40,32,0.065),
    0 0 0 6px rgba(20,40,32,0.015),
    0 0 0 1px rgba(20,40,32,0.03) inset;
}

html[data-theme="light"] .timeline-node::before {
  background: linear-gradient(90deg, transparent, rgba(20,40,32,0.09), transparent);
}

html[data-theme="light"] .timeline-dot {
  background: linear-gradient(135deg, #4a6070, #2a3a4a);
  box-shadow: 0 0 10px rgba(20,40,32,0.10);
}

html[data-theme="light"] .step-title { color: var(--text-primary); }
html[data-theme="light"] .step-desc  { color: var(--text-secondary); }

html[data-theme="light"] .timeline-step.is-active .timeline-num  { color: #2a3a4a; }
html[data-theme="light"] .timeline-step.is-active .step-title    { color: var(--text-primary); }
html[data-theme="light"] .timeline-step.is-active .step-desc     { color: var(--text-secondary); }

html[data-theme="light"] .timeline-step.is-active .timeline-node {
  border-color: rgba(20,40,32,0.17);
  box-shadow:
    0 2px 14px rgba(20,40,32,0.08),
    0 0 0 6px rgba(20,40,32,0.03),
    0 0 0 1px rgba(20,40,32,0.05) inset,
    0 0 28px rgba(20,40,32,0.065);
}

html[data-theme="light"] .timeline-step.is-active .timeline-dot {
  opacity: 1;
  box-shadow: 0 0 20px rgba(20,40,32,0.14);
}

/* ── Fields ── */
html[data-theme="light"] .fields {
  background: linear-gradient(180deg, transparent 0%, rgba(182,214,192,0.42) 50%, transparent 100%);
}

html[data-theme="light"] .field-num   { color: var(--text-muted); }
html[data-theme="light"] .field-title { color: var(--text-primary); }
html[data-theme="light"] .field-desc  { color: var(--text-secondary); }

/* ── Fields case study ── */
html[data-theme="light"] .fields-case-study {
  background: linear-gradient(150deg, rgba(244,250,246,0.96) 0%, rgba(234,246,238,0.98) 55%, rgba(222,242,226,1) 100%);
  border-color: rgba(20,40,32,0.09);
  box-shadow:
    0 0 0 1px rgba(20,40,32,0.025) inset,
    0 6px 28px rgba(20,40,32,0.055),
    0 18px 60px rgba(20,40,32,0.032);
}

html[data-theme="light"] .fields-case-study::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(20,40,32,0.032) 35%,
    rgba(20,40,32,0.048) 50%,
    rgba(20,40,32,0.032) 65%,
    transparent 100%);
}

html[data-theme="light"] .fields-cs-label    { color: var(--text-muted); }
html[data-theme="light"] .fields-cs-headline  { color: var(--text-primary); }
html[data-theme="light"] .fields-cs-subline   { color: var(--text-secondary); }
html[data-theme="light"] .fields-cs-bullets li { color: var(--text-secondary); }
html[data-theme="light"] .fields-cs-bullets li::before {
  background: rgba(20, 40, 32, 0.28);
  opacity: 1;
}
html[data-theme="light"] .fields-cs-cta       { color: var(--text-muted); }
html[data-theme="light"] .fields-cs-cta:hover { color: var(--text-primary); }

/* ── Portfolio panels ── */
html[data-theme="light"] .portfolio-panel {
  background: linear-gradient(150deg, rgba(244,250,246,0.96) 0%, rgba(234,246,238,0.98) 55%, rgba(222,242,226,1) 100%);
  border-color: rgba(20,40,32,0.09);
  box-shadow:
    0 0 0 1px rgba(20,40,32,0.025) inset,
    0 6px 24px rgba(20,40,32,0.05),
    0 14px 48px rgba(20,40,32,0.028);
}
html[data-theme="light"] .portfolio-panel:hover {
  border-color: rgba(20,40,32,0.18);
  box-shadow:
    0 0 0 1px rgba(20,40,32,0.04) inset,
    0 10px 32px rgba(20,40,32,0.07),
    0 20px 60px rgba(20,40,32,0.04);
}
html[data-theme="light"] .portfolio-panel::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(20,40,32,0.030) 35%,
    rgba(20,40,32,0.045) 50%,
    rgba(20,40,32,0.030) 65%,
    transparent 100%);
}
html[data-theme="light"] .portfolio-panel-title    { color: var(--text-primary); }
html[data-theme="light"] .portfolio-panel-tm       { color: var(--text-muted); }
html[data-theme="light"] .portfolio-panel-sub      { color: var(--text-muted); }
html[data-theme="light"] .portfolio-panel-signal {
  background: rgba(20,40,32,0.035);
  border-color: rgba(20,40,32,0.10);
}
html[data-theme="light"] .portfolio-panel-signal-text { color: var(--text-secondary); }
html[data-theme="light"] .portfolio-graph-line { stroke: rgba(20,40,32,0.36); }
html[data-theme="light"] .portfolio-panel:hover .portfolio-graph-line { stroke: rgba(20,40,32,0.6); }
html[data-theme="light"] .portfolio-graph::after {
  background: linear-gradient(90deg, transparent 0%, rgba(20,40,32,0.10) 50%, transparent 100%);
}
html[data-theme="light"] .portfolio-panel-foot              { color: var(--text-muted); }
html[data-theme="light"] .portfolio-panel:hover .portfolio-panel-foot { color: var(--text-primary); }
html[data-theme="light"] .portfolio-cta {
  background: rgba(20,40,32,0.035);
  border-color: rgba(20,40,32,0.13);
  color: var(--text-secondary);
}
html[data-theme="light"] .portfolio-cta:hover {
  background: rgba(20,40,32,0.06);
  border-color: rgba(20,40,32,0.22);
  color: var(--text-primary);
}

/* ── Contact form ── */
html[data-theme="light"] .form-label { color: var(--text-muted); }

html[data-theme="light"] .form-input {
  background-color: rgba(20,40,32,0.022);
  border-color: rgba(20,40,32,0.11);
  color: var(--text-primary);
}

html[data-theme="light"] .form-input::placeholder { color: var(--text-muted); opacity: 0.6; }

html[data-theme="light"] .form-input:focus {
  border-color: rgba(20,40,32,0.20);
  background-color: rgba(20,40,32,0.035);
}

/* ── Blog cards ── */
html[data-theme="light"] .blog-card-cat {
  color: var(--text-secondary);
  background: rgba(20,40,32,0.04);
  border-color: rgba(20,40,32,0.09);
}

html[data-theme="light"] .blog-card-date    { color: var(--text-muted); }
html[data-theme="light"] .blog-card-title   { color: var(--text-primary); }
html[data-theme="light"] .blog-card-excerpt { color: var(--text-secondary); }
html[data-theme="light"] .blog-card-read    { color: var(--text-secondary); }

/* ── Footer ── */
html[data-theme="light"] .footer             { border-color: rgba(20,40,32,0.08); }
html[data-theme="light"] .footer-link        { color: var(--text-muted); }
html[data-theme="light"] .footer-link:hover  { color: var(--text-primary); }
html[data-theme="light"] .footer-link.active { color: var(--text-primary); }
html[data-theme="light"] .footer-copy        { color: var(--text-muted); }

/* ── Statement band: remove dark center overlay ── */
html[data-theme="light"] .statement {
  background: transparent;
}

html[data-theme="light"] .statement-visual {
  color: #3e5a6a;
  opacity: 0.55;
}

/* ── Insights slider: replace near-black fade with page color ── */
html[data-theme="light"] .insights-slider-outer::after {
  background: linear-gradient(to left, #e9eeed 0%, transparent 100%);
}

/* ── Case study image: replace heavy black drop-shadow ── */
html[data-theme="light"] .case-study-visual img {
  filter: drop-shadow(0 16px 40px rgba(20, 40, 32, 0.10));
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */

.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(36, 40, 44, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 20px rgba(0, 0, 0, 0.48),
    0 1px 4px rgba(0, 0, 0, 0.32);
  color: var(--silver-flat);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 300ms ease,
    transform 300ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 6px 28px rgba(0, 0, 0, 0.52),
    0 2px 6px rgba(0, 0, 0, 0.36),
    0 0 0 2.5px rgba(255, 255, 255, 0.06);
}

html[data-theme="light"] .scroll-top {
  background: rgba(230, 236, 232, 0.92);
  border-color: rgba(20, 40, 32, 0.12);
  color: var(--silver-flat);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.70),
    0 4px 16px rgba(0, 0, 0, 0.12),
    0 1px 4px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .scroll-top:hover {
  border-color: rgba(20, 40, 32, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.70),
    0 6px 24px rgba(0, 0, 0, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.10),
    0 0 0 2.5px rgba(20, 40, 32, 0.06);
}

/* ============================================================
   NF FOUNDERS — Editorial, aligned to NF type system
   ============================================================ */

.nf-founders {
  /* Inherits .section vertical rhythm from base */
}

.nf-founders__intro {
  max-width: 760px;
  margin: 0 0 clamp(72px, 9vw, 120px);
  text-align: left;
}

/* Use site .section-headline metrics; trim bottom margin to feel like one block */
.nf-founders__headline {
  max-width: 720px;
  margin-bottom: 26px;
}

/* Override .section-text default max-width so the intro reads as one editorial block */
.nf-founders__intro .nf-founders__text {
  max-width: none;
  margin: 0 0 16px;
}

.nf-founders__intro .nf-founders__text:last-child {
  margin-bottom: 0;
}

.nf-founders__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 120px);
  max-width: 880px;
  margin: 0 auto;
  align-items: stretch;
  justify-items: center;
}

.nf-founders__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 320px;
}

.nf-founders__portrait {
  width: clamp(112px, 14vw, 144px);
  height: clamp(112px, 14vw, 144px);
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 320ms ease;
}

.nf-founders__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  filter: grayscale(100%) contrast(1.02);
  transition: filter 320ms ease, transform 480ms ease;
}

.nf-founders__person:hover .nf-founders__portrait,
.nf-founders__person:focus-within .nf-founders__portrait {
  transform: translateY(-2px);
}

.nf-founders__person:hover .nf-founders__portrait img,
.nf-founders__person:focus-within .nf-founders__portrait img {
  filter: grayscale(60%) contrast(1.04);
  transform: scale(1.02);
}

.nf-founders__name {
  font-family: var(--font);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--text-primary, #f0f4f8);
  margin: 0 0 10px;
}

.nf-founders__role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted, #607080);
  margin: 0 0 18px;
}

.nf-founders__bio {
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-secondary, #b0bec8);
  max-width: 320px;
  margin: 0 0 26px;
}

.nf-founders__social {
  list-style: none;
  display: flex;
  gap: 22px;
  padding: 0;
  margin: 0;
}

.nf-founders__social li { padding: 0; margin: 0; }

.nf-founders__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--text-muted, #8a9cb0);
  text-decoration: none;
  transition: color 220ms ease, transform 220ms ease, opacity 220ms ease;
  opacity: 0.78;
}

.nf-founders__social a:hover,
.nf-founders__social a:focus-visible {
  color: var(--text-primary, #f0f4f8);
  opacity: 1;
  transform: translateY(-1px);
  outline: none;
}

.nf-founders__social a:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.35);
  outline-offset: 4px;
  border-radius: 4px;
}

.nf-founders__social svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* ── Mobile ── */
@media (max-width: 720px) {
  .nf-founders__grid {
    grid-template-columns: 1fr;
    gap: clamp(64px, 14vw, 96px);
  }
  .nf-founders__intro {
    margin: 0 auto clamp(56px, 14vw, 96px);
    text-align: center;
  }
  .nf-founders__intro .nf-founders__text {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Light theme overrides ── */
html[data-theme="light"] .nf-founders__bio      { color: var(--text-secondary); }
html[data-theme="light"] .nf-founders__role     { color: var(--text-muted); }
html[data-theme="light"] .nf-founders__name     { color: var(--text-primary); }
html[data-theme="light"] .nf-founders__portrait { background: rgba(20, 40, 32, 0.04); }
html[data-theme="light"] .nf-founders__social a { color: var(--text-muted); }
html[data-theme="light"] .nf-founders__social a:hover,
html[data-theme="light"] .nf-founders__social a:focus-visible { color: var(--text-primary); }

/* ============================================================
   SERVICES / PRICING — editorial, minimal luxury
   ============================================================ */

.services {
  background: linear-gradient(180deg, transparent 0%, rgba(10,26,13,0.45) 50%, transparent 100%);
}

.services-header { max-width: 720px; }

.services-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 76px 40px 44px;
  background: linear-gradient(150deg, rgba(30,42,32,0.97) 0%, rgba(16,24,18,0.98) 50%, rgba(9,15,11,1) 100%);
  border: 1px solid rgba(200, 216, 230, 0.16);
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 0.4s cubic-bezier(0.25,0.46,0.45,0.94),
    box-shadow   0.4s cubic-bezier(0.25,0.46,0.45,0.94),
    transform    0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 0 rgba(255,255,255,0.07) inset,
    0 4px 20px rgba(0,0,0,0.32);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(218, 234, 248, 0.5) 35%,
    rgba(232, 246, 255, 0.68) 50%,
    rgba(218, 234, 248, 0.5) 65%,
    transparent 100%);
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(210, 228, 244, 0.28);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 10px 36px rgba(0,0,0,0.40),
    0 20px 60px rgba(0,0,0,0.22);
}

.service-card--featured {
  border-color: rgba(232, 246, 255, 0.66);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 1px 0 rgba(255,255,255,0.18) inset,
    0 8px 32px rgba(0,0,0,0.40),
    0 0 70px rgba(60,170,90,0.16);
  animation: nf-signature-glow 3.4s cubic-bezier(0.25,0.46,0.45,0.94) 0.6s 1 both;
}

@keyframes nf-signature-glow {
  0% {
    border-color: rgba(232, 246, 255, 0.66);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.12) inset,
      0 1px 0 rgba(255,255,255,0.18) inset,
      0 8px 32px rgba(0,0,0,0.40),
      0 0 70px rgba(60,170,90,0.16);
  }
  45% {
    border-color: rgba(244, 252, 255, 0.95);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.20) inset,
      0 1px 0 rgba(255,255,255,0.28) inset,
      0 12px 40px rgba(0,0,0,0.46),
      0 0 130px rgba(90,210,130,0.38);
  }
  100% {
    border-color: rgba(232, 246, 255, 0.66);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.12) inset,
      0 1px 0 rgba(255,255,255,0.18) inset,
      0 8px 32px rgba(0,0,0,0.40),
      0 0 70px rgba(60,170,90,0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card--featured { animation: none; }
}

.service-card--featured::before {
  left: 6%;
  right: 6%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(218, 234, 248, 0.65) 30%,
    rgba(232, 246, 255, 0.85) 50%,
    rgba(218, 234, 248, 0.65) 70%,
    transparent 100%);
}

.service-card--featured:hover {
  border-color: rgba(232, 244, 255, 0.62);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07) inset,
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 12px 40px rgba(0,0,0,0.46),
    0 0 70px rgba(46,150,76,0.12);
}

.service-tag {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #eaf7ee;
  background: linear-gradient(135deg, rgba(46,150,76,0.42) 0%, rgba(90,200,120,0.52) 100%);
  border: 1px solid rgba(130,210,160,0.55);
  padding: 5px 12px 4px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 2px 10px rgba(46,150,76,0.28),
    0 0 22px rgba(80,200,110,0.22);
}

.service-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #8a9cb0;
  margin-bottom: 22px;
}

.service-price {
  font-family: var(--font);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.012em;
  color: #f0f4f8;
  line-height: 1.2;
  margin-bottom: 10px;
}

.service-price-from {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #607080;
  margin-right: 8px;
  vertical-align: middle;
}

.service-desc {
  font-size: 14px;
  color: #b0bec8;
  line-height: 1.76;
  margin-bottom: 28px;
}

.service-price-note {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  color: #8a9cb0;
  opacity: 0.72;
  margin: -4px 0 22px;
  max-width: 30ch;
}

.service-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.10) 50%, transparent 100%);
  margin-bottom: 26px;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.service-features li {
  font-size: 14px;
  color: #b0bec8;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: rgba(180, 200, 220, 0.45);
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a9cb0;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-top: auto;
  align-self: flex-start;
  transition: color var(--transition);
}

.service-cta::after {
  content: '→';
  display: inline-block;
  transition: transform var(--transition);
}

.service-cta:hover { color: #eaf0f6; }
.service-cta:hover::after { transform: translateX(5px); }

.service-card--featured .service-cta { color: #c8d4e0; }
.service-card--featured .service-cta:hover { color: #eaf0f6; }

/* Responsive */
@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 52px;
  }
  .service-card { padding: 68px 32px 40px; }
  .service-card--featured { transform: none; }
}

@media (max-width: 640px) {
  .services-header { text-align: center; }
  .services-header .section-label,
  .services-header .section-headline,
  .services-header .section-text { text-align: center; }
  .services-header .section-text { margin-left: auto; margin-right: auto; }
  .service-card { padding: 64px 26px 36px; }
  .service-cta { align-self: center; }
}

/* Light theme */
html[data-theme="light"] .services {
  background: linear-gradient(180deg, transparent 0%, rgba(182,214,192,0.42) 50%, transparent 100%);
}

html[data-theme="light"] .service-card {
  background: linear-gradient(150deg, rgba(244,250,246,0.97) 0%, rgba(234,244,237,0.98) 50%, rgba(216,236,221,1) 100%);
  border-color: rgba(20,40,32,0.10);
  box-shadow:
    0 0 0 1px rgba(20,40,32,0.03) inset,
    0 1px 0 rgba(255,255,255,0.70) inset,
    0 4px 20px rgba(20,40,32,0.06);
}

html[data-theme="light"] .service-card::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(20,40,32,0.04) 35%,
    rgba(20,40,32,0.06) 50%,
    rgba(20,40,32,0.04) 65%,
    transparent 100%);
}

html[data-theme="light"] .service-card:hover {
  border-color: rgba(20,40,32,0.14);
  box-shadow:
    0 0 0 1px rgba(20,40,32,0.03) inset,
    0 10px 32px rgba(20,40,32,0.08),
    0 20px 60px rgba(20,40,32,0.05);
}

html[data-theme="light"] .service-card--featured {
  border-color: rgba(20,40,32,0.44);
  box-shadow:
    0 0 0 1px rgba(20,40,32,0.08) inset,
    0 1px 0 rgba(255,255,255,0.82) inset,
    0 8px 30px rgba(20,40,32,0.10),
    0 0 60px rgba(46,150,76,0.16);
  animation: nf-signature-glow-light 3.4s cubic-bezier(0.25,0.46,0.45,0.94) 0.6s 1 both;
}

@keyframes nf-signature-glow-light {
  0% {
    border-color: rgba(20,40,32,0.44);
    box-shadow:
      0 0 0 1px rgba(20,40,32,0.08) inset,
      0 1px 0 rgba(255,255,255,0.82) inset,
      0 8px 30px rgba(20,40,32,0.10),
      0 0 60px rgba(46,150,76,0.16);
  }
  45% {
    border-color: rgba(20,40,32,0.62);
    box-shadow:
      0 0 0 1px rgba(20,40,32,0.12) inset,
      0 1px 0 rgba(255,255,255,0.90) inset,
      0 14px 40px rgba(20,40,32,0.14),
      0 0 120px rgba(46,150,76,0.42);
  }
  100% {
    border-color: rgba(20,40,32,0.44);
    box-shadow:
      0 0 0 1px rgba(20,40,32,0.08) inset,
      0 1px 0 rgba(255,255,255,0.82) inset,
      0 8px 30px rgba(20,40,32,0.10),
      0 0 60px rgba(46,150,76,0.16);
  }
}

html[data-theme="light"] .service-card--featured:hover {
  border-color: rgba(20,40,32,0.44);
  box-shadow:
    0 0 0 1px rgba(20,40,32,0.06) inset,
    0 12px 36px rgba(20,40,32,0.12),
    0 0 66px rgba(46,150,76,0.12);
}

html[data-theme="light"] .service-tag {
  color: #14402a;
  background: linear-gradient(135deg, rgba(46,150,76,0.22) 0%, rgba(90,200,120,0.32) 100%);
  border-color: rgba(46,150,76,0.48);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.40) inset,
    0 2px 8px rgba(46,150,76,0.18);
}
html[data-theme="light"] .service-name        { color: var(--text-muted); }
html[data-theme="light"] .service-price       { color: var(--text-primary); }
html[data-theme="light"] .service-price-from  { color: var(--text-muted); }
html[data-theme="light"] .service-desc        { color: var(--text-secondary); }
html[data-theme="light"] .service-price-note  { color: var(--text-muted); }
html[data-theme="light"] .service-features li { color: var(--text-secondary); }
html[data-theme="light"] .service-features li::before { background: rgba(20,40,32,0.30); }
html[data-theme="light"] .service-divider {
  background: linear-gradient(90deg, transparent 0%, rgba(20,40,32,0.12) 50%, transparent 100%);
}
html[data-theme="light"] .service-cta { color: var(--text-muted); }
html[data-theme="light"] .service-cta:hover { color: var(--text-primary); }
html[data-theme="light"] .service-card--featured .service-cta { color: var(--text-secondary); }
html[data-theme="light"] .service-card--featured .service-cta:hover { color: var(--text-primary); }
