﻿/* 
* Narrow.bg Custom Styles
* Minimalist Design inspired by modern aesthetics
* Color Palette:
* - Primary Background: #FFF7EC
* - Secondary/Text: #262322
* - Accent: #FF784F
*/
/* ============================================
   LOCAL FONTS — Montserrat variable font
   Covers weights 100–900 in 2 files (no Google Fonts needed)
============================================ */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat[wght].woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Italic[wght].woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
/* ============================================
REDESIGN v2 вЂ” Р”РћР’Р•Р РР• / РљРђРљ РџРћРњРђР“РђРњР• /
РќРђРЁР РџР РћР•РљРўР / Р—Рђ NARROW
============================================ */
/* ------ Р”РћР’Р•Р РР• вЂ” sp-v2 ------ */
.sp-v2 {
  padding: 0;
  background-color: var(--narrow-bg-secondary);
}
.sp-v2-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2.5rem 4rem;
}
.sp-v2-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 4rem;
}
.sp-v2-head-left {
  display: flex;
  flex-direction: column;
}
.sp-v2-tagline {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 0.9;
  color: var(--narrow-text-primary);
}
.sp-v2-head-para {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 247, 236, 0.55);
  max-width: 40ch;
  padding-top: 0.5rem;
}
.sp-v2-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 247, 236, 0.1);
  border-bottom: 1px solid rgba(255, 247, 236, 0.1);
  margin-top: 15px;
  margin-bottom: 3rem;
}
.sp-v2-stat {
  padding: 3rem 3rem 2.5rem 0;
  border-right: 1px solid rgba(255, 247, 236, 0.1);
  display: flex;
  flex-direction: column;
}
.sp-v2-stat:not(:first-child) {
  padding-left: 3rem;
}
.sp-v2-stat:last-child {
  border-right: none;
  padding-right: 0;
}
.sp-v2-num {
  display: block;
  font-size: 4.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 0.9;
  color: var(--narrow-text-primary);
  padding-bottom: 1.5rem;
}
.sp-v2-num sup {
  font-size: 0.32em;
  vertical-align: super;
  color: var(--narrow-accent);
  font-weight: 500;
  letter-spacing: 0;
}
.sp-v2-rule {
  display: block;
  height: 2px;
  width: 2.5rem;
  background: var(--narrow-accent);
  margin-bottom: 1.1rem;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sp-v2-stat:hover .sp-v2-rule {
  width: 100%;
}
.sp-v2-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.8);
  line-height: 1.55;
}
.sp-v2-logos {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 247, 236, 0.1);
}
/* ------ РљРђРљ РџРћРњРђР“РђРњР• вЂ” vp-dark ------ */
.vp-dark {
  background-color: var(--narrow-bg-secondary);
  border-bottom: none;
}
.vp-dark .vp-header .section-tag {
  color: rgba(255, 247, 236, 0.45);
}
.vp-dark .vp-header .home-slash-tag::before {
  color: var(--narrow-accent);
}
.vp-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 247, 236, 0.1);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 3rem;
}
.vp-panel {
  background: var(--narrow-bg-secondary);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
  cursor: default;
}
.vp-panel:hover {
  background-color: rgba(255, 247, 236, 0.03);
}
.vp-panel:hover .vp-panel-tag {
  border-color: rgba(255, 120, 79, 0.45);
  color: var(--narrow-accent);
}
.vp-panel::before {
  content: "";
  position: absolute;
  bottom: -1.35rem;
  right: calc(12.3rem + 20px);
  width: 20px;
  height: 2rem;
  background: var(--narrow-accent);
  transform-origin: bottom center;
  transform: skewX(-9.6deg);
  transition:
    height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
  z-index: 1;
  opacity: 0.4;
}
.vp-panel:hover::before {
  height: calc(9rem - 20px);
  opacity: 1;
}
/* watermark number */
.vp-panel::after {
  content: attr(data-num);
  position: absolute;
  bottom: -0.15em;
  right: 0.2em;
  width: 10.5rem;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 247, 236, 0.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.vp-panel-num {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--narrow-accent);
  position: relative;
  z-index: 1;
}
.vp-panel-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  position: relative;
  z-index: 1;
}
.vp-panel-title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.15;
  color: var(--narrow-text-light);
}
.vp-panel-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 247, 236, 0.48);
  line-height: 1.75;
}
.vp-panel-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 247, 236, 0.16);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 247, 236, 0.55);
  position: relative;
  z-index: 1;
}
.vp-panel--mid .vp-panel-tag {
  border-color: rgba(255, 120, 79, 0.45);
  color: var(--narrow-accent);
}
.vp-panels:has(.vp-panel:not(.vp-panel--mid):hover) .vp-panel--mid {
  border-top-color: rgba(255, 247, 236, 0.1);
}
.vp-panels:has(.vp-panel:not(.vp-panel--mid):hover)
  .vp-panel--mid
  .vp-panel-tag {
  border-color: rgba(255, 247, 236, 0.16);
  color: rgba(255, 247, 236, 0.55);
}
.vp-cta-light {
  color: rgba(255, 247, 236, 0.65);
}
.vp-cta-light:hover {
  color: var(--narrow-text-light);
  opacity: 1;
}
/* ------ РќРђРЁР РџР РћР•РљРўР вЂ” bento grid ------ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.bento-card--feat {
  grid-column: span 7;
  grid-row: span 2;
}
.bento-card--b {
  grid-column: span 5;
}
.bento-card--c {
  grid-column: span 5;
}
.bento-card {
  border-radius: 20px;
  border: 1px solid var(--narrow-border);
  overflow: hidden;
  background: var(--narrow-bg-primary);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(38, 35, 34, 0.1);
}
.bento-media {
  flex: 1;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem 1.5rem;
}
.bento-card--feat .bento-media {
  min-height: 360px;
}
.bento-card--b .bento-media,
.bento-card--c .bento-media {
  min-height: 200px;
}
.bento-media--dark {
  background: linear-gradient(135deg, #262322 0%, #ff784f 100%);
}
.bento-media--orange {
  background: linear-gradient(150deg, #ff784f 0%, #fff7ec 100%);
}
.bento-media--blend {
  background: linear-gradient(135deg, #fff7ec 20%, #262322 100%);
}
.bento-cat {
  display: inline-flex;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 247, 236, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(255, 247, 236, 0.25);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.bento-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.bento-title {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--narrow-text-primary);
}
.bento-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bento-metric {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--narrow-accent);
  letter-spacing: 0.04em;
}
.bento-arrow {
  font-size: 1rem;
  color: var(--narrow-text-secondary);
  transition:
    transform 0.22s ease,
    color 0.22s ease;
  display: inline-block;
}
.bento-card:hover .bento-arrow {
  transform: translate(3px, -3px);
  color: var(--narrow-accent);
}
/* ------ Р—Рђ NARROW вЂ” team-magazine ------ */
.team-magazine {
  padding: 6rem 2.5rem;
  border-bottom: 1px solid var(--narrow-border);
}
.team-magazine .tm-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.tm-top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 5rem;
  align-items: end;
  padding-bottom: 3rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--narrow-border);
}
.tm-statement {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--narrow-text-primary);
  margin: 0;
}
.tm-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.9fr);
  align-items: start;
}
.tm-col--left {
  padding-right: 4rem;
}
.tm-col--mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0 3.5rem;
  border-left: 1px solid var(--narrow-border);
  border-right: 1px solid var(--narrow-border);
}
.tm-big-val {
  display: block;
  font-size: clamp(6rem, 10vw, 11rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--narrow-text-primary);
}
.tm-big-plus {
  color: var(--narrow-accent);
  font-size: 0.4em;
  vertical-align: super;
}
.tm-big-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  line-height: 1.6;
  text-align: center;
  max-width: 14rem;
}
.tm-col--right {
  padding-left: 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.tm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
/* ------ REDESIGN v2 RESPONSIVE ------ */
@media (max-width: 1024px) {
  .sp-v2-head {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sp-v2-numbers {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-v2-stat:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }
  .sp-v2-stat:nth-child(3) {
    border-top: 1px solid rgba(255, 247, 236, 0.1);
    padding-left: 0;
  }
  .sp-v2-stat:nth-child(4) {
    border-top: 1px solid rgba(255, 247, 236, 0.1);
    border-right: none;
  }
  .vp-panels {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .vp-panel::after {
    font-size: 6rem;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento-card--feat {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bento-card--b,
  .bento-card--c {
    grid-column: span 1;
  }
  .tm-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .tm-body {
    grid-template-columns: 1fr 1fr;
  }
  .tm-col--mid {
    order: -1;
    grid-column: span 2;
    flex-direction: row;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--narrow-border);
    border-bottom: 1px solid var(--narrow-border);
    padding: 2rem 0;
    gap: 2rem;
    justify-content: flex-start;
    align-items: center;
  }
  .tm-big-label {
    text-align: left;
    max-width: none;
  }
  .tm-col--left {
    padding-right: 2rem;
  }
  .tm-col--right {
    padding-left: 2rem;
  }
}
@media (max-width: 768px) {
  .sp-v2-inner {
    padding: 4rem 1.5rem 3rem;
  }
  .sp-v2-tagline {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  .sp-v2-numbers {
    grid-template-columns: 1fr 1fr;
  }
  .sp-v2-stat {
    padding: 2rem 1.5rem 1.5rem 0;
  }
  .sp-v2-stat:not(:first-child) {
    padding-left: 1.5rem;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card--feat,
  .bento-card--b,
  .bento-card--c {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento-card--feat .bento-media {
    min-height: 260px;
  }
  .tm-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .tm-col--mid {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 0;
    gap: 0.5rem;
  }
  .tm-big-label {
    text-align: left;
  }
  .tm-col--left {
    padding-right: 0;
  }
  .tm-col--right {
    padding-left: 0;
  }
}
/* ============================================
ROOT VARIABLES & RESET
============================================ */
:root {
  --narrow-bg-primary: #fff7ec;
  --narrow-bg-secondary: #262322;
  --narrow-accent: #ff784f;
  --narrow-text-primary: #262322;
  --narrow-text-secondary: #5a5654;
  --narrow-text-light: #fff7ec;
  --narrow-border: rgba(38, 35, 34, 0.1);
  --narrow-shadow: rgba(38, 35, 34, 0.08);
  --narrow-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* ============================================
GLOBAL STYLES
============================================ */
* {
  box-sizing: border-box;
}
body {
  background-color: var(--narrow-bg-primary);
  color: var(--narrow-text-primary);
  font-family:
    "Montserrat",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
}
.site {
  overflow-x: hidden !important;
  display: block !important;
}
/* Hide GP's standalone navigation bar вЂ” we use a fully custom header */
.main-navigation,
.nav-bar,
.navigation-search,
.navigation-bar,
.navigation-bar-inner,
.inside-navigation,
.gen-sidebar-nav {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Hide GP's page-header/hero-section title area (can create a top gap) */
.page-header,
.inside-page-header,
.page-title-area,
.entry-header:not(.site-header) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-content {
  overflow-x: hidden !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}
/* Force vertical stacking for main content areas */
.content-area,
.inside-article,
.entry-content,
article,
main {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}
/* GeneratePress main wrapper вЂ” strip GP's default side padding so we control all spacing */
.grid-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
/* Section stacking */
section,
.wp-block-group,
.narrow-section {
  display: block !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
a {
  color: var(--narrow-accent);
  text-decoration: none;
  transition: var(--narrow-transition);
}
a:hover {
  opacity: 0.8;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--narrow-text-primary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
p {
  margin-bottom: 1.5rem;
  color: var(--narrow-text-secondary);
}
/* ============================================
   HEADER  transparent floating bar
   Logo left, Свържи се + hamburger right
   ============================================ */
.site-header {
  position: relative !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
  transform: none !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-header::before { display: none; }
:root { --narrow-header-height: 72px; }
.inside-header {
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  z-index: 99998;
}
.navigation-bar,
.navigation-bar-inner {
  display: none !important;
}
/* ---- Nav bar ---- */
.nav-contain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999999;
  padding: 38px 2.5rem;
  box-sizing: border-box;
  pointer-events: none;
}
.nav-contain > * { pointer-events: auto; }
/* Logo */
.nav-logo-wrap { z-index: 10; margin-top: 20px; }
.nav-logo-link {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--narrow-text-light);
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: opacity 0.4s ease, color 0.25s ease;
  display: inline-block;
}
.nav-logo-image-link { line-height: 0; }
.nav-logo-mark {
  display: block;
  height: 1.76rem;
  width: clamp(7.975rem, 11vw, 9.625rem);
  background-color: currentColor;
  -webkit-mask-image: var(--nav-logo-image);
  mask-image: var(--nav-logo-image);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center left;
  mask-position: center left;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: height 0.5s cubic-bezier(0.76, 0, 0.24, 1),
              width 0.5s cubic-bezier(0.76, 0, 0.24, 1),
              transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  transform-origin: top left;
}
/* Logo cross-fade animation on menu open */
.nav-logo-link {
  position: relative;
}
.nav-logo-mark {
  transition: opacity 0.25s ease;
}
.nav-contain.menu-open .nav-logo-mark {
  opacity: 0;
  pointer-events: none;
}
/* Colored logo — overlaid, fades in */
.nav-logo-color {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 1.76rem;
  width: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease 0.2s, transform 0.35s ease 0.15s;
}
.nav-contain.menu-open .nav-logo-color {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(45px);
}
/* CTA pill when menu is open — keep text/icon, remove pill shape, stay clickable */
.nav-contain.menu-open .nav-cta-pill {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none;
  pointer-events: auto;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-logo-link:hover { opacity: 1; color: inherit; }
.nav-logo-wrap .custom-logo-link { transition: opacity 0.4s ease; }
.nav-logo-wrap .custom-logo-link:hover { opacity: 0.6; }
.nav-logo-wrap .custom-logo { height: 2rem; width: auto; }
/* Right buttons */
.nav-buttons-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: 30px;
}
/* CTA pill */
.nav-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 44px;
  padding: 0 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--nav-btn-border, rgba(255, 120, 79, 0.45));
  background-color: var(--nav-btn-bg, rgba(255, 120, 79, 0.2));
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: var(--narrow-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.nav-cta-pill svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}
.nav-cta-pill span {
  display: inline-block;
  max-width: 8rem;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.35s ease, opacity 0.25s ease;
}
.site-header.scrolled .nav-cta-pill span {
  max-width: 0;
  opacity: 0;
}
.site-header.scrolled .nav-cta-pill {
  padding-left: 0.6rem;
  padding-right: 0.6rem;
  gap: 0;
}
.nav-cta-pill::before, .nav-cta-pill::after { display: none; }
/* .nav-cta-pill:hover — merged with .nav-hamburger:hover above */
/* Hamburger button */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 100px;
  border: 1px solid var(--nav-btn-border, rgba(255, 120, 79, 0.45));
  background-color: var(--nav-btn-bg, rgba(255, 120, 79, 0.2));
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  padding: 0;
}
.nav-hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--narrow-accent);
  border-radius: 0;
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1),
              opacity 0.25s ease,
              width 0.3s ease;
}
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-hamburger.is-open .nav-hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-hamburger.is-open {
  position: relative;
  z-index: 9999999;
}
.nav-hamburger:hover,
.nav-cta-pill:hover {
  background-color: rgba(255, 247, 236, 0.12);
  border-color: rgba(255, 247, 236, 0.3);
  color: var(--narrow-accent);
}
.nav-hamburger:focus,
.nav-cta-pill:focus {
  outline: none;
  background-color: var(--nav-btn-bg, rgba(255, 120, 79, 0.2));
  border-color: var(--nav-btn-border, rgba(255, 120, 79, 0.45));
}
.nav-hamburger:active,
.nav-cta-pill:active {
  background-color: var(--nav-btn-bg, rgba(255, 120, 79, 0.2));
  border-color: var(--nav-btn-border, rgba(255, 120, 79, 0.45));
}
[data-nav-theme="light"] .nav-logo-link {
  color: var(--narrow-text-primary) !important;
}
[data-nav-theme="dark"] .nav-logo-link {
  color: var(--narrow-text-light) !important;
}
/* ============================================
   FULLSCREEN SPLIT OVERLAY MENU
   ============================================ */
/* Backdrop behind menu for closing on click outside + background blur */
#nr-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999998;
  cursor: default;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: backdrop-filter 0.4s ease;
}
#nr-menu-backdrop.is-visible {
  display: block;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
/* 1.47.1 — меню центрирано; широчина се задава с width: min(1781px,...) тук, а позицията — с left: 50% + transform */
.nr-fullscreen-menu {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 30px;
  bottom: 10px;
  right: auto;
  width: min(1791px, calc(100vw - 40px));
  border-radius: 16px;
  overflow: hidden;
  z-index: 999999;
  display: flex;
  visibility: hidden;
  pointer-events: none;
  border: 2px solid #FF784F;
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
  transition: clip-path 0.65s cubic-bezier(0.76, 0, 0.24, 1),
              visibility 0s linear 0.65s;
}
.nr-fullscreen-menu.open {
  visibility: visible;
  pointer-events: auto;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  transition: clip-path 0.65s cubic-bezier(0.76, 0, 0.24, 1),
              visibility 0s linear 0s;
}
.nr-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  position: relative;
}
/* Left panel  dark */
.nr-menu-left {
  background-color: var(--narrow-bg-secondary);
  padding: 5rem 45px 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}
.nr-menu-caption {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.45);
  margin: 0;
}
.nr-menu-nav { flex: 1; }
.nr-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nr-menu-item,
.nr-menu-links > li {
  border-top: 1px solid rgba(255, 247, 236, 0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.nr-menu-item:last-child,
.nr-menu-links > li:last-child {
  border-bottom: 1px solid rgba(255, 247, 236, 0.08);
}
.nr-menu-item.is-visible,
.nr-menu-links > li.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.nr-menu-link,
.nr-menu-links > li > a {
  display: block;
  padding: 1.1rem 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--narrow-text-light);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.1;
  transition: padding-left 0.25s ease, color 0s;
  position: relative;
  overflow: hidden;
}
.nr-menu-link:hover,
.nr-menu-links > li > a:hover {
  color: #FF784F !important;
  padding-left: calc(1.5rem + 20px);
}
.nr-menu-link::before,
.nr-menu-links > li > a::before {
  content: '/';
  position: absolute;
  left: 0.4rem;
  top: 50%;
  transform: translateY(-50%) translateX(-30px);
  color: var(--narrow-accent);
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1;
  rotate: 351deg;
  clip-path: inset(12% 0);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.nr-menu-link:hover::before,
.nr-menu-links > li > a:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.nr-menu-data {
  display: flex;
  gap: 2rem;
  font-size: 0.75rem;
  color: rgba(255, 247, 236, 0.35);
  letter-spacing: 0.04em;
}

/* Sub-items under "Услуги" */
.nr-menu-sub-count {
  display: inline-flex;
  align-items: center;
  font-size: 0.46em;
  font-weight: 700;
  background-color: rgba(255, 120, 79, 0.18);
  border: 1px solid rgba(255, 120, 79, 0.35);
  color: var(--narrow-accent);
  border-radius: 100px;
  padding: 0.05em 0.6em;
  vertical-align: middle;
  margin-left: 0.5em;
  letter-spacing: 0.04em;
  line-height: 1.8;
}
.nr-menu-sub-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  padding: 0.5rem 0 0.85rem;
  margin-top: 0;
}
.nr-menu-sub-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255, 247, 236, 0.5);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  padding: 0.45em 0.65em;
  border-radius: 4px;
  border: 1px solid rgba(255, 247, 236, 0.07);
  background: rgba(255, 247, 236, 0.03);
}
.nr-menu-sub-link:hover {
  color: var(--narrow-accent);
  background: rgba(255, 120, 79, 0.08);
  border-color: rgba(255, 120, 79, 0.22);
}
.nr-menu-sub-link::before, .nr-menu-sub-link::after { display: none; }
.nr-sub-num {
  font-size: 0.68em;
  color: var(--narrow-accent);
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.8;
  flex-shrink: 0;
}
/* CTA link inside right panel — plain text, arrow-only hover */
.nr-menu-cta {
  position: relative;
  z-index: 1;
}
.nr-menu-right .nr-menu-cta-link {
  all: unset;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--narrow-text-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
  position: relative;
  z-index: 1;
}
.nr-menu-right .nr-menu-cta-link:hover {
  gap: 0.875rem;
  opacity: 1;
  color: var(--narrow-text-primary);
}
/* Right panel tiles grid (1.43) */
.nr-right-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}
.nr-right-tile {
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(38, 35, 34, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(255, 120, 79, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nr-right-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(38, 35, 34, 0.07);
}
.nr-right-tile::before,
.nr-right-tile::after { display: none; }
.nr-right-tile-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--narrow-accent);
}
.nr-right-tile-val {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--narrow-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Right panel  cream */
.nr-menu-right {
  background-color: var(--narrow-bg-primary);
  display: flex;
  align-items: stretch;
}
.nr-right-inner {
  width: 100%;
  padding: 4rem 29px 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
/* Decorative slash background */
.nr-right-deco {
  position: absolute;
  top: -5rem;
  right: 0.5rem;
  font-size: 30rem;
  font-weight: 800;
  color: rgba(255, 120, 79, 0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.1em;
  z-index: 0;
}
/* Stats */
.nr-right-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}
.nr-rstat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(38, 35, 34, 0.08);
}
.nr-rstat:last-child {
  border-bottom: none;
}
.nr-rstat-num {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--narrow-text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}
.nr-rstat-sup {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--narrow-accent);
}
.nr-rstat-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(38, 35, 34, 0.4);
}
/* Quote */
.nr-right-quote {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--narrow-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
  position: relative;
  z-index: 1;
}
/* Stats row */
.nr-stats-row {
  display: flex;
  gap: 2.5rem;
}
.nr-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.nr-stat-val {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--narrow-text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}
.nr-stat-sup {
  font-size: 0.55em;
  vertical-align: super;
  color: var(--narrow-accent);
}
.nr-stat-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(38, 35, 34, 0.4);
}
/* Featured project card */
.nr-feat-card {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  background: var(--narrow-bg-secondary);
  text-decoration: none;
  flex: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  max-height: 180px;
}
.nr-feat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(38,35,34,0.16); }
.nr-feat-card::before, .nr-feat-card::after { display: none; }
.nr-feat-thumb {
  width: 110px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1e1b1a 0%, #ff784f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.nr-feat-slash-bg {
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255, 247, 236, 0.15);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.nr-feat-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.nr-feat-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--narrow-accent);
}
.nr-feat-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--narrow-text-light);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}
.nr-feat-arr {
  font-size: 1rem;
  color: rgba(255, 247, 236, 0.35);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.nr-feat-card:hover .nr-feat-arr {
  color: var(--narrow-accent);
  transform: translateX(4px);
}
/* CTA block */
.nr-menu-cta {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(38, 35, 34, 0.1);
  position: relative;
  z-index: 1;
}
.nr-menu-cta-text {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--narrow-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1.5rem;
}
.nr-menu-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background-color: var(--narrow-accent);
  color: var(--narrow-bg-primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  border-radius: 4px;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.nr-menu-cta-link:hover {
  background-color: var(--narrow-text-primary);
  color: var(--narrow-bg-primary);
}
.nr-menu-cta-link::before, .nr-menu-cta-link::after { display: none; }
/* Mobile */
@media (max-width: 767px) {
  .nr-fullscreen-menu { inset: 0 !important; border-radius: 0; }
  .nr-menu-inner { grid-template-columns: 1fr; }
  .nr-menu-left { padding: 5rem 2rem 2rem; gap: 2rem; }
  .nr-menu-right { display: none; }
  .nav-contain { padding: 16px 1.25rem; }
}/* ============================================
MAIN CONTENT AREA
============================================ */
/*
* Nuclear option: prevent GP's sticky-header JS from ever pushing content
* below the fold. Our header is position:fixed so zero offset is correct.
*/
body,
html {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.site-content {
  margin-top: 0; /* header is position:fixed вЂ” it overlays all pages */
  min-height: 0; /* removed calc(100vh-400px) which created phantom space */
  display: block !important;
  width: 100% !important;
}
/*
* Home page: zero out ALL ancestor margins/paddings so the hero
* starts at the very top of the viewport (header is position:fixed
* so it floats over the content without pushing it down).
*
* Targets both the body-class WP 6.x adds ('narrow-home-page' from our filter)
* AND the legacy variant just in case.
*/
/*
* All narrow custom pages вЂ” strip GP ancestor margins/paddings so every
* page hero starts at viewport top with the fixed header overlaid.
* 'narrow-page' body class is injected by functions.php body_class filter.
*/
body.narrow-page .site-content,
body.narrow-page .content-area,
body.narrow-page main,
body.narrow-page .site-main,
body.narrow-page article,
body.narrow-page .inside-article,
body.narrow-page .entry-content,
.page-narrow-home-php .site-content,
.page-narrow-home-php .content-area,
.page-narrow-home-php main {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
body.narrow-home-page .hero-section,
body.home .hero-section {
  margin-top: 0 !important;
  min-height: 100vh !important;
}
body.narrow-home-page .hero-video-wrap,
body.home .hero-video-wrap {
  top: 0;
  bottom: 0;
  height: 100%;
}
/* Force page content to display vertically */
.page .site-content,
.page .content-area,
.page .inside-article,
.page .entry-content {
  display: block !important;
  flex-direction: column !important;
  width: 100% !important;
}
/* Override any GeneratePress grid/flex on pages */
body.page .site-content > *,
body.page .content-area > *,
body.page .entry-content > * {
  width: 100% !important;
  max-width: 100% !important;
}
/* Strip GP's default padding from article/entry so our sections go edge-to-edge */
.page .content-area,
.page .inside-article,
.page .entry-content {
  padding: 0 !important;
  margin: 0 !important;
}
.content-area {
  max-width: 100%;
  margin: 0;
  padding: 0;
}
/* ============================================
PAGE HERO SECTION
Services, Blog, Contact вЂ” big word rising
from horizon (cinematic reveal animation)
============================================ */
.page-hero-section {
  position: relative;
  width: 100%;
  min-height: 72vh; /* enough to feel cinematic without a huge empty gap */
  background-color: var(--narrow-bg-secondary);
  display: flex;
  align-items: flex-end;
  padding: 0 2.5rem 4.5rem;
  overflow: hidden;
  margin-top: 0;
}
.page-hero-section--compact {
  min-height: auto;
  align-items: center;
  padding: 8.5rem 2.5rem 0;
}
.page-hero-section--compact + .section {
  padding-top: 100px;
}
.page-intro-section {
  padding-top: 11rem;
  padding-bottom: 1.5rem;
}
.page-intro-section--spacer {
  min-height: 150px;
  padding-bottom: 0;
}
.page-intro-section + .section {
  padding-top: 2rem;
}
.page-intro-section--tight .about-content {
  max-width: 980px;
}
.page-hero-inner {
  width: 100%;
  text-align: center;
}
/* Clips the title during the slide-up so text starts below the horizon line */
.page-hero-title-wrap {
  overflow: hidden;
  margin-bottom: 1.25rem;
  /*
* padding-bottom creates room for descenders below the baseline.
* 0.35em at 15rem font-size = ~5.25rem of room for hooks like Сѓ, СЂ, etc.
*/
  padding-bottom: 0.46em;
}
.page-hero-title {
  display: block;
  font-size: clamp(6rem, 20vw, 18rem);
  font-weight: 900;
  color: var(--narrow-text-light, #fff7ec);
  letter-spacing: 0.04em;
  line-height: 1.08;
  margin: 0;
  padding: 0;
  /* Title rises from below the clip boundary */
  animation: narrowTitleRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
body.narrow-services-page .page-hero-title,
body.narrow-blog-page .page-hero-title {
  letter-spacing: 15px;
  text-indent: 15px;
}
/* BLOG PAGE вЂ” dedicated layout/colors */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.blog-post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2.25rem;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 247, 236, 0.06) 0%,
    rgba(255, 247, 236, 0.03) 100%
  );
  border: 1px solid rgba(255, 247, 236, 0.1);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.blog-post-card > *:last-child {
  margin-bottom: 0;
}
.blog-post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 120, 79, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}
.blog-post-media {
  height: 280px;
  border-radius: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.blog-post-media span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.blog-post-media--accent {
  background: linear-gradient(
    135deg,
    rgba(255, 120, 79, 1) 0%,
    rgba(255, 170, 140, 0.88) 100%
  );
  color: var(--narrow-text-light);
}
.blog-post-media--cream {
  background: linear-gradient(
    135deg,
    rgba(255, 247, 236, 1) 0%,
    rgba(255, 224, 194, 0.95) 100%
  );
  color: var(--narrow-bg-secondary);
}
.blog-post-media--dark {
  background: linear-gradient(
    135deg,
    rgba(52, 48, 47, 1) 0%,
    rgba(76, 68, 65, 0.95) 100%
  );
  color: var(--narrow-text-light);
}
.blog-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 247, 236, 0.52);
}
.blog-post-read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  color: rgba(255, 247, 236, 0.52);
}
.blog-post-read-time::before {
  content: "◷";
  font-size: 0.9em;
}
.blog-post-category {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(255, 120, 79, 0.14);
  color: #ffb29c;
}
.blog-post-title {
  margin-bottom: 0.9rem;
  font-size: 1.6rem;
  line-height: 1.15;
}
.blog-post-title-link {
  color: var(--narrow-text-light) !important;
  text-decoration: none;
}
.blog-post-excerpt {
  color: rgba(255, 247, 236, 0.66);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.blog-post-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  color: var(--narrow-accent);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.blog-post-link:hover {
  opacity: 0.7;
  color: var(--narrow-accent);
}
.blog-pagination-wrap {
  margin-top: 4rem;
  text-align: center;
}
.blog-pagination-controls {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.blog-newsletter-form {
  max-width: 600px;
  margin: 2rem auto 0;
  display: flex;
  gap: 1rem;
}
.blog-newsletter-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 247, 236, 0.2);
  border-radius: 50px;
  font-size: 1rem;
  background: rgba(255, 247, 236, 0.05);
  color: white;
}
.blog-newsletter-input::placeholder {
  color: rgba(255, 247, 236, 0.48);
}
/* --- Lead Magnet Section (6.1) --- */
.leadmag-section {
  background-color: var(--narrow-bg-primary) !important;
  border-top: 1px solid var(--narrow-border);
  color: var(--narrow-text-primary);
}
.leadmag-copy {
  color: var(--narrow-text-primary);
}
.leadmag-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 6rem;
  align-items: center;
}
.leadmag-preview {
  position: relative;
}
.leadmag-cover {
  background: var(--narrow-bg-secondary);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  aspect-ratio: 3 / 4;
  justify-content: flex-end;
  border: 1px solid rgba(255, 120, 79, 0.3);
  position: relative;
  z-index: 1;
}
.leadmag-cover-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--narrow-accent);
  background: rgba(255, 120, 79, 0.12);
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  width: fit-content;
}
.leadmag-cover-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--narrow-text-light);
  margin: 0;
}
.leadmag-cover-sub {
  font-size: 0.72rem;
  color: rgba(255, 247, 236, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.leadmag-cover-shadow {
  position: absolute;
  inset: 20px -8px -12px 8px;
  background: rgba(38, 35, 34, 0.13);
  border-radius: 16px;
  z-index: 0;
  border: none;
}
.leadmag-preview::before {
  content: "↓\00a0 БЕЗПЛАТЕН PDF";
  position: absolute;
  top: -0.9rem;
  right: -1rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--narrow-bg-primary);
  background: var(--narrow-accent);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  z-index: 4;
  white-space: nowrap;
}
.leadmag-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--narrow-text-primary);
  margin: 1rem 0 1.25rem;
}
.leadmag-desc {
  font-size: 1rem;
  color: var(--narrow-text-secondary);
  line-height: 1.75;
  margin: 0 0 1.5rem;
}
.leadmag-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.leadmag-bullets li {
  font-size: 0.9rem;
  color: var(--narrow-text-primary);
  padding-left: 1.5rem;
  position: relative;
}
.leadmag-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--narrow-accent);
  font-weight: 700;
}
.leadmag-form-row {
  display: flex;
  gap: 0.75rem;
}
.leadmag-input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--narrow-border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--narrow-bg-primary);
  color: var(--narrow-text-primary);
}
.leadmag-input:focus {
  outline: none;
  border-color: var(--narrow-accent);
  box-shadow: 0 0 0 3px rgba(255, 120, 79, 0.1);
}
.leadmag-btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.leadmag-consent {
  font-size: 0.78rem;
  color: var(--narrow-text-secondary);
  margin: 0.75rem 0 0;
}
.leadmag-success {
  margin-top: 1rem;
  padding: 0.9rem 1.25rem;
  background: rgba(52, 168, 83, 0.1);
  border: 1px solid rgba(52, 168, 83, 0.3);
  border-radius: 8px;
  color: #2d7a47;
  font-size: 0.9rem;
  font-weight: 600;
}
/* Slash accent test вЂ” uses the diagonal slash from the logo language */
body.narrow-services-page .content-text h2 {
  display: flex;
  align-items: center;
  gap: 0.45em;
}
body.narrow-services-page .content-text h2::before {
  content: "/";
  display: inline-block;
  font-size: 0.95em;
  line-height: 1;
  font-weight: 400;
  color: var(--narrow-accent);
  letter-spacing: -0.08em;
  transform: translateY(-0.02em);
}
@keyframes narrowTitleRise {
  from {
    transform: translateY(105%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Subtitle / meta line */
.page-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.4);
  margin: 0;
  animation: narrowFadeUp 0.55s ease 0.85s both;
}
.page-hero-meta-item,
.page-hero-meta-separator {
  display: inline-flex;
  align-items: center;
}
@keyframes narrowFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Services page: light bg, dark text (no black background) */
body.narrow-services-page .page-hero-section {
  background-color: var(--narrow-bg-primary);
}
body.narrow-services-page .page-hero-title {
  color: var(--narrow-text-primary);
}
body.narrow-services-page .page-hero-meta {
  color: rgba(38, 35, 34, 0.45);
}
body.narrow-projects-page .page-hero-section {
  background-color: var(--narrow-bg-primary);
}
body.narrow-projects-page .page-hero-title {
  color: var(--narrow-text-primary);
  letter-spacing: 15px;
  text-indent: 15px;
}
body.narrow-projects-page .page-hero-meta {
  color: rgba(38, 35, 34, 0.45);
}
body.narrow-projects-page .page-hero-meta-separator {
  color: rgba(255, 120, 79, 0.6);
}
body.narrow-services-page .page-hero-meta-separator {
  color: rgba(255, 120, 79, 0.6);
}
/* Blog page: entire page dark (brand secondary = #262322) */
body.narrow-blog-page {
  background-color: var(--narrow-bg-secondary);
}
body.narrow-blog-page .section {
  background-color: var(--narrow-bg-secondary);
}
body.narrow-blog-page .section-title,
body.narrow-blog-page .section-description,
body.narrow-blog-page h2,
body.narrow-blog-page h3 {
  color: var(--narrow-text-light, #fff7ec);
}
body.narrow-blog-page p {
  color: rgba(255, 247, 236, 0.6);
}
body.narrow-blog-page .feature-card {
  background-color: rgba(255, 247, 236, 0.04);
  border-color: rgba(255, 247, 236, 0.08);
}
body.narrow-blog-page .feature-title {
  color: var(--narrow-text-light, #fff7ec);
}
body.narrow-blog-page .feature-description {
  color: rgba(255, 247, 236, 0.55);
}
body.narrow-blog-page .feature-title a {
  color: var(--narrow-text-light, #fff7ec) !important;
}
/* leadmag-section on blog page — force dark text on light background */
body.narrow-blog-page .leadmag-section {
  background-color: var(--narrow-bg-primary) !important;
}
body.narrow-blog-page .leadmag-section .leadmag-title,
body.narrow-blog-page .leadmag-section h2,
body.narrow-blog-page .leadmag-section h3.leadmag-title {
  color: var(--narrow-text-primary) !important;
}
body.narrow-blog-page .leadmag-section p,
body.narrow-blog-page .leadmag-section .leadmag-desc {
  color: var(--narrow-text-secondary) !important;
}
body.narrow-blog-page .leadmag-section .leadmag-bullets li {
  color: var(--narrow-text-primary) !important;
}
body.narrow-blog-page .leadmag-section .leadmag-consent {
  color: var(--narrow-text-secondary) !important;
}
body.narrow-blog-page .leadmag-section .leadmag-copy {
  color: var(--narrow-text-primary) !important;
}
body.narrow-blog-page .feature-card > div[style*="font-size: 0.875rem"] {
  color: rgba(255, 247, 236, 0.52) !important;
}
body.narrow-blog-page .btn-secondary {
  color: var(--narrow-text-light);
  border-color: rgba(255, 247, 236, 0.28);
}
body.narrow-blog-page .btn-secondary:hover {
  background-color: var(--narrow-text-light);
  color: var(--narrow-bg-secondary);
}
body.narrow-blog-page .blog-pagination-status {
  color: rgba(255, 247, 236, 0.55) !important;
}
body.narrow-blog-page .content-image {
  background-color: rgba(255, 247, 236, 0.08);
  color: rgba(255, 247, 236, 0.7);
}
body.narrow-blog-page .blog-post-card {
  background: linear-gradient(
    180deg,
    rgba(255, 247, 236, 0.06) 0%,
    rgba(255, 247, 236, 0.03) 100%
  );
  border-color: rgba(255, 247, 236, 0.1);
  padding-top: 2.25rem !important;
  padding-bottom: 2.25rem !important;
}
body.narrow-blog-page .site-footer {
  background-color: var(--narrow-bg-secondary);
  border-top-color: rgba(255, 247, 236, 0.1);
}
/* ============================================
NOIR.IO ABOUT SECTION (compact)
============================================ */
.noir-about-section {
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--narrow-border);
}
.noir-about-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.noir-about-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  display: block;
  margin-top: 0.5rem;
}
.noir-about-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--narrow-text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}
.noir-about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--narrow-text-primary);
  text-decoration: none;
  transition:
    gap 0.3s ease,
    opacity 0.3s ease;
}
.noir-about-link:hover {
  gap: 0.875rem;
  opacity: 0.6;
  color: var(--narrow-text-primary);
}
@media (max-width: 768px) {
  .noir-about-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
/* Hero Section вЂ” full-bleed, 100vh */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--narrow-bg-secondary);
  padding: 0;
  margin: 0;
}
/* Fallback gradient when no video is set */
.hero-no-video {
  background: linear-gradient(160deg, #1a1816 0%, #262322 60%, #3a2a1e 100%);
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Desktop video: hidden on mobile */
.hero-video-mobile {
  display: none;
}
@media (max-width: 768px) {
  .hero-video-desktop {
    display: none;
  }
  .hero-video-mobile {
    display: block;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(38, 35, 34, 0.5);
}
/* Main centered headline вЂ” 3-4 words max */
.hero-main-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(calc(-50% + 20px), calc(-50% + 90px));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.8vw, 1.5rem);
  text-align: left;
  padding: 0 2rem;
  pointer-events: none;
  width: max-content;
  max-width: calc(100% - 4rem);
}
.hero-headline {
  font-size: clamp(2.625rem, 5.6vw, 5.125rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
  text-align: left;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.15);
}
/* Side info box вЂ” sits lower-center, left of middle */
.hero-side-box {
  position: absolute;
  bottom: calc(8rem + 430px);
  left: 50%;
  transform: translateX(calc(-160% + 900px));
  z-index: 2;
  width: 340px;
  min-height: 70px;
  display: flex;
  align-items: flex-start;
}
.hero-side-box p {
  font-size: 1.125rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.02em;
}
/* Scroll indicator вЂ” bottom-right */
.hero-scroll-indicator {
  position: absolute;
  bottom: 3rem;
  right: 2.5rem;
  z-index: 2;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.5);
  animation: heroScrollBounce 2s ease-in-out infinite;
  line-height: 1;
}
@keyframes heroScrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}
@media (max-width: 768px) {
  .hero-headline {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }
  .hero-side-box {
    display: none;
  }
  .hero-scroll-indicator {
    right: 50%;
    transform: translateX(50%);
  }
}
.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--narrow-transition);
  display: inline-block;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background-color: transparent;
  color: var(--narrow-text-primary);
  border: 2px solid var(--narrow-text-primary);
}
.btn-primary:hover {
  background-color: var(--narrow-text-primary);
  color: var(--narrow-text-light);
  box-shadow: none;
}
.bg-secondary .btn-primary {
  color: var(--narrow-text-light);
  border-color: var(--narrow-text-light);
}
.bg-secondary .btn-primary:hover {
  background-color: var(--narrow-text-light);
  color: var(--narrow-text-primary);
  box-shadow: none;
}
.btn-secondary {
  background-color: transparent;
  color: var(--narrow-text-primary);
  border: 2px solid var(--narrow-text-primary);
}
.btn-secondary:hover {
  background-color: var(--narrow-text-primary);
  color: var(--narrow-text-light);
}
/* ============================================
SECTIONS
============================================ */
.section {
  padding: 6rem 2rem;
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}
.section-title {
  margin-bottom: 1.5rem;
}
.section-description {
  font-size: 1.125rem;
  color: var(--narrow-text-secondary);
}
/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.feature-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: 16px;
  transition: var(--narrow-transition);
  border: 1px solid var(--narrow-border);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--narrow-shadow);
}
.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--narrow-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: white;
}
.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--narrow-text-primary);
}
.feature-description {
  color: var(--narrow-text-secondary);
  line-height: 1.7;
}
/* Alternating Content Sections */
.content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto 6rem;
}
.content-section.reverse {
  direction: rtl;
}
.content-section.reverse > * {
  direction: ltr;
}
.content-text h2 {
  margin-bottom: 1.5rem;
}
.content-text p {
  margin-bottom: 1.5rem;
}
.content-image {
  background-color: var(--narrow-accent);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}
