/* ==========================================================================
   Metros Media — Stylesheet
   BEM Methodology | No Inline Styles
   Display: Inter Tight | Body: Outfit (Google Fonts)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */

:root {
  /* Backgrounds — light theme */
  --bg-0:      #FFFFFF;
  --bg-1:      #F7F6FC;
  --bg-2:      #F0EEF8;
  --bg-card:   #FFFFFF;
  --bg-input:  #F4F3FA;

  /* Borders */
  --border:       rgba(14, 8, 40, 0.08);
  --border-2:     rgba(14, 8, 40, 0.14);
  --border-focus: rgba(46, 15, 102, 0.4);

  /* Text */
  --text-0: #0A0616;
  --text-1: #1C1433;
  --text-2: #5A5272;
  --text-3: #9990B4;
  --text-4: #C5C0D8;

  /* Brand — Deep Purple per wordmark spec */
  --brand:      #2E0F66;
  --brand-mid:  #4A1D96;
  --brand-dim:  rgba(46, 15, 102, 0.08);

  /* Accent aliases */
  --blue:       #2E0F66;
  --blue-light: #4A1D96;
  --blue-dim:   rgba(46, 15, 102, 0.08);
  --green:      #16A34A;
  --red:        #DC2626;

  /* Fonts */
  --font:         'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Inter Tight', 'Inter', -apple-system, sans-serif;

  /* Sizing */
  --nav-h:     72px;
  --max-w:     1180px;
  --pad:       clamp(20px, 5vw, 72px);

  /* Easing */
  --ease:        cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-1);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

a    { color: inherit; text-decoration: none; }
img  { display: block; max-width: 100%; }
ul   { list-style: none; }

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   Scroll Reveal
   -------------------------------------------------------------------------- */

[data-animate] {
  opacity: 0;
  transition:
    opacity  0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}

