:root {
  --bg: #ffffff;
  --bg-subtle: #f6f6f6;
  --text: #0d0d0d;
  --text-muted: #6b6b6b;
  --text-dim: #c0c0c0;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --accent: #FF4A1C;
  --accent-hover: #E03010;
  --card-bg: #f3f3f3;
  --white: #0d0d0d;
  --font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", sans-serif;
  --font-mono: "DM Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.page {
  position: relative;
  overflow: clip;
  --cursor-x: -300px;
  --cursor-y: -300px;
}

.page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

.page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    700px circle at var(--cursor-x) var(--cursor-y),
    rgba(255, 74, 28, 0.06),
    transparent 40%
  );
}

.page > * {
  position: relative;
  z-index: 1;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
}

/* ========================
   HEADER
======================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease, border-color 0.4s ease,
              backdrop-filter 0.4s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(32px) saturate(2);
  -webkit-backdrop-filter: blur(32px) saturate(2);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  transition: height 0.3s ease;
}

.site-header.scrolled .header-row { height: 3.5rem; }

.brand { display: flex; align-items: center; }

.brand-logo {
  height: 1.7rem;
  width: auto;
  filter: brightness(0);
  transition: opacity 0.25s;
}

.brand:hover .brand-logo { opacity: 0.6; }

.nav-links {
  display: flex;
  gap: 0.2rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.25rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  padding: 0.4rem 0.95rem;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.06);
}

.nav-links a.active {
  color: #fff;
  background: var(--accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Lang switcher */