.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
/* ============================================
FOOTER STYLES вЂ” EDITORIAL LAYOUT
============================================ */
.site-footer {
  background-color: var(--narrow-bg-primary);
  padding: 0 2.5rem 2rem;
  margin-top: 0;
  overflow: hidden;
  --footer-gap-height: 6rem;
  --footer-gap-bg: var(--narrow-bg-primary);
}
.site-footer::before {
  content: "";
  display: block;
  height: var(--footer-gap-height);
  background: var(--footer-gap-bg);
}
/* Reset GP's inner footer wrapper */
.site-footer .inside-footer {
  padding: 0;
  max-width: 100%;
  width: 100%;
}
.footer-inner.footer-editorial {
  max-width: 100%;
  border-top: 1px solid var(--narrow-border);
  padding-top: 4rem;
}
.footer-site-info {
  display: grid;
  gap: 2.5rem;
}
.footer-copy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  align-items: end;
}
.footer-column-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
}
.footer-column h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
}
.footer-text-link {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--narrow-text-primary);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}
.footer-text-link:hover {
  color: inherit;
  opacity: 0.62;
  background: transparent;
}
.footer-newsletter-panel {
  padding: 1.5rem 0 0.25rem;
}
.footer-subscribe-form--editorial {
  max-width: 480px;
}
.footer-social-stack {
  display: grid;
  gap: 0.6rem;
}
.footer-info,
.footer-copy-grid,
.footer-bottom {
  width: min(1480px, calc(100vw - 4rem));
  margin-left: auto;
  margin-right: auto;
  padding-inline: 40px;
}
.footer-column--meta {
  justify-self: start;
  margin-left: 200px;
}
.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.footer-social-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--narrow-text-primary);
}
.footer-social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.footer-locations,
.footer-badge,
.footer-copyright,
.footer-links a,
.footer-separator {
  font-size: 0.8125rem;
  color: var(--narrow-text-secondary);
  letter-spacing: 0.01em;
}
.footer-badge {
  justify-self: start;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--narrow-border);
  border-radius: 999px;
  color: var(--narrow-text-secondary);
}
.footer-site-branding {
  padding: 1.5rem 0 0.5rem;
  display: flex;
  justify-content: center;
}
.footer-brand-image {
  display: block;
  width: 100%;
  max-width: 1520px;
  height: auto;
  margin: 0 auto;
}
.footer-util {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--narrow-border);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
}
.footer-links a:hover,
.footer-social-icon:hover {
  color: var(--narrow-accent);
}
body.narrow-blog-page .site-footer {
  background-color: var(--narrow-bg-secondary);
  border-top: none;
}
body.narrow-blog-page .footer-inner.footer-editorial {
  border-top-color: rgba(255, 247, 236, 0.08);
}
body.narrow-blog-page .site-footer .footer-column-label {
  color: rgba(255, 247, 236, 0.55);
}
body.narrow-blog-page .site-footer .footer-text-link {
  color: var(--narrow-text-light);
}
body.narrow-blog-page .site-footer .footer-links a,
body.narrow-blog-page .site-footer .footer-locations,
body.narrow-blog-page .site-footer .footer-copyright,
body.narrow-blog-page .site-footer .footer-separator {
  color: var(--narrow-text-light);
}
body.narrow-blog-page .site-footer .footer-social-icon,
body.narrow-blog-page .site-footer .footer-badge {
  color: var(--narrow-accent);
}
body.narrow-blog-page .site-footer .footer-badge {
  border-color: rgba(255, 120, 79, 0.35);
}
body.narrow-blog-page .site-footer .footer-subscribe-form {
  background: rgba(255, 247, 236, 0.03);
  border-color: rgba(255, 247, 236, 0.14);
}
body.narrow-blog-page .site-footer .footer-subscribe-input {
  color: var(--narrow-text-light);
}
body.narrow-blog-page .site-footer .footer-subscribe-input::placeholder {
  color: rgba(255, 247, 236, 0.42);
}
body.narrow-blog-page .site-footer .footer-subscribe-btn {
  background-color: var(--narrow-accent);
  color: var(--narrow-text-light);
}
body.narrow-blog-page .site-footer .footer-subscribe-btn:hover {
  background-color: #ff986f;
}
body.narrow-blog-page .site-footer .footer-util {
  border-top-color: rgba(255, 247, 236, 0.1);
}
/* ============================================
RESPONSIVE DESIGN
============================================ */
@media (max-width: 1024px) {
  .content-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .blog-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-copy-grid,
  .about-values-stack,
  .about-team-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vp-header-grid,
  .team-editorial-grid,
  .projects-overview-grid,
  .projects-stage-grid,
  .projects-lanes {
    grid-template-columns: 1fr;
  }
  .vp-card--editorial,
  .vp-card--editorial.vp-card--accent,
  .vp-card--editorial.vp-card--wide {
    grid-column: span 6;
  }
  .portfolio-ribbon {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-column--meta {
    justify-self: start;
  }
  .content-section.reverse {
    direction: ltr;
  }
}
@media (max-width: 768px) {
  .inside-header {
    padding: 10px 1.5rem;
  }
  .site-header {
    padding: 0;
  }
  /* Hide desktop nav on mobile */
  .nav-menu-wrap {
    display: none;
  }
  /* Show mobile menu button */
  .nav-mobile-btn {
    display: inline-flex;
  }
  /* Hide desktop CTA pill on small screens */
  .nav-cta-pill {
    display: none;
  }
  .footer-copy-grid,
  .about-values-stack,
  .about-team-showcase {
    grid-template-columns: 1fr;
  }
  .footer-copy-grid {
    width: min(100%, calc(100vw - 3rem));
  }
  .vp-grid--editorial {
    grid-template-columns: 1fr;
  }
  .vp-card--editorial,
  .vp-card--editorial.vp-card--accent,
  .vp-card--editorial.vp-card--wide {
    grid-column: auto;
  }
  .final-cta-accent::before {
    inset: 0 12px;
    clip-path: polygon(44px 0, 100% 0, calc(100% - 44px) 100%, 0 100%);
  }
  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--narrow-bg-primary);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px var(--narrow-shadow);
    overflow-y: auto;
    z-index: 1000;
  }
  .main-navigation.active {
    right: 0;
  }
  .main-navigation ul {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }
  .main-navigation a {
    display: block;
    font-size: 1.125rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .blog-post-media {
    height: 220px;
  }
  .blog-newsletter-form {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .section {
    padding: 4rem 1.5rem;
  }
  .hero-section {
    padding: 4rem 1.5rem;
    min-height: 70vh;
  }
  .services-interactive-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .services-video-container {
    height: 300px;
    order: 2;
  }
  .services-list-container {
    order: 1;
  }
  .service-item-title {
    font-size: 1.5rem;
  }
}
/* ============================================
UTILITY CLASSES
============================================ */
.text-center {
  text-align: center;
}
.text-accent {
  color: var(--narrow-accent);
}
.bg-secondary {
  background-color: var(--narrow-bg-secondary);
  color: var(--narrow-text-light);
}
.container {
  display: block !important;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
.container-wide {
  display: block !important;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
}
/* Ensure all sections stack vertically */
section,
.section,
.narrow-section,
.portfolio-grid-section,
.about-section,
.capabilities-section,
.services-interactive-section,
.services-section,
.stats-section,
.footer-cta-section {
  display: block !important;
  width: 100% !important;
  clear: both;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}
.mt-4 {
  margin-top: 4rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
.mb-4 {
  margin-bottom: 4rem;
}
/* ============================================
ANIMATIONS
============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}
/* Smooth scroll */
html {
  scroll-behavior: smooth;
}
/* Selection color */
::selection {
  background-color: var(--narrow-accent);
  color: var(--narrow-text-light);
}
::-moz-selection {
  background-color: var(--narrow-accent);
  color: var(--narrow-text-light);
}
/* ============================================
BACK TO TOP BUTTON
============================================ */
.back-to-top {
  position: fixed;
  bottom: calc(2.75rem - 20px);
  right: calc(4rem - 40px);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background-color: var(--narrow-accent);
  color: white;
  border: none;
  border-radius: 0 !important;
  -webkit-clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--narrow-transition);
  z-index: 999;
  box-shadow: 0 4px 12px rgba(255, 120, 79, 0.4);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background-color: var(--narrow-bg-secondary);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 120, 79, 0.5);
}
/* ============================================
FORM ENHANCEMENTS
============================================ */
.form-field-focused input,
.form-field-focused textarea {
  border-color: var(--narrow-accent);
  box-shadow: 0 0 0 3px rgba(255, 120, 79, 0.1);
}
form input:not([type="checkbox"]):not([type="radio"]),
form textarea,
form select,
.footer-subscribe-form,
.footer-subscribe-input,
.blog-newsletter-input,
.blog-newsletter-form,
.contact-form-shell,
.contact-detail-card {
  border-radius: 10px !important;
}
.btn,
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.nav-cta-pill,
.nav-mobile-btn,
.footer-subscribe-btn {
  border-radius: 999px !important;
}
/* ============================================
LOADING STATES
============================================ */
.loading {
  opacity: 0.6;
  pointer-events: none;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.6s linear infinite;
}
/* ============================================
FOOTER NEWSLETTER + SOCIAL LINKS
============================================ */
.footer-newsletter-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  margin-bottom: 0.5rem;
}
.footer-newsletter-title {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 600;
  color: var(--narrow-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 1.75rem;
}
.footer-subscribe-form {
  display: flex;
  max-width: 420px;
  border: 1px solid var(--narrow-border);
  border-radius: 100px;
  overflow: hidden;
  background: white;
  transition: border-color 0.3s ease;
}
.footer-subscribe-form:focus-within {
  border-color: var(--narrow-text-primary);
}
.footer-subscribe-input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--narrow-text-primary);
}
.footer-subscribe-input::placeholder {
  color: var(--narrow-text-secondary);
  opacity: 0.55;
}
.footer-subscribe-btn {
  padding: 0.75rem 1.375rem;
  background-color: var(--narrow-text-primary);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 0 100px 100px 0;
  font-family: inherit;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}