[data-animate="fade-up"]   { transform: translateY(28px); }
[data-animate="fade-left"]  { transform: translateX(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Bracket system — brand grammar
   -------------------------------------------------------------------------- */

/* Wraps any inline text in [text] using Inter Tight 900 */
.bracket {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.bracket::before { content: '['; }
.bracket::after  { content: ']'; }

/* Bracket reveal — brackets animate in when parent .is-visible */
.bracket-reveal::before,
.bracket-reveal::after {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--brand);
  opacity: 0;
  display: inline-block;
  transition:
    opacity   0.4s var(--ease-out) 0.3s,
    transform 0.4s var(--ease-out) 0.3s;
}

.bracket-reveal::before {
  content: '[';
  transform: translateX(-10px);
  margin-right: 1px;
}

.bracket-reveal::after {
  content: ']';
  transform: translateX(10px);
  margin-left: 1px;
}

.is-visible .bracket-reveal::before,
.bracket-reveal.is-visible::before {
  opacity: 1;
  transform: translateX(0);
}

.is-visible .bracket-reveal::after,
.bracket-reveal.is-visible::after {
  opacity: 1;
  transform: translateX(0);
}

/* Delay utility classes (set by JS from data-delay attribute) */
.anim-delay-80  { transition-delay:  80ms; }
.anim-delay-100 { transition-delay: 100ms; }
.anim-delay-140 { transition-delay: 140ms; }
.anim-delay-160 { transition-delay: 160ms; }
.anim-delay-180 { transition-delay: 180ms; }
.anim-delay-200 { transition-delay: 200ms; }
.anim-delay-240 { transition-delay: 240ms; }
.anim-delay-260 { transition-delay: 260ms; }
.anim-delay-280 { transition-delay: 280ms; }
.anim-delay-320 { transition-delay: 320ms; }
.anim-delay-380 { transition-delay: 380ms; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition:
    background-color 0.2s var(--ease),
    border-color     0.2s var(--ease),
    color            0.2s var(--ease),
    box-shadow       0.2s var(--ease),
    transform        0.15s var(--ease);
}

/* Bracket hover — inside the button, slide in from each edge */
.btn::before,
.btn::after {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.04em;
  line-height: 1;
  position: absolute;
  top: 50%;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity   0.22s var(--ease),
    transform 0.22s var(--ease);
}

/* [ starts left of the button's left padding, slides right to resting position */
.btn::before {
  content: '[';
  left: 12px;
  transform: translateY(-50%) translateX(-28px);
  color: var(--brand);
}

/* ] starts right of the button's right padding, slides left */
.btn::after {
  content: ']';
  right: 12px;
  transform: translateY(-50%) translateX(28px);
  color: var(--brand);
}

.btn:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* On primary (purple bg), brackets are white so they read against the fill */
.btn--primary::before,
.btn--primary::after { color: #fff; }

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  box-shadow: 0 6px 20px rgba(46, 15, 102, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border);
}
.btn--ghost:hover {
  color: var(--text-1);
  border-color: var(--border-2);
  background: rgba(14, 8, 40, 0.05);
}

.btn--outline {
  background: transparent;
  color: var(--text-1);
  border-color: var(--border-2);
}
.btn--outline:hover {
  background: rgba(14, 8, 40, 0.04);
  border-color: rgba(14, 8, 40, 0.2);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav__container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.15s;
  line-height: 1;
}
.nav__logo:hover { opacity: 0.72; }

/* Wordmark — spec: Inter Tight Black 900, lowercase, -0.04em, #2E0F66 */
.nav__wordmark {
  font-family: 'Inter Tight', 'Inter', -apple-system, sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 1;
  display: block;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.nav__link::before,
.nav__link::after {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: -0.04em;
  line-height: 1;
  position: absolute;
  top: 50%;
  color: var(--brand);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity   0.18s var(--ease),
    transform 0.18s var(--ease);
}

.nav__link::before {
  content: '[';
  left: 4px;
  transform: translateY(-50%) translateX(-16px);
}

.nav__link::after {
  content: ']';
  right: 4px;
  transform: translateY(-50%) translateX(16px);
}

.nav__link:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.nav__link:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.nav__link:hover      { color: var(--text-1); background: rgba(46, 15, 102, 0.07); }
.nav__link--active    { color: var(--text-1); }

.nav__cta { padding: 9px 20px; font-size: 13px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-1);
  border-radius: 1px;
  transition:
    transform 0.28s var(--ease),
    opacity   0.28s var(--ease);
  transform-origin: center;
}

/* Bar 2 slightly shorter for visual interest */
.nav__toggle-bar:nth-child(2) { width: 18px; }

/*
  3-bar → X geometry:
  bars are 2px tall, 5px gap → group height = 2+5+2+5+2 = 16px
  bar-1 center at 1px, bar-2 at 8px, bar-3 at 15px
  group center at 8px → bar-1 moves +7px down, bar-3 moves -7px up
*/
.nav__toggle.is-open .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 24px;
}
.nav__toggle.is-open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle.is-open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 24px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Gradient blob layer — animated by Motion (hero-blobs.js) */
.hero__blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(96px);
  will-change: transform;
  pointer-events: none;
}

.hero__blob--1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(46, 15, 102, 0.18) 0%, transparent 70%);
  top: -180px;
  left: -200px;
}

.hero__blob--2 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(74, 29, 150, 0.14) 0%, transparent 70%);
  top: 20%;
  right: -160px;
}

.hero__blob--3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(46, 15, 102, 0.10) 0%, transparent 70%);
  bottom: -100px;
  left: 35%;
}

/* CSS dot-grid background — sits above blobs, below content */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(46, 15, 102, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 20%, transparent 100%);
  animation: bg-breathe 8s ease-in-out infinite;
  pointer-events: none;
}

.hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) var(--pad) 100px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 28px;
}

.hero__kicker::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--blue);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text-0);
  margin-bottom: 28px;
}

.hero__sub {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__rule {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 36px;
}

/* Hero inline stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 40px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
  margin-right: 40px;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--text-0);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hero__stat-unit {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: -0.02em;
}

.hero__stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.03em;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 36px;
  right: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  transition: opacity 0.3s;
}

.hero__scroll-indicator--hidden { opacity: 0; }

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -44px;
  left: 0;
  width: 100%;
  height: 44px;
  background: var(--blue-light);
  animation: scroll-drip 2s ease-in-out infinite;
}

.hero__scroll-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  writing-mode: vertical-rl;
}

/* --------------------------------------------------------------------------
   Ticker / Marquee
   -------------------------------------------------------------------------- */

.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
  overflow: hidden;
  padding: 16px 0;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
}

.ticker__items {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  white-space: nowrap;
}