.lang-switcher { position: relative; }
.lang-flag { font-size: 1em; line-height: 1; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.38rem 0.8rem;
  cursor: pointer;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lang-toggle:hover {
  border-color: rgba(255, 74, 28, 0.35);
  color: var(--text);
  background: rgba(0, 0, 0, 0.06);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-width: 70px;
  padding: 0.3rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 110;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.lang-switcher.open .lang-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0.42rem 0.75rem;
  border-radius: 5px;
  cursor: pointer;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: color 0.2s, background 0.2s;
}

.lang-option:hover { color: var(--text); background: rgba(0,0,0,0.05); }
.lang-option.active { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle--active span:first-child { transform: rotate(45deg) translate(2.5px, 3px); }
.nav-toggle--active span:last-child  { transform: rotate(-45deg) translate(2.5px, -3px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu--open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.025em;
  transition: color 0.2s;
}

.mobile-menu__links a:hover,
.mobile-menu__links a.active { color: var(--text); }

/* ========================
   BUTTONS
======================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.72rem 1.65rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
}

.btn.primary::before {
  content: "";
  position: absolute;
  top: -20%; left: -130%;
  width: 55%; height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-12deg);
  pointer-events: none;
}

.btn.primary:hover::before {
  left: 190%;
  transition: left 0.55s ease;
}

.btn.primary:hover { background: var(--accent-hover); }

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.btn.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.button-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* ========================
   SECTIONS
======================== */
.section {
  position: relative;
  padding: clamp(5rem, 11vh, 8rem) 0;
}

.section--alt { background: var(--bg-subtle); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: labelDotPulse 2.8s ease-in-out infinite;
}

@keyframes labelDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 74, 28, 0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(255, 74, 28, 0); }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.section-copy {
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  max-width: 580px;
  font-weight: 400;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.services-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.services-link:hover { color: var(--text); }

.divider {
  height: 1px;
  background: var(--line);
  max-width: 1200px;
  margin: 0 auto;
}

/* ========================
   HERO
======================== */
.hero {
  position: relative;
  padding-top: calc(4rem + clamp(5rem, 12vh, 8rem));
  padding-bottom: clamp(5rem, 12vh, 8rem);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 8%;
  right: -12%;
  width: 55vw; height: 55vw;
  max-width: 680px; max-height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 74, 28, 0.12) 0%, transparent 65%);
  filter: blur(70px);
  z-index: 0;
  animation: glowPulse 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-glow--secondary {
  top: auto; bottom: -20%;
  right: auto; left: -12%;
  width: 45vw; height: 45vw;
  max-width: 500px; max-height: 500px;
  background: radial-gradient(circle, rgba(255, 74, 28, 0.07) 0%, transparent 65%);
  animation: glowPulse2 10s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0%   { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.12) translate(-2%, 4%); }
}

@keyframes glowPulse2 {
  0%   { opacity: 0.3; transform: scale(0.95); }
  100% { opacity: 0.7; transform: scale(1.1) translate(4%, -3%); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 20px; height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
  border-radius: 2px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8.5vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.045em;
  margin-bottom: 2rem;
}

.hero-title span {
  display: block;
  color: var(--text);
}

@keyframes heroTextFlow {
  0%   { background-position: 0% center; }
  100% { background-position: 100% center; }
}

.hero-copy {
  font-size: clamp(0.9rem, 1.1vw, 1.02rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* ========================
   PAGE HERO (inner pages)
======================== */
.page-hero {
  padding-top: calc(4rem + clamp(5rem, 12vh, 8rem));
  border-bottom: 1px solid var(--line);
}

.page-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.page-intro { max-width: 540px; }

/* Quote (about page) */
.quote {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.04em;
  margin-bottom: 0.85rem;
}

.quote-author {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* ========================
   OVERVIEW SECTION
======================== */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.overview-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
}

.overview-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0;
}

.overview-aside {
  border-left: 1px solid var(--line-strong);
  padding-left: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.overview-stats {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  gap: 0;
}

.overview-stat {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.overview-stat:first-child { border-top: none; padding-top: 0; }

.overview-stat__val {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  min-width: 2.5rem;
}

.overview-stat__lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.4;
}

.overview-principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.overview-principle {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.overview-principle:first-child { border-top: none; padding-top: 0; }

.overview-principle__n {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-dim);
  font-weight: 300;
  letter-spacing: 0.06em;
  min-width: 1.5rem;
}

.overview-principle__t {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .overview-aside {
    border-left: none;
    border-top: 1px solid var(--line-strong);
    padding-left: 0;
    padding-top: 2rem;
    max-width: 480px;
  }
}

/* ========================
   MARQUEE TICKER
======================== */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-subtle);
  padding: 0.9rem 0;
  user-select: none;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 1.5rem;
}

.marquee-track .marquee-sep {
  color: var(--accent);
  padding: 0 0.25rem;
  font-size: 0.5rem;
  letter-spacing: 0;
}

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

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

/* ========================
   ABOUT CONTENT GRID
======================== */

.about-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.about-content-side {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 0.25rem;
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.05em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ========================
   ROADMAP
======================== */
.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: var(--line);
}

.roadmap-item { /* grid wrapper only */ }

.roadmap-card {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--bg);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.roadmap-card > * { position: relative; z-index: 1; }

.roadmap-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    260px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 74, 28, 0.08), transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.roadmap-card:hover { background: rgba(236, 236, 236, 1); }
.roadmap-card:hover::after { opacity: 1; }

.roadmap-step {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.roadmap-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.roadmap-card p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================
   GOALS
======================== */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.goal-card {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: none;
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.goal-card:last-child { border-right: none; }
.goal-card > * { position: relative; z-index: 1; }

.goal-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    240px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 74, 28, 0.08), transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.goal-card:hover { background: rgba(0, 0, 0, 0.03); }
.goal-card:hover::after { opacity: 1; }

.goal-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.goal-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ========================
   SERVICES GRID (home) — numbered list
======================== */
.services-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  counter-reset: svc-counter;
}

.services-grid .card {
  counter-increment: svc-counter;
  display: block;
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  padding-left: 5rem;
  border-bottom: 1px solid var(--line);
  background: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  transition: background 0.25s;
}

.services-grid .card::before {
  content: "0" counter(svc-counter);
  position: absolute;
  left: 0;
  top: clamp(2.1rem, 4.2vw, 2.9rem);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.services-grid .card::after { display: none; }

.services-grid .card:hover { background: rgba(0, 0, 0, 0.03); }

.services-grid .card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.services-grid .card .card-lead {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.6rem;
  max-width: 600px;
}

/* Card list (shared) */
.card-list { list-style: none; padding: 0; }

.card-list li {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0.28rem 0 0.28rem 1rem;
  position: relative;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65rem;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ========================
   SERVICES DETAIL (services page)
======================== */
.services-detail-grid {
  display: flex;
  flex-direction: column;
}

.service-detail {
  display: grid;
  grid-template-columns: clamp(60px, 10vw, 100px) 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:last-child { border-bottom: none; }

.service-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: -0.05em;
  line-height: 1;
  padding-top: 0.3rem;
}

.service-detail__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-detail__body h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
  margin: 0;
}

.service-lead {
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  color: var(--text);
  line-height: 1.75;
  font-weight: 500;
  max-width: 620px;
  margin: 0;
}

.service-copy {
  font-size: clamp(0.88rem, 1vw, 0.96rem);
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 640px;
  margin: 0;
}

/* ========================
   PRODUCT LIST (product page)
======================== */
.product-list { display: flex; flex-direction: column; }

.product-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  min-height: 80vh;
  align-items: start;
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.product-row:last-child { border-bottom: none; }

.product-sticky {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-logo {
  margin-bottom: 0.5rem;
}

.product-logo img {
  height: 2.75rem;
  width: auto;
  filter: brightness(0);
  opacity: 0.78;
  transition: opacity 0.3s;
}

.product-logo--akbar img { filter: none; opacity: 1; }
.product-logo--kodo img  { filter: none; opacity: 1; }

.product-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}

.product-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.product-status__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: statusPulse 2.5s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

.product-status__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #22c55e;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
}

.product-status--development .product-status__dot {
  background: #f97316;
  animation-name: statusPulseDevelopment;
}

.product-status--development .product-status__label {
  color: #f97316;
}

@keyframes statusPulseDevelopment {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.35); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 5px rgba(249, 115, 22, 0); }
}