.footer-subscribe-btn:hover {
  opacity: 0.62;
}
.footer-social-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  margin-bottom: 1.25rem;
  display: block;
}
@media (max-width: 768px) {
  .footer-copy-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-badge {
    justify-self: start;
  }
  .footer-subscribe-form {
    max-width: 100%;
  }
  .footer-util {
    gap: 0.5rem;
  }
}
/* ============================================
FINAL CTA вЂ” ACCENT BACKGROUND
============================================ */
.final-cta-accent {
  position: relative;
  background-color: transparent;
  border-top: none;
  overflow: hidden;
}
.final-cta-accent::before {
  content: "";
  position: absolute;
  inset: 0 200px;
  background-color: var(--narrow-accent);
  transform-origin: center;
  transform: skewX(-9.6deg);
  z-index: 0;
}
.final-cta-accent .section-tag,
.final-cta-accent .final-cta-title,
.final-cta-accent .final-cta-sub {
  color: white;
}
.final-cta-accent .final-cta-inner {
  position: relative;
  z-index: 1;
}
.final-cta-accent .btn-dark {
  background-color: var(--narrow-bg-secondary);
  color: white;
}
.final-cta-accent .btn-dark:hover {
  background-color: white;
  color: var(--narrow-accent);
}
.final-cta-accent .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}
.final-cta-accent .btn-ghost:hover {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.12);
  color: white;
  opacity: 1;
}
/* ============================================
PORTFOLIO GRID
============================================ */
.portfolio-grid-section {
  padding: 4rem 0;
  background-color: var(--narrow-bg-primary);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
.portfolio-item {
  cursor: pointer;
  transition: var(--narrow-transition);
}
.portfolio-item:hover {
  transform: translateY(-8px);
}
.portfolio-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(
    135deg,
    var(--narrow-accent) 0%,
    var(--narrow-bg-secondary) 100%
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.portfolio-placeholder {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-meta {
  padding: 0 0.5rem;
}
.portfolio-category {
  font-size: 0.875rem;
  color: var(--narrow-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.portfolio-title {
  font-size: 1.25rem;
  margin: 0.5rem 0 0;
  color: var(--narrow-text-primary);
}
/* Section Labels */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--narrow-text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-label::before {
  content: "/";
  display: inline-block;
  color: var(--narrow-accent);
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0em;
  transform: translateY(-0.02em);
  rotate: 356deg;
}
/* About Content */
.about-content {
  max-width: 1400px;
  margin: 0 auto;
}
.section-title-large {
  font-size: 3.25rem;
  line-height: 1.3;
  margin-bottom: 3rem;
  font-weight: 700;
}
.about-section-label-light {
  color: rgba(255, 247, 236, 0.58);
}
.about-section-title-light {
  color: var(--narrow-text-light);
}
.about-description {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  font-size: 1.125rem;
  color: var(--narrow-text-secondary);
  line-height: 1.8;
}
/* Capabilities Grid */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background-color: rgba(255, 247, 236, 0.1);
  border: 1px solid rgba(255, 247, 236, 0.1);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 3rem;
}
.capability-item {
  background-color: var(--narrow-bg-secondary);
  padding: 2.5rem 2rem;
  transition: var(--narrow-transition);
}
.capability-item:hover {
  background-color: rgba(255, 247, 236, 0.05);
}
.capability-title {
  color: var(--narrow-text-light);
  font-size: 1.25rem;
  margin: 0;
}
.about-values-section {
  position: relative;
  overflow: hidden;
}
.about-values-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 120, 79, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 247, 236, 0.04), transparent 55%);
  pointer-events: none;
}
.about-values-stack {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 4rem;
}
/* About snapshot section (3.1) */
.about-snapshot-section {
  border-top: 1px solid var(--narrow-border);
  border-bottom: 1px solid var(--narrow-border);
  padding-top: 0;
  padding-bottom: 0;
}
.about-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.4fr;
  gap: 0;
  align-items: stretch;
}
.about-snapshot-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 3.5rem 3rem;
  border-right: 1px solid var(--narrow-border);
  justify-content: center;
}
.about-snapshot-num {
  display: block;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--narrow-text-primary);
}
.about-snapshot-num sup {
  font-size: 0.38em;
  vertical-align: super;
  color: var(--narrow-accent);
}
.about-snapshot-meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
}
.about-snapshot-statement {
  padding: 3.5rem;
  border-left: 3px solid var(--narrow-accent);
  display: flex;
  align-items: center;
}
.about-snapshot-statement p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--narrow-text-primary);
  font-style: italic;
}
.about-value-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.75rem;
  background: rgba(255, 247, 236, 0.04);
  border: 1px solid rgba(255, 247, 236, 0.12);
  align-items: start;
  min-height: 260px;
}
.about-value-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}
.about-value-row:nth-child(2),
.about-value-row:nth-child(5) {
  transform: translateY(28px);
}
.about-value-index {
  display: inline-flex;
  width: auto;
  color: rgba(255, 247, 236, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.about-value-copy {
  margin: 0;
  color: rgba(255, 247, 236, 0.72);
  line-height: 1.75;
}
.about-team-section .section-title-large {
  max-width: 900px;
}
.about-team-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.about-team-panel {
  padding: 1.75rem;
  border: 1px solid var(--narrow-border);
  background: linear-gradient(
    180deg,
    rgba(255, 247, 236, 0.75) 0%,
    rgba(255, 247, 236, 0.98) 100%
  );
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.about-team-panel-top {
  display: grid;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--narrow-border);
}
.about-team-index {
  color: var(--narrow-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.about-team-panel-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}
.about-team-media {
  min-height: 220px;
  background: linear-gradient(
    135deg,
    var(--narrow-accent) 0%,
    var(--narrow-bg-secondary) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-team-media--compact {
  min-height: 180px;
  aspect-ratio: 4 / 3;
}
.about-team-role {
  display: inline-block;
  color: var(--narrow-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.about-team-summary {
  display: grid;
  gap: 0.75rem;
}
.about-team-name {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.15;
}
.about-team-copy {
  margin: 0;
  color: var(--narrow-text-secondary);
  line-height: 1.8;
  font-size: 1.02rem;
}
.contact-details-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}
.contact-detail-card {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--narrow-border);
}
.contact-detail-title {
  color: var(--narrow-accent);
  margin-bottom: 0.5rem;
}
.contact-form-shell {
  background: white;
  padding: 2.5rem;
  box-shadow: 0 10px 30px var(--narrow-shadow);
}
/* Service Packages */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.service-package {
  background-color: white;
  padding: 3rem 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--narrow-border);
  transition: var(--narrow-transition);
}
.service-package:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--narrow-shadow);
  border-color: var(--narrow-accent);
}
.service-package-title {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--narrow-text-primary);
}
.service-package-description {
  color: var(--narrow-text-secondary);
  line-height: 1.7;
}
/* Stats Section */
.stats-section {
  background: linear-gradient(
    135deg,
    var(--narrow-bg-primary) 0%,
    rgba(255, 247, 236, 0.5) 100%
  );
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4rem;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--narrow-accent);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.stat-label {
  font-size: 1.125rem;
  color: var(--narrow-text-secondary);
  margin: 0;
}
/* CTA Section */
.cta-section {
  text-align: center;
  padding: 8rem 2rem;
}
.bg-accent {
  background-color: var(--narrow-accent);
}
.cta-section.bg-accent .cta-title,
.cta-section.bg-accent .cta-description {
  color: white;
}
.cta-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.cta-description {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary-light {
  background-color: white;
  color: var(--narrow-accent);
  padding: 1.25rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: var(--narrow-transition);
}
.btn-primary-light:hover {
  background-color: var(--narrow-bg-secondary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
/* ============================================
HERO v1.0.3 вЂ” eyebrow + accent title + CTA wrap
============================================ */
.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  margin-bottom: 1.5rem;
}
.hero-title-accent {
  display: block;
  color: var(--narrow-accent);
  background: none;
  -webkit-text-fill-color: var(--narrow-accent);
}
.hero-subtitle {
  font-size: clamp(1rem, 1.75vw, 1.25rem);
  color: var(--narrow-text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-cta-wrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
/* Shared button base */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    opacity 0.3s ease;
  white-space: nowrap;
}
.btn-dark {
  background-color: var(--narrow-text-primary);
  color: var(--narrow-text-light);
}
.btn-dark:hover {
  background-color: var(--narrow-accent);
  color: white;
  opacity: 1;
}
.btn-ghost {
  background-color: transparent;
  color: var(--narrow-text-primary);
  border: 1.5px solid rgba(38, 35, 34, 0.25);
}
.btn-ghost:hover {
  border-color: var(--narrow-text-primary);
  opacity: 1;
  color: var(--narrow-text-primary);
}
.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}
/* ============================================
SOCIAL PROOF SECTION
============================================ */
.social-proof-section {
  padding: 3rem 2.5rem;
  border-top: 1px solid var(--narrow-border);
  border-bottom: 1px solid var(--narrow-border);
}
.sp-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.sp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--narrow-border);
  border-radius: 22px;
  overflow: hidden;
}
.sp-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem 2.25rem;
  border-right: 1px solid var(--narrow-border);
}
.sp-stat:last-child {
  border-right: 0;
}
.sp-stat-inner {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}
.sp-slash {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 800;
  color: var(--narrow-accent);
  line-height: 1;
  font-style: italic;
  letter-spacing: -0.04em;
}
.sp-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--narrow-text-primary);
  line-height: 1;
  letter-spacing: -0.04em;
}
.sp-number sup {
  font-size: 0.48em;
  font-weight: 700;
  vertical-align: super;
  color: var(--narrow-accent);
  letter-spacing: 0;
}
.sp-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--narrow-text-secondary);
  line-height: 1.4;
}
/* Logo row */
.sp-logos {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--narrow-border);
}
.sp-logo-placeholder {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--narrow-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
/* ============================================
VALUE PROPOSITION SECTION
============================================ */
.value-prop-section {
  padding: 5rem 2.5rem;
  border-bottom: 1px solid var(--narrow-border);
}
.vp-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.vp-header {
  margin-bottom: calc(4rem + 10px);
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  margin-bottom: 1rem;
}
.section-tag::before {
  content: "/";
  display: inline-block;
  color: var(--narrow-accent);
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0em;
  transform: translateY(-0.02em);
  rotate: 356deg;
}
body.narrow-home-page .home-slash-tag,
body.home .home-slash-tag,
.home-slash-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
body.narrow-home-page .home-slash-tag::before,
body.home .home-slash-tag::before,
.home-slash-tag::before {
  content: "/";
  display: inline-block;
  color: var(--narrow-accent);
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0em;
  transform: translateY(-0.02em);
  rotate: 356deg;
}
.vp-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--narrow-text-primary);
  margin-bottom: 0;
}
.vp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--narrow-border);
  margin-bottom: 3rem;
}
.vp-card {
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid var(--narrow-border);
}
.vp-card:last-child {
  border-right: none;
  padding-right: 0;
}
.vp-card:not(:first-child) {
  padding-left: 2rem;
}
.vp-number {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--narrow-accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.vp-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--narrow-text-primary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.vp-card-desc {
  font-size: 0.875rem;
  color: var(--narrow-text-secondary);
  line-height: 1.7;
  margin: 0;
}
/* Shared section CTA link */
.section-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--narrow-text-primary);
  text-decoration: none;
  transition:
    gap 0.3s ease,
    opacity 0.3s ease;
}
.section-cta-link:hover {
  gap: 0.875rem;
  opacity: 0.6;
  color: var(--narrow-text-primary);
}
/* Portfolio section top row */
.section-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: calc(2.5rem + 10px);
}
/* Portfolio result tag */
.portfolio-result {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--narrow-accent);
  letter-spacing: 0.06em;
  margin-top: 0.375rem;
}
/* ============================================
PROCESS SECTION
============================================ */
.process-section {
  padding: 5rem 2.5rem;
  border-top: 1px solid var(--narrow-border);
  border-bottom: 1px solid var(--narrow-border);
  background-color: var(--narrow-bg-secondary);
}
.process-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.process-header {
  max-width: unset;
  margin-bottom: 5rem;
}
.process-header .section-tag {
  color: var(--narrow-accent);
  border-color: rgba(255, 255, 255, 0.15);
}
.process-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--narrow-text-light);
  white-space: nowrap;
}
.process-subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 247, 236, 0.5);
  margin: 0;
}
/* Staggered timeline */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 247, 236, 0.1);
  align-items: start;
  transition: opacity 0.3s ease;
}
.process-step:last-child {
  border-bottom: 1px solid rgba(255, 247, 236, 0.1);
}
/* Even steps indent right */
.process-step:nth-child(even) {
  padding-left: clamp(0px, 8vw, 120px);
}
.process-step:hover {
  opacity: 0.85;
}
.process-step-num {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--narrow-accent);
  letter-spacing: 0.1em;
  padding-top: 0.25rem;
  text-align: right;
}
.process-step-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 3rem;
  align-items: start;
}
.process-step-title {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--narrow-text-light);
  line-height: 1.3;
  margin: 0 0 0.5rem;
}
.process-step-desc {
  font-size: 0.9375rem;
  color: rgba(255, 247, 236, 0.5);
  line-height: 1.7;
  margin: 0;
  max-width: 540px;
}
/* Responsive */
@media (max-width: 768px) {
  .process-step {
    grid-template-columns: 40px 1fr;
    gap: 0 1.5rem;
  }
  .process-step:nth-child(even) {
    padding-left: 0;
  }
  .process-step-content {
    grid-template-columns: 1fr;
  }
  .process-step-num {
    text-align: left;
  }
}
/* process section CTA button вЂ” white ghost on dark bg */
.process-section .btn-ghost {
  color: var(--narrow-text-light);
  border-color: rgba(255, 247, 236, 0.35);
  margin-top: 2.5rem;
}
.process-section .btn-ghost:hover {
  border-color: var(--narrow-text-light);
  background-color: rgba(255, 247, 236, 0.08);
  opacity: 1;
  color: var(--narrow-text-light);
}
/* ============================================
BRAND BOOK OVERRIDES
============================================ */
.section-label {
  font-weight: 600;
}
.portfolio-split-head .section-label,
.portfolio-split-head .section-tag,
.vp-header .section-label,
.vp-header .section-tag,
.section-top-row .section-label,
.section-top-row .section-tag {
  margin-bottom: 34px;
}
.home-slash-tag::before,
body.narrow-services-page .content-text h2::before {
  font-weight: 700;
  font-size: 1.28em;
}
.footer-copy-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: end;
}
.vp-header--impact {
  margin-bottom: 3rem;
}
.vp-impact-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 2rem;
  align-items: end;
}
.vp-impact-header .vp-title {
  max-width: 12ch;
}
.vp-intro-copy {
  max-width: 30rem;
  margin: 0 0 0 auto;
  color: var(--narrow-text-secondary);
  line-height: 1.8;
  font-size: 1rem;
}
.vp-impact-list {
  display: grid;
  gap: 1rem;
}
.vp-impact-row {
  display: grid;
  grid-template-columns: minmax(120px, 140px) minmax(0, 0.9fr) minmax(
      240px,
      0.7fr
    );
  gap: 2rem;
  align-items: start;
  padding: 1.85rem 2rem;
  border: 1px solid var(--narrow-border);
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    rgba(255, 247, 236, 0.98) 0%,
    rgba(248, 241, 232, 0.98) 100%
  );
}
.vp-impact-row--dark {
  background: linear-gradient(
    135deg,
    rgba(38, 35, 34, 0.98) 0%,
    rgba(74, 66, 63, 0.94) 100%
  );
  border-color: rgba(255, 247, 236, 0.12);
}
.vp-impact-row--dark .vp-number,
.vp-impact-row--dark .vp-card-title,
.vp-impact-row--dark .vp-card-desc,
.vp-impact-row--dark .vp-impact-note {
  color: var(--narrow-text-light);
}
.vp-impact-note {
  margin: 0;
  align-self: center;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--narrow-text-secondary);
}
.portfolio-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
}
.portfolio-feature-card {
  min-height: 100%;
  padding: 2rem;
  border-radius: 26px;
  border: 1px solid var(--narrow-border);
  display: grid;
  gap: 1.5rem;
  align-content: space-between;
  background: linear-gradient(
    135deg,
    rgba(255, 247, 236, 0.98) 0%,
    rgba(242, 236, 228, 0.98) 100%
  );
}
.portfolio-feature-card--primary {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1fr);
  gap: 1.75rem;
  grid-row: span 2;
  background: linear-gradient(
    135deg,
    rgba(255, 120, 79, 0.16) 0%,
    rgba(255, 247, 236, 0.98) 100%
  );
  border-color: rgba(255, 120, 79, 0.18);
}
.portfolio-feature-card--secondary {
  background: #fff;
}
.portfolio-feature-card--dark {
  background: linear-gradient(
    135deg,
    rgba(38, 35, 34, 0.98) 0%,
    rgba(70, 62, 59, 0.94) 100%
  );
  border-color: rgba(255, 247, 236, 0.12);
}
.portfolio-feature-card--dark .portfolio-category,
.portfolio-feature-card--dark .portfolio-title,
.portfolio-feature-card--dark .portfolio-ribbon-copy {
  color: var(--narrow-text-light);
}
.portfolio-feature-card--dark .portfolio-result {
  color: #ffbeab;
}
.portfolio-feature-media {
  min-height: 320px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(38, 35, 34, 0.96) 0%,
    rgba(255, 120, 79, 0.72) 100%
  );
  display: grid;
  place-items: end start;
  padding: 1.5rem;
}
.portfolio-placeholder,
.portfolio-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--narrow-accent);
}
.portfolio-placeholder {
  display: inline-flex;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 247, 236, 0.16);
  color: var(--narrow-text-light);
  backdrop-filter: blur(6px);
}
.team-inner {
  grid-template-columns: 1fr;
  gap: 0;
}
.team-manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 3rem;
  align-items: start;
}
.team-manifesto-copy {
  max-width: 34rem;
}
.team-manifesto-grid {
  display: grid;
  gap: 1rem;
}
.team-manifesto-card {
  padding: 1.6rem 1.8rem;
  border-radius: 24px;
  border: 1px solid var(--narrow-border);
  background: white;
  display: grid;
  gap: 0.75rem;
}
.team-manifesto-card--accent {
  background: linear-gradient(
    135deg,
    rgba(255, 120, 79, 0.14) 0%,
    rgba(255, 247, 236, 0.96) 100%
  );
  border-color: rgba(255, 120, 79, 0.18);
}
.team-manifesto-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--narrow-accent);
}
.team-manifesto-card h3,
.team-manifesto-card p {
  margin: 0;
}
.final-cta-accent::before {
  inset: 0 200px;
  transform-origin: center;
  transform: skewX(-9.6deg);
}
.final-cta-accent {
  border-top: 0;
}
.about-values-stack {
  gap: 1rem;
}
.about-value-row {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.75rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 247, 236, 0.12);
  background: linear-gradient(
    135deg,
    rgba(255, 247, 236, 0.05) 0%,
    rgba(255, 247, 236, 0.02) 100%
  );
}
.about-value-row::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(255, 120, 79, 0.28) 0%,
    rgba(255, 120, 79, 0) 72%
  );
  transform: translate(-25%, 30%);
}
/* 3.2 — different gradient origin per row */
.about-value-row:nth-child(2)::before {
  inset: 0 0 auto auto;
  transform: translate(25%, -25%);
}
.about-value-row:nth-child(3)::before {
  inset: 0 auto auto 50%;
  transform: translate(-50%, -25%);
}
.about-value-row:nth-child(4)::before {
  inset: auto 0 0 auto;
  transform: translate(25%, 25%);
}
.about-value-row:nth-child(5)::before {
  inset: 30% auto auto 0;
  transform: translate(-25%, 0);
}
.about-value-row:nth-child(6)::before {
  inset: 0 auto auto 0;
  transform: translate(-25%, -20%);
}
.about-value-note {
  display: inline-flex;
  align-self: start;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 247, 236, 0.08);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.52);
}
.about-team-showcase {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.about-team-panel {
  border-radius: 24px;
  padding: 1.6rem;
  background: linear-gradient(
    135deg,
    rgba(255, 247, 236, 0.96) 0%,
    rgba(243, 237, 228, 1) 100%
  );
  border: 1px solid var(--narrow-border);
}
.about-team-panel:nth-child(2) {
  transform: translateY(26px);
}
.about-team-panel:nth-child(3) {
  transform: translateY(52px);
}
/* 3.3 — team showcase horizontal redesign */
.about-team-showcase {
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--narrow-border);
  border: 1px solid var(--narrow-border);
  border-radius: 20px;
  overflow: hidden;
}
.about-team-panel {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: var(--narrow-bg-primary);
  border-radius: 0;
  border: none;
  transition: background 0.25s ease;
  align-items: center;
  transform: none;
}
.about-team-panel:hover {
  background: linear-gradient(
    90deg,
    rgba(255, 120, 79, 0.04) 0%,
    var(--narrow-bg-primary) 40%
  );
}
.about-team-panel:nth-child(2),
.about-team-panel:nth-child(3) {
  transform: none;
}
.about-team-panel-top {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-bottom: none;
  border-right: 1px solid var(--narrow-border);
  justify-content: center;
}
.about-team-panel-main {
  padding: 2.5rem;
}
.about-team-focus {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--narrow-text-primary);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 120, 79, 0.12);
  display: inline-flex;
  width: fit-content;
}
.projects-overview-section {
  padding-top: 112px;
}
.projects-kicker {
  margin: 0 0 1rem;
  max-width: 28rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--narrow-accent);
}
.projects-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3rem;
}
.projects-category-stack {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.projects-category-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border: 1px solid var(--narrow-border);
  border-radius: 999px;
  color: var(--narrow-text-secondary);
  font-size: 0.8125rem;
}
.projects-category-chip.active {
  background: var(--narrow-text-primary);
  color: var(--narrow-text-light);
  border-color: var(--narrow-text-primary);
}
.projects-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.projects-stage-card {
  min-height: 360px;
  padding: 2rem;
  border-radius: 24px;
  display: grid;
  gap: 1.5rem;
  align-content: start;
}
.projects-stage-card--branding {
  background: linear-gradient(
    135deg,
    rgba(255, 120, 79, 0.16) 0%,
    rgba(255, 247, 236, 0.98) 100%
  );
  border: 1px solid rgba(255, 120, 79, 0.18);
}
.projects-stage-card--web {
  background: linear-gradient(
    135deg,
    rgba(255, 247, 236, 1) 0%,
    rgba(238, 231, 220, 1) 100%
  );
  border: 1px solid var(--narrow-border);
}
.projects-stage-card--seo {
  background: linear-gradient(
    135deg,
    rgba(38, 35, 34, 0.98) 0%,
    rgba(70, 62, 59, 0.94) 100%
  );
  border: 1px solid rgba(255, 247, 236, 0.1);
}
.projects-stage-card--seo .projects-stage-tag,
.projects-stage-card--seo .projects-stage-index,
.projects-stage-card--seo .projects-stage-title,
.projects-stage-card--seo .projects-stage-copy {
  color: var(--narrow-text-light);
}
.projects-stage-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.projects-stage-tag,
.projects-stage-index,
.projects-stage-metric,
.projects-lane-title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.projects-stage-tag,
.projects-stage-index {
  font-size: 0.75rem;
  color: var(--narrow-accent);
  font-weight: 700;
}
.projects-stage-title {
  margin: 0;
  font-size: clamp(1.6rem, 2.2vw, 2.3rem);
  line-height: 1.1;
}
.projects-stage-copy {
  margin: 0;
  line-height: 1.8;
  color: var(--narrow-text-secondary);
}
.projects-stage-metric {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--narrow-accent);
}
.projects-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.projects-lane {
  padding: 1.6rem 1.75rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 247, 236, 0.12);
  background: linear-gradient(
    135deg,
    rgba(255, 247, 236, 0.06) 0%,
    rgba(255, 247, 236, 0.02) 100%
  );
}
.projects-lane-copy {
  margin: 0.6rem 0 0;
  color: rgba(255, 247, 236, 0.76);
  line-height: 1.75;
}
.projects-list-section {
  overflow: hidden;
}
.projects-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: rgba(255, 247, 236, 0.1);
  border: 1px solid rgba(255, 247, 236, 0.1);
}
.projects-lane {
  background: rgba(255, 247, 236, 0.04);
  padding: 2rem;
}
.projects-lane-title {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--narrow-accent);
}
.projects-lane-copy {
  margin: 0;
  color: rgba(255, 247, 236, 0.7);
  line-height: 1.75;
}
/* ============================================
TEAM SECTION
============================================ */
.team-section {
  padding: 6rem 2.5rem;
  border-bottom: 1px solid var(--narrow-border);
}
.team-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.team-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(
    135deg,
    rgba(255, 120, 79, 0.12) 0%,
    rgba(38, 35, 34, 0.08) 100%
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--narrow-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1px dashed var(--narrow-border);
}
.team-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.team-desc {
  font-size: 1.0625rem;
  color: var(--narrow-text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
/* ============================================
FINAL CTA SECTION
============================================ */
/* ============================================
FINAL CTA SECTION
============================================ */
/* --- Reviews Section (5.1) --- */
.projects-reviews-section {
  background: var(--narrow-bg-secondary);
}
.reviews-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.45);
}
.projects-reviews-section .section-tag {
  color: var(--narrow-accent);
}
/* Review grid v3 — dark editorial layout */
.rv2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 3rem;
  border: 1px solid rgba(255, 247, 236, 0.08);
  border-radius: 16px;
  overflow: hidden;
}
.rv2-card {
  background: rgba(255, 247, 236, 0.03);
  border: none;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: background 0.2s;
  position: relative;
}
.rv2-card::before {
  content: "\201C";
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--narrow-accent);
  opacity: 0.18;
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.05em;
}
.rv2-card:nth-child(odd) {
  border-right: 1px solid rgba(255, 247, 236, 0.08);
}
.rv2-card:nth-child(1),
.rv2-card:nth-child(2) {
  border-bottom: 1px solid rgba(255, 247, 236, 0.08);
}
.rv2-card:hover {
  background: rgba(255, 247, 236, 0.055);
}
.rv2-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
.rv2-card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}
.rv2-card:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}
.rv2-card:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}
.rv2-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 247, 236, 0.75);
  font-style: italic;
  margin: 0;
  flex: 1;
}
.rv2-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-top: 1px solid rgba(255, 247, 236, 0.1);
  padding-top: 1.25rem;
  margin-top: auto;
}
.rv2-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: hsl(var(--rv-hue, 27) 55% 45%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rv2-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}
.rv2-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--narrow-text-light);
}
.rv2-company {
  font-size: 0.72rem;
  color: rgba(255, 247, 236, 0.4);
}
.rv2-stars {
  color: var(--narrow-accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
/* Keep old rv-* classes in case still referenced */
.rv-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--narrow-text-light);
}
.rv-company {
  font-size: 0.75rem;
  color: rgba(255, 247, 236, 0.4);
}
/* ============================================
REVIEWS v3 — horizontal 4-column grid
============================================ */
.projects-reviews-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background: var(--narrow-bg-secondary);
}
.rv3-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 2rem;
}
.rv3-header-left .section-tag {
  margin-bottom: 0.75rem;
}
.rv3-title {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--narrow-text-primary);
  margin: 0;
}
.projects-reviews-section .rv3-title {
  color: var(--narrow-text-light);
}
.projects-reviews-section .rv3-score {
  color: var(--narrow-text-light);
}
.projects-reviews-section .reviews-source-badge {
  color: rgba(255, 247, 236, 0.55);
}
.rv3-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.reviews-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
}
.rv3-stars-all {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.rv3-score {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--narrow-text-primary);
  letter-spacing: -0.03em;
}
.rv3-stars-row {
  color: var(--narrow-accent);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}