.ticker__item {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.ticker__sep {
  color: var(--blue);
  font-size: 16px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Services — Editorial list
   -------------------------------------------------------------------------- */

.services {
  padding: 120px 0;
  background: var(--bg-0);
}

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

.services__header {
  margin-bottom: 56px;
}

.services__heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}

.services__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-0);
  line-height: 1.1;
}

.services__all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  transition: color 0.15s, gap 0.15s;
  flex-shrink: 0;
}
.services__all-link:hover { color: var(--blue-light); gap: 10px; }

.services__sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 560px;
}

/* List rows */
.services__list {
  border-top: 1px solid var(--border);
}

.services__item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s var(--ease);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.services__item::before {
  content: '';
  position: absolute;
  inset: 0 -40px;
  background: rgba(46, 15, 102, 0.05);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.services__item:hover::before { opacity: 1; }

.services__item:hover .services__item-num  { color: var(--blue-light); }
.services__item:hover .services__item-arrow { transform: translateX(4px); color: var(--blue-light); }
.services__item:hover .services__item-title { color: var(--text-0); }

.services__item-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  color: var(--text-4);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s;
}

.services__item-num::before { content: '['; }
.services__item-num::after  { content: ']'; }
.services__item:hover .services__item-num::before,
.services__item:hover .services__item-num::after { color: var(--blue-light); }

.services__item-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.services__item-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
}

.services__item-arrow {
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), color 0.2s;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  padding: 120px 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.about__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-0);
  margin-bottom: 24px;
}

.about__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 16px;
}

.about__cta { margin-top: 16px; }

/* Statement block */
.about__statement {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 36px;
}

.about__statement-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
}

.about__statement-quote {
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--text-0);
  font-style: normal;
  margin-bottom: 28px;
}

.about__statement-rule {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.about__statement-pillars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about__pillar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about__pillar-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.about__pillar-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   Stats Strip
   -------------------------------------------------------------------------- */

.stats {
  padding: 80px 0;
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
}

.stats__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 0;
}

.stats__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.stats__divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

.stats__number-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}

.stats__number {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 800;
  color: var(--blue-light);
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stats__unit {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.03em;
}

.stats__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Technology
   -------------------------------------------------------------------------- */

.technology {
  padding: 120px 0;
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
}

.technology__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

/* Left: clean data table */
.technology__left {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}

.technology__block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.technology__block:last-child { border-bottom: none; }
.technology__block:hover      { background: rgba(46, 15, 102, 0.04); }

.technology__block-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.technology__block-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
}

/* Right: content */
.technology__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.technology__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-0);
  margin-bottom: 24px;
}

.technology__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 48px;
}

.technology__features {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.technology__feature {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.technology__feature:last-child { border-bottom: 1px solid var(--border); }

.technology__feature-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.technology__feature-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
}

/* --------------------------------------------------------------------------
   Industries
   -------------------------------------------------------------------------- */

.industries {
  padding: 120px 0;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}

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

.industries__header {
  max-width: 560px;
  margin-bottom: 64px;
}

.industries__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-0);
  margin-bottom: 16px;
}

.industries__sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.industries__item {
  background: var(--bg-card);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.2s var(--ease);
}

.industries__item:hover { background: var(--bg-2); }

.industries__item-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-4);
  letter-spacing: 0.07em;
  font-variant-numeric: tabular-nums;
}

.industries__item-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
}

.industries__item-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
}

.industries__item--note {
  background: linear-gradient(135deg, rgba(37,99,235,0.07), rgba(37,99,235,0.02));
  justify-content: center;
  gap: 14px;
}

.industries__item--note:hover {
  background: linear-gradient(135deg, rgba(37,99,235,0.11), rgba(37,99,235,0.04));
}

.industries__note-icon { color: var(--blue-light); }

.industries__note-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Philosophy
   -------------------------------------------------------------------------- */

.philosophy {
  padding: 120px 0;
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
}

.philosophy__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.philosophy__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.philosophy__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-0);
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}

/* Principles */
.philosophy__principles {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.philosophy__principle {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.philosophy__principle:hover { background: rgba(46, 15, 102, 0.03); }

.philosophy__principle-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.philosophy__principle-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.philosophy__principle-num::before { content: '['; }
.philosophy__principle-num::after  { content: ']'; }

.philosophy__principle-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
}

.philosophy__principle-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
  padding-left: 32px;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  padding: 120px 0;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
}

