/* =========================================================
   STEILTECH — design system
   ========================================================= */
:root {
  --bg: #f6f4ec;
  --bg-2: #efece2;
  --ink: #0b0b0c;
  --ink-2: #1a1a1c;
  --muted: #6b6b6b;
  --line: #e2dfd2;
  --line-2: #d8d4c4;
  --dark: #0e0e10;
  --dark-2: #18181b;
  --accent: #c2f542;          /* electric lime */
  --accent-2: #ff5c39;        /* warm orange */
  --accent-soft: #e6ffb0;

  --rad-sm: 10px;
  --rad: 18px;
  --rad-lg: 28px;
  --rad-xl: 40px;

  --shadow-sm: 0 1px 0 rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 8px 30px rgba(15,15,15,.08);
  --shadow-lg: 0 30px 80px -20px rgba(15,15,15,.18);

  --t-fast: .18s cubic-bezier(.2,.7,.3,1);
  --t: .35s cubic-bezier(.2,.7,.3,1);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--muted);
  margin-bottom: 22px;
  font-weight: 500;
}
.eyebrow-light { color: rgba(255,255,255,.55); }

.section {
  padding: 140px 0;
  position: relative;
}
.section-tight { padding: 100px 0 140px; }
@media (max-width: 720px) {
  .section { padding: 90px 0; }
}