.rv3-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.rv3-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2rem;
  border: 1px solid var(--narrow-border);
  border-radius: 18px;
  background: var(--narrow-bg-primary);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  gap: 1.5rem;
}
.rv3-item::before {
  content: "\201E";
  color: var(--narrow-accent);
  font-size: 3rem;
  line-height: 0.7;
  font-weight: 700;
  flex-shrink: 0;
  display: block;
  margin-bottom: -0.25rem;
}
.rv3-item--accent::before {
  color: rgba(255, 120, 79, 0.55);
}
.rv3-footer {
  margin-top: auto;
}
.rv3-item:hover {
  box-shadow: 0 8px 32px rgba(38, 35, 34, 0.08);
  transform: translateY(-2px);
}
.rv3-item--accent {
  background: var(--narrow-bg-secondary);
  border-color: var(--narrow-bg-secondary);
}
.rv3-quote {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--narrow-text-secondary);
  font-style: normal;
  margin: 0;
  border: none;
  flex: 1;
}
.rv3-item--accent .rv3-quote {
  color: rgba(255, 247, 236, 0.7);
}
.rv3-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.rv3-item--accent .rv3-footer {
  border-top: none;
}
.rv3-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: hsl(var(--rv-hue, 27) 55% 45%);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rv3-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}
.rv3-name {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--narrow-text-primary);
}
.rv3-item--accent .rv3-name {
  color: var(--narrow-text-light);
}
.rv3-role {
  font-size: 0.72rem;
  color: var(--narrow-text-secondary);
}
.rv3-item--accent .rv3-role {
  color: rgba(255, 247, 236, 0.4);
}
.rv3-tag {
  display: none;
}
@media (max-width: 1024px) {
  .rv3-track {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .rv3-track {
    grid-template-columns: 1fr;
  }
  .rv3-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* --- Behind The Scenes Section (5.3) --- */
.section.bts-section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.bts-title {
  color: var(--narrow-text-light);
  max-width: none;
  margin-bottom: 2rem;
  font-size: 3.25rem;
}
.bts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 0.75rem;
}
.bts-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bts-item--tall .bts-media {
  min-height: 160px;
}
.bts-item--wide {
  grid-column: span 2;
}
.bts-media {
  flex: 1;
  min-height: 130px;
  border-radius: 12px;
  background: rgba(255, 247, 236, 0.06);
  border: 1px solid rgba(255, 247, 236, 0.1);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}
.bts-media--sketch {
  background: linear-gradient(
    135deg,
    rgba(255, 120, 79, 0.18) 0%,
    rgba(38, 35, 34, 0.8) 100%
  );
}
.bts-media--figma {
  background: linear-gradient(
    135deg,
    rgba(26, 188, 156, 0.15) 0%,
    rgba(38, 35, 34, 0.85) 100%
  );
}
.bts-media--meeting {
  background: linear-gradient(
    135deg,
    rgba(255, 247, 236, 0.12) 0%,
    rgba(38, 35, 34, 0.8) 100%
  );
}
.bts-media--code {
  background: linear-gradient(
    90deg,
    rgba(255, 120, 79, 0.12) 0%,
    rgba(38, 35, 34, 0.85) 100%
  );
}
.bts-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--narrow-accent);
}
.bts-caption {
  font-size: 0.8rem;
  color: rgba(255, 247, 236, 0.55);
  line-height: 1.5;
  margin: 0;
}
/* --- PageSpeed Section (1.10 task 1.1) --- */
.psi-section {
  border-top: 1px solid var(--narrow-border);
}
.psi-header {
  max-width: 700px;
  margin-bottom: 3rem;
}
.psi-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--narrow-text-primary);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
.psi-sub {
  font-size: 1rem;
  color: var(--narrow-text-secondary);
  line-height: 1.75;
  margin: 0;
}
.psi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.psi-card {
  border: 1px solid var(--narrow-border);
  border-radius: 20px;
  padding: 2rem;
  background: var(--narrow-bg-primary);
}
.psi-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.psi-card-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--narrow-text-primary);
}
.psi-device-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  border: 1px solid var(--narrow-border);
  border-radius: 100px;
  padding: 0.2rem 0.6rem;
}
.psi-scores-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.psi-score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.psi-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: conic-gradient(
    var(--psi-color) calc(var(--psi-score) * 3.6deg),
    rgba(0, 0, 0, 0.08) 0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.psi-circle::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--narrow-bg-primary);
  border-radius: 50%;
}
.psi-circle-num {
  position: relative;
  z-index: 1;
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--narrow-text-primary);
  line-height: 1;
}
.psi-score-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  text-align: center;
  line-height: 1.4;
}
.psi-note {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--narrow-text-secondary);
}
.psi-note a {
  color: var(--narrow-accent);
  text-decoration: none;
}
/* --- Narrow Playlist Section --- */
.np-playlist-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: var(--narrow-bg-primary);
  border-top: 1px solid var(--narrow-border);
}
.np-playlist-section .section-tag {
  margin-bottom: 1rem;
}
.np-title {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--narrow-text-primary);
  margin: 0 0 0.5rem;
}
.np-sub {
  font-size: 1rem;
  color: var(--narrow-text-secondary);
  margin: 0 0 1.25rem;
}
.np-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
}
.np-moods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.np-mood {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--narrow-border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--narrow-text-secondary);
}
.np-embed-wrap {
  width: 100%;
}
/* --- Budget Calculator Section v2 (1.10 task 1.2) --- */
.calc-section {
  border-top: 1px solid var(--narrow-border);
}
.calc-v2-layout {
  max-width: 1400px;
}
.calc-v2-header {
  margin-bottom: 1.5rem;
}
.calc-sub {
  font-size: 1rem;
  color: var(--narrow-text-secondary);
  line-height: 1.75;
  margin-top: 0.75rem;
}
.calc-v2-body {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.calc-v2-instruction {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  margin-bottom: 0.75rem;
}
.calc-v2-instr-icon {
  font-size: 1rem;
  color: var(--narrow-accent);
}
.calc-v2-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
}
.calc-v2-row {
  display: grid;
  grid-template-columns: 36px 1fr 28px;
  align-items: center;
  gap: 1rem;
  padding: 1.375rem 1.5rem;
  background: var(--narrow-bg-primary);
  border: 1px solid var(--narrow-border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition:
    background 0.18s,
    box-shadow 0.18s,
    border-color 0.18s;
  position: relative;
}
.calc-v2-row:hover {
  background: rgba(255, 120, 79, 0.04);
}
.calc-v2-row.is-selected {
  background: rgba(255, 120, 79, 0.07);
  border-color: rgba(255, 120, 79, 0.45);
}
.calc-v2-row:focus {
  outline: none;
  background: var(--narrow-bg-primary);
}
.calc-v2-row:focus.is-selected,
.calc-v2-row.is-selected:focus {
  background: rgba(255, 120, 79, 0.07);
}
.calc-v2-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--narrow-text-secondary);
  opacity: 0.5;
}
.calc-v2-row.is-selected .calc-v2-num {
  color: var(--narrow-accent);
  opacity: 1;
}
.calc-v2-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.calc-v2-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--narrow-text-primary);
}
.calc-v2-desc {
  display: none;
}
.calc-v2-dur {
  display: none;
}
.calc-v2-row.is-selected .calc-v2-dur {
  color: var(--narrow-accent);
  background: rgba(255, 120, 79, 0.1);
}
.calc-v2-check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--narrow-border);
  border-radius: 6px;
  position: relative;
  transition:
    border-color 0.18s,
    background 0.18s;
  flex-shrink: 0;
}
.calc-v2-row:hover .calc-v2-check {
  border-color: rgba(255, 120, 79, 0.5);
}
.calc-v2-row.is-selected .calc-v2-check {
  border-color: var(--narrow-accent);
  background: var(--narrow-accent);
}
.calc-v2-row.is-selected .calc-v2-check::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: translate(-50%, -62%) rotate(45deg);
}
/* Result panel */
.calc-v2-result {
  position: sticky;
  top: 5rem;
  border: 1px solid var(--narrow-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--narrow-bg-primary);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.calc-result-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem 2rem;
  flex: 1;
}
.calc-result-empty-icon {
  font-size: 1.75rem;
  color: var(--narrow-border);
  animation: calcArrowBounce 1.6s ease-in-out infinite;
}
@keyframes calcArrowBounce {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}
.calc-result-empty-txt {
  font-size: 0.875rem;
  color: var(--narrow-text-secondary);
  text-align: center;
  line-height: 1.6;
  margin: 0;
}
/* Populated result */
.calc-result-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--narrow-border);
  background: rgba(255, 120, 79, 0.06);
}
.calc-result-head-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--narrow-accent);
}
.calc-result-items {
  padding: 0.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.calc-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  gap: 0.75rem;
}
.calc-result-item:last-child {
  border-bottom: none;
}
.calc-result-item-name {
  font-size: 0.825rem;
  color: var(--narrow-text-primary);
  font-weight: 500;
}
.calc-result-item-dur {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--narrow-text-secondary);
  white-space: nowrap;
}
.calc-result-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--narrow-border);
  background: var(--narrow-bg-primary);
}
.calc-result-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.calc-result-total-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--narrow-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.calc-v2-result-total {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.calc-v2-result-num {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--narrow-text-primary);
  line-height: 1;
}
.calc-v2-result-unit {
  font-size: 0.9rem;
  color: var(--narrow-text-secondary);
}
.calc-result-hint {
  margin: 0;
  color: var(--narrow-text-secondary);
  font-size: 0.9rem;
}
.calc-result-cta {
  font-size: 0.8rem;
  color: var(--narrow-text-secondary);
  margin: 0 0 0.875rem;
  line-height: 1.5;
}
.calc-result-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-top: 15px;
  background-color: var(--narrow-accent) !important;
  color: #fff !important;
  border-color: var(--narrow-accent) !important;
  font-size: 0.875rem;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
}
.calc-result-btn:hover {
  background-color: var(--narrow-text-primary) !important;
  border-color: var(--narrow-text-primary) !important;
  color: #fff !important;
}
.final-cta-section {
  padding: 8rem 2.5rem;
  margin-top: 80px;
  text-align: center;
  border-top: none;
}
.final-cta-inner {
  max-width: 800px;
  margin: 0 auto;
}
.final-cta-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--narrow-text-primary);
  margin-bottom: 1.25rem;
}
.final-cta-sub {
  font-size: 1.0625rem;
  color: var(--narrow-text-secondary);
  margin-bottom: 3rem;
}
.final-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* ============================================
RESPONSIVE вЂ” NEW SECTIONS
============================================ */
@media (max-width: 1024px) {
  .sp-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .vp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vp-card {
    border-bottom: 1px solid var(--narrow-border);
  }
  .vp-card:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }
  .vp-card:nth-child(3) {
    padding-left: 0;
  }
  .vp-card:nth-child(3),
  .vp-card:nth-child(4) {
    border-bottom: none;
  }
  .team-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media (max-width: 768px) {
  .hero-cta-wrap {
    flex-direction: column;
    align-items: center;
  }
  .sp-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .sp-logos {
    gap: 1.5rem;
  }
  .vp-grid {
    grid-template-columns: 1fr;
  }
  .vp-card {
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-bottom: 1px solid var(--narrow-border);
  }
  .vp-card:last-child {
    border-bottom: none;
  }
  .section-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
/* Footer Newsletter вЂ” removed (footer is now minimal NARROW wordmark) */
/* ============================================
INTERACTIVE SERVICES SECTION
============================================ */
.services-interactive-section {
  padding: 5rem 0;
  background-color: var(--narrow-bg-primary);
}
.services-section-intro {
  margin-bottom: 3rem;
}
.services-section-heading {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--narrow-text-primary);
  margin: 0;
}
.services-interactive-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 70vh;
}
.services-video-container {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 24px;
  overflow: hidden;
}
.service-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.service-video.active {
  opacity: 1;
  z-index: 1;
}
.service-video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}
.service-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-list-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--narrow-border);
  cursor: pointer;
  transition: none;
  position: relative;
}
.service-item:first-child {
  border-top: 1px solid var(--narrow-border);
}
.service-item-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0;
  font-weight: 700;
  color: var(--narrow-text-primary);
  transition: color 0.3s ease;
}
.service-item:hover .service-item-title,
.service-item.active .service-item-title {
  color: var(--narrow-accent);
}
/* ============================================
RESPONSIVE UPDATES FOR NEW SECTIONS
============================================ */
@media (max-width: 1024px) {
  .about-description {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-value-row,
  .about-value-content,
  .about-team-panel-main {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .services-interactive-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .services-video-container {
    height: 400px;
  }
  .service-item-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }
}
@media (max-width: 768px) {
  .page-intro-section {
    padding-top: 9rem;
  }
  .page-intro-section + .section {
    padding-top: 1rem;
  }
  .hero-title-large {
    gap: 0.25rem;
  }
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .about-team-media {
    min-height: 180px;
  }
  .about-team-panel {
    padding: 1.5rem;
  }
  .about-team-panel-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-info,
  .footer-copy-grid,
  .footer-bottom {
    width: min(100%, calc(100vw - 3rem));
  }
  .vp-impact-header,
  .vp-impact-row,
  .portfolio-editorial-grid,
  .team-manifesto,
  .projects-overview-grid,
  .projects-stage-grid,
  .projects-lanes,
  .about-team-showcase {
    grid-template-columns: 1fr;
  }
  .portfolio-feature-card--primary {
    grid-template-columns: 1fr;
  }
  .portfolio-feature-media {
    min-height: 220px;
  }
  .about-team-panel:nth-child(2),
  .about-team-panel:nth-child(3) {
    transform: none;
  }
  .contact-form-shell {
    padding: 2rem 1.5rem;
  }
  .final-cta-accent::before {
    inset: 0 20px;
    clip-path: polygon(44px 0, 100% 0, calc(100% - 44px) 100%, 0 100%);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .cta-section {
    padding: 5rem 1.5rem;
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-input {
    width: 100%;
  }
}
/* ============================================
INTRO OVERLAY  first-visit brand animation
============================================ */
#narrow-intro {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background-color: #fff7ec;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.7s ease;
  will-change: opacity;
}
#narrow-intro.intro-hidden {
  opacity: 0;
  pointer-events: none;
}
.narrow-intro-video-shell {
  width: min(500px, calc(100vw - 2rem));
  height: min(333px, calc((100vw - 2rem) * 333 / 500));
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s ease,
    transform 0.7s ease;
}
#narrow-intro.intro-visible .narrow-intro-video-shell {
  opacity: 1;
  transform: translateY(0);
}
.narrow-intro-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* ============================================
HOME вЂ” РљРђРљ РџРћРњРђР“РђРњР•: row table layout
============================================ */
.vp-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--narrow-border);
  margin-bottom: 2rem;
}
.vp-row {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--narrow-border);
  transition:
    padding-left 0.3s ease,
    background-color 0.3s ease;
  cursor: default;
}
.vp-row:hover {
  padding-left: 1.25rem;
  background-color: rgba(255, 120, 79, 0.025);
}
.vp-row--accent {
  background-color: var(--narrow-bg-secondary);
  border-bottom-color: rgba(255, 247, 236, 0.08);
}
.vp-row--accent .vp-row-num,
.vp-row--accent .vp-row-title,
.vp-row--accent .vp-row-desc {
  color: var(--narrow-text-light);
}
.vp-row--accent .vp-row-tag {
  border-color: rgba(255, 247, 236, 0.2);
  color: rgba(255, 247, 236, 0.6);
}
.vp-row--accent:hover {
  background-color: rgba(255, 120, 79, 0.1);
}
.vp-row-num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--narrow-accent);
  flex-shrink: 0;
}
.vp-row-title {
  margin: 0;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.vp-row-desc {
  margin: 0;
  color: var(--narrow-text-secondary);
  line-height: 1.7;
  font-size: 0.9125rem;
}
.vp-row-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--narrow-border);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--narrow-text-secondary);
  white-space: nowrap;
}
/* HOME вЂ” РќРђРЁР РџР РћР•РљРўР: list approach */
.portfolio-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--narrow-border);
}
.portfolio-list-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto 1.5rem;
  gap: 2rem;
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--narrow-border);
  transition:
    padding-left 0.3s ease,
    background-color 0.3s ease;
  cursor: pointer;
}
.portfolio-list-item:hover {
  padding-left: 1.5rem;
  background-color: rgba(255, 120, 79, 0.04);
}
.portfolio-list-item--mid {
  background-color: var(--narrow-bg-secondary);
  border-color: rgba(255, 247, 236, 0.08);
}
.portfolio-list-item--mid .portfolio-list-num,
.portfolio-list-item--mid .portfolio-list-title,
.portfolio-list-item--mid .portfolio-list-type {
  color: var(--narrow-text-light);
}
.portfolio-list-item--mid:hover {
  background-color: rgba(255, 120, 79, 0.1);
}
.portfolio-list-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--narrow-accent);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.portfolio-list-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.portfolio-list-title {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.portfolio-list-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--narrow-text-secondary);
}
.portfolio-list-result {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--narrow-accent);
  text-align: right;
  white-space: nowrap;
}
.portfolio-list-item--mid .portfolio-list-result {
  color: #ffbeab;
}
.portfolio-list-arrow {
  font-size: 1.1rem;
  color: var(--narrow-text-secondary);
  transition:
    transform 0.22s ease,
    color 0.22s ease;
  text-align: center;
}
.portfolio-list-item:hover .portfolio-list-arrow {
  transform: translate(3px, -3px);
  color: var(--narrow-accent);
}
/* HOME вЂ” Р—Рђ NARROW: about-split layout */
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
  padding: 2rem 0;
}
.about-split-statement {
  margin: 0 0 2rem;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--narrow-text-primary);
}
.about-split-big {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.about-big-val {
  display: block;
  font-size: clamp(4.5rem, 9vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--narrow-text-primary);
}
.about-big-unit {
  color: var(--narrow-accent);
  font-size: 0.5em;
  vertical-align: super;
}
.about-big-label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  max-width: 16rem;
  line-height: 1.5;
}
.about-split-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}
.about-split-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.about-split-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--narrow-border);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--narrow-text-secondary);
}
/* ============================================
PROJECTS PAGE вЂ” animations and new styles
============================================ */
.projects-ticker {
  overflow: hidden;
  background-color: var(--narrow-bg-primary);
  border-top: 1px solid var(--narrow-border);
  border-bottom: 1px solid var(--narrow-border);
  padding: 0.875rem 0;
  user-select: none;
}
.projects-ticker-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: projects-ticker-scroll 32s linear infinite;
}
.projects-ticker-track > span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--narrow-text-secondary);
  white-space: nowrap;
}
.projects-ticker-sep {
  color: var(--narrow-accent) !important;
  font-style: italic;
  font-weight: 800;
}
@keyframes projects-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* Stagger entrance */
.proj-stagger {
  opacity: 0;
  transform: translateY(24px);
  animation: proj-appear 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.proj-stagger--1 {
  animation-delay: 0.04s;
}
.proj-stagger--2 {
  animation-delay: 0.18s;
}
.proj-stagger--3 {
  animation-delay: 0.32s;
}
@keyframes proj-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Stage card hover tilt */
.projects-stage-card {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}
.projects-stage-card:hover {
  transform: translateY(-7px) perspective(700px) rotateX(2deg);
  box-shadow: 0 22px 50px rgba(38, 35, 34, 0.13);
}
/* Metric with big value + small label */
.projects-stage-metric {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: auto;
}
.projects-stage-metric-val {
  display: block;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--narrow-accent);
  line-height: 1;
}
.projects-stage-card--seo .projects-stage-metric-val {
  color: #ffbeab;
}
.projects-stage-metric-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--narrow-text-secondary);
}
.projects-stage-card--seo .projects-stage-metric-label {
  color: rgba(255, 247, 236, 0.45);
}
/* Redesigned lanes: full-width list rows */
.projects-lanes {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 247, 236, 0.1);
}
.projects-lane {
  display: grid;
  grid-template-columns: 3rem 1fr auto 1.5rem;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 247, 236, 0.1);
  cursor: pointer;
  transition:
    padding-left 0.3s ease,
    background-color 0.3s ease;
}
.projects-lane:hover {
  padding-left: 1.5rem;
  background-color: rgba(255, 120, 79, 0.07);
}
.projects-lane-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--narrow-accent);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.projects-lane-title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--narrow-text-light);
}
.projects-lane-copy {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 247, 236, 0.6);
  line-height: 1.6;
  text-align: right;
  max-width: 22rem;
}
.projects-lane-arrow {
  font-size: 1.1rem;
  color: rgba(255, 247, 236, 0.3);
  transition:
    transform 0.22s ease,
    color 0.22s ease;
}
.projects-lane:hover .projects-lane-arrow {
  transform: translate(3px, -3px);
  color: var(--narrow-accent);
}
/* ============================================
RESPONSIVE вЂ” new home + projects sections
============================================ */
@media (max-width: 1024px) {
  .vp-row {
    grid-template-columns: 2.5rem 1fr 1fr;
  }
  .vp-row-tag {
    display: none;
  }
  .about-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
@media (max-width: 768px) {
  .sp-stat {
    border-right: 0 !important;
    border-bottom: 1px solid var(--narrow-border);
  }
  .sp-stat:last-child {
    border-bottom: 0;
  }
  .vp-row {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
  }
  .vp-row-desc {
    display: none;
  }
  .portfolio-list-item {
    grid-template-columns: 2.5rem 1fr auto;
  }
  .portfolio-list-arrow {
    display: none;
  }
  .projects-lane {
    grid-template-columns: 2.5rem 1fr 1.5rem;
  }
  .projects-lane-copy {
    display: none;
  }
  .projects-ticker {
    display: none;
  }
}
/* ============================================
Must be last in file вЂ” beats all utility !important rules above.
============================================ */
/* Hero: restore flex so the full-bleed video fills the section
and .hero-main-content centres vertically over it.            */
.hero-section {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* Header: force a single row at ALL viewport widths.
Uses element+class specificity to beat any stray block/column rules. */
header.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  transform: none !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body.admin-bar header.site-header {
  top: 32px !important;
}
body.admin-bar .nav-contain {
  top: 42px !important;
}
header.site-header .inside-header {
  display: block !important;
}
header.site-header .nav-contain {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 2rem !important;
  position: fixed !important;
  top: 10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}
header.site-header .nav-logo-wrap {
  justify-self: start !important;
}
header.site-header .nav-menu-wrap {
  justify-self: center !important;
}
header.site-header .nav-buttons-wrap {
  justify-self: end !important;
}
/* ============================================
РќРђРЁР РџР РћР•РљРўР v3 вЂ” Pentagram directory list
============================================ */
.portfolio-dir-section {
  padding: 6rem 2.5rem 5rem;
  border-bottom: 1px solid var(--narrow-border);
}
.portfolio-dir-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.portfolio-dir-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--narrow-border);
  margin-bottom: 0;
}
.portfolio-dir-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.portfolio-dir-item {
  display: grid;
  grid-template-columns: 3rem 1fr auto auto 1.25rem;
  align-items: center;
  gap: 2rem;
  padding: 2.25rem 1rem;
  margin: 0 -1rem;
  border-bottom: 1px solid var(--narrow-border);
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    padding-left 0.25s ease;
  position: relative;
  border-radius: 4px;
}
.portfolio-dir-item:last-child {
  border-bottom: none;
}
.portfolio-dir-item:hover {
  background-color: rgba(255, 120, 79, 0.04);
}
.portfolio-dir-num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--narrow-text-secondary);
  opacity: 0.45;
  transition:
    opacity 0.25s ease,
    color 0.25s ease;
  font-variant-numeric: tabular-nums;
}
.portfolio-dir-item:hover .portfolio-dir-num {
  color: var(--narrow-accent);
  opacity: 1;
}
.portfolio-dir-name {
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--narrow-text-primary);
  transition: color 0.25s ease;
}
.portfolio-dir-item:hover .portfolio-dir-name {
  color: var(--narrow-accent);
}
.portfolio-dir-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  white-space: nowrap;
}
.portfolio-dir-metric {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--narrow-accent);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.portfolio-dir-arrow {
  font-size: 1rem;
  color: var(--narrow-text-secondary);
  transition:
    transform 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
  display: inline-block;
  opacity: 0.3;
}
.portfolio-dir-item:hover .portfolio-dir-arrow {
  transform: translate(3px, -3px);
  color: var(--narrow-accent);
  opacity: 1;
}
@media (max-width: 1024px) {
  .portfolio-dir-item {
    grid-template-columns: 2.5rem 1fr auto 1.25rem;
  }
  .portfolio-dir-cat {
    display: none;
  }
}
@media (max-width: 768px) {
  .portfolio-dir-section {
    padding: 4rem 1.5rem 3rem;
  }
  .portfolio-dir-item {
    grid-template-columns: 2rem 1fr 1rem;
    gap: 1rem;
    padding: 1.5rem 0.75rem;
    margin: 0 -0.75rem;
  }
  .portfolio-dir-metric {
    display: none;
  }
  .portfolio-dir-name {
    font-size: clamp(1.2rem, 5vw, 1.75rem);
  }
}
/* ============================================
Р—Рђ NARROW v3 вЂ” editorial 60/40 + dark stats
============================================ */
.about-editorial-section {
  padding: 3.5rem 2.5rem 0;
  background-color: var(--narrow-bg-secondary);
  border-bottom: none;
}
.ae-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.ae-top-row {
  margin-bottom: 2.5rem;
}
.ae-headline {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.08;
  margin: 0;
  color: var(--narrow-text-primary);
}
.ae-manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-bottom: 2.25rem;
  margin-bottom: 2rem;
}
.ae-manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.5rem;
}
.ae-manifesto-body p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 247, 236, 0.6);
}
.ae-location-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}
.ae-cta {
  align-self: flex-start;
}
/* Principles 3-col row */
.ae-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 247, 236, 0.1);
  padding-bottom: 2.5rem;
}
.ae-principle {
  padding: 1.75rem 2rem 1.75rem 0;
  border-right: 1px solid rgba(255, 247, 236, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ae-principle:not(:first-child) {
  padding-left: 2.5rem;
}
.ae-principle:last-child {
  border-right: none;
  padding-right: 0;
}
.ae-principle-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--narrow-accent);
}
.ae-principle-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--narrow-bg-primary);
  margin: 0;
}
.ae-principle-body {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 247, 236, 0.5);
  margin: 0;
}
/* Legacy helpers still in use */
.ae-right {
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ae-right p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--narrow-text-secondary);
}
.ae-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
}
/* Stats strip вЂ” seamlessly integrated */
.ae-stats-row {
  background-color: var(--narrow-bg-secondary);
  border-top: 1px solid rgba(255, 247, 236, 0.1);
  margin: 0 -2.5rem;
}
.ae-stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ae-stat {
  padding: 2.25rem 2rem;
  border-right: 1px solid rgba(255, 247, 236, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.ae-stat:first-child {
  padding-left: 0;
}
.ae-stat:last-child {
  border-right: none;
}
.ae-stat-num {
  display: block;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--narrow-bg-primary);
}
.ae-stat-num sup {
  font-size: 0.4em;
  vertical-align: super;
  color: var(--narrow-accent);
}
.ae-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.45);
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .ae-manifesto {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ae-principles {
    grid-template-columns: 1fr;
  }
  .ae-principle {
    padding: 2.5rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 247, 236, 0.1);
  }
  .ae-principle:not(:first-child) {
    padding-left: 0;
  }
  .ae-principle:last-child {
    border-bottom: none;
  }
  .ae-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .ae-stat:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }
  .ae-stat:nth-child(3) {
    border-top: 1px solid rgba(255, 247, 236, 0.1);
    border-right: 1px solid rgba(255, 247, 236, 0.1);
    padding-left: 0;
  }
  .ae-stat:nth-child(4) {
    border-top: 1px solid rgba(255, 247, 236, 0.1);
    border-right: none;
  }
}
@media (max-width: 768px) {
  .about-editorial-section {
    padding: 4rem 1.5rem 0;
  }
  .ae-top-row {
    margin-bottom: 1.75rem;
  }
  .ae-stats-row {
    margin: 0 -1.5rem;
  }
  .ae-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1.5rem;
  }
  .ae-stat {
    padding: 2rem 1rem;
  }
  .ae-stat:first-child {
    padding-left: 1rem;
  }
  .ae-stat:nth-child(3) {
    padding-left: 1rem;
  }
}
/* ============================================
РџР РћР•РљРўР PAGE v3 вЂ” editorial alternating grid
============================================ */
.pej-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--narrow-bg-secondary);
  border: 4px solid var(--narrow-bg-secondary);
  border-radius: 28px;
  overflow: hidden;
  margin-top: 2.5rem;
}
.pej-load-more-wrap {
  text-align: center;
  margin-top: 2rem;
}
.pej-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--narrow-text-primary);
  border: 1.5px solid var(--narrow-text-primary);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.pej-load-more-btn:hover {
  background: var(--narrow-text-primary);
  color: var(--narrow-text-light);
}
.pej-load-more-btn.is-hidden {
  display: none;
}
.pej-item {
  display: grid;
  grid-template-columns: 5fr 4fr;
  min-height: 400px;
  background-color: var(--narrow-bg-primary);
  transition: background-color 0.3s ease;
}
.pej-item:hover {
  background-color: rgba(255, 120, 79, 0.02);
}
.pej-item--even {
  grid-template-columns: 4fr 5fr;
}
.pej-item--even .pej-media {
  order: 2;
}
.pej-item--even .pej-content {
  order: 1;
  border-left: none;
  border-right: 1px solid var(--narrow-border);
}
.pej-media {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.pej-media--brand {
  background: linear-gradient(150deg, #ff784f 0%, #262322 100%);
}
.pej-media--web {
  background: linear-gradient(135deg, #262322 0%, #ff784f 70%, #fff7ec 100%);
}
.pej-media--seo {
  background: linear-gradient(150deg, #fff7ec 0%, #ff784f 100%);
}
.pej-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 247, 236, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 247, 236, 0.22);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.pej-media--seo .pej-tag {
  background: rgba(38, 35, 34, 0.12);
  color: var(--narrow-text-primary);
  border-color: rgba(38, 35, 34, 0.18);
}
.pej-index {
  align-self: flex-end;
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 247, 236, 0.12);
  font-variant-numeric: tabular-nums;
}
.pej-media--seo .pej-index {
  color: rgba(38, 35, 34, 0.1);
}
.pej-content {
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--narrow-border);
  background-color: var(--narrow-bg-primary);
}
.pej-content-top {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pej-title {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--narrow-text-primary);
}
.pej-copy {
  margin: 0;
  color: var(--narrow-text-secondary);
  line-height: 1.8;
  font-size: 0.9375rem;
  max-width: 36ch;
}
.pej-metric {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--narrow-border);
  margin-top: 2rem;
}
.pej-metric-val {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--narrow-accent);
}
.pej-metric-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
}
@media (max-width: 1024px) {
  .pej-item,
  .pej-item--even {
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
  }
}
@media (max-width: 768px) {
  .pej-item,
  .pej-item--even {
    grid-template-columns: 1fr;
  }
  .pej-item--even .pej-media {
    order: 1;
  }
  .pej-item--even .pej-content {
    order: 2;
    border-right: none;
  }
  .pej-media {
    min-height: 220px;
  }
  .pej-content {
    padding: 2rem;
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid var(--narrow-border);
  }
  .pej-index {
    font-size: 3.5rem;
  }
}
/* ============================================
РќРђРЁР РџР РћР•РљРўР вЂ” featured split layout (home)
============================================ */
.portfolio-split-section {
  padding: 5rem 2.5rem;
  border-bottom: 1px solid var(--narrow-border);
}
.portfolio-split-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.portfolio-split-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0;
  margin-bottom: calc(4rem + 10px);
}
/* 60% featured card | 40% stacked list */
.portfolio-split-body {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.5rem;
  align-items: stretch;
}
/* ---- Featured card ---- */
.ps-featured {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--narrow-border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}
.ps-featured:hover {
  box-shadow: 0 24px 60px rgba(38, 35, 34, 0.1);
}
.ps-feat-img {
  flex: 1;
  min-height: 380px;
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.ps-feat-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(38, 35, 34, 0.32) 100%
  );
  pointer-events: none;
}
.ps-feat-img--brand {
  background: linear-gradient(135deg, #262322 0%, #ff784f 60%, #fff7ec 100%);
}
.ps-feat-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 247, 236, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 247, 236, 0.22);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.ps-feat-info {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--narrow-bg-primary);
}
.ps-feat-title {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--narrow-text-primary);
}
.ps-feat-metric {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--narrow-accent);
  letter-spacing: 0.04em;
}
/* ---- Stacked list ---- */
.ps-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--narrow-border);
  border-radius: 20px;
  overflow: hidden;
}
.ps-stack-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--narrow-border);
  cursor: pointer;
  transition: background-color 0.22s ease;
  flex: 1;
}
.ps-stack-item:last-child {
  border-bottom: none;
}
.ps-stack-item:hover {
  background-color: rgba(255, 120, 79, 0.04);
}
.ps-thumb {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.ps-stack-item:hover .ps-thumb {
  transform: scale(1.05);
}
.ps-thumb--web {
  background: linear-gradient(135deg, #262322 0%, #ff784f 100%);
}
.ps-thumb--seo {
  background: linear-gradient(135deg, #ff784f 0%, #fff7ec 100%);
}
.ps-thumb--identity {
  background: linear-gradient(135deg, #fff7ec 0%, #262322 100%);
}
.ps-stack-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.ps-stack-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  opacity: 0.6;
}
.ps-stack-title {
  margin: 0;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--narrow-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ps-stack-metric {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--narrow-accent);
}
.ps-stack-arrow {
  font-size: 0.875rem;
  color: var(--narrow-text-secondary);
  opacity: 0.3;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    color 0.22s ease;
  flex-shrink: 0;
}
.ps-stack-item:hover .ps-stack-arrow {
  opacity: 1;
  color: var(--narrow-accent);
  transform: translate(2px, -2px);
}
@media (max-width: 1024px) {
  .portfolio-split-body {
    grid-template-columns: 1fr;
  }
  .ps-feat-img {
    min-height: 280px;
  }
}
@media (max-width: 768px) {
  .portfolio-split-section {
    padding: 4rem 1.5rem;
  }
  .ps-stack-item {
    grid-template-columns: 56px 1fr auto;
    gap: 1rem;
  }
  .ps-thumb {
    width: 56px;
    height: 44px;
  }
}
/* ============================================
FOOTER вЂ” alignment overrides
============================================ */
.footer-copy-grid > .footer-column:first-child {
  margin-left: -15px;
}
/* Process title: no wrapping on wide viewports */
@media (max-width: 640px) {
  .process-title {
    white-space: normal;
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}
/* ============================================
PEJ-GRID вЂ” expandable details panel
============================================ */
/* Toggle button inside pej-content */
.pej-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--narrow-accent);
  transition:
    gap 0.25s ease,
    opacity 0.25s ease;
}
.pej-toggle:hover {
  gap: 0.75rem;
  opacity: 0.75;
}
.pej-toggle:hover .pej-toggle-icon {
  background: rgba(255, 120, 79, 0.12);
}
.pej-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.35s ease;
  flex-shrink: 0;
}
.pej-item.expanded .pej-toggle-icon {
  transform: rotate(45deg);
}
.pej-item.expanded .pej-toggle {
  color: var(--narrow-text-primary);
  opacity: 1;
}
/* Details panel вЂ” full-width row below the two columns */
.pej-details {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.48s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--narrow-bg-secondary);
}
.pej-item.expanded .pej-details {
  max-height: 400px;
}
.pej-details-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1rem 3rem 1.5rem;
}
.pej-detail-stat {
  padding: 0.9rem 0;
  border-right: none;
  border-bottom: 1px solid rgba(255, 247, 236, 0.1);
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 1.25rem;
}
.pej-detail-stat:first-child {
  padding-top: 0.5rem;
}
.pej-detail-stat:last-child {
  border-bottom: none;
}
.pej-detail-num {
  display: block;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--narrow-text-light);
  line-height: 1;
}
.pej-detail-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.42);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .pej-details-inner {
    padding: 0.75rem 1.5rem 1.25rem;
  }
  .pej-toggle {
    margin-top: 1.25rem;
  }
}
/* ============================================
РљРђРљР’Рћ Р’РљР›Р®Р§Р’Рђ вЂ” editorial full-width rows
============================================ */
.kakvo-list {
  border-top: 1px solid rgba(255, 247, 236, 0.12);
  margin-top: 3rem;
}
.kakvo-item {
  display: grid;
  grid-template-columns: 3rem 1fr auto 2.25rem;
  gap: 0 3.5rem;
  align-items: center;
  padding: 3.25rem 0;
  border-bottom: 1px solid rgba(255, 247, 236, 0.12);
  text-decoration: none;
  transition: opacity 0.25s ease;
}
.kakvo-item:hover {
  opacity: 0.82;
}
.kakvo-item:hover .kakvo-cta {
  transform: translate(4px, -4px);
}
.kakvo-index {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--narrow-accent);
  align-self: flex-start;
  padding-top: 0.5rem;
}
.kakvo-main {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.kakvo-name {
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--narrow-text-light);
}
.kakvo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
}
.kakvo-chips span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.4);
}
.kakvo-chips span::before {
  content: "/ ";
  color: var(--narrow-accent);
}
.kakvo-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 247, 236, 0.5);
  line-height: 1.75;
  max-width: 22ch;
  align-self: center;
}
.kakvo-cta {
  color: var(--narrow-accent);
  transition: transform 0.25s ease;
  align-self: flex-start;
  padding-top: 0.5rem;
}
@media (max-width: 1024px) {
  .kakvo-item {
    grid-template-columns: 2.5rem 1fr 2rem;
    gap: 0 2rem;
  }
  .kakvo-desc {
    display: none;
  }
  .kakvo-name {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
}
@media (max-width: 640px) {
  .kakvo-item {
    grid-template-columns: 2rem 1fr 1.75rem;
    gap: 0 1.25rem;
    padding: 2rem 0;
  }
  .kakvo-name {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }
  .kakvo-chips {
    display: none;
  }
}
/* ============================================
COMPARE TABLE вЂ” РўРё СЃР°Рј СЃСЂРµС‰Сѓ Narrow
============================================ */
.compare-section {
  padding: 7rem 2.5rem;
  background-color: var(--narrow-bg-secondary);
}
.compare-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.compare-header {
  max-width: 680px;
  margin-bottom: 4rem;
}
.compare-title {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--narrow-text-light);
  margin: 0.75rem 0 1rem;
}
.compare-subtitle {
  font-size: 1rem;
  color: rgba(255, 247, 236, 0.5);
  line-height: 1.75;
  margin: 0;
}
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 247, 236, 0.1);
  border-radius: 24px;
  overflow: hidden;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 247, 236, 0.07);
  vertical-align: top;
}
.compare-table thead th {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background-color: rgba(255, 247, 236, 0.04);
  border-bottom: 1px solid rgba(255, 247, 236, 0.12);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.compare-th--topic {
  color: rgba(255, 247, 236, 0.3);
  width: 18%;
}
.compare-th--risk {
  color: #ff6060;
  width: 41%;
}
.compare-th--safe {
  color: var(--narrow-accent);
  width: 41%;
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody tr:hover td {
  background-color: rgba(255, 247, 236, 0.02);
}
.compare-topic {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.3);
  padding-top: 1.75rem;
}
.compare-risk {
  color: rgba(255, 247, 236, 0.65);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.compare-risk::before {
  content: "✗\00a0\00a0";
  color: #ff6060;
  font-weight: 700;
}
.compare-safe {
  color: rgba(255, 247, 236, 0.88);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.compare-safe::before {
  content: "✓\00a0\00a0";
  color: var(--narrow-accent);
  font-weight: 700;
}
@media (max-width: 768px) {
  .compare-section {
    padding: 5rem 1.5rem;
  }
  .compare-table th,
  .compare-table td {
    padding: 1.1rem 1.25rem;
  }
  .compare-th--topic {
    display: none;
  }
  .compare-topic {
    display: none;
  }
  .compare-table {
    min-width: 0;
  }
  .compare-th--risk,
  .compare-th--safe {
    width: 50%;
  }
}
/* Compare section: table-left / canvas-right split */
.compare-body-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
  margin-top: 3rem;
}
.compare-canvas-side {
  display: flex;
  flex-direction: column;
}
.compare-canvas-side #ws-dot-mount {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.compare-canvas-side .ws-dot-canvas {
  flex: 1;
  height: 0;
  min-height: 260px;
  border-radius: 12px;
}
@media (max-width: 960px) {
  .compare-body-split {
    grid-template-columns: 1fr;
  }
  .compare-canvas-side {
    min-height: 220px;
  }
}
/* ============================================
TECH STACK SECTION
============================================ */
.tech-section {
  padding: 80px 2.5rem;
  background-color: var(--narrow-bg-primary);
}
.tech-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.tech-header {
  max-width: 680px;
  margin-bottom: 4.5rem;
}
.tech-title {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--narrow-text-primary);
  margin: 0.75rem 0 1rem;
}
.tech-subtitle {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--narrow-text-secondary);
  margin: 0;
}
.tech-categories {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--narrow-border);
  border-radius: 24px;
  overflow: hidden;
}
.tech-category {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-bottom: 1px solid var(--narrow-border);
}
.tech-category:last-child {
  border-bottom: none;
}
.tech-cat-label {
  padding: 2.5rem;
  background-color: rgba(38, 35, 34, 0.025);
  border-right: 1px solid var(--narrow-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tech-cat-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--narrow-text-primary);
  margin: 0;
}
.tech-cat-desc {
  font-size: 0.8125rem;
  color: var(--narrow-text-secondary);
  line-height: 1.65;
  margin: 0;
}
.tech-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.tech-tool {
  padding: 2rem 2.25rem;
  border-right: 1px solid var(--narrow-border);
  transition: background-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tech-tool:hover {
  background-color: rgba(255, 120, 79, 0.04);
}
.tech-tool:nth-child(3n) {
  border-right: none;
}
/* Tool logo badge */
.tech-tool-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background-color: rgba(38, 35, 34, 0.12);
  flex-shrink: 0;
}
/* Per-category logo colors */
.tech-cat--core .tech-tool-logo {
  background-color: #3858e9;
}
.tech-cat--core .tech-logo--figma {
  background: linear-gradient(135deg, #f24e1e 0%, #a259ff 100%);
}
.tech-cat--core .tech-logo--woo {
  background-color: #7f54b3;
}
.tech-cat--core .tech-logo--lottie {
  background-color: #00aaff;
}
.tech-cat--core .tech-logo--elementor {
  background-color: #92003b;
}
.tech-cat--performance .tech-tool-logo {
  background-color: #e74c3c;
}
.tech-cat--performance .tech-logo--cloudflare {
  background-color: #f38020;
}
.tech-cat--performance .tech-logo--perfmatters {
  background-color: #2d6a4f;
}
.tech-cat--seo .tech-tool-logo {
  background-color: #34a853;
}
.tech-cat--seo .tech-logo--gsc {
  background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
}
.tech-cat--seo .tech-logo--hotjar {
  background-color: #ff3c00;
}
.tech-cat--seo .tech-logo--ga4 {
  background-color: #e37400;
}
.tech-cat--seo .tech-logo--ahrefs {
  background-color: #1a7ef8;
}
.tech-cat--security .tech-tool-logo {
  background-color: #c0392b;
}
.tech-cat--security .tech-logo--solidsec {
  background-color: #1a73e8;
}
.tech-cat--security .tech-logo--cloudflare {
  background-color: #f38020;
}
.tech-cat--security .tech-logo--updraft {
  background-color: #00b9eb;
}
.tech-tool-name {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--narrow-text-primary);
  margin: 0;
}
.tech-tool-value {
  font-size: 0.8125rem;
  color: var(--narrow-text-secondary);
  line-height: 1.65;
  margin: 0;
}
/* Category accent bar */
.tech-cat-accent-bar {
  display: block;
  height: 3px;
  width: 2.5rem;
  border-radius: 2px;
  background-color: currentColor;
  margin-bottom: 0.75rem;
}
.tech-cat--core .tech-cat-accent-bar {
  color: #3858e9;
}
.tech-cat--performance .tech-cat-accent-bar {
  color: #e74c3c;
}
.tech-cat--seo .tech-cat-accent-bar {
  color: #34a853;
}
.tech-cat--security .tech-cat-accent-bar {
  color: #c0392b;
}
@media (max-width: 1024px) {
  .tech-category {
    grid-template-columns: 1fr;
  }
  .tech-cat-label {
    border-right: none;
    border-bottom: 1px solid var(--narrow-border);
  }
  .tech-tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tech-tool:nth-child(3n) {
    border-right: none;
  }
  .tech-tool:nth-child(3n + 1):not(:last-child) {
    border-right: 1px solid var(--narrow-border);
  }
  .tech-tool:nth-child(3n + 2):not(:last-child) {
    border-right: 1px solid var(--narrow-border);
  }
}
@media (max-width: 768px) {
  .tech-section {
    padding: 5rem 1.5rem;
  }
  .tech-cat-label {
    padding: 1.5rem;
  }
  .tech-tool {
    padding: 1.25rem 1.5rem;
  }
  .tech-tools-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tech-tool:nth-child(n) {
    border-right: 1px solid var(--narrow-border);
  }
  .tech-tool:nth-child(2n),
  .tech-tool:last-child {
    border-right: none;
  }
}
/* ============================================
HEADLINE TRANSFORMATION вЂ” Content First Portfolio
============================================ */
.ht-section {
  padding: 0 2.5rem 6rem;
  background-color: var(--narrow-bg-primary);
}
.ht-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 5rem;
}
.ht-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--narrow-border);
  margin-bottom: 4rem;
}
.ht-header-left {
  flex: 1 1 0;
}
.ht-title {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--narrow-text-primary);
  margin: 0.75rem 0 0;
  max-width: 18ch;
}
.ht-intro {
  max-width: 34ch;
  font-size: 0.9375rem;
  color: var(--narrow-text-secondary);
  line-height: 1.8;
  margin: 0;
}
.ht-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ht-card {
  display: grid;
  grid-template-columns: 1fr 2.5rem 1fr;
  border: 1px solid var(--narrow-border);
  border-radius: 24px;
  overflow: hidden;
}
.ht-before,
.ht-after {
  padding: 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ht-before {
  background-color: rgba(38, 35, 34, 0.025);
}
.ht-after {
  background-color: var(--narrow-bg-primary);
}
.ht-client-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(38, 35, 34, 0.3);
  margin-bottom: 0.75rem;
}
.ht-col-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}
.ht-before .ht-col-label {
  color: rgba(38, 35, 34, 0.3);
}
.ht-after .ht-col-label {
  color: var(--narrow-accent);
}
.ht-headline {
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 0 0 1rem;
}
.ht-before .ht-headline {
  color: rgba(38, 35, 34, 0.38);
  text-decoration: line-through;
  text-decoration-color: rgba(38, 35, 34, 0.18);
}
.ht-after .ht-headline {
  color: var(--narrow-text-primary);
}
.ht-note {
  font-size: 0.8125rem;
  color: var(--narrow-text-secondary);
  line-height: 1.75;
  padding-top: 0.75rem;
  border-top: 1px solid var(--narrow-border);
  margin-top: auto;
}
.ht-before .ht-note {
  color: rgba(38, 35, 34, 0.38);
  border-color: rgba(38, 35, 34, 0.08);
}
.ht-arrow-col {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--narrow-accent);
  color: #fff;
  font-size: 1.125rem;
}