.contact__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-0);
  margin-bottom: 20px;
}

.contact__sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: 48px;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #FFFFFF;
  border: 1px solid rgba(14, 8, 40, 0.18);
  border-radius: 10px;
  overflow: hidden;
}

.contact__channel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(14, 8, 40, 0.18);
  transition: background 0.15s;
}

.contact__channel:last-child { border-bottom: none; }
.contact__channel:hover      { background: rgba(46, 15, 102, 0.03); }

.contact__channel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.contact__channel-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
  transition: color 0.15s;
}

a.contact__channel-value:hover { color: var(--blue-light); }

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact__field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-2);
}

.contact__input,
.contact__textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(14, 8, 40, 0.18);
  border-radius: 7px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-1);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.contact__input::placeholder,
.contact__textarea::placeholder { color: var(--text-4); }

.contact__input:focus,
.contact__textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(46, 15, 102, 0.1);
}

.contact__textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.contact__submit { align-self: flex-start; margin-top: 4px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

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

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  margin-bottom: 40px;
  align-items: start;
}

.footer__brand { max-width: 280px; }

.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  transition: opacity 0.15s;
  line-height: 1;
}
.footer__logo:hover { opacity: 0.72; }

/* Footer wordmark — same spec as nav */
.footer__wordmark {
  font-family: 'Inter Tight', 'Inter', -apple-system, sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 1;
  display: block;
}

.footer__tagline {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.55;
}

.footer__nav {
  display: flex;
  gap: 56px;
}

.footer__nav-heading {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__nav-link {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.15s;
}
.footer__nav-link:hover { color: var(--text-1); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer__copy {
  font-size: 13px;
  color: var(--text-3);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-3);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.footer__social-link:hover {
  color: var(--text-1);
  border-color: var(--border-2);
  background: rgba(46, 15, 102, 0.06);
}

/* --------------------------------------------------------------------------
   Page Hero (inner pages)
   -------------------------------------------------------------------------- */

.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
}

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

.page-hero__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-0);
  margin-bottom: 24px;
  max-width: 800px;
}

.page-hero__subtitle {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 600px;
}

.page-hero__rule {
  height: 1px;
  background: linear-gradient(to right, var(--blue), transparent);
  margin-top: 56px;
  max-width: 160px;
}

/* --------------------------------------------------------------------------
   About Page
   -------------------------------------------------------------------------- */

.about-story { padding: 100px 0; background: var(--bg-0); }

.about-story__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.about-story__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}

.about-story__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-0);
  margin-bottom: 20px;
}

.about-story__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 16px;
}

.about-values {
  padding: 100px 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
}

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

.about-values__header { max-width: 560px; margin-bottom: 56px; }

.about-values__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}

.about-values__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-0);
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.about-values__item {
  background: var(--bg-card);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s;
}

.about-values__item:hover { background: var(--bg-2); }

.about-values__item-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-4);
  letter-spacing: 0.07em;
}

.about-values__item-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
}

.about-values__item-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}

.about-technology {
  padding: 100px 0;
  background: var(--bg-0);
  border-top: 1px solid var(--border);
}

.about-technology__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-technology__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}

.about-technology__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-0);
  margin-bottom: 20px;
}

.about-technology__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 16px;
}

/* tech-stack bars */
.tech-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.tech-stack__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.tech-stack__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
}

.tech-stack__bar {
  height: 4px;
  background: var(--border);
  border-radius: 9999px;
  overflow: hidden;
}

.tech-stack__fill {
  height: 100%;
  background: linear-gradient(to right, var(--blue), var(--blue-light));
  border-radius: 9999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out);
}

.tech-stack__fill--90 { width: 90%; }
.tech-stack__fill--80 { width: 80%; }
.tech-stack__fill--75 { width: 75%; }
.tech-stack__fill--85 { width: 85%; }

.tech-stack__fill.is-filled { transform: scaleX(1); }

.tech-stack__value {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  text-align: right;
}

/* about-tech-card */
.about-tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.about-tech-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.about-tech-card__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.about-tech-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.about-tech-card__status-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

.about-tech-card__rows { display: flex; flex-direction: column; }

.about-tech-card__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.about-tech-card__row:last-child { border-bottom: none; padding-bottom: 0; }