.product-scroll-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 0.25rem;
}

.product-block {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.product-block:first-child { padding-top: 0; }

.product-block__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.product-block p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 600px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  border: 1px solid var(--line-strong);
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.product-scroll-content .btn {
  margin-top: 2rem;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .product-row {
    grid-template-columns: 1fr;
    min-height: unset;
    padding: clamp(3rem, 6vw, 5rem) 0;
  }
  .product-sticky {
    position: static;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
  }
  .product-status { margin-top: 1rem; }
}

/* ========================
   WORK SHOWCASE
======================== */
.work-showcase { border-bottom: 1px solid var(--line); }

.work-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1px;
  background: var(--line);
}

.work-card {
  min-height: 280px;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--card-bg);
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: background 0.35s, box-shadow 0.35s;
}

.work-card > * { position: relative; z-index: 1; }

.work-card::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    290px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 74, 28, 0.1), transparent 70%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.work-card:hover {
  background: #e8e8e8;
  box-shadow: inset 0 0 0 1px rgba(255, 74, 28, 0.12);
}

.work-card:hover::after { opacity: 1; }

.work-card--featured {
  grid-row: span 2;
  min-height: 560px;
}

.work-card__logo {
  margin-bottom: auto;
  min-height: 4.5rem;
}

.work-card__logo img {
  height: 3rem;
  width: auto;
  transition: opacity 0.3s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-card__logo img {
  transform: scale(1.05) translateY(-2px);
}

.work-card__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.work-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 0.65rem;
}

.work-card p {
  max-width: 460px;
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ========================
   PROOF BAND
======================== */
.proof-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.proof-item {
  padding: clamp(2.5rem, 6vh, 4.5rem) clamp(1.5rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
  transition: background 0.3s;
}

.proof-item:last-child { border-right: none; }
.proof-item:hover { background: rgba(0,0,0,0.02); }

.proof-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 8.5rem);
  font-weight: 700;
  line-height: 0.88;
  color: var(--white);
  letter-spacing: -0.07em;
  margin-bottom: 1.25rem;
  transition: text-shadow 0.4s ease;
}

.proof-item:hover .proof-value {
  text-shadow: 0 0 60px rgba(0,0,0,0.08), 0 0 100px rgba(255,74,28,0.12);
}

.proof-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ========================
   FAQ
======================== */
.faq-section { background: var(--bg-subtle); }

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 6rem;
}

.faq-list { border-top: 1px solid var(--line); }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
  transition: background 0.25s;
}

.faq-item[open] { background: rgba(255, 74, 28, 0.03); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(0.94rem, 1.4vw, 1.1rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 300;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  max-width: 600px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.89rem;
  padding-top: 1rem;
}

/* ========================
   NEWS / HOW WE WORK
======================== */
.news-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
}

.news-item {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.news-item:last-child { border-bottom: none; }

.news-marker {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.5rem;
  flex-shrink: 0;
  position: relative;
}

.news-marker::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 74, 28, 0.5);
  animation: markerRingPulse 2.8s ease-out infinite;
}

@keyframes markerRingPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0;   transform: scale(2.4); }
}

.news-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.news-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.news-item p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================
   CONTACT
======================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--line-strong);
}

.contact-detail__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-detail__value {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

a.contact-detail__value:hover { color: var(--accent); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-field span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--card-bg);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
}

.contact-field input:focus,
.contact-field textarea:focus { border-color: rgba(255,74,28,0.45); }

.contact-field textarea { resize: vertical; min-height: 130px; }

/* ========================
   CTA
======================== */
.section--cta {
  background: var(--bg);
  border-top: 1px solid var(--line);
  color: var(--text);
}

.cta-center { text-align: center; }

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  margin-bottom: 1rem;
  line-height: 1.04;
  color: var(--text);
}

.section--cta .section-copy {
  color: var(--text-muted);
  margin-left: auto;
  margin-right: auto;
}