/* Local override: showcase transformation cards use free-form content, not the shared split HT grid */
.sv-transform .ht-cards-wrap {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 2rem !important;
  align-items: stretch;
}
.sv-transform .ht-cards-wrap .ht-card {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
}
.sv-transform .ht-cards-wrap .ht-card-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: 0 0 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sv-transform .ht-cards-wrap .ht-card > p:last-child {
  margin-top: auto !important;
}
@media (max-width: 1024px) {
  .ht-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .ht-section {
    padding: 4rem 1.5rem 5rem;
  }
  .ht-card {
    grid-template-columns: 1fr;
  }
  .ht-arrow-col {
    padding: 1rem;
    writing-mode: horizontal-tb;
  }
  .ht-before,
  .ht-after {
    padding: 2rem 1.75rem;
  }
  .sv-transform .ht-cards-wrap {
    grid-template-columns: 1fr !important;
  }
}
/* ============================================
РљРђРљР’Рћ Р’РљР›Р®Р§Р’Рђ вЂ” kakvo-split interactive panel
============================================ */
.kakvo-split {
  display: grid;
  grid-template-columns: 2fr 3fr;
  min-height: 520px;
  border: 1px solid rgba(255, 247, 236, 0.12);
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--narrow-bg-secondary);
}
.kakvo-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  border-right: 1px solid rgba(255, 247, 236, 0.1);
}
.kakvo-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.25rem 2.5rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 247, 236, 0.08);
  border-left: 3px solid transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
  user-select: none;
}
.kakvo-nav-item:last-child {
  border-bottom: none;
}
.kakvo-nav-item:hover {
  background-color: rgba(255, 247, 236, 0.04);
}
.kakvo-nav-item.is-active {
  background-color: rgba(255, 120, 79, 0.1);
  border-left-color: transparent;
  border-bottom: 3px solid var(--narrow-accent) !important;
}
.kakvo-nav-index {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 247, 236, 0.35);
  flex-shrink: 0;
  transition: color 0.2s;
}
.kakvo-nav-item.is-active .kakvo-nav-index {
  color: var(--narrow-accent);
}
.kakvo-nav-name {
  flex: 1;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 247, 236, 0.55);
  margin: 0;
  transition: color 0.2s;
}
.kakvo-nav-item.is-active .kakvo-nav-name,
.kakvo-nav-item:hover .kakvo-nav-name {
  color: var(--narrow-bg-primary);
}
.kakvo-nav-arrow {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  color: rgba(255, 247, 236, 0.25);
  transition:
    color 0.2s,
    transform 0.2s;
}
.kakvo-nav-item.is-active .kakvo-nav-arrow {
  color: var(--narrow-accent);
  transform: translateX(3px);
}
.kakvo-panels {
  position: relative;
  overflow: hidden;
}
.kakvo-panel {
  display: none;
  padding: 3.5rem;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
  box-sizing: border-box;
}
.kakvo-panel.is-active {
  display: flex;
  animation: kakvo-panel-in 0.3s ease both;
}
@keyframes kakvo-panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.kakvo-panel-index {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--narrow-accent);
}
.kakvo-panel-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--narrow-bg-primary);
  margin: 0;
}
.kakvo-panel-body {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 247, 236, 0.65);
  margin: 0;
  max-width: 520px;
}
.kakvo-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.kakvo-panel-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 247, 236, 0.75);
  padding: 0.5rem 0.875rem;
  background-color: rgba(255, 247, 236, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 247, 236, 0.07);
}
.kakvo-panel-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--narrow-accent);
  flex-shrink: 0;
}
.kakvo-panel-metric {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 247, 236, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.kakvo-panel-metric-left {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.kakvo-panel-num {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--narrow-accent);
}
.kakvo-panel-metric-label {
  font-size: 0.8125rem;
  color: rgba(255, 247, 236, 0.5);
  max-width: 220px;
  line-height: 1.6;
}
.kakvo-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--narrow-bg-primary);
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
  border-radius: 0;
  transition: gap 0.3s ease, opacity 0.3s ease;
  flex-shrink: 0;
  white-space: nowrap;
}
.kakvo-panel-cta::after {
  content: '→';
}
.kakvo-panel-cta:hover {
  gap: 0.875rem;
  opacity: 0.6;
  color: var(--narrow-bg-primary);
  text-decoration: none;
  background: none;
}
@media (max-width: 1024px) {
  .kakvo-split {
    grid-template-columns: 1fr;
  }
  .kakvo-nav {
    border-right: none;
    border-bottom: 1px solid rgba(255, 247, 236, 0.12);
    display: flex;
    flex-wrap: wrap;
  }
  .kakvo-nav-item {
    flex: 1;
    min-width: 140px;
    border-bottom: none;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 1.5rem 1.75rem;
  }
  .kakvo-nav-item.is-active {
    border-bottom-color: var(--narrow-accent);
    border-left-color: transparent;
  }
  .kakvo-nav-arrow {
    display: none;
  }
  .kakvo-panel {
    padding: 2.5rem;
  }
}
@media (max-width: 640px) {
  .kakvo-nav {
    flex-direction: column;
  }
  .kakvo-nav-item {
    flex: none;
    border-bottom: 1px solid rgba(255, 247, 236, 0.08) !important;
    border-left: 3px solid transparent !important;
  }
  .kakvo-nav-item.is-active {
    border-left-color: var(--narrow-accent) !important;
    border-bottom-color: rgba(255, 247, 236, 0.08) !important;
  }
  .kakvo-panel {
    padding: 2rem 1.5rem;
  }
}
/* ============================================
KAKVO LIGHT THEME (services page — 1.17)
============================================ */
.kakvo-light {
  background: var(--narrow-bg-primary);
}
.kakvo-light .kakvo-split {
  border-color: var(--narrow-border);
  background-color: var(--narrow-bg-primary);
}
.kakvo-light .kakvo-nav {
  border-right-color: var(--narrow-border);
}
.kakvo-light .kakvo-nav-item {
  border-bottom-color: var(--narrow-border);
  border-left-color: transparent;
}
.kakvo-light .kakvo-nav-item:hover {
  background-color: rgba(255, 120, 79, 0.06);
}
.kakvo-light .kakvo-nav-item.is-active {
  background-color: rgba(255, 120, 79, 0.08);
  border-bottom-color: var(--narrow-accent) !important;
}
.kakvo-light .kakvo-nav-index {
  color: var(--narrow-text-secondary);
  opacity: 0.5;
}
.kakvo-light .kakvo-nav-item.is-active .kakvo-nav-index {
  color: var(--narrow-accent);
  opacity: 1;
}
.kakvo-light .kakvo-nav-name {
  color: var(--narrow-text-secondary);
}
.kakvo-light .kakvo-nav-item.is-active .kakvo-nav-name,
.kakvo-light .kakvo-nav-item:hover .kakvo-nav-name {
  color: var(--narrow-text-primary);
}
.kakvo-light .kakvo-nav-arrow {
  color: var(--narrow-border);
}
.kakvo-light .kakvo-nav-item.is-active .kakvo-nav-arrow {
  color: var(--narrow-accent);
}
.kakvo-light .kakvo-panel-title {
  color: var(--narrow-text-primary);
}
.kakvo-light .kakvo-panel-body {
  color: var(--narrow-text-secondary);
}
.kakvo-light .kakvo-panel-list li {
  color: var(--narrow-text-primary);
  background-color: rgba(38, 35, 34, 0.04);
  border-color: rgba(38, 35, 34, 0.1);
}
.kakvo-light .kakvo-panel-metric {
  border-top-color: var(--narrow-border);
}
.kakvo-light .kakvo-panel-metric-label {
  color: var(--narrow-text-secondary);
}
.kakvo-light .kakvo-panel-cta {
  color: var(--narrow-text-primary);
  border: none;
  background: none;
  padding: 0;
}
.kakvo-light .kakvo-panel-cta:hover {
  background: none;
  color: var(--narrow-text-primary);
  opacity: 0.6;
}
.kakvo-light .section-tag {
  color: var(--narrow-text-primary);
}
.kakvo-light .section-cta-link {
  color: var(--narrow-text-secondary);
}
@media (max-width: 1024px) {
  .kakvo-light .kakvo-nav {
    border-bottom-color: var(--narrow-border);
  }
  .kakvo-light .kakvo-nav-item {
    border-bottom: 3px solid transparent;
  }
  .kakvo-light .kakvo-nav-item.is-active {
    border-bottom-color: var(--narrow-accent) !important;
  }
}
@media (max-width: 640px) {
  .kakvo-light .kakvo-nav-item {
    border-bottom: 1px solid var(--narrow-border) !important;
    border-left: 3px solid transparent !important;
  }
  .kakvo-light .kakvo-nav-item.is-active {
    border-left-color: var(--narrow-accent) !important;
  }
}
/* ============================================
SERVICE PAGES вЂ” shared template styles
============================================ */
/* Hero */
.sv-hero {
  background-color: var(--narrow-bg-secondary);
  padding: 8rem 2.5rem 7rem;
}
.sv-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 70% 30%;
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: end;
}
.sv-hero-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.sv-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--narrow-accent);
}
.sv-hero-tag::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--narrow-accent);
}
/* [task 2] */
.sv-hero-title {
  font-size: clamp(3rem, 5.5vw, 6.5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 0.93;
  color: var(--narrow-bg-primary);
  margin: 0;
}
.sv-hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(255, 247, 236, 0.6);
  margin: 0;
  max-width: 44ch;
}
.sv-hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2rem;
}
.sv-hero-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.55rem;
}
/* [task 1] */
.sv-hero-stat::before {
  content: none;
}
.sv-slash-wrap {
  grid-row: 1 / span 2;
  align-self: center;
  clip-path: inset(5px 0px);
  display: flex;
  align-items: center;
  margin-right: 1rem;
}
.sv-slash-inner {
  font-size: clamp(4rem, 6vw, 6rem);
  font-weight: 600;
  color: #ff784f;
  letter-spacing: 0em;
  line-height: 1;
  rotate: 351deg;
  display: block;
  flex-shrink: 0;
}
.sv-hero-stat-num {
  display: block;
  grid-column: 2;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--narrow-bg-primary);
}
.sv-hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 247, 236, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  grid-column: 2;
  white-space: nowrap;
}
.sv-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background-color: var(--narrow-accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  align-self: flex-start;
  margin-top: 1rem;
}
.sv-hero-cta:hover {
  opacity: 0.88;
  color: #fff;
}
/* [task 3] Hero CTA bar — inside first section after hero, slides right on scroll */
.sv-hero-cta-bar {
  margin-left: 50%;
  margin-right: -2.5rem;
  overflow: hidden;
  transform: translateX(0);
  transition: transform 0.2s linear;
}
.sv-hero-cta-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 75px;
  background: var(--narrow-accent);
  clip-path: polygon(13px 0, 100% 0, 100% 100%, 0 100%);
  text-decoration: none;
  padding: 0 3rem 0 60px;
}
.sv-hero-cta-bar-text {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}
.sv-cta-arrow {
  font-size: 1.6em;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
  transform: translateY(-0.1em);
  margin-left: 0.35em;
}
/* Transformation section */
.sv-transform {
  padding: 0 2.5rem 6rem;
  background-color: var(--narrow-bg-primary);
  border-bottom: 1px solid var(--narrow-border);
}
.sv-transform-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 5rem;
}
.sv-transform-header {
  max-width: 760px;
  margin-bottom: 4rem;
}
.sv-transform-title {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--narrow-text-primary);
  margin: 0.75rem 0 1rem;
}
.sv-transform-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--narrow-text-secondary);
  margin: 0;
}
/* Reuse .ht-card, .ht-before, .ht-after, etc. from HT section */
/* Process section */
.sv-process {
  padding: 6rem 2.5rem;
  background-color: var(--narrow-bg-secondary);
}
/* [task 4] */
.sv-process-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: stretch;
}
.sv-showcase-wrap {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sv-showcase-wrap .sv-showcase {
  flex: 1;
  order: unset;
}
.sv-work-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.28);
  padding-left: 0.25rem;
}
.sv-process-content {
  display: flex;
  flex-direction: column;
  order: 1;
}
.sv-showcase {
  position: sticky;
  top: 6rem;
  border-radius: 20px;
  overflow: hidden;
  background: var(--narrow-bg-dark, #1a1817);
  border: 1px solid rgba(255, 247, 236, 0.08);
  order: 2;
}
@media (max-width: 960px) {
  .sv-process-inner {
    grid-template-columns: 1fr;
  }
  .sv-showcase {
    position: static;
    min-height: 220px;
  }
}
.sv-process-title {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--narrow-bg-primary);
  margin: 0.75rem 0 3.5rem;
}
.sv-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255, 247, 236, 0.12);
  border-radius: 20px;
  overflow: hidden;
}
.sv-step {
  padding: 1.75rem;
  border-right: 1px solid rgba(255, 247, 236, 0.12);
  border-bottom: 1px solid rgba(255, 247, 236, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.sv-step:nth-child(even) {
  border-right: none;
}
.sv-step:nth-last-child(-n + 2) {
  border-bottom: none;
}
.sv-step-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--narrow-accent);
}
.sv-step-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--narrow-bg-primary);
  margin: 0;
}
.sv-step-body {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 247, 236, 0.5);
  margin: 0;
}
/* ============================================================
   SERVICE PAGE SHOWCASE — per-service interactive panels
   ============================================================ */