.about-tech-card__row-name  { font-size: 13px; color: var(--text-2); }
.about-tech-card__row-value { font-size: 13px; font-weight: 600; color: var(--text-1); }

.about-tech-card__row-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.about-tech-card__row-indicator--green { background: var(--green); }

.about-cta {
  padding: 100px 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.about-cta__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-0);
  margin-bottom: 16px;
}

.about-cta__text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto 32px;
}

.about-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Services Page
   -------------------------------------------------------------------------- */

.service-detail {
  padding: 100px 0;
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
}

.service-detail--alt { background: var(--bg-1); }

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

.service-detail__header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.service-detail__number {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-4);
  letter-spacing: 0.08em;
  padding-top: 6px;
  flex-shrink: 0;
}

.service-detail__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-0);
  margin-bottom: 12px;
}

.service-detail__intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-2);
}

.service-detail__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.service-detail__body--reversed { direction: rtl; }
.service-detail__body--reversed > * { direction: ltr; }

.service-detail__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 18px;
}

.service-detail__capabilities-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 24px 0 14px;
}

.service-detail__list { display: flex; flex-direction: column; gap: 9px; }

.service-detail__list-item {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  padding-left: 16px;
  position: relative;
}

.service-detail__list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
}

/* service card visual */
.service-card-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.service-card-visual__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 18px;
}

.service-card-visual__channels { display: flex; flex-direction: column; gap: 13px; }

.service-channel {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 12px;
}

.service-channel__name { font-size: 13px; color: var(--text-2); }

.service-channel__bar-wrap {
  height: 4px;
  background: var(--border);
  border-radius: 9999px;
  overflow: hidden;
}

.service-channel__bar {
  height: 100%;
  background: linear-gradient(to right, var(--blue), var(--blue-light));
  border-radius: 9999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out);
}

.service-channel__bar--92 { width: 92%; }
.service-channel__bar--78 { width: 78%; }
.service-channel__bar--84 { width: 84%; }
.service-channel__bar--96 { width: 96%; }

.service-channel__bar.is-filled { transform: scaleX(1); }

.service-channel__value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
}

/* keyword tags */
.service-card-visual__keywords { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }

.keyword-tag {
  font-size: 12px;
  font-weight: 500;
  border-radius: 9999px;
  padding: 4px 11px;
  border: 1px solid;
}
.keyword-tag--high { background: var(--blue-dim); border-color: rgba(37,99,235,0.3); color: var(--blue-light); }
.keyword-tag--med  { background: rgba(46, 15, 102, 0.05); border-color: var(--border); color: var(--text-2); }
.keyword-tag--low  { background: transparent; border-color: var(--border); color: var(--text-3); }

.service-card-visual__metric {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.service-card-visual__metric-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-0);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.service-card-visual__metric-label { font-size: 12px; color: var(--text-3); }

/* infra status */
.infra-status { display: flex; flex-direction: column; }

.infra-status__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.infra-status__item:last-child { border-bottom: none; }

.infra-status__dot { width: 7px; height: 7px; border-radius: 50%; }
.infra-status__dot--green { background: var(--green); }
.infra-status__name  { font-size: 13px; color: var(--text-2); }
.infra-status__value { font-size: 12px; font-weight: 600; color: var(--text-3); }

/* partnership model */
.partnership-model { display: flex; flex-direction: column; align-items: flex-start; }

.partnership-model__step { display: flex; align-items: center; gap: 14px; }

.partnership-model__step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-dim);
  border: 1px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-light);
  flex-shrink: 0;
}

.partnership-model__step-label { font-size: 14px; font-weight: 500; color: var(--text-1); }

.partnership-model__connector {
  width: 1px;
  height: 22px;
  background: var(--border);
  margin-left: 15px;
}

/* services CTA */
.services-cta { padding: 100px 0; background: var(--bg-0); text-align: center; }

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

.services-cta__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-0);
  margin-bottom: 16px;
}

.services-cta__text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto 32px;
}

.services-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Legal Pages
   -------------------------------------------------------------------------- */

.legal-hero {
  padding: calc(var(--nav-h) + 60px) 0 60px;
  background: var(--bg-0);
  border-bottom: 1px solid var(--border);
}

.legal-hero__container { max-width: 720px; margin: 0 auto; padding: 0 var(--pad); }

.legal-hero__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}

.legal-hero__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text-0);
  margin-bottom: 12px;
}