/* ========================
   FOOTER
======================== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.85rem;
  letter-spacing: 0.06em;
}

.footer-built {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 0.4rem;
  letter-spacing: 0.06em;
}

.footer-built a { color: inherit; transition: color 0.2s; }
.footer-built a:hover { color: var(--accent); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: right;
}

.footer-meta span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ========================
   REVEAL ANIMATIONS
======================== */
.reveal-text {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
  opacity: 0;
  transform: translateY(22px) scale(0.99);
  filter: blur(3px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.visible,
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger delays */
.services-grid .card:nth-child(2) { transition-delay: 0.08s; }
.services-grid .card:nth-child(3) { transition-delay: 0.16s; }
.services-grid .card:nth-child(4) { transition-delay: 0.24s; }

.goals-grid .goal-card:nth-child(2) { transition-delay: 0.08s; }
.goals-grid .goal-card:nth-child(3) { transition-delay: 0.16s; }

.roadmap-timeline .roadmap-item:nth-child(2) { transition-delay: 0.08s; }
.roadmap-timeline .roadmap-item:nth-child(3) { transition-delay: 0.16s; }
.roadmap-timeline .roadmap-item:nth-child(4) { transition-delay: 0.24s; }

.work-grid .work-card:nth-child(2) { transition-delay: 0.12s; }
.work-grid .work-card:nth-child(3) { transition-delay: 0.22s; }

.news-list .news-item:nth-child(2) { transition-delay: 0.12s; }
.news-list .news-item:nth-child(3) { transition-delay: 0.24s; }

/* Hero stagger */
.hero .kicker.reveal-up                    { transition-delay: 0s; }
.hero .hero-title .reveal-text:first-child { transition-delay: 0.18s; }
.hero .hero-title .reveal-text:last-child  { transition-delay: 0.34s; }
.hero .hero-copy.reveal-up                 { transition-delay: 0.5s; }
.hero .button-row.reveal-up                { transition-delay: 0.65s; }

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .work-grid { grid-template-columns: 1fr; }
  .work-card,
  .work-card--featured { min-height: 280px; grid-row: auto; }

  .proof-grid { grid-template-columns: 1fr; }
  .proof-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .proof-item:last-child { border-bottom: none; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }

  .services-grid .card { padding-left: 3.5rem; }

  .about-content-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .goals-grid { grid-template-columns: 1fr; }
  .goal-card { border-right: none; border-bottom: 1px solid var(--line); }
  .goal-card:last-child { border-bottom: none; }

  .roadmap-timeline { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-meta { text-align: left; }

  .service-detail { grid-template-columns: 1fr; }
  .service-number { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 1.25rem; }
  .section { padding: clamp(3.5rem, 8vh, 5rem) 0; }
  .hero { padding-top: calc(4rem + clamp(3.5rem, 8vh, 5rem)); }
  .page-hero { padding-top: calc(4rem + clamp(3.5rem, 8vh, 5rem)); }

  .hero-title { font-size: clamp(2.25rem, 12vw, 4rem); }
  .page-heading { font-size: clamp(2.5rem, 13vw, 4.5rem); }
  .section-title { font-size: clamp(2rem, 10vw, 3rem); }
  .cta-heading { font-size: clamp(2rem, 10vw, 3.5rem); }
  .proof-value { font-size: clamp(4rem, 18vw, 7rem); }
  .work-card h3 { font-size: clamp(1.5rem, 8vw, 2.25rem); }

  .btn { padding: 0.65rem 1.4rem; font-size: 0.78rem; }
  .work-card { min-height: 240px; }

  .services-grid .card { padding-left: 0; }
  .services-grid .card::before { display: none; }

  .goals-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .roadmap-timeline { grid-template-columns: 1fr; }

  .service-detail__body { gap: 1.25rem; }
  .service-detail__body h2 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .service-lead { font-size: 0.93rem; }

  .product-row { padding: 2.5rem 0; }
  .product-name { font-size: clamp(1.75rem, 8vw, 2.5rem); }

  .tech-tags { gap: 0.35rem; }

  .marquee-track span { font-size: 0.58rem; padding: 0 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-text, .reveal-up {
    opacity: 1; transform: none; filter: none; transition: none;
  }
  html { scroll-behavior: auto; }
  .hero-glow, .hero-glow--secondary { animation: none; }
  #hero-canvas { display: none; }
  .hero-title span {
    animation: none;
    -webkit-text-fill-color: var(--text);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: var(--text);
  }
  .section-label::before { animation: none; }
  .news-marker::after    { display: none; }
  .btn.primary::before   { display: none; }
  .kicker::before        { display: none; }
  .product-status__dot   { animation: none; }
}