/* --- Shared showcase base --- */
.sv-showcase {
  padding: 0;
}
/* --- SEO: Human / Bot toggle --- */
/* [task 4] seo-top-bar redesigned */
.seo-top-bar {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 247, 236, 0.08);
}
.seo-view-btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 247, 236, 0.04);
  border: 1px solid rgba(255, 247, 236, 0.1);
  border-radius: 8px;
  color: rgba(255, 247, 236, 0.4);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.seo-view-btn.is-active {
  background: var(--narrow-accent);
  border-color: var(--narrow-accent);
  color: #fff;
}
.seo-browser-frame {
  padding: 1rem 1rem 1.25rem;
}
.seo-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 247, 236, 0.04);
  border-radius: 8px;
  padding: 0.5rem 0.875rem;
  margin-bottom: 1rem;
}
.seo-browser-dots {
  display: flex;
  gap: 5px;
}
.seo-browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 247, 236, 0.1);
}
.seo-browser-url {
  font-size: 0.7rem;
  color: rgba(255, 247, 236, 0.3);
  font-family: "Courier New", monospace;
}
.seo-page-body {
  position: relative;
  min-height: 240px;
}
.seo-human-layer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: opacity 0.35s ease;
}
.sv-showcase--seo[data-view="bot"] .seo-human-layer {
  opacity: 0.15;
}
.seo-ph {
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 247, 236, 0.1);
}
.seo-ph--header {
  height: 14px;
  width: 38%;
  background: rgba(255, 90, 30, 0.2);
  display: flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 247, 236, 0.7);
}
.seo-ph--h1 {
  height: auto;
  background: none;
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(255, 247, 236, 0.85);
}
.seo-ph--p {
  width: 92%;
}
.seo-ph--short {
  width: 60%;
}
.seo-ph--img {
  height: 68px;
  border-radius: 8px;
  background: rgba(255, 247, 236, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 247, 236, 0.18);
  font-size: 0.75rem;
  margin: 0.25rem 0;
}
.seo-ph--h2 {
  height: auto;
  background: none;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 247, 236, 0.55);
  margin-top: 0.25rem;
}
.seo-ph--h3 {
  height: auto;
  background: none;
  font-size: 0.725rem;
  font-weight: 600;
  color: rgba(255, 247, 236, 0.38);
  margin-top: 0.1rem;
}
.seo-ph--cta {
  height: auto;
  width: fit-content;
  padding: 0.45rem 0.875rem;
  background: var(--narrow-accent);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.25rem;
}
/* Bot overlay */
.seo-bot-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.sv-showcase--seo[data-view="bot"] .seo-bot-layer {
  opacity: 1;
}
.seo-tag-bubble {
  position: absolute;
  font-size: 0.6rem;
  font-weight: 700;
  font-family: "Courier New", monospace;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
}
.seo-tag--title {
  top: 0;
  left: 0;
  background: rgba(255, 80, 30, 0.9);
  color: #fff;
  transform: translateY(-100%);
}
.seo-tag--h1 {
  top: 26px;
  left: 0;
  background: rgba(34, 180, 100, 0.9);
  color: #fff;
}
.seo-tag--alt {
  top: 128px;
  right: 0;
  background: rgba(70, 130, 220, 0.9);
  color: #fff;
}
.seo-tag--h2 {
  top: 195px;
  left: 0;
  background: rgba(34, 180, 100, 0.7);
  color: #fff;
}
.seo-tag--h3 {
  top: 228px;
  left: 0;
  background: rgba(34, 150, 70, 0.75);
  color: #fff;
}
.seo-tag--meta {
  top: 58px;
  right: 0;
  background: rgba(80, 100, 220, 0.85);
  color: #fff;
}
.seo-schema-panel {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(14, 12, 11, 0.95);
  border: 1px solid rgba(255, 90, 30, 0.4);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}
.seo-schema-head {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255, 90, 30, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
  font-family: "Courier New", monospace;
}
.seo-schema-code {
  font-size: 0.6rem;
  color: rgba(255, 247, 236, 0.55);
  line-height: 1.6;
  font-family: "Courier New", monospace;
}
.seo-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 247, 236, 0.08);
}
.seo-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.5rem;
  border-right: 1px solid rgba(255, 247, 236, 0.06);
  gap: 0.15rem;
}
.seo-metric:last-child {
  border-right: none;
}
.seo-metric-val {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--narrow-accent);
  line-height: 1;
}
.seo-metric-key {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.3);
}
/* --- Copywriting: A/B demo --- */
.sv-showcase--copy {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.copy-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.copy-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.copy-card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.3);
}
.copy-edit-btn {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--narrow-accent);
  background: rgba(255, 90, 30, 0.1);
  border: 1px solid rgba(255, 90, 30, 0.25);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
}
.copy-edit-btn:hover {
  background: rgba(255, 90, 30, 0.2);
}
.copy-headline {
  font-size: 1.125rem;
  font-weight: 700;
  color: rgba(255, 247, 236, 0.9);
  line-height: 1.35;
  margin: 0;
  min-height: 3.5rem;
  transition: opacity 0.2s ease;
}
.copy-sub {
  font-size: 0.875rem;
  color: rgba(255, 247, 236, 0.45);
  margin: 0;
  transition: opacity 0.2s ease;
}
.copy-cta-btn {
  display: inline-block;
  padding: 0.55rem 1.125rem;
  background: var(--narrow-accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 7px;
  align-self: flex-start;
  pointer-events: none;
}
.copy-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(255, 247, 236, 0.03);
  border: 1px solid rgba(255, 247, 236, 0.08);
  border-radius: 10px;
  padding: 0.75rem;
}
.copy-opt {
  padding: 0.55rem 0.875rem;
  background: transparent;
  border: 1px solid rgba(255, 247, 236, 0.1);
  border-radius: 7px;
  color: rgba(255, 247, 236, 0.7);
  font-size: 0.8125rem;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.copy-opt:hover {
  background: rgba(255, 247, 236, 0.06);
  border-color: rgba(255, 247, 236, 0.2);
}
.copy-opt-rate {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.copy-opt-rate.low {
  background: rgba(255, 80, 80, 0.2);
  color: #ff8080;
}
.copy-opt-rate.mid {
  background: rgba(255, 180, 60, 0.2);
  color: #ffb040;
}
.copy-opt-rate.high {
  background: rgba(60, 200, 100, 0.2);
  color: #50d070;
}
.copy-meter {
  margin-top: 0.5rem;
}
.copy-meter-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.3);
  display: block;
  margin-bottom: 0.4rem;
}
.copy-meter-track {
  height: 6px;
  background: rgba(255, 247, 236, 0.07);
  border-radius: 3px;
  overflow: hidden;
}
.copy-meter-fill {
  height: 100%;
  border-radius: 3px;
  transition:
    width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease;
  width: 8%;
  background: #ff6060;
}
.copy-meter-pct {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.35rem;
  color: rgba(255, 247, 236, 0.5);
  transition: all 0.3s ease;
}
.copy-insight {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 247, 236, 0.04);
  border: 1px solid rgba(255, 247, 236, 0.08);
  border-radius: 8px;
  margin-top: 0.25rem;
}
.copy-insight-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--narrow-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.copy-insight-text {
  font-size: 0.8125rem;
  color: rgba(255, 247, 236, 0.5);
  line-height: 1.65;
  transition: opacity 0.25s ease;
}
/* --- Brand Identity: logo system --- */
.sv-showcase--identity {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.bi-stage-wrap {
  background: rgba(255, 247, 236, 0.025);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  position: relative;
  overflow: hidden;
}
.bi-logo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.bi-logo-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  transition: transform 0.3s ease;
  transform-origin: center center;
}
.bi-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bi-grid-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bi-wcag-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  background: rgba(60, 200, 100, 0.15);
  color: #50d070;
  border-radius: 4px;
  border: 1px solid rgba(60, 200, 100, 0.25);
  transition: all 0.3s ease;
}
.bi-controls {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.bi-control-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.bi-label {
  font-size: 0.75rem;
  color: rgba(255, 247, 236, 0.45);
  font-weight: 600;
}
.bi-vibe-ends {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: rgba(255, 247, 236, 0.25);
}
.bi-range {
  width: 100%;
  accent-color: var(--narrow-accent);
  cursor: pointer;
}
.bi-btn-row {
  display: flex;
  gap: 0.5rem;
}
.bi-toggle-btn {
  padding: 0.45rem 0.875rem;
  background: rgba(255, 247, 236, 0.05);
  border: 1px solid rgba(255, 247, 236, 0.1);
  border-radius: 7px;
  color: rgba(255, 247, 236, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.bi-toggle-btn.is-active {
  background: rgba(255, 90, 30, 0.12);
  border-color: rgba(255, 90, 30, 0.3);
  color: var(--narrow-accent);
}
/* [task 4] bi-context-row chip labels */
.bi-context-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem 0.75rem;
  flex-wrap: wrap;
}
.bi-ctx-label {
  font-size: 0.65rem;
  color: rgba(255, 247, 236, 0.3);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.bi-ctx-chip {
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
  background: rgba(255, 247, 236, 0.06);
  border: 1px solid rgba(255, 247, 236, 0.1);
  color: rgba(255, 247, 236, 0.45);
}
/* --- Brand Strategy: archetype compass --- */
.sv-showcase--strategy {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.arch-canvas-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-bottom: 1.25rem;
}
.arch-canvas {
  border-radius: 50%;
  width: 100%;
  max-width: 200px;
  height: auto;
}
.arch-result-name {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 90, 30, 0.92);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.875rem;
  border-radius: 20px;
  white-space: nowrap;
}
.arch-sliders {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.arch-slider-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr 5.5rem;
  align-items: center;
  gap: 0.5rem;
}
.arch-slider-cap {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 247, 236, 0.3);
}
.arch-slider-cap:last-child {
  text-align: right;
}
.arch-range {
  accent-color: var(--narrow-accent);
  cursor: pointer;
  width: 100%;
}
.arch-desc {
  font-size: 0.8125rem;
  color: rgba(255, 247, 236, 0.5);
  line-height: 1.7;
  margin: 0;
  min-height: 3.2rem;
  transition: opacity 0.25s ease;
}
/* --- Web dev: dot canvas --- */
.sv-showcase--web .ws-dot-canvas {
  width: 100%;
  height: 420px;
  border-radius: 0;
  border: none;
  display: block;
}
.sv-showcase--web .sv-showcase-header {
  padding: 1.5rem 1.5rem 0;
}
/* ─── Showcase shared header / footer ─────────────────────── */
.sv-showcase-header {
  padding: 1.25rem 1.5rem 0.5rem;
  border-bottom: 1px solid rgba(255, 247, 236, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sv-sh-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--narrow-accent);
}
.sv-sh-desc {
  font-size: 0.7875rem;
  color: rgba(255, 247, 236, 0.45);
  line-height: 1.65;
  margin: 0;
}
.sv-showcase-footer {
  padding: 0.875rem 1.5rem;
  border-top: 1px solid rgba(255, 247, 236, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sv-sh-meta {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 247, 236, 0.22);
  text-transform: uppercase;
}
/* ─── Brand strategy new comparison tables ──────────────────── */
.bs-compare-master {
  margin-top: 2.5rem;
  border: 1px solid var(--narrow-border);
  border-radius: 20px;
  overflow: hidden;
}
.bs-compare-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid var(--narrow-border);
}
.bscol {
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.bscol--before {
  background: rgba(38, 35, 34, 0.02);
  border-right: 1px solid var(--narrow-border);
}
.bscol--after {
  background: var(--narrow-bg-primary);
}
.bscol-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
}
.bscol--after .bscol-tag {
  color: var(--narrow-accent);
}
.bscol-sub {
  font-size: 0.72rem;
  color: var(--narrow-text-secondary);
  opacity: 0.5;
}
.bs-compare-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.bsc-section-sep {
  padding: 0.45rem 2rem;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 90, 30, 0.55);
  background: rgba(38, 35, 34, 0.025);
  border-top: 1px solid var(--narrow-border);
  border-bottom: 1px solid rgba(255, 90, 30, 0.12);
}
.bs-compare-slide--rows {
  display: flex;
  flex-direction: column;
}
.bs-compare-slide--rows .ht-cr:last-child {
  border-bottom: none;
}
.bs-compare-slide--visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.bscs-col {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bscs-col--before {
  border-right: 1px solid var(--narrow-border);
  background: rgba(38, 35, 34, 0.01);
}
.bscs-col--after {
  background: var(--narrow-bg-primary);
}
.bscs-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--narrow-text-secondary);
  margin: 0;
}
.bscs-col--after .bscs-desc {
  color: var(--narrow-text-primary);
}
.bs-compare-slide--visual .cs-visual {
  margin: 0;
}
@media (max-width: 640px) {
  .bs-compare-labels,
  .bs-compare-slide,
  .bs-compare-slide--visual {
    grid-template-columns: 1fr;
  }
  .bscol--before,
  .bscs-col--before {
    border-right: none;
    border-bottom: 1px solid var(--narrow-border);
  }
}
/* ============================================================
   SHOWCASE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .sv-showcase--web .ws-dot-canvas {
    height: 260px;
  }
  .arch-canvas {
    max-width: 160px;
  }
}
/* Deliverables section */
.sv-deliverables {
  padding: 6rem 2.5rem;
  background-color: var(--narrow-bg-primary);
}
.sv-deliverables-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
.sv-deliverables-heading {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--narrow-text-primary);
  margin: 0.75rem 0 0;
  position: sticky;
  top: 6rem;
}
.sv-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.sv-deliverable {
  padding: 2rem;
  border: 1px solid var(--narrow-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease;
}
.sv-deliverable {
  padding: 2rem;
  border: 1px solid var(--narrow-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.sv-deliverable:hover {
  border-color: var(--narrow-accent);
}
/* Silhouette icon — large, bottom-right, clipped, low opacity */
.sv-deliverable-icon {
  position: absolute;
  bottom: -16px;
  right: -20px;
  width: 100px;
  height: 100px;
  font-size: 86px;
  line-height: 1;
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  filter: grayscale(1);
}
.sv-deliverable-name {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--narrow-text-primary);
  margin: 0;
}
.sv-deliverable-desc {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--narrow-text-secondary);
  margin: 0;
}
/* CTA section */
.sv-cta-section {
  padding: 7rem 2.5rem;
  background-color: var(--narrow-bg-secondary);
  text-align: center;
}
.sv-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.sv-cta-title {
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--narrow-bg-primary);
  margin: 0;
}
.sv-cta-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 247, 236, 0.55);
  margin: 0;
}
.sv-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
/* Responsive */
@media (max-width: 1024px) {
  .sv-hero-inner {
    grid-template-columns: 1fr;
  }
  .sv-hero-right {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .sv-hero-stat {
    flex: 1;
    min-width: 120px;
  }
  .sv-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .sv-step:nth-child(2) {
    border-right: none;
  }
  .sv-step:nth-child(3) {
    border-top: 1px solid rgba(255, 247, 236, 0.12);
  }
  .sv-step:nth-child(3),
  .sv-step:nth-child(4) {
    border-right: none;
  }
  .sv-step:nth-child(4) {
    border-top: 1px solid rgba(255, 247, 236, 0.12);
    border-left: 1px solid rgba(255, 247, 236, 0.12);
  }
  .sv-deliverables-inner {
    grid-template-columns: 1fr;
  }
  .sv-deliverables-heading {
    position: static;
  }
}
@media (max-width: 768px) {
  .sv-hero {
    padding: 6rem 1.5rem 5rem;
  }
  .sv-transform,
  .sv-process,
  .sv-deliverables,
  .sv-cta-section {
    padding: 5rem 1.5rem;
  }
  .sv-steps {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .sv-step {
    border-right: none;
    border-bottom: 1px solid rgba(255, 247, 236, 0.12);
  }
  .sv-step:last-child {
    border-bottom: none;
  }
  .sv-deliverables-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================
NAV DROPDOWN вЂ” desktop services flyout
============================================ */
.nr-nav-wrap {
  position: relative;
}
.nr-nav-wrap > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-chevron {
  display: inline-block;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-top: 1px;
}
.nr-nav-wrap:hover .nav-chevron,
.nr-nav-wrap:focus-within .nav-chevron {
  transform: rotate(180deg);
}
.nr-nav-dd {
  position: absolute;
  top: calc(100% + 1.25rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--narrow-bg-primary);
  border: 1px solid var(--narrow-border);
  border-radius: 18px;
  padding: 0.5rem;
  min-width: 280px;
  list-style: none;
  margin: 0;
  box-shadow:
    0 8px 40px rgba(38, 35, 34, 0.12),
    0 2px 8px rgba(38, 35, 34, 0.06);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 200;
}
.nr-nav-wrap:hover .nr-nav-dd,
.nr-nav-wrap:focus-within .nr-nav-dd {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nr-nav-dd li {
  margin: 0;
}
.nr-nav-dd a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.15s ease;
  font-weight: 400 !important;
}
.nr-nav-dd a:hover {
  opacity: 0.55;
}
.nav-dd-icon {
  font-size: 1.1rem;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 35, 34, 0.05);
  border-radius: 8px;
  flex-shrink: 0;
}
.nav-dd-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav-dd-text strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--narrow-text-primary);
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.nav-dd-text small {
  font-size: 0.75rem;
  color: var(--narrow-text-secondary);
  font-weight: 400;
  letter-spacing: 0.01em;
  opacity: 0.65;
}
.nr-nav-dd-foot a {
  border-top: 1px solid var(--narrow-border);
  margin-top: 0.25rem;
  padding-top: 1rem;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: var(--narrow-accent) !important;
  border-radius: 0 0 12px 12px !important;
  letter-spacing: 0.03em;
}
/* On dark header, invert dropdown */
.site-header.header-on-dark .nr-nav-dd {
  background: var(--narrow-bg-secondary);
  border-color: rgba(255, 247, 236, 0.12);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}
.site-header.header-on-dark .nr-nav-dd a:hover {
  background-color: rgba(255, 247, 236, 0.06);
}
.site-header.header-on-dark .nav-dd-icon {
  background: rgba(255, 247, 236, 0.08);
}
.site-header.header-on-dark .nav-dd-text strong {
  color: var(--narrow-bg-primary);
}
.site-header.header-on-dark .nav-dd-text small {
  color: rgba(255, 247, 236, 0.45);
}
.site-header.header-on-dark .nr-nav-dd-foot a {
  border-color: rgba(255, 247, 236, 0.1);
  color: var(--narrow-accent) !important;
}
/* Mobile submenu */
.mobile-has-children .mobile-parent-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 500;
  color: var(--narrow-text-primary);
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: left;
}
.mobile-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.mobile-has-children.is-open .mobile-chevron {
  transform: rotate(180deg);
}
.mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 1.5rem 1rem;
  display: none;
  border-left: 2px solid var(--narrow-accent);
}
.mobile-has-children.is-open .mobile-submenu {
  display: block;
}
.mobile-submenu a {
  display: block;
  padding: 0.65rem 0;
  font-size: 1.1rem;
  color: rgba(38, 35, 34, 0.65);
  text-decoration: none;
  font-weight: 500;
}
.mobile-submenu a:hover {
  color: var(--narrow-text-primary);
}
/* ============================================
INTERACTIVE ROADMAP вЂ” project timeline
============================================ */
.roadmap-section {
  padding: 80px 2.5rem;
  background-color: var(--narrow-bg-secondary);
  overflow: hidden;
}
.roadmap-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.roadmap-header {
  max-width: 640px;
  margin-bottom: 5rem;
}
.roadmap-header .section-tag {
  color: rgba(255, 247, 236, 0.5);
}
.roadmap-title {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--narrow-text-light);
  margin: 0.75rem 0 1rem;
}
.roadmap-subtitle {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 247, 236, 0.65);
  margin: 0;
}
/* Timeline track */
.roadmap-track {
  position: relative;
  display: flex;
  gap: 0;
}
.roadmap-track::before {
  content: "";
  position: absolute;
  top: 2.25rem;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: rgba(255, 247, 236, 0.12);
  z-index: 0;
}
.roadmap-progress-line {
  position: absolute;
  top: 2.25rem;
  left: 1.5rem;
  height: 2px;
  background: var(--narrow-accent);
  width: 0%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.roadmap-step {
  flex: 1;
  padding: 4rem 2rem 0;
  position: relative;
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.roadmap-step:hover {
  opacity: 0.85;
}
/* Dot on timeline */
.roadmap-dot {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--narrow-bg-secondary);
  border: 2px solid rgba(255, 247, 236, 0.2);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
  z-index: 2;
}
.roadmap-step.is-active .roadmap-dot,
.roadmap-step.is-done .roadmap-dot {
  background: var(--narrow-accent);
  border-color: var(--narrow-accent);
  transform: translateX(-50%) scale(1.2);
}
.roadmap-week {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--narrow-accent);
  margin-bottom: 0.6rem;
  display: block;
}
.roadmap-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--narrow-text-light);
  margin: 0 0 0.75rem;
  transition: color 0.25s ease;
}
.roadmap-step-body {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 247, 236, 0.65);
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.38s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.28s ease;
  opacity: 0;
}
.roadmap-step.is-active .roadmap-step-body {
  max-height: 400px;
  opacity: 1;
}
/* Done steps — all previous weeks stay open */
.roadmap-step.is-done .roadmap-step-body {
  max-height: 400px;
  opacity: 0.55;
}
/* Next step — week + title fully visible; only body text gets the fade mask */
.roadmap-step.is-next .roadmap-step-body {
  max-height: 400px;
  opacity: 1;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65) 0%,
    transparent 95%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65) 0%,
    transparent 95%
  );
}
/* Deliverables list inside step */
.roadmap-deliverables {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.roadmap-deliverables li {
  font-size: 0.8125rem;
  color: rgba(255, 247, 236, 0.65);
  padding-left: 1.25rem;
  position: relative;
}
.roadmap-deliverables li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--narrow-accent);
  font-size: 0.75rem;
  line-height: 1.6;
}
/* Active step panel highlight */
.roadmap-step::after {
  content: "";
  position: absolute;
  inset: 2.75rem -0.5rem -1.25rem;
  border: 2px solid transparent;
  border-radius: 18px;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
  pointer-events: none;
  z-index: -1;
}
.roadmap-step.is-active::after {
  border-color: var(--narrow-accent);
  background-color: rgba(255, 120, 79, 0.045);
}
@media (max-width: 768px) {
  .roadmap-section {
    padding: 5rem 1.5rem;
  }
  .roadmap-track {
    flex-direction: column;
    gap: 0;
  }
  .roadmap-track::before {
    display: none;
  }
  .roadmap-progress-line {
    display: none;
  }
  .roadmap-step {
    padding: 1.5rem 0 1.5rem 3rem;
    border-left: 2px solid var(--narrow-border);
    margin-left: 0.75rem;
  }
  .roadmap-step.is-active,
  .roadmap-step.is-done {
    border-left-color: var(--narrow-accent);
  }
  .roadmap-dot {
    top: 1.75rem;
    left: -0.875rem;
    transform: none;
  }
  .roadmap-step.is-active .roadmap-dot,
  .roadmap-step.is-done .roadmap-dot {
    transform: scale(1.2);
  }
  .roadmap-step::after {
    display: none;
  }
  .roadmap-step.is-active .roadmap-step-body {
    max-height: 500px;
  }
}
/* ============================================
PARALLAX вЂ” subtle scroll-based transforms
============================================ */
[data-parallax] {
  will-change: transform;
}
/* Floating accent elements for hero */
.parallax-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.parallax-blob--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(255, 120, 79, 0.12) 0%,
    transparent 65%
  );
  top: -100px;
  right: -100px;
}
.parallax-blob--2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(255, 120, 79, 0.07) 0%,
    transparent 65%
  );
  bottom: 50px;
  left: -60px;
}
/* Section with parallax should have position:relative + overflow:hidden if needed */
.page-hero-section {
  position: relative;
}
/* ============================================
Р”РћР’Р•Р РР• (sp-v2) вЂ” light redesign
============================================ */
.sp-v2 {
  padding: 0;
  background-color: var(--narrow-bg-primary);
  border-top: 1px solid var(--narrow-border);
  border-bottom: 1px solid var(--narrow-border);
}
.sp-v2-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2.5rem 4rem;
}
.sp-v2-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 4rem;
}
.sp-v2-head-left {
  display: flex;
  flex-direction: column;
}
.sp-v2-tagline {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 0.9;
  color: var(--narrow-text-primary);
}
.sp-v2-head-para {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--narrow-text-secondary);
  max-width: 40ch;
  padding-top: 0.5rem;
}
.sp-v2-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--narrow-border);
  border-bottom: 1px solid var(--narrow-border);
  margin-bottom: 3rem;
}
.sp-v2-stat {
  padding: 3rem 3rem 2.5rem 0;
  border-right: 1px solid var(--narrow-border);
  display: flex;
  flex-direction: column;
}
.sp-v2-stat:not(:first-child) {
  padding-left: 3rem;
}
.sp-v2-stat:last-child {
  border-right: none;
  padding-right: 0;
}
.sp-v2-num {
  display: block;
  font-size: 4.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 0.9;
  color: var(--narrow-text-primary);
  padding-bottom: 1.5rem;
}
.sp-v2-num sup {
  font-size: 0.32em;
  vertical-align: super;
  color: var(--narrow-accent);
  font-weight: 500;
  letter-spacing: 0;
}
.sp-v2-rule {
  display: block;
  height: 2px;
  width: 2.5rem;
  background: var(--narrow-accent);
  margin-bottom: 1.1rem;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.sp-v2-stat:hover .sp-v2-rule {
  width: 100%;
}
.sp-v2-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  line-height: 1.55;
}
.sp-v2-logos {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 3rem;
}
@media (max-width: 768px) {
  .sp-v2-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .sp-v2-numbers {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-v2-stat:nth-child(2) {
    border-right: none;
  }
  .sp-v2-stat:nth-child(3),
  .sp-v2-stat:nth-child(4) {
    border-top: 1px solid var(--narrow-border);
  }
  .sp-v2-stat:nth-child(4) {
    border-right: none;
  }
  .sp-v2-inner {
    padding: 4rem 1.5rem 3rem;
  }
}
/* ============================================
Р—Рђ NARROW (about-editorial) вЂ” light redesign
============================================ */
.about-editorial-section {
  padding: 7rem 2.5rem 0;
  background-color: var(--narrow-bg-primary);
  border-bottom: none;
}
.ae-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.ae-top-row {
  margin-bottom: 2.5rem;
}
.ae-headline {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.08;
  margin: 0;
  color: var(--narrow-text-primary);
}
.ae-manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
  padding-bottom: 4.5rem;
  margin-bottom: 0;
}
.ae-manifesto-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-top: 0.5rem;
}
.ae-manifesto-body p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--narrow-text-secondary);
}
.ae-location-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}
.about-split-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--narrow-text-secondary);
  opacity: 0.55;
}
/* Principles 3-col row */
.ae-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--narrow-border);
  padding-bottom: 5rem;
}
.ae-principle {
  padding: 3rem 2.5rem 3rem 0;
  border-right: 1px solid var(--narrow-border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ae-principle:not(:first-child) {
  padding-left: 2.5rem;
}
.ae-principle:last-child {
  border-right: none;
  padding-right: 0;
}
.ae-principle-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--narrow-accent);
}
.ae-principle-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--narrow-text-primary);
  margin: 0;
}
.ae-principle-body {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--narrow-text-secondary);
  opacity: 0.65;
  margin: 0;
}
/* Stats strip вЂ” now light */
.ae-stats-row {
  background-color: var(--narrow-bg-primary);
  border-top: 1px solid var(--narrow-border);
  margin: 0 -2.5rem;
}
.ae-stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ae-stat {
  padding: 3.5rem 2.5rem;
  border-right: 1px solid var(--narrow-border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ae-stat:first-child {
  padding-left: 0;
}
.ae-stat:last-child {
  border-right: none;
}
.ae-stat-num {
  display: block;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 0.9;
  color: var(--narrow-text-primary);
}
.ae-stat-num sup {
  font-size: 0.4em;
  vertical-align: super;
  color: var(--narrow-accent);
}
.ae-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  opacity: 0.5;
  line-height: 1.6;
}
@media (max-width: 1024px) {
  .ae-manifesto {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ae-principles {
    grid-template-columns: 1fr;
  }
  .ae-principle {
    padding: 2.5rem 0;
    border-right: none;
    border-bottom: 1px solid var(--narrow-border);
  }
  .ae-principle:not(:first-child) {
    padding-left: 0;
  }
  .ae-principle:last-child {
    border-bottom: none;
  }
  .ae-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .ae-stat:nth-child(2) {
    border-right: none;
  }
  .ae-stat:nth-child(3) {
    border-top: 1px solid var(--narrow-border);
    border-right: 1px solid var(--narrow-border);
    padding-left: 0;
  }
  .ae-stat:nth-child(4) {
    border-top: 1px solid var(--narrow-border);
    border-right: none;
  }
}
@media (max-width: 768px) {
  .about-editorial-section {
    padding: 5rem 1.5rem 0;
  }
  .ae-top-row {
    margin-bottom: 1.75rem;
  }
  .ae-stats-row {
    margin: 0 -1.5rem;
  }
  .ae-stats-inner {
    padding: 0 1.5rem;
  }
  .ae-stat {
    padding: 2.5rem 1.5rem;
  }
  .ae-stat:nth-child(3) {
    padding-left: 0;
  }
}
/* =====================================================================
   FINAL OVERRIDES — CTA scroll-expand + nav dropdown + compact about
   ===================================================================== */
/* ------------------------------------------------------------------
   1. FINAL CTA — scroll-driven expand from // to /text/
   JS sets --cta-p (0 → 1) as the section scrolls into view.
   At p=0 :: a ~16px centred slash strip (left & right edges = //)
   At p=1 :: full orange parallelogram (brand-book state)
   ------------------------------------------------------------------ */
.final-cta-accent {
  --cta-p: 0;
}
.final-cta-accent::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((1 - var(--cta-p)) * (50% - 12px) + var(--cta-p) * 200px);
  right: calc((1 - var(--cta-p)) * (50% - 4px) + var(--cta-p) * 200px);
  background-color: var(--narrow-accent);
  transform-origin: center;
  transform: skewX(calc(var(--cta-p) * -9.6deg));
  z-index: 0;
}
/* Fade content in during second half of expand */
.final-cta-accent .final-cta-inner {
  opacity: max(0, min(1, calc(var(--cta-p) * 2 - 0.5)));
  position: relative;
  z-index: 1;
}
/* ------------------------------------------------------------------
   2. NAV DROPDOWN — light card, description text, left-accent hover
   ------------------------------------------------------------------ */
.nr-nav-dd {
  top: calc(100% + 0.5rem);
  left: 0;
  transform: translateY(-6px);
  background: var(--narrow-bg-primary);
  border: 1px solid rgba(38, 35, 34, 0.1);
  border-radius: 14px;
  box-shadow:
    0 8px 32px rgba(38, 35, 34, 0.1),
    0 2px 8px rgba(38, 35, 34, 0.05);
  padding: 0.4rem;
  min-width: 260px;
}
.nr-nav-wrap:hover .nr-nav-dd,
.nr-nav-wrap:focus-within .nr-nav-dd {
  transform: translateY(0);
}
.nr-nav-dd li {
  margin: 0;
}
.nr-nav-dd li:last-child {
  margin-bottom: 0;
}
.nr-nav-dd a {
  display: flex;
  align-items: flex-start;
  padding: 0.65rem 0.9rem !important;
  border-radius: 8px;
  border-left: 2px solid transparent;
  background: transparent;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--narrow-text-primary) !important;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  gap: 0;
}
.nr-nav-dd a:hover {
  background: rgba(255, 120, 79, 0.05);
  border-left-color: var(--narrow-accent);
  opacity: 1;
}
/* Hide icons by default */
.nr-nav-dd .nav-dd-icon {
  display: none;
}
.nr-nav-dd .nav-dd-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.nr-nav-dd .nav-dd-text strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--narrow-text-primary);
  letter-spacing: 0;
  line-height: 1.2;
}
.nr-nav-dd .nav-dd-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--narrow-text-secondary);
  opacity: 0.65;
  letter-spacing: 0;
}
.nr-nav-dd-foot {
  margin-top: 0.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(38, 35, 34, 0.08);
}
.nr-nav-dd-foot a {
  border-left: 2px solid transparent !important;
  margin-top: 0;
  padding-top: 0.65rem !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  border-radius: 8px !important;
  color: var(--narrow-accent) !important;
}
.nr-nav-dd-foot a:hover {
  border-left-color: var(--narrow-accent) !important;
}
/* Nav always light — no dark variant for dropdown */
.site-header.header-on-dark .nr-nav-dd {
  background: var(--narrow-bg-primary);
  border: 1px solid rgba(38, 35, 34, 0.1);
  box-shadow: 0 8px 32px rgba(38, 35, 34, 0.1);
}
.site-header.header-on-dark .nr-nav-dd a {
  color: var(--narrow-text-primary) !important;
}
.site-header.header-on-dark .nr-nav-dd .nav-dd-text strong {
  color: var(--narrow-text-primary);
}
.site-header.header-on-dark .nr-nav-dd a:hover {
  background: rgba(255, 120, 79, 0.05);
}
.site-header.header-on-dark .nr-nav-dd-foot a {
  border-top: none !important;
}
/* ------------------------------------------------------------------
   3. HOME ABOUT (ЗА NARROW) — more compact layout
   ------------------------------------------------------------------ */