.legal-hero__meta { font-size: 14px; color: var(--text-3); }

.legal-body { padding: 72px 0; background: var(--bg-0); }
.legal-body__container { max-width: 720px; margin: 0 auto; padding: 0 var(--pad); }

.legal-section {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child { border-bottom: none; }

.legal-section__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.legal-section__subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin: 18px 0 9px;
}

.legal-section__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 12px;
}

.legal-section__text:last-child { margin-bottom: 0; }

.legal-section__list { display: flex; flex-direction: column; gap: 8px; }

.legal-section__list-item {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
  padding-left: 18px;
  position: relative;
}

.legal-section__list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
}

.legal-contact {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 22px;
  margin-top: 14px;
}

.legal-contact__line { font-size: 14px; color: var(--text-2); line-height: 1.7; }

.legal-contact__link { color: var(--blue-light); transition: color 0.15s; }
.legal-contact__link:hover { color: var(--text-0); }

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */

@keyframes bg-breathe {
  0%, 100% { opacity: 0.6; background-size: 40px 40px; }
  50%       { opacity: 0.9; background-size: 42px 42px; }
}

@keyframes scroll-drip {
  0%   { top: -44px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 44px;  opacity: 0; }
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .about__container,
  .technology__container,
  .philosophy__container,
  .contact__container,
  .about-technology__container,
  .about-story__container { grid-template-columns: 1fr; gap: 48px; }

  .technology__left { position: static; }
  .philosophy__title { position: static; }

  .services__item { grid-template-columns: 44px 1fr auto; gap: 20px; }

  .footer__top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* ── Mobile menu — full screen, editorial, slide from right ── */
  .nav__menu {
    position: fixed;
    inset: 0;
    background: var(--bg-0);
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: calc(var(--nav-h) + 40px) 32px 40px;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(6%);
    transition:
      opacity   0.3s var(--ease),
      transform 0.3s var(--ease);
    z-index: 190;
    overflow-y: auto;
  }

  .nav__menu.is-open {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
  }

  /* Nav list — full width rows with ruled borders */
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--border);
    counter-reset: mobile-nav;
    margin-bottom: auto;
  }

  .nav__item {
    border-bottom: 1px solid var(--border);
    counter-increment: mobile-nav;
  }

  /* Number badge via CSS counter */
  .nav__item::before {
    content: '0' counter(mobile-nav);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--brand);
    display: block;
    padding-top: 20px;
    padding-left: 0;
  }

  .nav__link {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(32px, 9vw, 48px);
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--text-0);
    padding: 6px 0 20px;
    background: none;
    border-radius: 0;
    width: 100%;
    transition: color 0.15s;
  }

  .nav__link:hover,
  .nav__link--active { color: var(--brand); background: none; }

  /* Bottom strip — CTA */
  .nav__cta {
    margin-top: 36px;
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 15px 28px;
  }

  .nav__toggle { display: flex; z-index: 210; }

  /* Disable bracket hover animation inside mobile menu */
  .nav__link::before,
  .nav__link::after { display: none; }

  .hero__container { padding-top: calc(var(--nav-h) + 48px); }
  .hero__stats { flex-wrap: wrap; gap: 24px; justify-content: center; }
  .hero__stat { padding-right: 0; text-align: center; align-items: center; }
  .hero__stat-divider { display: none; }
  .hero__scroll-indicator { display: none; }

  .stats__container { flex-wrap: wrap; }
  .stats__divider { display: none; }
  .stats__item { flex: 0 0 calc(50% - 1px); padding: 24px 0; }

  .services__item { grid-template-columns: 36px 1fr; }
  .services__item-arrow { display: none; }

  .industries__grid { grid-template-columns: 1fr 1fr; }
  .about-values__grid { grid-template-columns: 1fr 1fr; }

  .contact__row { grid-template-columns: 1fr; }

  .footer__nav { gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }

  .service-detail__body,
  .service-detail__body--reversed { grid-template-columns: 1fr; direction: ltr; }

  .tech-stack__value { text-align: right; }

  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .industries__grid { grid-template-columns: 1fr; }
  .about-values__grid { grid-template-columns: 1fr; }
  .footer__nav { flex-direction: column; gap: 24px; }
  .stats__item { flex: 0 0 100%; border-bottom: 1px solid var(--border); }
  .stats__item:last-child { border-bottom: none; }
}