.section-head {
  max-width: 760px;
  margin-bottom: 72px;
}
.section-title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -.025em;
  font-weight: 600;
  margin: 0 0 22px;
}
.section-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}
.accent-text { color: var(--ink); position: relative; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  border: 1px solid transparent;
  cursor: pointer;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 16px 26px; font-size: 15px; }

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #000; box-shadow: 0 8px 30px rgba(0,0,0,.18); }

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: #fff; border-color: var(--ink); }

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}
.btn-accent:hover { background: #b3eb2e; box-shadow: 0 12px 40px rgba(194,245,66,.35); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(246,244,236,.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.02em;
  color: var(--ink);
}
.logo-light { color: #fff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-links a:hover { background: rgba(0,0,0,.05); }
.nav-links a.active {
  background: var(--ink);
  color: #fff;
}
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* language switch */
.lang-switch {
  display: inline-flex;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lang-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--muted);
  letter-spacing: .06em;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  font-family: inherit;
}
.lang-btn.active { background: var(--ink); color: #fff; }
.lang-btn:hover:not(.active) { color: var(--ink); }
@media (max-width: 980px) {
  .lang-switch { order: -1; margin-right: 4px; }
  .lang-btn { padding: 6px 10px; font-size: 11px; }
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  position: relative;
  background: rgba(255,255,255,.6);
}
.nav-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px; background: var(--ink);
  transition: transform var(--t-fast), opacity var(--t-fast), top var(--t-fast);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 80px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--rad-lg);
    padding: 14px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform-origin: top center;
    transform: scaleY(.9) translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t), opacity var(--t);
  }
  .nav-links.open { transform: scaleY(1) translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 16px; border-radius: 14px; }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 380px at 8% 0%, rgba(194,245,66,.32), transparent 70%),
    radial-gradient(600px 380px at 100% 30%, rgba(255,92,57,.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 1100px; }
.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.6);
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 4px rgba(52,199,89,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(52,199,89,.45); }
  50% { box-shadow: 0 0 0 6px rgba(52,199,89,0); }
}
.hero-title {
  font-size: clamp(48px, 8.4vw, 124px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 600;
  margin: 0 0 32px;
}
.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  max-width: 580px;
  margin: 0 0 44px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 96px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.stat {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; padding-right: 0; }
.stat-num {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat { border-right: none; padding-right: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 16px; }
}

.hero-panel {
  position: absolute;
  right: -40px;
  top: 220px;
  width: 460px;
  background: var(--dark);
  border-radius: var(--rad);
  box-shadow: var(--shadow-lg);
  border: 1px solid #1f1f23;
  z-index: 1;
  transform: rotate(2deg);
  font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}
.panel-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  border-bottom: 1px solid #1f1f23;
}
.dot-r, .dot-y, .dot-g {
  width: 10px; height: 10px; border-radius: 50%;
}
.dot-r { background: #ff5c5c; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28ca42; }
.panel-title {
  margin-left: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}
.panel-code {
  margin: 0;
  padding: 22px 22px 26px;
  color: #e7e7ea;
  font-size: 14px;
  line-height: 1.65;
}
.c-key { color: #c2f542; }
.c-fn  { color: #8ab4ff; }
.c-prop { color: #ff9d6c; }
.c-str { color: #f5e58a; }
.c-num { color: #c2f542; }

@media (max-width: 1180px) {
  .hero-panel { display: none; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scroll 38s linear infinite;
}
.marquee-group {
  display: flex;
  gap: 64px;
  flex-shrink: 0;
}
.marquee-group span {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: .02em;
}
.marquee-group span:first-child { color: var(--ink); font-weight: 500; }
@keyframes scroll {
  to { transform: translateX(calc(-50% - 32px)); }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.services-grid .service-card-lg {
  grid-column: span 2;
  grid-row: span 2;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
  min-height: 260px;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.service-card-lg {
  background: linear-gradient(155deg, #1a1a1d 0%, #0e0e10 100%);
  color: #fff;
  border-color: transparent;
  min-height: 540px;
  padding: 44px;
  justify-content: space-between;
}
.service-card-lg::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: radial-gradient(400px 200px at 80% 0%, rgba(194,245,66,.25), transparent 70%);
  pointer-events: none;
}
.service-card-lg:hover { border-color: transparent; }
.service-card-lg p { color: rgba(255,255,255,.65); }
.service-card-lg h3 { font-size: 32px; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border: 1px solid var(--line);
}
.service-card-lg .service-icon {
  background: rgba(194,245,66,.15);
  border-color: rgba(194,245,66,.3);
  color: var(--accent);
}
.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
  line-height: 1.2;
}
.service-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.tag-row {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
}
.tag-row li {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.1);
  font-weight: 500;
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card-lg { grid-column: span 2; grid-row: auto; min-height: 380px; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card-lg { grid-column: auto; padding: 32px; }
}

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto {
  background: var(--dark);
  color: #fff;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(194,245,66,.12), transparent 60%);
  pointer-events: none;
}
.manifesto-text {
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 500;
  margin: 0 0 48px;
  max-width: 1000px;
}
.manifesto-text .hl {
  background: var(--accent);
  color: var(--ink);
  padding: 0 8px;
  border-radius: 6px;
}
.manifesto-text .muted-text { color: rgba(255,255,255,.45); }

/* =========================================================
   PROCESS
   ========================================================= */
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.process-item {
  display: grid;
  grid-template-columns: 120px 1fr 140px;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background var(--t);
}
.process-item:hover { background: rgba(0,0,0,.015); }
.process-num {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
  color: var(--muted);
  font-style: italic;
}
.process-body h3 {
  font-size: 28px;
  margin: 0 0 10px;
  letter-spacing: -.02em;
  font-weight: 600;
}
.process-body p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
  max-width: 620px;
}
.process-meta {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
  padding-top: 12px;
}
@media (max-width: 720px) {
  .process-item {
    grid-template-columns: 60px 1fr;
    gap: 18px;
  }
  .process-num { font-size: 32px; }
  .process-meta { grid-column: 2; text-align: left; padding-top: 4px; }
}

/* =========================================================
   WORK
   ========================================================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.work-card {
  border-radius: var(--rad-lg);
  padding: 36px 32px 32px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t);
}
.work-card:hover { transform: translateY(-6px); }
.work-card-1 { background: linear-gradient(165deg, #c2f542 0%, #a8d935 100%); color: var(--ink); }
.work-card-2 { background: linear-gradient(165deg, #1a1a1d 0%, #0e0e10 100%); color: #fff; }
.work-card-3 { background: linear-gradient(165deg, #ff5c39 0%, #e6451f 100%); color: var(--ink); }

.work-tag {
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .7;
}
.work-card h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin: 0;
  line-height: 1.18;
}
.work-card p {
  font-size: 15px;
  margin: 0;
  opacity: .8;
  line-height: 1.55;
  flex: 1;
}
.work-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid currentColor;
  border-color: rgba(0,0,0,.15);
  font-size: 13px;
}
.work-card-2 .work-foot { border-color: rgba(255,255,255,.15); }
.arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.1);
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: transform var(--t);
}
.work-card-2 .arrow { background: rgba(255,255,255,.12); }
.work-card:hover .arrow { transform: rotate(45deg); }

@media (max-width: 980px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PRODUCT CARDS (home grid)
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.product-card {
  position: relative;
  border-radius: var(--rad-lg);
  padding: 40px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.product-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.06);
}
.product-tag {
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
}
.product-card h3 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 0;
  line-height: 1.05;
}
.product-card > p {
  font-size: 15.5px;
  margin: 0;
  line-height: 1.55;
  opacity: .85;
}
.product-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}
.product-feats li {
  font-size: 13.5px;
  padding-left: 18px;
  position: relative;
  opacity: .85;
}
.product-feats li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  background: currentColor;
  border-radius: 2px;
  transform: rotate(45deg);
  opacity: .5;
}
.product-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  align-self: flex-start;
  transition: gap var(--t-fast), background var(--t-fast);
}
.product-link:hover { gap: 14px; background: rgba(0,0,0,.16); }
.arrow-sm {
  display: inline-flex;
  font-size: 16px;
  line-height: 1;
}

.product-parking {
  background: linear-gradient(160deg, #2563eb 0%, #1e40af 100%);
  color: #fff;
}
.product-parking .product-icon { background: rgba(255,255,255,.14); color: #fff; }
.product-parking .product-tag { background: rgba(255,255,255,.16); color: #fff; }
.product-parking .product-link { background: rgba(255,255,255,.15); color: #fff; }
.product-parking .product-link:hover { background: rgba(255,255,255,.28); }

.product-hub {
  background: linear-gradient(160deg, #0e0e10 0%, #1a1a1d 100%);
  color: #fff;
}
.product-hub .product-icon {
  background: rgba(194,245,66,.18);
  color: var(--accent);
  border: 1px solid rgba(194,245,66,.3);
}
.product-hub .product-tag { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.product-hub .product-link { background: var(--accent); color: var(--ink); }
.product-hub .product-link:hover { background: #b3eb2e; }

.product-enore {
  background: linear-gradient(160deg, #ffffff 0%, #f6f4ec 100%);
  color: var(--ink);
  border-color: var(--line);
}
.product-enore .product-icon {
  background: #e6f7f0;
  color: #0a8c5b;
}
.product-enore .product-tag { background: #e6f7f0; color: #0a6f48; }

.product-acct {
  background: linear-gradient(160deg, #fef6e7 0%, #fde7b8 100%);
  color: #2a1f08;
  border-color: rgba(0,0,0,.05);
}
.product-acct .product-icon {
  background: rgba(0,0,0,.08);
  color: #8a5d00;
}
.product-acct .product-tag { background: rgba(0,0,0,.08); color: #6a4400; }

@media (max-width: 820px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 32px; min-height: auto; }
  .product-card h3 { font-size: 26px; }
}

/* =========================================================
   PRODUCTS PAGE — feature blocks
   ========================================================= */
.product-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  padding: 110px 0;
  align-items: center;
  border-top: 1px solid var(--line);
}
.product-feature.flip { direction: rtl; }
.product-feature.flip > * { direction: ltr; }
.product-feature .pf-text .label {
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  font-weight: 600;
}
.product-feature h2 {
  font-size: clamp(36px, 4.6vw, 60px);
  letter-spacing: -.025em;
  font-weight: 600;
  line-height: 1.04;
  margin: 0 0 22px;
}
.product-feature .pf-text > p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 540px;
}
.pf-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.pf-feats li {
  font-size: 15px;
  padding-left: 24px;
  position: relative;
  color: var(--ink-2);
}
.pf-feats li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  font-weight: 700;
  color: var(--accent-2);
}
.product-feature .pf-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  font-size: 14.5px;
  transition: gap var(--t-fast), background var(--t-fast);
}
.product-feature .pf-cta:hover { gap: 14px; background: #000; }

.pf-visual {
  border-radius: var(--rad-lg);
  min-height: 460px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.pf-visual.viz-parking { background: linear-gradient(160deg, #2563eb 0%, #1e40af 100%); color: #fff; }
.pf-visual.viz-hub { background: linear-gradient(160deg, #0e0e10 0%, #1a1a1d 100%); color: #fff; }
.pf-visual.viz-enore { background: linear-gradient(160deg, #e6f7f0 0%, #c1ead4 100%); color: #0a6f48; }
.pf-visual.viz-acct { background: linear-gradient(160deg, #fef6e7 0%, #fde7b8 100%); color: #6a4400; }

.pf-mock {
  width: 100%;
  max-width: 480px;
  background: rgba(255,255,255,.92);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.35);
  color: var(--ink);
}
.pf-mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.pf-mock-row:last-child { border-bottom: none; }
.pf-mock-row strong { font-weight: 600; }
.pf-pill {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .02em;
}
.pf-pill.ok { background: #d6fad9; color: #0a6b1e; }
.pf-pill.warn { background: #fde7b8; color: #6a4400; }
.pf-pill.full { background: #ffd6d6; color: #9b1c1c; }
.pf-pill.info { background: #dbe7ff; color: #1e40af; }

.pf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.pf-stat {
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.1);
}
.pf-stat .n {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
}
.pf-stat .l {
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .65;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .product-feature {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 80px 0;
  }
  .product-feature.flip { direction: ltr; }
  .pf-visual { min-height: 360px; padding: 28px; }
  .pf-feats { grid-template-columns: 1fr; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-section { background: var(--bg-2); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: 36px 32px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.testi blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -.005em;
  color: var(--ink);
  font-weight: 500;
  flex: 1;
}
.testi figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.testi figcaption strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.testi figcaption span { color: var(--muted); font-size: 13px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.avatar-1 { background: var(--accent); }
.avatar-2 { background: #ff5c39; color: #fff; }
.avatar-3 { background: var(--ink); color: var(--accent); }

@media (max-width: 980px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  padding: 0 0 140px;
}
.cta-inner {
  background: var(--ink);
  color: #fff;
  border-radius: var(--rad-xl);
  padding: 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(194,245,66,.18), transparent 65%);
  pointer-events: none;
}
.cta-left h2 {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 0 0 18px;
  line-height: 1.05;
}
.cta-left p {
  margin: 0;
  color: rgba(255,255,255,.65);
  max-width: 480px;
  font-size: 17px;
}
.cta-right {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.cta-mail {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 2px;
  transition: color var(--t-fast);
}
.cta-mail:hover { color: var(--accent); }

@media (max-width: 820px) {
  .cta-inner { padding: 48px 32px; grid-template-columns: 1fr; gap: 28px; }
  .cta-right { align-items: flex-start; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 80px 0 36px;
  position: relative;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.foot-brand p {
  margin: 24px 0 0;
  color: rgba(255,255,255,.55);
  font-size: 14px;
  line-height: 1.6;
}
.foot-col h4 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.foot-col a, .foot-col p {
  display: block;
  font-size: 14.5px;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
  transition: color var(--t-fast);
}
.foot-col a:hover { color: var(--accent); }
.foot-bot {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: span 2; }
  .foot-bot { flex-direction: column; gap: 8px; }
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1);
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   SUB-PAGE: shared
   ========================================================= */
.page-hero {
  padding: 200px 0 80px;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 380px at 8% 0%, rgba(194,245,66,.28), transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1000px; }
.page-hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -.035em;
  font-weight: 600;
  line-height: 1;
  margin: 18px 0 28px;
}
.page-hero p {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  max-width: 620px;
  margin: 0;
  line-height: 1.55;
}
.crumb {
  display: inline-flex;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.crumb a { color: var(--ink-2); }
.crumb a:hover { color: var(--accent-2); }

/* =========================================================
   ABOUT page
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.about-grid h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -.025em;
  font-weight: 600;
  margin: 0 0 24px;
  line-height: 1.1;
}
.about-grid p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0 0 18px;
}
.about-grid p.lead {
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.4;
  margin-bottom: 28px;
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-lg);
  padding: 32px;
  min-height: 220px;
}
.value-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-style: italic;
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 18px;
}
.value-card h3 {
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.value-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 820px) {
  .values { grid-template-columns: 1fr; }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.team-card {
  background: var(--bg-2);
  border-radius: var(--rad-lg);
  padding: 28px 24px;
  border: 1px solid var(--line);
  transition: transform var(--t), border-color var(--t);
}
.team-card:hover { transform: translateY(-4px); border-color: var(--ink); }
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--rad);
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 64px;
  font-style: italic;
  color: var(--ink);
}
.team-photo.t-1 { background: var(--accent); }
.team-photo.t-2 { background: #ffb8a2; }
.team-photo.t-3 { background: #c4cef7; }
.team-photo.t-4 { background: #f7e6a2; }
.team-photo.t-5 { background: #b6e5d9; }
.team-photo.t-6 { background: #e8c4f0; }
.team-photo.t-7 { background: #ffd6a8; }
.team-photo.t-8 { background: #d8d8d8; }
.team-card h3 {
  font-size: 17px;
  margin: 0 0 4px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.team-card span {
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 820px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   TIMELINE (about page)
   ========================================================= */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding-top: 56px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 33.333%;
  height: 2px;
  background: var(--accent);
}
.timeline-item {
  padding: 8px 32px 8px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.timeline-item:last-child { border-right: none; padding-right: 0; }
.timeline-item:not(:first-child) { padding-left: 32px; }
.timeline-year {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 22px;
  letter-spacing: -.02em;
}
.timeline-year .dash {
  display: inline-block;
  margin: 0 .15em;
  color: var(--accent-2);
  font-size: .65em;
  vertical-align: middle;
  font-style: normal;
  font-family: var(--font-sans);
}
.timeline-year em {
  font-family: var(--font-serif);
  color: var(--accent-2);
}
.timeline-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.timeline-item p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  max-width: 320px;
}
@media (max-width: 820px) {
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { width: 60px; }
  .timeline-item { border-right: none; padding: 0 !important; padding-left: 0 !important; }
}

/* =========================================================
   SERVICES page
   ========================================================= */
.svc-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.svc-detail:last-child { border-bottom: 1px solid var(--line); }
.svc-detail .label {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.svc-detail h3 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.025em;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.1;
}
.svc-detail .desc { color: var(--ink-2); font-size: 17px; line-height: 1.65; margin: 0 0 24px; }
.svc-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
}
.svc-detail ul li {
  font-size: 15px;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
}
.svc-detail ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}
@media (max-width: 820px) {
  .svc-detail { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
  .svc-detail ul { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTACT page
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--rad-xl);
  padding: 48px;
  box-shadow: var(--shadow);
}
.contact-form h2 {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink-2);
  letter-spacing: .01em;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11,11,12,.06);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.budget-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  background: var(--bg);
  color: var(--ink-2);
  cursor: pointer;
  transition: all var(--t-fast);
  font-weight: 500;
}
.chip input { display: none; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-info h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.contact-info p {
  font-size: 17px;
  margin: 0 0 28px;
  color: var(--ink);
  line-height: 1.5;
}
.contact-info p a { border-bottom: 1px solid var(--line-2); }
.contact-info p a:hover { border-color: var(--ink); }

@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 32px; }
  .field-row { grid-template-columns: 1fr; }
}

/* =========================================================
   SCROLLBAR
   ========================================================= */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

::selection { background: var(--accent); color: var(--ink); }

/* =========================================================
   ANIMATIONS — scroll progress, word-reveal, magnetic, etc.
   ========================================================= */

/* scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 200;
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
  will-change: transform;
}

/* word stagger reveal */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.04;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}
.word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.split-revealed .word-inner { transform: translateY(0); }
.word em { display: inline-block; }

/* hero subtle background drift (one element only) */
.hero { isolation: isolate; }
.hero::after {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,245,66,.45), transparent 65%);
  top: -140px; left: -120px;
  filter: blur(80px);
  animation: drift1 28s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
  opacity: .85;
}
@keyframes drift1 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(140px, 80px); }
}

/* product cards — distinctive 3D depth on hover */
.product-card {
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.7,.3,1), box-shadow var(--t);
  will-change: transform;
}

/* nav link underline (subtle, useful) */
.nav-links a { position: relative; z-index: 1; }
.nav-links a:not(.active)::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 1.5px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
  pointer-events: none;
}
.nav-links a:not(.active):hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* marquee pause on hover (utility) */
.marquee:hover .marquee-track { animation-play-state: paused; }

/* code panel: subtle blinking cursor (idiomatic for code) */
.panel-code::after {
  content: '_';
  display: inline-block;
  color: var(--accent);
  animation: blink 1.2s steps(2) infinite;
  margin-left: 2px;
  font-weight: 600;
}
@keyframes blink { 50% { opacity: 0; } }

/* manifesto highlight: simple paint-stroke wipe on reveal */
.manifesto-text .hl {
  display: inline;
  position: relative;
  background: var(--accent);
  background-size: 100% 0%;
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 100%;
  transition: background-size 1.1s cubic-bezier(.2,.7,.3,1) .15s;
  padding: 0 6px;
  border-radius: 4px;
}
.manifesto-text.in-view .hl { background-size: 100% 100%; }

/* tabular numerals for counters */
.stat-num, .pf-stat .n { font-variant-numeric: tabular-nums; }

/* tasteful number-counter pop when value lands */
.stat-num.counted, .pf-stat .n.counted {
  animation: numberSettle .4s cubic-bezier(.2,.7,.3,1);
}
@keyframes numberSettle {
  0%   { transform: translateY(2px); }
  100% { transform: translateY(0); }
}

/* respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .word-inner { transform: none !important; }
  .hero::after { animation: none; }
}