.about-editorial-section {
  padding: 5rem 2.5rem 0;
}
.ae-top-row {
  margin-bottom: 1.5rem;
}
.ae-headline {
  font-size: 3.25rem;
  line-height: 1.06;
}
.ae-manifesto {
  gap: clamp(2rem, 4.5vw, 5rem);
  padding-bottom: 3rem;
}
.ae-manifesto-body {
  gap: 0.9rem;
  padding-top: 0.25rem;
}
.ae-manifesto-body p {
  font-size: 0.95rem;
  line-height: 1.7;
}
.ae-location-tags {
  gap: 0.75rem;
  padding-top: 0.25rem;
}
.ae-principles {
  padding-bottom: 3.5rem;
}
.ae-principle {
  padding: 2.25rem 2rem 2.25rem 0;
  gap: 0.75rem;
}
.ae-principle:not(:first-child) {
  padding-left: 2rem;
}
.ae-principle-title {
  font-size: 1rem;
  line-height: 1.15;
}
.ae-principle-body {
  font-size: 0.875rem;
  line-height: 1.65;
}
.ae-stat {
  padding: 2.5rem 1.75rem;
  gap: 0.5rem;
}
.ae-stat:first-child {
  padding-left: 0;
}
.ae-stat-num {
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
}
@media (max-width: 1024px) {
  .ae-manifesto {
    gap: 1.5rem;
    padding-bottom: 2.5rem;
  }
  .ae-principle {
    padding: 2rem 0;
  }
  .ae-stat {
    padding: 2rem 1.25rem;
  }
}
@media (max-width: 768px) {
  .about-editorial-section {
    padding: 3.5rem 1.5rem 0;
  }
  .ae-headline {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }
  .ae-stat {
    padding: 2rem 1.25rem;
  }
  .ae-stat-num {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }
}
/* =====================================================================
   PEJ v2 — presentation card grid
   ===================================================================== */
/* 3-column card grid instead of vertical strip */
.pej-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
  margin-top: 2.5rem;
  padding-bottom: 1.5rem;
}
/* Each card is a flex column */
.pej-item,
.pej-item--even {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background-color: var(--narrow-bg-primary);
  border: 1px solid var(--narrow-border);
  border-radius: 20px;
  overflow: hidden;
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
  grid-template-columns: unset;
}
.pej-item:hover {
  box-shadow: 0 16px 48px rgba(38, 35, 34, 0.11);
  transform: translateY(-4px);
  background-color: var(--narrow-bg-primary);
}
/* Reset even-item overrides */
.pej-item--even .pej-media {
  order: unset;
}
.pej-item--even .pej-content {
  order: unset;
  border-left: none;
  border-right: none;
}
/* Media: 16:9 header area */
.pej-media {
  aspect-ratio: 16 / 9;
  min-height: 0;
  flex-shrink: 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Content: fills remaining card height */
.pej-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.75rem 1.4rem;
  border-left: none;
  border-right: none;
  border-top: 1px solid var(--narrow-border);
  background-color: var(--narrow-bg-primary);
}
.pej-content-top {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pej-title {
  font-size: clamp(1.25rem, 1.6vw, 1.6rem);
  margin: 0;
}
.pej-copy {
  font-size: 0.875rem;
  line-height: 1.7;
}
/* Metric sits at bottom of content */
.pej-metric {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--narrow-border);
}
/* Details panel: inside card (grid-column reset) */
.pej-details {
  grid-column: unset;
  background-color: var(--narrow-bg-secondary);
}
/* Category filter chip: cursor + hover states */
.projects-category-chip {
  cursor: pointer;
  user-select: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.projects-category-chip:hover:not(.active) {
  background-color: rgba(38, 35, 34, 0.07);
  border-color: rgba(38, 35, 34, 0.25);
  color: var(--narrow-text-primary);
}
/* Hidden state for filtered-out items */
.pej-item.pej-hidden {
  display: none !important;
}
/* Responsive overrides */
@media (max-width: 1024px) {
  .pej-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .pej-item,
  .pej-item--even {
    grid-template-columns: unset;
    min-height: 0;
  }
}
@media (max-width: 640px) {
  .pej-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pej-item,
  .pej-item--even {
    border-radius: 16px;
  }
  .pej-content {
    padding: 1.4rem 1.5rem 1.25rem;
  }
}
/* =====================================================================
   HT-COMPARE-TABLE — brand strategy before/after rows
   ===================================================================== */
.ht-compare-table {
  margin-top: 1.5rem;
  border: 1px solid var(--narrow-border);
  border-radius: 16px;
  overflow: hidden;
}
.ht-compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid var(--narrow-border);
}
.ht-ch-col {
  padding: 1.1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.ht-ch-before {
  background: rgba(38, 35, 34, 0.03);
  border-right: 1px solid var(--narrow-border);
}
.ht-ch-after {
  background: var(--narrow-bg-primary);
}
.ht-ch-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
}
.ht-ch-after .ht-ch-title {
  color: var(--narrow-accent);
}
.ht-ch-sub {
  font-size: 0.72rem;
  color: var(--narrow-text-secondary);
  opacity: 0.5;
}
.ht-cr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--narrow-border);
}
.ht-cr:last-child {
  border-bottom: none;
}
.ht-cr-cell {
  padding: 1.35rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.ht-cr-before {
  background: rgba(38, 35, 34, 0.02);
  border-right: 1px solid var(--narrow-border);
}
.ht-cr-after {
  background: var(--narrow-bg-primary);
}
.ht-cr-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(38, 35, 34, 0.35);
  display: block;
}
.ht-cr-after .ht-cr-label {
  color: var(--narrow-accent);
}
.ht-cr-text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--narrow-text-secondary);
  margin: 0;
}
.ht-cr-after .ht-cr-text {
  color: var(--narrow-text-primary);
}
@media (max-width: 640px) {
  .ht-compare-head,
  .ht-cr {
    grid-template-columns: 1fr;
  }
  .ht-ch-before,
  .ht-cr-before {
    border-right: none;
    border-bottom: 1px solid var(--narrow-border);
  }
  .ht-ch-col,
  .ht-cr-cell {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
/* ============================================================
   sv-three-sec — 3-second test section (brand identity)
   ============================================================ */
.sv-three-sec {
  padding: 6rem 2.5rem;
  border-top: 1px solid var(--narrow-border);
  border-bottom: 1px solid var(--narrow-border);
}
.sv-three-sec-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.tsec-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
  border: 1px solid var(--narrow-border);
  border-radius: 20px;
  overflow: hidden;
}
.tsec-level {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--narrow-border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}
.tsec-level:last-child {
  border-right: none;
}
.tsec-level--accent {
  background: linear-gradient(
    135deg,
    rgba(255, 120, 79, 0.05) 0%,
    transparent 100%
  );
}
.tsec-num {
  width: 2rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--narrow-accent);
  padding-top: 0.3rem;
  flex-shrink: 0;
}
.tsec-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tsec-time {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  opacity: 0.6;
}
.tsec-heading {
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--narrow-text-primary);
  margin: 0.25rem 0 0;
}
.tsec-quote {
  font-size: 0.875rem;
  color: var(--narrow-text-secondary);
  font-style: italic;
  line-height: 1.55;
  margin: 0.25rem 0 0;
}
.tsec-desc {
  font-size: 0.8125rem;
  color: var(--narrow-text-secondary);
  line-height: 1.7;
  margin: 0.25rem 0 0.5rem;
  opacity: 0.75;
}
.tsec-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--narrow-border);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
}
.tsec-badge--accent {
  background: var(--narrow-accent);
  border-color: var(--narrow-accent);
  color: #fff;
}
/* ============================================================
   cs-compare — chaos vs system visual (brand strategy)
   ============================================================ */
.cs-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.cs-panel {
  border: 1px solid var(--narrow-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cs-panel--system {
  border-color: rgba(255, 120, 79, 0.35);
}
.cs-panel-label {
  padding: 1.5rem 2rem 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  opacity: 0.7;
}
.cs-panel--system .cs-panel-label {
  color: var(--narrow-accent);
  opacity: 1;
}
.cs-visual {
  flex: 1;
  min-height: 180px;
  position: relative;
  margin: 1rem 1.5rem;
  border-radius: 12px;
  overflow: hidden;
}
.cs-visual--chaos {
  background: linear-gradient(
    135deg,
    rgba(38, 35, 34, 0.06) 0%,
    rgba(38, 35, 34, 0.02) 100%
  );
}
.cs-visual--system {
  background: linear-gradient(
    160deg,
    rgba(255, 90, 30, 0.1) 0%,
    rgba(255, 247, 236, 0.4) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-panel-desc {
  padding: 1.25rem 2rem 1.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--narrow-text-secondary);
  border-top: 1px solid var(--narrow-border);
  margin: 0;
}
.cs-panel--system .cs-panel-desc {
  color: var(--narrow-text-primary);
}
/* Brick wall layout for cs-visual--system */
.cs-brick-wall {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  width: 78%;
  max-width: 200px;
}
.cs-brow {
  display: flex;
  gap: 4px;
}
.cs-brow--offset {
  padding-left: 22px;
}
.cs-brick {
  height: 20px;
  border-radius: 3px;
  flex: 1;
  transition: opacity 0.2s ease;
}
.cs-panel--system:hover .cs-brick {
  opacity: 0.85;
}
@media (max-width: 780px) {
  .tsec-levels {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .tsec-level {
    border-right: none;
    border-bottom: 1px solid var(--narrow-border);
  }
  .tsec-level:last-child {
    border-bottom: none;
  }
  .sv-three-sec {
    padding: 4rem 1.25rem;
  }
}
@media (max-width: 640px) {
  .cs-compare {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   ws-anatomy — three-layer website anatomy (web page)
   NEW: strata / cross-section design, dark background
   ============================================================ */
/* ─── ws-dotfield — interactive Preact dot-slash canvas ──────────── */
.ws-dotfield {
  background: var(--narrow-bg-primary);
  padding: 6rem 0;
  border-bottom: 1px solid rgba(255, 247, 236, 0.06);
}
.ws-dotfield-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.ws-dotfield-header {
  text-align: center;
}
.ws-dotfield-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--narrow-text-light);
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0.85rem;
  line-height: 1.15;
}
.ws-dotfield-intro {
  font-size: 1rem;
  color: rgba(255, 247, 236, 0.45);
  margin: 0;
}
#ws-dot-mount {
  width: 100%;
}
.ws-dot-canvas {
  width: 100%;
  height: 340px;
  display: block;
  cursor: default;
  border-radius: 16px;
  border: 1px solid rgba(255, 247, 236, 0.07);
}
@media (max-width: 640px) {
  .ws-dot-canvas {
    height: 240px;
  }
}
/* ─── ws-anatomy ─────────────────────────────────────────────────── */
.ws-anatomy {
  padding: 0 2.5rem 6rem;
  background: var(--narrow-bg-primary);
}
.ws-anatomy-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 5rem;
}
.ws-anatomy-header {
  max-width: 580px;
  margin-bottom: 4rem;
}
.ws-anatomy-title {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--narrow-text-primary);
  margin: 0.5rem 0 1rem;
}
.ws-anatomy-intro {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--narrow-text-secondary);
  margin: 0;
}
/* Strata container — vertical stack, bottom to top (01=backend first) */
.ws-strata {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--narrow-border);
  border-radius: 20px;
  overflow: hidden;
}
/* Individual stratum */
.ws-stratum {
  display: grid;
  grid-template-columns: 72px 1fr 280px;
  border-bottom: 1px solid var(--narrow-border);
  position: relative;
  transition: background 0.25s ease;
}
.ws-stratum:last-child {
  border-bottom: none;
}
/* Depth cues — bottom heaviest, top lightest */
.ws-stratum--backend {
  background: rgba(38, 35, 34, 0.04);
}
.ws-stratum--ux {
  background: rgba(38, 35, 34, 0.02);
}
.ws-stratum--ui {
  background: var(--narrow-bg-primary);
}
.ws-stratum:hover {
  background: rgba(255, 120, 79, 0.04) !important;
}
/* Large number badge on left edge */
.ws-stratum-num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: rgba(38, 35, 34, 0.25);
  border-right: 1px solid var(--narrow-border);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 2rem 0;
  user-select: none;
}
.ws-stratum--backend .ws-stratum-num {
  color: rgba(255, 120, 79, 0.6);
}
/* Main body — label + title + desc + list */
.ws-stratum-body {
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ws-stratum-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ws-stratum-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--narrow-accent);
}
.ws-stratum-title {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--narrow-text-primary);
  margin: 0;
}
.ws-stratum-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--narrow-text-secondary);
  margin: 0;
  max-width: 460px;
}
.ws-stratum-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 2rem;
}
.ws-stratum-list li {
  font-size: 0.8125rem;
  color: var(--narrow-text-secondary);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.ws-stratum-list li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--narrow-accent);
  font-size: 0.75rem;
  line-height: 1.5;
  opacity: 0.7;
}
/* Visual panel on right */
.ws-stratum-visual {
  border-left: 1px solid var(--narrow-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
  position: relative;
}
/* Backend: hex dot grid */
.ws-sv-hex-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 200px;
}
.ws-sv-hex-grid span {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(38, 35, 34, 0.08);
  justify-self: center;
}
.ws-sv-hex-grid span.accent {
  background: rgba(255, 120, 79, 0.55);
  box-shadow: 0 0 10px rgba(255, 120, 79, 0.25);
}
/* UX: vertical flow chains */
.ws-stratum-visual--ux {
  gap: 1.5rem;
}
.ws-sv-flow-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.ws-sv-fnode {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(38, 35, 34, 0.12);
  flex-shrink: 0;
}
.ws-sv-fnode.accent {
  background: var(--narrow-accent);
  box-shadow: 0 0 8px rgba(255, 120, 79, 0.4);
}
.ws-sv-fedge {
  width: 1px;
  height: 18px;
  background: rgba(38, 35, 34, 0.1);
  flex-shrink: 0;
}
/* UI: browser mockup */
.ws-sv-screen {
  width: 180px;
  border: 1px solid var(--narrow-border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--narrow-bg-primary);
  display: flex;
  flex-direction: column;
}
.ws-sv-topbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--narrow-border);
  background: rgba(38, 35, 34, 0.03);
}
.ws-sv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(38, 35, 34, 0.15);
}
.ws-sv-dot.accent {
  background: var(--narrow-accent);
  opacity: 0.8;
}
.ws-sv-hero-block {
  height: 44px;
  margin: 10px;
  border-radius: 6px;
  background: rgba(38, 35, 34, 0.06);
}
.ws-sv-hero-block.accent {
  background: rgba(255, 120, 79, 0.2);
}
.ws-sv-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 10px 8px;
}
.ws-sv-lines div {
  height: 6px;
  border-radius: 3px;
  background: rgba(38, 35, 34, 0.08);
}
.ws-sv-lines div.short {
  width: 60%;
}
.ws-sv-cta-btn {
  height: 22px;
  margin: 0 10px 12px;
  border-radius: 4px;
  background: rgba(255, 120, 79, 0.35);
  width: 70px;
}
@media (max-width: 1024px) {
  .ws-stratum {
    grid-template-columns: 48px 1fr 220px;
  }
}
@media (max-width: 780px) {
  .ws-stratum {
    grid-template-columns: 36px 1fr;
  }
  .ws-stratum-visual {
    display: none;
  }
  .ws-stratum-list {
    grid-template-columns: 1fr;
  }
  .ws-anatomy {
    padding: 4rem 1.25rem;
  }
}
/* ============================================================
   LEGAL PAGES — Privacy, Terms, Cookies
   ============================================================ */
.legal-hero {
  padding: 7rem 0 3.5rem;
  background: var(--narrow-bg-secondary);
  color: var(--narrow-text-light);
}
.legal-hero-inner {
  max-width: 860px;
}
.legal-hero-tag {
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--narrow-accent);
  background: rgba(255, 120, 79, 0.12);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.legal-hero-title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--narrow-text-light);
}
.legal-hero-meta {
  font-size: 0.8125rem;
  color: rgba(255, 247, 236, 0.45);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}
.legal-hero-meta-sep {
  opacity: 0.4;
}
/* Body section */
.legal-body-section {
  padding: 5rem 0 6rem;
  background: var(--narrow-bg-primary);
}
.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1060px;
}
/* Sticky TOC sidebar */
.legal-toc {
  position: sticky;
  top: 5rem;
}
.legal-toc-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--narrow-text-secondary);
  margin-bottom: 0.75rem;
}
.legal-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.legal-toc-list a {
  display: block;
  font-size: 0.8125rem;
  color: var(--narrow-text-secondary);
  padding: 0.35rem 0;
  text-decoration: none;
  border-left: 2px solid var(--narrow-border);
  padding-left: 0.85rem;
  transition:
    color 0.18s,
    border-color 0.18s;
  line-height: 1.4;
}
.legal-toc-list a:hover {
  color: var(--narrow-accent);
  border-left-color: var(--narrow-accent);
}
/* Articles */
.legal-articles {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
.legal-article {
  border-top: 1px solid var(--narrow-border);
  padding-top: 2.5rem;
}
.legal-article:first-child {
  border-top: none;
  padding-top: 0;
}
.legal-article-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--narrow-accent);
  margin-bottom: 0.4rem;
}
.legal-article-title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--narrow-text-primary);
  margin: 0 0 1.25rem;
}
.legal-article-body {
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--narrow-text-secondary);
}
.legal-article-body p {
  margin: 0 0 1rem;
}
.legal-article-body p:last-child {
  margin-bottom: 0;
}
.legal-article-body ul {
  margin: 0.75rem 0 1rem;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.legal-article-body ul li {
  padding-left: 1.5rem;
  position: relative;
}
.legal-article-body ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--narrow-accent);
  font-weight: 700;
}
.legal-article-body a {
  color: var(--narrow-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 120, 79, 0.4);
  transition: border-color 0.18s;
}
.legal-article-body a:hover {
  border-color: var(--narrow-accent);
}
/* Contact CTA at bottom */
.legal-cta {
  margin-top: 4rem;
  padding: 2rem 2.5rem;
  background: var(--narrow-bg-secondary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.legal-cta-text {
  font-size: 0.9375rem;
  color: rgba(255, 247, 236, 0.7);
  line-height: 1.55;
}
.legal-cta-text strong {
  display: block;
  font-size: 1.0625rem;
  color: var(--narrow-text-light);
  margin-bottom: 0.25rem;
}
@media (max-width: 860px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .legal-toc {
    position: static;
  }
  .legal-toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .legal-toc-list a {
    border-left: none;
    border-bottom: 2px solid var(--narrow-border);
    padding-left: 0;
    padding-bottom: 0.35rem;
  }
  .legal-toc-list a:hover {
    border-bottom-color: var(--narrow-accent);
    border-left-color: transparent;
  }
}
@media (max-width: 640px) {
  .legal-cta {
    flex-direction: column;
    gap: 1.25rem;
  }
  .legal-hero {
    padding: 5rem 0 2.5rem;
  }
}
/* ============================================================
   HERO ENTRANCE ANIMATIONS — homepage only (1.23)
   ============================================================ */
.hero-slash-wrap {
  display: none;
}
.hero-anim-slash {
  position: relative;
  z-index: 3;
  pointer-events: none;
  user-select: none;
  font-size: clamp(7rem, 14vw, 14rem);
}
.hero-anim-slash::before {
  content: '';
}
/* Clean horizontal cut at both edges — scales with the oversized font */
.hero-main-content .sv-slash-wrap {
  clip-path: inset(14% 0px);
}
/* Pre-animation: keep elements hidden until body.hero-animated is added */
body.narrow-home-page:not(.hero-animated) .hero-anim-slash,
body.home:not(.hero-animated) .hero-anim-slash {
  opacity: 0;
}
/* Keyframes */
@keyframes narrowNavIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes narrowSlashIn {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes narrowHeroMainIn {
  from {
    opacity: 0;
    transform: translate(calc(-50% + 20px + 90px), calc(-50% + 90px));
  }
  to {
    opacity: 1;
    transform: translate(calc(-50% + 20px), calc(-50% + 90px));
  }
}
@keyframes narrowHeroSideIn {
  from {
    opacity: 0;
    transform: translateX(calc(-160% + 900px)) translateY(150px);
  }
  to {
    opacity: 1;
    transform: translateX(calc(-160% + 900px)) translateY(0);
  }
}
/* Triggered by body.hero-animated */
body.hero-animated .site-header {
  animation: narrowNavIn 0.6s ease 0.1s both;
}
body.hero-animated .hero-anim-slash {
  animation: narrowSlashIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}
body.hero-animated .hero-main-content {
  animation: narrowHeroMainIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}
body.hero-animated .hero-side-box {
  animation: narrowHeroSideIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.85s both;
}
/* ============================================================
    1.24 FINAL OVERRIDES
    ============================================================ */
html.narrow-intro-pending,
html.narrow-intro-pending body {
  overflow: hidden;
  background-color: #fff7ec;
}
html.narrow-intro-pending body > * {
  visibility: hidden;
}
html.narrow-intro-pending body > #narrow-intro {
  visibility: visible;
  display: flex !important;
  opacity: 1;
}
#narrow-intro {
  transition: opacity 1.5s ease;
}
body.narrow-home-page .hero-section,
body.home .hero-section,
body.narrow-home-page .hero-video-wrap,
body.home .hero-video-wrap {
  background-color: #fff7ec;
}
body.narrow-home-page .hero-overlay,
body.home .hero-overlay {
  background: transparent;
}
body.narrow-home-page .hero-headline,
body.home .hero-headline,
body.narrow-home-page .hero-side-box p,
body.home .hero-side-box p {
  color: #2a2827;
  text-shadow: none;
}
body.narrow-home-page .hero-anim-slash,
body.home .hero-anim-slash {
  z-index: 4;
}
body.narrow-home-page:not(.hero-animated) .hero-main-content,
body.home:not(.hero-animated) .hero-main-content,
body.narrow-home-page:not(.hero-animated) .hero-side-box,
body.home:not(.hero-animated) .hero-side-box {
  opacity: 0;
}
@keyframes narrowSlashIn {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
.bts-title .bts-title-line,
.sv-transform-title .sv-transform-line {
  display: block;
  white-space: nowrap;
}
@keyframes narrowHeroMainIn {
  from {
    opacity: 0;
    transform: translate(calc(-50% + 20px - 90px), calc(-50% + 90px));
  }
  to {
    opacity: 1;
    transform: translate(calc(-50% + 20px), calc(-50% + 90px));
  }
}
.sv-hero-tag::before {
  content: none !important;
  display: none !important;
}
.projects-kicker {
  margin: 0;
  max-width: none;
  white-space: nowrap;
}
.section-label,
.section-tag {
  margin-bottom: 24px !important;
}
.tech-title,
.roadmap-title,
.sv-transform-title,
.sv-process-title,
.sv-deliverables-heading,
.ws-anatomy-title,
.compare-title,
.ht-title {
  margin-top: 0 !important;
}
.vp-header,
.portfolio-split-head,
.ae-top-row,
.section-top-row {
  margin-bottom: 10px !important;
}

/* =============================================
   Portfolio Logos / Client Brands Grid (pfl)
   ============================================= */
.pfl-section {
  background: var(--narrow-bg-primary);
}
.pfl-section .section-top-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.pfl-section .section-top-row .section-tag {
  margin-bottom: 24px;
}
.pfl-heading {
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--narrow-text-primary);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
}
.pfl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.5rem;
  border: 1px solid rgba(38, 35, 34, 0.1);
  border-radius: 12px;
  overflow: hidden;
}
/* pfl cards — no inner borders, orange slash separator */
.pfl-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 1.25rem 1.25rem;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  text-align: left;
  transition: none;
  position: relative;
  min-height: 168px;
  border-radius: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  outline: 0;
  box-shadow: none !important;
  overflow: visible;
}
.pfl-card:focus-visible {
  outline: 0;
}
.pfl-card:focus,
.pfl-card:hover,
.pfl-card:active,
.pfl-card.is-active {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* 2px diagonal separator kept within the button height */
.pfl-card:not(:nth-child(4n))::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 10px;
  height: calc(100% - 16px);
  width: 2px;
  background: var(--narrow-accent);
  transform: rotate(9.6deg);
  transform-origin: center;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
}
.pfl-card:nth-child(4n) {
  border-right: none;
}
/* Row separator between the two rows of 4 cards */
.pfl-card:nth-child(-n+4) {
  border-bottom: 1px solid rgba(38, 35, 34, 0.2) !important;
}
.pfl-card.is-active {
  background: transparent;
}
.pfl-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: var(--narrow-bg-secondary);
  opacity: 0.45;
  transition: none;
  flex: 0 0 auto;
  min-height: 4.5rem;
  pointer-events: none;
}
.pfl-card.is-active .pfl-card-logo {
  opacity: 0.45;
}
.pfl-card-logo svg {
  max-height: 2rem;
  width: auto;
  max-width: 110px;
  margin: 0 auto;
}
.pfl-card-logo-test {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.pfl-card-logo-image {
  display: block;
  width: auto;
  height: 1.55rem;
  max-width: 126px;
  object-fit: contain;
}
.pfl-card-name {
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(38, 35, 34, 0.3);
  display: block;
  margin: 0;
  position: absolute;
  top: 1rem;
  right: 1rem;
  max-width: calc(100% - 2rem);
  text-align: right;
}
.pfl-card-cat {
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(38, 35, 34, 0.45);
  display: block;
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
}
/* Expand panel — animated orange slab */
.pfl-expand {
  grid-column: 1 / -1;
  overflow: hidden;
  max-height: 0;
  background: var(--narrow-bg-secondary);
  position: relative;
  transition: max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}
.pfl-expand.is-open {
  max-height: 190px;
}
/* Orange slab: right 78%, skewed left edge, slides in from right */
.pfl-expand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--narrow-accent);
  clip-path: polygon(calc(22% + 24px) 0%, 100% 0%, 100% 100%, 22% 100%);
  transform: translateX(79%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
.pfl-expand.is-open::before {
  transform: translateX(0);
}
/* Content row: logo (dark) | content on orange | close btn */
.pfl-expand-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 24% 1fr auto;
  align-items: center;
  height: 190px;
  padding-right: 2.5rem;
  opacity: 0;
  transition: opacity 0.14s ease 0s;
}
.pfl-expand.is-open .pfl-expand-row {
  opacity: 1;
  transition-delay: 0.18s;
}
/* Logo area — sits in the dark left column */
.pfl-expand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--narrow-bg-primary);
  opacity: 0.65;
}
.pfl-expand-logo .pfl-card-logo-test {
  align-items: center;
}
.pfl-expand-logo .pfl-card-logo-image {
  height: 1.65rem;
  max-width: 140px;
}
.pfl-expand-logo svg {
  max-height: 2.25rem;
  width: auto;
  max-width: 120px;
}
.pfl-expand-content {
  padding: 1.75rem 2rem 1.75rem 40px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.pfl-expand-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}
.pfl-expand-cat {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.65);
}
.pfl-expand-tag {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.45);
}
.pfl-expand-name {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--narrow-bg-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  display: block;
}
.pfl-expand-desc {
  font-size: 0.875rem;
  color: rgba(255, 247, 236, 0.75);
  line-height: 1.6;
  margin: 0.2rem 0 0;
  max-width: 55ch;
}
.pfl-expand-close {
  display: none;
}
/* Fast fade when switching cards — no slab slide-back */
.pfl-expand.is-switching::before {
  transition: opacity 0.12s ease !important;
  transform: translateX(0);
  opacity: 0;
}
.pfl-expand.is-switching .pfl-expand-row {
  transition: opacity 0.12s ease !important;
  opacity: 0;
}
@media (max-width: 900px) {
  .pfl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pfl-card:not(:nth-child(4n))::after {
    display: none;
  }
  .pfl-card:not(:nth-child(2n))::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 10px;
    height: calc(100% - 16px);
    width: 2px;
    background: var(--narrow-accent);
    transform: rotate(9.6deg);
    transform-origin: center;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
  }
  .pfl-expand-row {
    grid-template-columns: 28% 1fr;
  }
}
@media (max-width: 540px) {
  .pfl-expand.is-open {
    max-height: 260px;
  }
  .pfl-expand-row {
    grid-template-columns: 5% 1fr auto;
  }
  .pfl-expand::before {
    clip-path: polygon(20px 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  .pfl-expand-close {
    display: none;
  }
}

/* Final desktop heading lock-in */
@media (min-width: 769px) {
  .services-section-heading,
  .ae-headline,
  .about-editorial-section .ae-headline {
    font-size: 3.25rem !important;
  }
}

/* =====================================================================
   NBU DIPLOMA PAGE  (nbu-)
   Target: Тотал Графичен Дизайн, дипломна работа, НБУ
   ===================================================================== */

/* --- Proof / portfolio gallery --- */
.nbu-proof {
  padding: 6rem 2.5rem;
  background: var(--narrow-bg-primary);
}
.nbu-proof-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.nbu-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(38, 35, 34, 0.1);
  margin-top: 3rem;
}
.nbu-proof-item {
  background: var(--narrow-bg-primary);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.nbu-proof-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.72;
  transition:
    opacity 0.4s ease,
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.nbu-proof-item:hover .nbu-proof-img {
  opacity: 1;
  transform: scale(1.03);
}
.nbu-proof-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 1.5rem 1.25rem;
  background: linear-gradient(to top, rgba(38, 35, 34, 0.92) 0%, transparent 100%);
  transform: translateY(12px);
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.nbu-proof-item:hover .nbu-proof-overlay {
  opacity: 1;
  transform: translateY(0);
}
.nbu-proof-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--narrow-accent);
  display: block;
  margin-bottom: 0.3rem;
}
.nbu-proof-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--narrow-bg-primary);
  margin: 0;
  letter-spacing: -0.02em;
}
/* Placeholder slot — shown when no real image is set */
.nbu-proof-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
}
.nbu-proof-placeholder-icon {
  font-size: 2rem;
  color: rgba(38, 35, 34, 0.3);
  display: block;
}
.nbu-proof-placeholder-text {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(38, 35, 34, 0.2);
  text-align: center;
}

/* --- Diploma directions grid (what we help with) --- */
.nbu-directions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--narrow-border);
  border: 1px solid var(--narrow-border);
  margin-top: 3rem;
  border-radius: 16px;
  overflow: hidden;
}
.nbu-direction {
  background: var(--narrow-bg-primary);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s ease;
}
.nbu-direction:hover {
  background: rgba(255, 120, 79, 0.035);
}
.nbu-direction-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--narrow-accent);
}
.nbu-direction-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--narrow-text-primary);
  margin: 0;
}
.nbu-direction-body {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--narrow-text-secondary);
  margin: 0;
}

/* --- FAQ --- */
.nbu-faq {
  padding: 6rem 2.5rem;
  background: var(--narrow-bg-primary);
}
.nbu-faq-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 5vw, 7rem);
  align-items: start;
}
.nbu-faq-heading {
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--narrow-text-primary);
  margin: 0.75rem 0 0;
  position: sticky;
  top: 6rem;
}
.nbu-faq-sub {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--narrow-text-secondary);
  margin: 1rem 0 0;
}
.nbu-faq-list {
  border-top: 1px solid var(--narrow-border);
}
.nbu-faq-item {
  border-bottom: 1px solid var(--narrow-border);
}
.nbu-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--narrow-text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s ease;
}
.nbu-faq-q:hover {
  color: var(--narrow-accent);
}
.nbu-faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--narrow-accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s ease;
}
.nbu-faq-item.is-open .nbu-faq-icon {
  transform: rotate(45deg);
}
.nbu-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nbu-faq-item.is-open .nbu-faq-a {
  max-height: 400px;
}
.nbu-faq-a-inner {
  padding: 0 2rem 1.5rem 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--narrow-text-secondary);
}

/* --- Contact section --- */
.nbu-contact {
  padding: 6rem 2.5rem;
  background: var(--narrow-bg-secondary);
}
.nbu-contact-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}
.nbu-contact-info {
  position: sticky;
  top: 6rem;
}
.nbu-contact-heading {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--narrow-bg-primary);
  margin: 0.75rem 0 1.5rem;
}
.nbu-contact-sub {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 247, 236, 0.45);
  margin: 0 0 2.5rem;
}
.nbu-contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 247, 236, 0.08);
}
.nbu-contact-detail:last-of-type {
  border-bottom: 1px solid rgba(255, 247, 236, 0.08);
}
.nbu-contact-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--narrow-accent);
}
.nbu-contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--narrow-bg-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nbu-contact-value:hover {
  color: var(--narrow-accent);
}

/* --- Form --- */
.nbu-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.nbu-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.nbu-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.nbu-form-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 247, 236, 0.4);
}
.nbu-form-input,
.nbu-form-textarea,
.nbu-form-select {
  background: rgba(255, 247, 236, 0.04);
  border: 1px solid rgba(255, 247, 236, 0.12);
  padding: 0.875rem 1.1rem;
  color: var(--narrow-bg-primary);
  font-size: 0.9rem;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.nbu-form-input::placeholder,
.nbu-form-textarea::placeholder {
  color: rgba(255, 247, 236, 0.18);
}
.nbu-form-input:focus,
.nbu-form-textarea:focus,
.nbu-form-select:focus {
  outline: none;
  border-color: var(--narrow-accent);
}
.nbu-form-textarea {
  resize: vertical;
  min-height: 110px;
}
.nbu-form-select option {
  background: var(--narrow-bg-secondary);
  color: var(--narrow-bg-primary);
}

/* File upload area */
.nbu-upload-area {
  border: 1.5px dashed rgba(255, 247, 236, 0.16);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.nbu-upload-area:hover {
  border-color: var(--narrow-accent);
  background: rgba(255, 120, 79, 0.04);
}
.nbu-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.nbu-upload-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 247, 236, 0.2);
}
.nbu-upload-text {
  font-size: 0.78rem;
  color: rgba(255, 247, 236, 0.3);
  line-height: 1.5;
}
.nbu-upload-text strong {
  color: var(--narrow-accent);
  font-weight: 700;
}
.nbu-form-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--narrow-accent);
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}
.nbu-form-submit:hover {
  background: #e8663f;
  transform: translateY(-1px);
}
.nbu-form-note {
  font-size: 0.7rem;
  color: rgba(255, 247, 236, 0.22);
  text-align: center;
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .nbu-directions {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .nbu-proof-grid {
    grid-template-columns: 1fr;
  }
  .nbu-faq-inner {
    grid-template-columns: 1fr;
  }
  .nbu-faq-heading {
    position: static;
  }
  .nbu-contact-inner {
    grid-template-columns: 1fr;
  }
  .nbu-contact-info {
    position: static;
  }
  .nbu-directions {
    grid-template-columns: 1fr;
  }
  .nbu-form-row {
    grid-template-columns: 1fr;
  }
}
/* --- ����� ���������  nbu-kit editorial list --- */
.nbu-kit {
  padding: 6rem 2.5rem;
  background: var(--narrow-bg-primary);
}
.nbu-kit-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.nbu-kit-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 2rem;
}
.nbu-kit-title {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--narrow-text-primary);
  margin: 0;
}
.nbu-kit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--narrow-border);
}
.nbu-kit-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr 14rem;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--narrow-border);
  transition: background 0.2s ease;
}
.nbu-kit-item:hover {
  background: rgba(38, 35, 34, 0.02);
}
.nbu-kit-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--narrow-accent);
}
.nbu-kit-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.nbu-kit-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--narrow-text-primary);
  margin: 0;
}
.nbu-kit-text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--narrow-text-secondary);
  margin: 0;
}
.nbu-kit-tag {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(38, 35, 34, 0.3);
  text-align: right;
}
@media (max-width: 700px) {
  .nbu-kit-head {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .nbu-kit-item {
    grid-template-columns: 2.5rem 1fr;
  }
  .nbu-kit-tag {
    display: none;
  }
}

/* ================================================================
   NAV — base overrides
   ================================================================ */
body {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ================================================================
   BLOG PREVIEW SECTION
   ================================================================ */
.blog-preview-section {
  background-color: var(--narrow-bg-primary);
  padding: 80px 2.5rem;
}

.bp-title {
  font-size: clamp(1.75rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--narrow-text-primary);
  margin: 0 0 2.5rem;
}

.bp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.bp-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(38, 35, 34, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.bp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(38, 35, 34, 0.12);
}

.bp-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.bp-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--narrow-bg-secondary);
}

.bp-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.bp-card:hover .bp-card-thumb img {
  transform: scale(1.04);
}

.bp-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--narrow-bg-secondary) 0%, #3a3533 100%);
}

.bp-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.bp-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--narrow-accent);
}

.bp-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--narrow-text-primary);
  margin: 0;
  flex: 1;
}

.bp-card-date {
  font-size: 0.75rem;
  color: rgba(38, 35, 34, 0.45);
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .bp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .bp-grid {
    grid-template-columns: 1fr;
  }

  .bp-head {
    flex-direction: column;
    gap: 0.75rem;
  }
}
/* ============================================
   SERVICES CALCULATOR SECTION
   ============================================ */
.svc-calc-section {
  background: var(--narrow-bg-primary);
  padding: 80px 0;
}
.svc-calc-title {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--narrow-text-primary);
  margin: 0 0 0.75rem;
  line-height: 1.1;
}
.svc-calc-subtitle {
  font-size: 1rem;
  color: rgba(38, 35, 34, 0.55);
  margin: 0 0 3rem;
}
/* Two-column layout: panel left, buttons right */
.svc-calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2rem;
}
/* LEFT: selected items panel */
.svc-calc-panel {
  border: 1.5px solid rgba(38, 35, 34, 0.12);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: sticky;
  top: 5rem;
  min-height: 320px;
}
.svc-calc-panel-head {
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid rgba(38, 35, 34, 0.08);
  background: rgba(255, 120, 79, 0.05);
}
.svc-calc-panel-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--narrow-accent);
}
.svc-calc-empty-state {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}
.svc-calc-empty-state.is-hidden {
  display: none;
}
.svc-calc-empty-txt {
  font-size: 0.875rem;
  color: rgba(38, 35, 34, 0.38);
  text-align: center;
  margin: 0;
}
.svc-calc-items-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.5rem;
  flex: 1;
}
.svc-calc-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(38, 35, 34, 0.06);
  gap: 0.75rem;
}
.svc-calc-item-row:last-child {
  border-bottom: none;
}
.svc-calc-item-name {
  font-size: 0.875rem;
  color: var(--narrow-text-primary);
  font-weight: 500;
}
.svc-calc-item-dur {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--narrow-accent);
  white-space: nowrap;
}
.svc-calc-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.125rem 1.5rem;
  border-top: 1px solid rgba(38, 35, 34, 0.1);
}
.svc-calc-total-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(38, 35, 34, 0.4);
}
.svc-calc-result-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--narrow-text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0;
  text-align: right;
}
/* RIGHT: buttons 2-column grid */
.svc-calc-buttons-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-content: start;
}
.svc-calc-instruction {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(38, 35, 34, 0.45);
  margin: 0 0 0.25rem;
}
.svc-calc-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border: 1.5px solid rgba(38, 35, 34, 0.12);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
}
.svc-calc-btn:hover {
  border-color: var(--narrow-accent);
  background: rgba(255, 120, 79, 0.04);
}
.svc-calc-btn.is-selected {
  border-color: var(--narrow-accent);
  background: rgba(255, 120, 79, 0.08);
}
.svc-calc-btn-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}
.svc-calc-btn-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--narrow-text-primary);
  letter-spacing: -0.01em;
}
.svc-calc-btn-weeks {
  font-size: 0.75rem;
  color: rgba(38, 35, 34, 0.45);
  font-weight: 500;
}
.svc-calc-btn.is-selected .svc-calc-btn-weeks {
  color: var(--narrow-accent);
}
.svc-calc-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid rgba(255, 120, 79, 0.4);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0;
  position: relative;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.svc-calc-btn.is-selected .svc-calc-check {
  background: var(--narrow-accent);
  border-color: var(--narrow-accent);
}
.svc-calc-btn.is-selected .svc-calc-check::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: translate(-50%, -60%) rotate(45deg);
  top: 50%;
  left: 50%;
}
.svc-calc-btn:focus,
.svc-calc-btn:focus-visible {
  outline: none;
  box-shadow: none;
}
.svc-calc-btn:focus:not(.is-selected) {
  background: transparent;
  border-color: rgba(38, 35, 34, 0.12);
}
.svc-calc-cta {
  margin-top: 0.5rem;
}
@media (max-width: 860px) {
  .svc-calc-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 540px) {
  .svc-calc-title { font-size: 2.25rem; }
  .svc-calc-buttons-col { grid-template-columns: 1fr; }
}