:root {
  --token-border: #9c9c9c26;
  --token-accent: #d1ff00;
  --token-cyan: #5de0ff;
  --token-yellow: #ffd84d;
  --token-purple: #9a57ff;
  --token-red: #ff4444;
  --token-bg-dark: #050505;
  --token-bg-light: #f4f4e8;
  --token-text-muted: #686868;
  --token-text-light-muted: #bcbcbc;
  --token-surface-dark: #3d3d3d;
  --token-surface-card: #1c1e19;
  --token-white: #fff;
  --token-cream: #ffffed;
  --font-display: "TASA Orbiter", Inter, "Segoe UI", Arial, sans-serif;
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
  --space-xs: 5px;
  --space-sm: 10px;
  --space-md: 15px;
  --space-lg: 20px;
  --space-xl: 30px;
  --space-2xl: 40px;
  --space-3xl: 50px;
  --space-4xl: 80px;
  --space-5xl: 120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --cursor-x: 50vw;
  --cursor-y: 50vh;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--token-bg-dark);
  color: var(--token-white);
  line-height: 1.5;
  font-size: 15px;
  overflow-x: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

body[data-cursor-state="interactive"] .site-cursor-core {
  transform: translate(-50%, -50%) scale(1.14);
}

body[data-cursor-state="interactive"] .site-cursor-ring {
  border-color: rgba(93, 224, 255, 0.72);
  box-shadow: 0 0 0 5px rgba(93, 224, 255, 0.08);
}

body[data-cursor-state="interactive"] .site-cursor-dot {
  background: var(--token-cyan);
}

body[data-cursor-state="media"] .site-cursor-core {
  transform: translate(-50%, -50%) scale(1.3);
}

body[data-cursor-state="media"] .site-cursor-ring {
  border-color: rgba(209, 255, 0, 0.84);
  box-shadow: 0 0 0 6px rgba(209, 255, 0, 0.1);
}

body[data-cursor-state="text"] .site-cursor-core {
  transform: translate(-50%, -50%) scale(0.88);
}

body[data-cursor-state="text"] .site-cursor-ring {
  border-color: rgba(255, 255, 255, 0.72);
}

body[data-cursor-state="text"] .site-cursor-dot {
  background: var(--token-white);
}

body::selection {
  background: var(--token-accent);
  color: var(--token-bg-dark);
}

[hidden] {
  display: none !important;
}

.site-grain-overlay {
  position: fixed;
  inset: -100%;
  width: 300%;
  height: 300%;
  pointer-events: none;
  z-index: 9990;
  overflow: hidden;
  mix-blend-mode: hard-light;
  opacity: 0.05;
}

.site-grain-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/effects/kyma-tv-static.gif');
  background-size: 240px;
  animation: siteGrainDrift 1.2s steps(2) infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: none;
}

html.has-custom-cursor,
html.has-custom-cursor body,
html.has-custom-cursor a,
html.has-custom-cursor button,
html.has-custom-cursor input,
html.has-custom-cursor textarea,
html.has-custom-cursor select,
html.has-custom-cursor label,
html.has-custom-cursor [role="button"] {
  cursor: none !important;
}

.site-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
  will-change: transform, opacity;
}

html.has-custom-cursor .site-cursor,
body.cursor-active .site-cursor {
  opacity: 1;
}

@keyframes siteGrainDrift {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-3%, 2%, 0); }
  50% { transform: translate3d(2%, -2%, 0); }
  75% { transform: translate3d(-1%, -3%, 0); }
  100% { transform: translate3d(1%, 2%, 0); }
}

.site-cursor-core {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.22s var(--ease);
}

.site-cursor-ring,
.site-cursor-dot,
.site-cursor-label {
  position: absolute;
  left: 50%;
  top: 50%;
}

.site-cursor-ring {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(209, 255, 0, 0.74);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 32%, rgba(209, 255, 0, 0.24), rgba(209, 255, 0, 0.02) 58%, transparent 70%);
  box-shadow: 0 0 0 4px rgba(209, 255, 0, 0.06);
  transform: translate(-50%, -50%);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.site-cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--token-accent);
  transform: translate(-50%, -50%);
  transition: background 0.22s ease, transform 0.22s ease;
}

.site-cursor-label {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(209, 255, 0, 0.28);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(10px);
  color: var(--token-white);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(18px, -50%) scale(0.92);
  transform-origin: left center;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.22s var(--ease), border-color 0.22s ease, color 0.22s ease;
}

.site-cursor.has-label .site-cursor-label {
  opacity: 1;
  transform: translate(22px, -50%) scale(1);
}

.site-cursor.is-pressed .site-cursor-core {
  transform: translate(-50%, -50%) scale(0.92);
}

.site-cursor.is-pressed .site-cursor-dot {
  transform: translate(-50%, -50%) scale(1.35);
}

body[data-cursor-state="interactive"] .site-cursor-label,
body[data-cursor-state="media"] .site-cursor-label {
  border-color: rgba(209, 255, 0, 0.42);
  color: var(--token-accent);
}

body[data-cursor-state="text"] .site-cursor-label {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--token-white);
}

.ds-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--token-border);
  padding: 0 var(--space-2xl);
}

.ds-nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--token-accent);
}

.ds-nav-inner {
  max-width: 1920px;
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.ds-nav-brand,
.ds-nav-links a,
.menu-btn {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ds-nav-brand {
  font-size: 18px;
  color: var(--token-white);
}

.ds-nav-brand::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  background: var(--token-accent);
  border-radius: 50%;
  vertical-align: middle;
}

.ds-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.ds-nav-links a {
  position: relative;
  font-size: 12px;
  color: var(--token-text-light-muted);
  transition: color 0.25s ease;
}

.ds-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--token-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.ds-nav-links a:hover {
  color: var(--token-white);
}

.ds-nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid var(--token-border);
  background: var(--token-surface-card);
  color: var(--token-white);
  font-size: 12px;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, background 0.35s ease;
}

.menu-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(209, 255, 0, 0.4);
  background: #252822;
}

.menu-lines {
  width: 16px;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}

.menu-lines i {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.ds-section {
  width: min(100%, 1920px);
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-2xl);
}

.ds-section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--token-text-muted);
  margin-bottom: var(--space-sm);
}

.ds-section-title {
  max-width: 1040px;
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 900;
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  gap: var(--space-4xl);
  align-items: end;
  margin-bottom: var(--space-4xl);
}

.section-lead {
  color: var(--token-text-light-muted);
  font-size: 18px;
  line-height: 1.45;
  max-width: 560px;
}

.section-lead.compact {
  max-width: 640px;
  margin-bottom: var(--space-2xl);
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: var(--space-4xl);
  align-items: center;
}

.anim-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.anim-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.anim-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.anim-stagger > .anim-reveal:nth-child(1) { transition-delay: 0s; }
.anim-stagger > .anim-reveal:nth-child(2) { transition-delay: 0.08s; }
.anim-stagger > .anim-reveal:nth-child(3) { transition-delay: 0.16s; }
.anim-stagger > .anim-reveal:nth-child(4) { transition-delay: 0.24s; }
.anim-stagger > .anim-reveal:nth-child(5) { transition-delay: 0.32s; }
.anim-stagger > .anim-reveal:nth-child(6) { transition-delay: 0.40s; }

.char-reveal {
  overflow: hidden;
}

.char-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.char-reveal.is-visible .char {
  opacity: 1;
  transform: translateY(0);
}

.slot-text {
  display: inline-flex;
  white-space: pre;
}

.char-slot {
  position: relative;
  display: inline-flex;
  flex: none;
  justify-content: center;
  overflow: hidden;
  overflow-x: visible;
  overflow-y: clip;
  line-height: 1.3;
  vertical-align: bottom;
}

.char-slot.is-resizing {
  overflow-x: clip;
}

.char-sizer {
  visibility: hidden;
  white-space: pre;
}

.char-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: pre;
  will-change: transform;
}

.word-reveal .word {
  display: inline-block;
  opacity: 0.15;
  transition: opacity 0.6s ease;
}

.word-reveal.is-visible .word {
  opacity: 1;
}

.scroll-color-reveal .scr-char {
  display: inline-block;
  color: var(--token-white);
  opacity: 0.15;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.scroll-color-reveal .scr-word {
  display: inline-block;
  white-space: nowrap;
}

.scroll-color-reveal .scr-char.state-active {
  color: var(--token-accent);
  opacity: 1;
}

.scroll-color-reveal .scr-char.state-done {
  color: var(--token-white);
  opacity: 1;
}

.slot-text {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  white-space: pre !important;
  vertical-align: bottom;
}

.slot-text .char-slot {
  display: inline-flex;
  flex: none;
}

.ds-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--token-accent);
  animation: ds-pulse 2s ease-in-out infinite;
}

@keyframes ds-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2xl);
  overflow: hidden;
  padding-top: var(--space-3xl);
}

.hero-bg-text {
  position: absolute;
  left: var(--space-2xl);
  bottom: -26px;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  font-family: var(--font-display);
  font-size: 180px;
  font-weight: 900;
  line-height: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  gap: var(--space-4xl);
  align-items: center;
}

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

.hero-tag {
  width: fit-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--token-border);
  background: rgba(28, 30, 25, 0.56);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--token-text-light-muted);
  margin-bottom: var(--space-xl);
}

.hero-title {
  max-width: 960px;
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0;
  text-wrap: balance;
  margin-bottom: var(--space-lg);
}

.hero-title-slot {
  display: inline-flex;
  min-width: 140px;
  align-items: center;
  text-align: left;
  white-space: nowrap;
  vertical-align: baseline;
}

.hero-title .slot-text {
  vertical-align: baseline;
}

.hero-desc {
  max-width: 620px;
  color: var(--token-text-light-muted);
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.ds-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  overflow: hidden;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: transform 0.3s var(--ease), color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.ds-btn [data-slot-label],
.website-link [data-slot-label],
.menu-btn [data-slot-label],
.timeline-cta [data-slot-label],
.footer-links [data-slot-label] {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.ds-btn:hover {
  transform: translateY(-2px);
}

.ds-btn--accent {
  background: var(--token-accent);
  color: var(--token-bg-dark);
}

.ds-btn--outline {
  background: transparent;
  color: var(--token-white);
  border-color: var(--token-border);
}

.ds-btn--outline:hover {
  border-color: rgba(209, 255, 0, 0.48);
  color: var(--token-accent);
}

.ds-btn--pill {
  border-radius: 999px;
}

.ds-btn-glow::after {
  content: '';
  position: absolute;
  inset: -3px;
  z-index: -1;
  background: var(--token-accent);
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.4s ease;
}

.ds-btn-glow:hover::after {
  opacity: 0.35;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.portrait-frame {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(209, 255, 0, 0.32);
  background: var(--token-surface-card);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.portrait-frame::before,
.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.portrait-frame::after {
  inset: auto 18px 18px 18px;
  height: 2px;
  border: none;
  background: var(--token-accent);
}

.portrait-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-pos, 50% 36%);
  display: block;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 0.9s ease, transform 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.portrait-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(209, 255, 0, 0.14) 48%, transparent 55%);
  transform: translateY(-100%);
  animation: portraitScan 5.5s var(--ease) infinite;
  pointer-events: none;
}

@keyframes portraitScan {
  0%, 24% { transform: translateY(-100%); }
  56%, 100% { transform: translateY(100%); }
}

.hero-command {
  position: absolute;
  z-index: 4;
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 10px 14px;
  border: 1px solid var(--token-border);
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(10px);
  font-family: var(--font-display);
  text-transform: uppercase;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
}

.hero-command span {
  display: block;
  color: var(--token-text-muted);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 4px;
}

.hero-command strong {
  color: var(--token-white);
  font-size: 13px;
  font-weight: 900;
}

.hero-command-animated,
.hero-command-animated .slot-text {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1;
}

.hero-command-top {
  top: 48px;
  left: 12px;
}

.hero-command-bottom {
  right: 0;
  bottom: 54px;
}

.hero-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--token-border);
  border-bottom: 1px solid var(--token-border);
}

.proof-item {
  padding: var(--space-xl);
  border-right: 1px solid var(--token-border);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item span,
.card-index,
.story-num {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  color: var(--token-accent);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.proof-item p {
  color: var(--token-text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.logo-strip {
  padding-top: 0;
  padding-bottom: 0;
  border-top: 1px solid var(--token-border);
  border-bottom: 1px solid var(--token-border);
  overflow: hidden;
}

.ds-marquee-v2 {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.ds-marquee-v2-track {
  display: inline-flex;
  will-change: transform;
}

.ds-marquee-v2-track.running {
  animation: ds-marquee-v2 25s linear infinite;
}

.ds-marquee-v2-track.reverse.running {
  animation-direction: reverse;
}

.ds-marquee-v2-track.fast.running {
  animation-duration: 15s;
}

.ds-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--token-text-light-muted);
}

.ds-marquee-item::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--token-accent);
  flex: none;
}

@keyframes ds-marquee-v2 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.center-statement {
  max-width: 1040px;
  text-align: center;
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-5xl);
}

.center-statement h2 {
  font-family: var(--font-display);
  font-size: 58px;
  line-height: 0.94;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: var(--space-xl);
  color: var(--token-white);
  text-shadow: 0 0 24px rgba(209, 255, 0, 0.08);
}

.center-title-chromatic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.02em;
}

.center-title-chromatic > span {
  display: inline-flex;
  justify-content: center;
  color: var(--token-white);
  white-space: nowrap;
}

.center-title-chromatic .slot-text {
  display: inline-flex !important;
  justify-content: center;
  white-space: nowrap !important;
}

.center-title-chromatic .char-slot,
.center-title-chromatic .char-face,
.center-title-chromatic .char-sizer {
  color: inherit;
}

.statement-copy {
  max-width: 760px;
  margin: 0 auto;
  color: var(--token-text-light-muted);
  font-size: 20px;
  line-height: 1.45;
}

.stats-section {
  border-top: 1px solid var(--token-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-xl);
  border-top: 1px solid var(--token-border);
  border-bottom: 1px solid var(--token-border);
  padding: var(--space-4xl) 0;
}

.stat-col h3 {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.stat-col p {
  min-height: 42px;
  color: var(--token-text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 18px;
}

.stat-bar {
  height: 4px;
  background: var(--token-surface-dark);
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: var(--token-white);
}

.stat-fill-accent {
  background: var(--token-accent);
}

.work-section,
.portfolio-section,
.websites-section,
.software-section {
  border-top: 1px solid var(--token-border);
}

.portfolio-tabs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--token-border);
}

.portfolio-tab {
  min-width: 178px;
  justify-content: space-between;
  outline: none;
}

.portfolio-tab.is-active {
  background: var(--token-accent);
  color: var(--token-bg-dark);
  border-color: var(--token-accent);
}

.portfolio-tab:focus-visible {
  outline: 2px solid var(--token-accent);
  outline-offset: 4px;
}

.portfolio-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

.portfolio-panels {
  min-height: 620px;
}

.route-home .portfolio-panels,
.route-design .portfolio-page-gateway,
.route-programacao .portfolio-page-gateway,
.route-design .portfolio-section > .section-header,
.route-programacao .portfolio-section > .section-header {
  display: none;
}

.portfolio-page-gateway {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  padding-top: var(--space-lg);
}

.portfolio-path-card {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-md);
  padding: var(--space-2xl);
  border: 1px solid var(--token-border);
  background: var(--token-surface-card);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-path-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.78;
  transition: transform 0.7s var(--ease), opacity 0.35s ease;
}

.portfolio-path-card::after {
  content: '';
  position: absolute;
  left: var(--space-2xl);
  right: var(--space-2xl);
  top: var(--space-2xl);
  height: 2px;
  background: var(--token-accent);
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.portfolio-path-card--design::before {
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.92) 78%),
    radial-gradient(circle at 18% 18%, rgba(209, 255, 0, 0.24), transparent 34%),
    url('assets/generated/makyna-social-01.png') center/cover no-repeat;
}

.portfolio-path-card--code::before {
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.92) 78%),
    radial-gradient(circle at 82% 18%, rgba(93, 224, 255, 0.18), transparent 34%),
    url('assets/generated/website-bnsir-live.png') center/cover no-repeat;
}

.portfolio-path-card:hover {
  transform: translateY(-4px);
  border-color: rgba(209, 255, 0, 0.42);
  box-shadow: 0 0 34px rgba(209, 255, 0, 0.12), 0 24px 80px rgba(0, 0, 0, 0.38);
}

.portfolio-path-card:hover::before {
  transform: scale(1.04);
  opacity: 0.92;
}

.portfolio-path-card:hover::after {
  transform: scaleX(1);
}

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

.portfolio-path-card strong {
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 68px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

.portfolio-path-card p {
  max-width: 520px;
  color: var(--token-text-light-muted);
  font-size: 16px;
  line-height: 1.45;
}

.portfolio-path-card em {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid rgba(209, 255, 0, 0.42);
  border-radius: 999px;
  color: var(--token-accent);
  font-family: var(--font-display);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-panel[hidden] {
  display: none;
}

.portfolio-panel {
  animation: portfolio-panel-in 0.5s var(--ease);
}

.route-design .portfolio-section,
.route-programacao .portfolio-section {
  min-height: calc(100vh - 64px);
  padding-top: var(--space-4xl);
}

.route-design .portfolio-panel-header,
.route-programacao .portfolio-panel-header {
  position: relative;
  min-height: 56vh;
  align-items: center;
  border-top: 0;
  margin-bottom: var(--space-4xl);
  overflow: hidden;
}

.route-design .portfolio-panel-header::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 0;
  background:
    linear-gradient(90deg, var(--token-bg-dark) 0%, rgba(5, 5, 5, 0.74) 42%, rgba(5, 5, 5, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.02), var(--token-bg-dark) 98%),
    url('assets/generated/page-hero-bg-luiz-v2.png') right center / cover no-repeat;
  opacity: 0.66;
  pointer-events: none;
}

.route-programacao .portfolio-panel-header::before {
  content: none;
}

.route-design .portfolio-panel-header > *,
.route-programacao .portfolio-panel-header > * {
  position: relative;
  z-index: 1;
}

.route-design .portfolio-panel-header h3,
.route-programacao .portfolio-panel-header h3 {
  max-width: 980px;
  font-size: clamp(42px, 7vw, 108px);
  letter-spacing: 0;
}

.route-design .portfolio-panel-header p,
.route-programacao .portfolio-panel-header p {
  font-size: 18px;
}

.page-header-side {
  display: grid;
  gap: var(--space-lg);
  justify-items: start;
}

.page-hero-visual {
  position: relative;
  width: min(100%, 390px);
  min-height: 430px;
  display: grid;
  place-items: center;
}

.page-portrait-cycle {
  width: min(100%, 310px);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.5);
}

.page-hero-visual .hero-command {
  transform: none;
}

.page-hero-visual .hero-command-top {
  top: 28px;
  left: 0;
}

.page-hero-visual .hero-command-bottom {
  right: 0;
  bottom: 42px;
}

.page-signature {
  width: min(100%, 390px);
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-lg);
  padding: 12px 14px;
  border: 1px solid var(--token-border);
  background: rgba(28, 30, 25, 0.48);
  backdrop-filter: blur(12px);
  opacity: 0.88;
  transition: transform 0.35s var(--ease), opacity 0.35s ease, border-color 0.35s ease;
}

.page-signature:hover {
  opacity: 1;
  transform: translateY(-3px);
  border-color: rgba(209, 255, 0, 0.34);
}

.page-signature img {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(209, 255, 0, 0.34);
  border-radius: 8px;
  object-fit: cover;
  object-position: 50% 36%;
  filter: saturate(0.8) contrast(1.08);
}

.page-signature span,
.page-signature strong {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1;
}

.page-signature span {
  min-height: 14px;
  color: var(--token-accent);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 9px;
}

.page-signature strong {
  color: var(--token-white);
  font-size: 20px;
  font-weight: 900;
}

.page-signature--code img {
  border-color: rgba(93, 224, 255, 0.32);
}

.page-title-slot,
.inline-slot {
  display: inline-flex;
  align-items: baseline;
  color: var(--token-accent);
  white-space: nowrap;
}

@keyframes portfolio-panel-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-panel-header,
.portfolio-module-header {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.48fr);
  gap: var(--space-3xl);
  align-items: end;
}

.portfolio-panel-header {
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--token-border);
  border-bottom: 1px solid var(--token-border);
}

.portfolio-panel-header h3,
.portfolio-module-header h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: 0;
}

.portfolio-panel-header h3 {
  font-size: 42px;
}

.portfolio-module-header h4 {
  max-width: 760px;
  font-size: 32px;
}

.portfolio-panel-header p,
.portfolio-module-header p {
  max-width: 560px;
  color: var(--token-text-light-muted);
  font-size: 16px;
  line-height: 1.45;
}

.portfolio-module-kicker {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--token-accent);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

/* ── Filter Banner for Modular Deep Links ── */
.portfolio-filter-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--token-surface-card);
  border: 1px solid var(--token-border);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--space-xs);
  margin-bottom: var(--space-xl);
  animation: portfolio-panel-in 0.4s var(--ease);
}

.portfolio-filter-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: -.02em;
  color: var(--token-text-light-muted);
}

.portfolio-filter-info .ds-status-dot {
  width: 8px;
  height: 8px;
  background: var(--token-accent);
  box-shadow: 0 0 8px var(--token-accent);
}

.portfolio-filter-info strong {
  color: var(--token-accent);
  margin-left: var(--space-xs);
}

.portfolio-filter-banner .clear-filter-btn {
  font-size: 11px;
  padding: 6px 14px;
}

@media (max-width: 768px) {
  .portfolio-filter-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  .portfolio-filter-banner .clear-filter-btn {
    width: 100%;
    justify-content: center;
  }
}

.portfolio-module {
  display: grid;
  gap: var(--space-xl);
  padding-top: var(--space-xl);
}

.portfolio-module + .portfolio-module,
.portfolio-gallery-list > * + * {
  margin-top: var(--space-2xl);
}

.portfolio-gallery-list {
  display: grid;
  gap: var(--space-2xl);
}

.creative-grid,
.project-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: var(--space-lg);
}

.creative-card,
.project-card,
.website-card {
  border: 1px solid var(--token-border);
  background: var(--token-surface-card);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.creative-card:hover,
.project-card:hover,
.website-card:hover {
  transform: translateY(-4px);
  border-color: rgba(209, 255, 0, 0.35);
  box-shadow: 0 0 30px rgba(209, 255, 0, 0.1), 0 20px 70px rgba(0, 0, 0, 0.32);
}

.capifos-section {
  border-top: 1px solid var(--token-border);
}

.capifos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.capifos-feature--wide {
  grid-column: 1 / -1;
}

.capifos-feature {
  border: 1px solid var(--token-border);
  background: var(--token-surface-card);
  overflow: hidden;
}

.capifos-feature img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.capifos-copy {
  padding: var(--space-xl);
}

.capifos-copy span,
.capifos-slot-copy span,
.capifos-slot-open span {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--token-accent);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.capifos-copy h3,
.capifos-slot-copy h3,
.capifos-slot-open h3 {
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.capifos-copy p,
.capifos-slot-copy p,
.capifos-slot-open p {
  color: var(--token-text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.capifos-slot {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr) minmax(0, 2fr);
  min-height: 100%;
  border: 1px solid var(--token-border);
  overflow: hidden;
  background: var(--token-surface-card);
}

.capifos-slot-media {
  min-height: 100%;
  background: #111;
}

.capifos-slot-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.capifos-slot-copy {
  padding: var(--space-3xl);
  border-left: 1px solid var(--token-border);
  background: linear-gradient(180deg, rgba(209, 255, 0, 0.06), transparent 55%);
}

.capifos-slot-open {
  padding: var(--space-3xl);
  border-left: 1px solid var(--token-border);
  background:
    linear-gradient(135deg, rgba(209, 255, 0, 0.08), transparent 45%),
    rgba(28, 30, 25, 0.86);
}

.capifos-slot-open::after {
  content: '';
  display: block;
  width: 44px;
  height: 2px;
  margin-top: var(--space-xl);
  background: var(--token-accent);
}

.project-gallery-block {
  display: grid;
  gap: var(--space-xl);
  padding: var(--space-xl);
}

.project-gallery-copy {
  max-width: 760px;
}

.project-gallery-copy span,
.expandable-gallery-caption span {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--token-accent);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-gallery-copy h3,
.expandable-gallery-caption h3 {
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
}

.project-gallery-copy p,
.expandable-gallery-caption p {
  color: var(--token-text-light-muted);
  font-size: 14px;
  line-height: 1.45;
}

.expandable-gallery {
  display: flex;
  width: 100%;
  min-height: 420px;
  height: 420px;
  align-items: stretch;
  gap: 8px;
}

.expandable-gallery--equal .expandable-gallery-item.is-priority {
  flex: 1 1 0;
}

.expandable-gallery-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #111;
  transition: flex 0.5s ease, filter 0.5s ease;
  cursor: pointer;
}

.expandable-gallery-item.is-priority {
  flex: 1.7 1 0;
}

.expandable-gallery-item:hover,
.expandable-gallery-item:focus-within {
  flex: 2.2 1 0;
}

.expandable-gallery--equal .expandable-gallery-item:hover,
.expandable-gallery--equal .expandable-gallery-item:focus-within {
  flex: 1.45 1 0;
}

.expandable-gallery:hover .expandable-gallery-item:not(:hover):not(:focus-within) {
  filter: saturate(0.88) brightness(0.82);
}

.expandable-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expandable-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 12%, rgba(0, 0, 0, 0.72) 100%);
}

.expandable-gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px;
}

.expandable-gallery-caption h3 {
  font-size: 28px;
  color: var(--token-white);
}

.expandable-gallery-caption p {
  max-width: 36ch;
}

.creative-card-large,
.project-card-featured {
  grid-row: span 2;
}

.software-section .project-card-featured {
  grid-row: span 1;
}

.creative-poster {
  position: relative;
  min-height: 220px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}

.creative-card-large .creative-poster,
.project-card-featured .project-screen {
  min-height: 340px;
}

.software-section .project-card-featured .project-screen {
  min-height: 280px;
}

.creative-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.9;
}

.poster-01::before {
  background:
    linear-gradient(135deg, rgba(209, 255, 0, 0.34), transparent 36%),
    linear-gradient(220deg, rgba(255, 68, 68, 0.34), transparent 48%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.10) 0 1px, transparent 1px 42px),
    #11130f;
}

.poster-01 {
  display: block;
  align-items: stretch;
  min-height: 300px;
}

.poster-01-preview {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 6px;
  padding: 6px;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.poster-01-preview::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.56));
  pointer-events: none;
}

.poster-01-preview img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #11130f;
}

.poster-01-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  max-width: 72%;
}

.poster-01-content p {
  max-width: 360px;
  margin: 0;
  color: var(--token-text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.poster-02::before {
  background:
    linear-gradient(180deg, rgba(209,255,0,0.18), transparent),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 18px),
    #090909;
}

.poster-03::before {
  background:
    linear-gradient(145deg, rgba(244,244,232,0.92) 0 48%, rgba(5,5,5,0.95) 48% 100%),
    #f4f4e8;
}

.creative-poster span,
.creative-poster strong {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.creative-poster span {
  width: fit-content;
  padding: 6px 10px;
  background: var(--token-bg-dark);
  color: var(--token-accent);
  font-size: 11px;
  font-weight: 900;
}

.creative-poster strong {
  max-width: 420px;
  color: var(--token-white);
  font-size: 42px;
  font-weight: 900;
  line-height: 0.98;
}

.poster-03 strong {
  color: var(--token-bg-dark);
}

.card-body {
  padding: var(--space-xl);
}

.card-body h3 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.card-body p,
.website-copy p {
  color: var(--token-text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.pain-marquee {
  width: 100%;
  padding: var(--space-4xl) 0;
  overflow: hidden;
  background: var(--token-bg-dark);
  border-top: 1px solid var(--token-border);
  border-bottom: 1px solid var(--token-border);
}

.ticker-row {
  display: flex;
  gap: 20px;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  margin-bottom: 15px;
}

.ticker-row.reverse {
  animation-direction: reverse;
}

.pain-pill {
  padding: 12px 26px 12px 22px;
  border: 1px solid #ff5f4d;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 10px 50%);
  background: #b01d1d;
  color: #fff4cf;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

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

.parallax-timeline-wrapper {
  position: relative;
  height: 1200vh;
  background: var(--token-bg-light);
  color: var(--token-bg-dark);
  overflow: visible;
}

.parallax-timeline-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-timeline-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(154, 87, 255, 0.32), transparent 32%),
    linear-gradient(225deg, rgba(255, 68, 68, 0.28), transparent 34%),
    linear-gradient(0deg, rgba(255, 216, 77, 0.2), rgba(255, 216, 77, 0.2)),
    url('assets/generated/parallax-method-bg.png') center/cover no-repeat;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.parallax-timeline-content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-label {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 12;
  color: var(--token-accent);
}

.timeline-label.muted-light {
  color: rgba(255, 255, 255, 0.46);
}

.timeline-text-main {
  max-width: 1200px;
  font-family: var(--font-display);
  font-size: 82px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 0.92;
  text-align: center;
  pointer-events: none;
  transition: transform 0.6s var(--ease), opacity 0.6s ease;
}

.timeline-light {
  color: var(--token-white);
}

.timeline-dark {
  color: var(--token-bg-dark);
}

.timeline-cta {
  position: absolute;
  right: 40px;
  bottom: 40px;
  pointer-events: auto;
}

.timeline-ticker-row {
  position: absolute;
  left: -10%;
  width: 120%;
  opacity: 0;
  color: var(--token-white);
  pointer-events: none;
  transform: translateY(100px);
  transition: opacity 0.4s ease, transform 0.8s var(--ease);
}

.timeline-ticker-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.row-pos-1 { top: 13%; }
.row-pos-2 { top: 23%; }
.row-pos-3 { top: 34%; }
.row-pos-10 { bottom: 34%; }
.row-pos-11 { bottom: 23%; }
.row-pos-12 { bottom: 13%; }

.panel-phrase-v2 {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
  transition: transform 0.6s var(--ease), opacity 0.6s ease;
}

.panel-method {
  overflow: hidden;
}

.panel-method::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.96;
}

.panel-method-main::before {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 216, 77, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(154, 87, 255, 0.22), transparent 42%),
    linear-gradient(225deg, rgba(255, 68, 68, 0.24), transparent 44%),
    url('assets/generated/parallax-method-bg.png') center/cover no-repeat,
    #111;
}

.panel-method-purple::before {
  background: linear-gradient(135deg, rgba(154, 87, 255, 0.94), rgba(42, 14, 90, 0.96));
}

.panel-method-yellow::before {
  background: linear-gradient(135deg, rgba(255, 216, 77, 0.96), rgba(255, 161, 43, 0.96));
}

.panel-method-red::before {
  background: linear-gradient(135deg, rgba(255, 82, 82, 0.95), rgba(92, 8, 16, 0.98));
}

.panel-phrase-v2.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.scroll-color-char {
  color: var(--token-bg-dark);
  opacity: 0.15;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.scroll-color-char.state-active {
  color: var(--token-accent);
  opacity: 1;
}

.scroll-color-char.state-done {
  color: var(--token-bg-dark);
  opacity: 1;
}

.timeline-text-animated .scroll-color-char {
  opacity: 0.2;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.timeline-text-animated[data-timeline-tone="purple"] .scroll-color-char {
  color: rgba(255, 255, 255, 0.32);
}

.timeline-text-animated[data-timeline-tone="purple"] .scroll-color-char.state-active {
  color: var(--token-cyan);
  opacity: 1;
}

.timeline-text-animated[data-timeline-tone="purple"] .scroll-color-char.state-done {
  color: #ffffff;
  opacity: 1;
}

.timeline-text-animated[data-timeline-tone="yellow"] .scroll-color-char {
  color: rgba(39, 20, 0, 0.26);
}

.timeline-text-animated[data-timeline-tone="yellow"] .scroll-color-char.state-active {
  color: #5a1900;
  opacity: 1;
}

.timeline-text-animated[data-timeline-tone="yellow"] .scroll-color-char.state-done {
  color: #111111;
  opacity: 1;
}

.timeline-text-animated[data-timeline-tone="red"] .scroll-color-char {
  color: rgba(255, 244, 230, 0.26);
}

.timeline-text-animated[data-timeline-tone="red"] .scroll-color-char.state-active {
  color: #ffd84d;
  opacity: 1;
}

.timeline-text-animated[data-timeline-tone="red"] .scroll-color-char.state-done {
  color: #fff6e8;
  opacity: 1;
}

.ticker-item-parallax {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 12px;
  padding: 6px 16px;
  border: 1px solid #ff5f4d;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 8px 50%);
  background: #b01d1d;
  color: #fff4cf;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-item-parallax.accent {
  border-color: #ff8d2f;
  background: #d63b22;
  color: #fff2b8;
}

.ticker-item-parallax.red {
  border-color: #ffdf4d;
  background: #c72424;
  color: #fff8cc;
}

.panel-method-purple .ticker-item-parallax.accent,
.panel-method-red .ticker-item-parallax.accent {
  border-color: #ff9d46;
  background: #d1371e;
  color: #fff2be;
}

.panel-method-yellow .ticker-item-parallax.red {
  border-color: #8b1111;
  background: #b91f1f;
  color: #fff4d6;
}

.website-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.software-grid {
  align-items: stretch;
}

.software-card {
  min-height: 541px;
}

.software-card .website-copy {
  display: grid;
  align-content: start;
  min-height: 241px;
}

.browser-preview {
  min-height: 300px;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--token-border);
  background: var(--token-bg-dark);
  overflow: hidden;
}

.browser-bar {
  height: 28px;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--token-border);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.04);
}

.browser-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--token-surface-dark);
}

.browser-preview img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid var(--token-border);
  border-top: 0;
}

.software-preview {
  display: grid;
  gap: 0;
  background:
    radial-gradient(circle at top right, rgba(209, 255, 0, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

.software-preview-shell {
  display: grid;
  min-height: 240px;
  border: 1px solid var(--token-border);
  border-top: 0;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.software-preview--easy .software-preview-shell {
  grid-template-columns: 70px minmax(0, 1fr);
}

.software-preview-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px 12px;
  border-right: 1px solid var(--token-border);
  background: rgba(255, 255, 255, 0.02);
}

.software-preview-sidebar i,
.software-preview-kpis i,
.software-preview-feed i,
.software-preview-dashboard-top i,
.software-preview-table i,
.software-preview-flow i,
.software-preview-chart i {
  display: block;
}

.software-preview-sidebar i {
  height: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.software-preview-sidebar i:first-child {
  background: var(--token-accent);
}

.software-preview-main {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.software-preview-hero {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(209, 255, 0, 0.22);
  background: linear-gradient(135deg, rgba(209, 255, 0, 0.15), rgba(255, 255, 255, 0.02));
}

.software-preview-hero span,
.software-preview-hero strong {
  font-family: var(--font-display);
  text-transform: uppercase;
}

.software-preview-hero span {
  color: var(--token-accent);
  font-size: 11px;
  font-weight: 900;
}

.software-preview-hero strong {
  color: var(--token-white);
  font-size: 24px;
  line-height: 0.95;
}

.software-preview-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.software-preview-kpis i,
.software-preview-dashboard-top i {
  height: 52px;
  border: 1px solid var(--token-border);
  background: rgba(255, 255, 255, 0.05);
}

.software-preview-feed,
.software-preview-table {
  display: grid;
  gap: 10px;
}

.software-preview-feed i,
.software-preview-table i {
  height: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.software-preview-feed i:nth-child(2),
.software-preview-table i:nth-child(2) {
  width: 82%;
}

.software-preview-feed i:nth-child(3),
.software-preview-table i:nth-child(3) {
  width: 64%;
}

.software-preview--automation .software-preview-shell,
.software-preview--dashboard .software-preview-shell {
  grid-template-columns: 1fr;
  padding: 14px;
  gap: 12px;
}

.software-preview-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.software-preview-flow i {
  position: relative;
  min-height: 84px;
  border: 1px solid var(--token-border);
  background: linear-gradient(135deg, rgba(209, 255, 0, 0.18), rgba(255, 255, 255, 0.02));
}

.software-preview-flow i::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10px;
  width: 10px;
  height: 1px;
  background: rgba(209, 255, 0, 0.45);
}

.software-preview-flow i:last-child::after {
  display: none;
}

.software-preview-feed--short i:first-child {
  width: 92%;
}

.software-preview-feed--short i:last-child {
  width: 72%;
}

.software-preview-dashboard-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.software-preview-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  min-height: 110px;
  padding: 14px;
  border: 1px solid var(--token-border);
  background: rgba(255, 255, 255, 0.04);
}

.software-preview-chart i {
  flex: 1;
  background: linear-gradient(180deg, rgba(209, 255, 0, 0.45), rgba(209, 255, 0, 0.9));
}

.software-preview-chart i:nth-child(1) { height: 38%; }
.software-preview-chart i:nth-child(2) { height: 62%; }
.software-preview-chart i:nth-child(3) { height: 48%; }
.software-preview-chart i:nth-child(4) { height: 84%; }
.software-preview-chart i:nth-child(5) { height: 70%; }

.software-preview--easy {
  background:
    radial-gradient(circle at top right, rgba(209, 255, 0, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(209, 255, 0, 0.05), rgba(255, 255, 255, 0));
}

.software-preview--automation {
  background:
    radial-gradient(circle at top left, rgba(93, 224, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(93, 224, 255, 0.05), rgba(255, 255, 255, 0));
}

.software-preview--dashboard {
  background:
    radial-gradient(circle at top center, rgba(255, 155, 106, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 155, 106, 0.05), rgba(255, 255, 255, 0));
}

.route-design .portfolio-gallery-list {
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}

.route-design .project-gallery-copy {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.motion-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.motion-slot,
.testimonial-card {
  border: 1px solid var(--token-border);
  background: var(--token-surface-card);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.motion-slot:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(209, 255, 0, 0.35);
  box-shadow: 0 0 30px rgba(209, 255, 0, 0.1), 0 20px 70px rgba(0, 0, 0, 0.32);
}

.motion-slot--featured {
  grid-column: span 2;
}

.motion-player,
.motion-placeholder {
  position: relative;
  border-bottom: 1px solid var(--token-border);
  background:
    radial-gradient(circle at 24% 18%, rgba(209, 255, 0, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(209, 255, 0, 0.08), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.motion-player video {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: var(--token-bg-dark);
}

.motion-player::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.82)),
    linear-gradient(90deg, rgba(209, 255, 0, 0.12), transparent 42%);
  pointer-events: none;
}

.motion-player--watermark::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(132px, 22%, 184px);
  height: clamp(42px, 11%, 74px);
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(7, 7, 7, 0.96), rgba(18, 18, 18, 0.92)),
    var(--token-surface-card);
  border-top: 1px solid rgba(209, 255, 0, 0.16);
  border-left: 1px solid rgba(209, 255, 0, 0.16);
  pointer-events: none;
}

.motion-player-toggle {
  position: absolute;
  left: var(--space-xl);
  bottom: var(--space-xl);
  z-index: 3;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(209, 255, 0, 0.5);
  border-radius: 999px;
  background: var(--token-accent);
  color: var(--token-bg-dark);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.motion-player-toggle:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 24px rgba(209, 255, 0, 0.28);
}

.motion-player-meta {
  position: absolute;
  left: var(--space-xl);
  right: var(--space-xl);
  top: var(--space-xl);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  color: var(--token-white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.motion-player-meta span {
  color: var(--token-accent);
}

.motion-player-progress {
  position: absolute;
  left: var(--space-xl);
  right: var(--space-xl);
  bottom: 14px;
  z-index: 3;
  height: 4px;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  overflow: hidden;
}

.motion-player-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--token-accent);
  transition: width 0.16s linear;
}

.motion-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-sm);
  padding: var(--space-xl);
}

.motion-placeholder--dark {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 68, 68, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(255, 68, 68, 0.12), rgba(255, 255, 255, 0.02));
}

.motion-placeholder span,
.motion-copy span,
.testimonial-card span {
  display: block;
  color: var(--token-accent);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.motion-placeholder strong {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.motion-copy {
  padding: var(--space-xl);
}

.motion-copy h3,
.testimonial-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.motion-copy p,
.testimonial-card p {
  color: var(--token-text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.testimonial-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-xl);
}

.testimonial-card p {
  color: var(--token-white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.testimonial-card strong {
  color: var(--token-accent);
  margin-bottom: 0;
}

.portfolio-image-clickable,
.portfolio-image-trigger {
  cursor: zoom-in;
}

.portfolio-image-clickable:focus-visible,
.portfolio-image-trigger:focus-visible {
  outline: 2px solid var(--token-accent);
  outline-offset: 4px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: var(--space-2xl);
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(14px);
}

.image-lightbox-frame {
  width: min(100%, 1120px);
  max-height: calc(100vh - 120px);
  display: grid;
  gap: var(--space-md);
}

.image-lightbox-frame img {
  width: 100%;
  max-height: calc(100vh - 170px);
  display: block;
  object-fit: contain;
  border: 1px solid rgba(209, 255, 0, 0.28);
  background: var(--token-bg-dark);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.5);
}

.image-lightbox-frame figcaption {
  min-height: 18px;
  color: var(--token-text-light-muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.image-lightbox-close {
  position: fixed;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: 2;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(209, 255, 0, 0.42);
  border-radius: 999px;
  background: var(--token-accent);
  color: var(--token-bg-dark);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-hero,
.preview-map,
.preview-menu {
  height: 150px;
  border: 1px solid var(--token-border);
  background: linear-gradient(135deg, var(--token-accent), #2c3320 46%, var(--token-bg-dark));
}

.preview-realestate .preview-map {
  background:
    linear-gradient(90deg, rgba(209,255,0,0.22), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 22px),
    #10120e;
}

.preview-food .preview-menu {
  background:
    linear-gradient(180deg, rgba(244,244,232,0.92) 0 58%, rgba(5,5,5,0.95) 58%),
    #f4f4e8;
}

.preview-lines {
  display: grid;
  gap: 10px;
  margin-top: var(--space-lg);
}

.preview-lines i {
  height: 10px;
  background: var(--token-surface-dark);
}

.preview-lines i:nth-child(2) {
  width: 74%;
}

.preview-lines i:nth-child(3) {
  width: 46%;
  background: var(--token-accent);
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.preview-cards i {
  height: 62px;
  border: 1px solid var(--token-border);
  background: rgba(255, 255, 255, 0.06);
}

.website-copy {
  padding: var(--space-xl);
}

.website-copy span {
  display: block;
  color: var(--token-accent);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.website-copy h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.website-link {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: var(--space-lg);
  color: var(--token-white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 1px solid var(--token-accent);
  white-space: nowrap;
}

.stories-section {
  background: var(--token-bg-light);
  color: var(--token-bg-dark);
  max-width: none;
  width: 100%;
}

.stories-section > * {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

.stories-section .scroll-color-reveal .scr-char {
  color: var(--token-bg-dark);
}

.stories-section .scroll-color-reveal .scr-char.state-active {
  color: var(--token-accent);
}

.stories-section .scroll-color-reveal .scr-char.state-done {
  color: var(--token-bg-dark);
}

.story-list {
  margin-top: var(--space-4xl);
  border-top: 1px solid rgba(5, 5, 5, 0.14);
}

.story-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(180px, 260px);
  gap: var(--space-xl);
  align-items: start;
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid rgba(5, 5, 5, 0.14);
}

.story-item h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.story-item p {
  max-width: 780px;
  color: var(--token-text-muted);
  font-size: 16px;
  line-height: 1.5;
}

.story-item strong {
  justify-self: end;
  color: var(--token-bg-dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-screen {
  position: relative;
  min-height: 300px;
  padding: var(--space-xl);
  border-bottom: 1px solid var(--token-border);
  background: var(--token-bg-dark);
  overflow: hidden;
}

.project-screen-preview {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--token-border);
}

.finance-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #0e0e0e;
}

.finance-screen .project-screen-preview {
  width: min(76%, 360px);
  height: auto;
  min-height: 0;
  max-height: 320px;
  object-fit: contain;
  object-position: center center;
}

.screen-top,
.screen-panel,
.screen-chart {
  border: 1px solid var(--token-border);
  background: rgba(255, 255, 255, 0.04);
}

.screen-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: var(--space-lg);
}

.screen-chart i {
  display: block;
  flex: 1;
  background: var(--token-accent);
}

.screen-chart i:nth-child(1) { height: 36%; }
.screen-chart i:nth-child(2) { height: 62%; }
.screen-chart i:nth-child(3) { height: 45%; }
.screen-chart i:nth-child(4) { height: 84%; }
.screen-chart i:nth-child(5) { height: 68%; }

.automation-screen,
.dashboard-screen {
  display: grid;
  gap: var(--space-sm);
}

.automation-screen {
  grid-template-columns: repeat(2, 1fr);
}

.automation-screen div,
.dashboard-screen div {
  border: 1px solid var(--token-border);
  background: linear-gradient(135deg, rgba(209,255,0,0.18), rgba(255,255,255,0.03));
}

.dashboard-screen {
  grid-template-columns: 1fr;
}

.scope-section {
  border-top: 1px solid var(--token-border);
  background: var(--token-surface-card);
}

.scope-output {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl);
  border: 1px solid var(--token-border);
  background: var(--token-bg-dark);
}

.scope-output span {
  color: var(--token-text-muted);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.scope-output strong {
  color: var(--token-accent);
  font-family: var(--font-display);
  font-size: 74px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: var(--space-lg);
}

.scope-output p {
  color: var(--token-text-light-muted);
  font-size: 16px;
  line-height: 1.45;
}

.scope-meter {
  height: 4px;
  margin-top: var(--space-xl);
  background: var(--token-surface-dark);
  overflow: hidden;
}

.scope-meter i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--token-accent);
  transition: width 0.3s var(--ease);
}

.contact-section {
  border-top: 1px solid var(--token-border);
}

.contact-list {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  list-style: none;
  color: var(--token-text-light-muted);
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.45;
}

.contact-list span {
  width: 18px;
  height: 18px;
  flex: none;
  border: 1px solid rgba(209, 255, 0, 0.36);
  background: var(--token-accent);
  box-shadow: inset 0 0 0 5px var(--token-bg-dark);
}

.contact-form {
  padding: var(--space-3xl);
  border: 1px solid var(--token-border);
  background: var(--token-surface-card);
}

.form-heading {
  margin-bottom: var(--space-xl);
}

.form-heading h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-heading p {
  color: var(--token-text-muted);
}

.ds-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-lg);
  text-align: left;
}

.ds-label,
.form-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--token-text-muted);
}

.form-label {
  display: block;
  margin: var(--space-lg) 0 8px;
}

.ds-input,
.ds-textarea {
  width: 100%;
  border: 1px solid var(--token-border);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--token-white);
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ds-input:focus,
.ds-textarea:focus {
  border-color: var(--token-accent);
  box-shadow: 0 0 15px rgba(209, 255, 0, 0.1);
}

.ds-textarea {
  min-height: 120px;
  resize: vertical;
}

select.ds-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d1ff00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

select.ds-input option {
  background: var(--token-bg-dark);
  color: var(--token-white);
}

input[type="range"] {
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--token-surface-dark);
  border: none;
  outline: none;
  margin: 18px 0 var(--space-sm);
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--token-accent);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.16);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--token-accent);
  cursor: pointer;
}

.ds-btn--submit {
  position: relative;
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--token-bg-dark);
  color: var(--token-white);
  overflow: hidden;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), background 0.35s ease;
}

.ds-btn--submit::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--token-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.ds-btn--submit:hover {
  transform: translateY(-2px);
  background: #252822;
}

.ds-btn--submit:hover::after {
  transform: scaleX(1);
}

.form-status {
  min-height: 18px;
  margin-top: var(--space-md);
  color: var(--token-accent);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-section {
  border-top: 1px solid var(--token-border);
  padding-bottom: var(--space-2xl);
}

.footer-section h2 {
  color: var(--token-surface-dark);
  font-family: var(--font-display);
  font-size: 150px;
  font-weight: 900;
  line-height: 0.8;
  text-transform: uppercase;
  margin-bottom: var(--space-2xl);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
  border-top: 1px solid var(--token-border);
  padding-top: var(--space-2xl);
  color: var(--token-text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-row div {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-row a {
  transition: color 0.25s ease;
}

.footer-row a:hover {
  color: var(--token-accent);
}

@media (max-width: 1280px) {
  .hero-title {
    font-size: 64px;
  }

  .timeline-text-main {
    font-size: 68px;
  }

  .ds-section-title,
  .center-statement h2 {
    font-size: 50px;
  }
}

@media (max-width: 1024px) {
  .ds-section {
    padding: var(--space-3xl) var(--space-xl);
  }

  .section-header,
  .portfolio-page-gateway,
  .portfolio-panel-header,
  .portfolio-module-header,
  .hero-grid,
  .grid-2,
  .creative-grid,
  .project-grid,
  .motion-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-visual {
    min-height: 560px;
  }

  .creative-card-large,
  .project-card-featured {
    grid-row: auto;
  }

  .website-grid,
  .capifos-grid,
  .stats-grid,
  .hero-proof-row {
    grid-template-columns: 1fr;
  }

  .motion-slot--featured {
    grid-column: auto;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--token-border);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .story-item {
    grid-template-columns: 70px 1fr;
  }

  .story-item strong {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 810px) {
  .ds-nav {
    padding: 0 var(--space-sm);
  }

  .ds-nav-links {
    display: none;
  }

  .ds-section {
    padding: var(--space-3xl) var(--space-sm);
  }

  .hero-grid {
    gap: var(--space-2xl);
  }

  .hero-title {
    font-size: 43px;
  }

  .hero-desc,
  .section-lead,
  .statement-copy {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .ds-btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 470px;
  }

  .portrait-frame {
    width: min(100%, 330px);
  }

  .hero-command {
    min-width: 150px;
    padding: 11px 12px;
  }

  .hero-command strong {
    font-size: 12px;
  }

  .hero-command-top {
    top: 18px;
    left: 0;
  }

  .hero-command-bottom {
    right: 0;
    bottom: 28px;
  }

  .hero-bg-text {
    left: var(--space-sm);
    font-size: 76px;
  }

  .portfolio-tabs {
    overflow-x: auto;
    align-items: stretch;
    padding-bottom: var(--space-md);
  }

  .portfolio-tab {
    min-width: 210px;
    flex: 0 0 auto;
  }

  .portfolio-panel-header {
    padding: var(--space-lg) 0;
  }

  .route-design .portfolio-panel-header,
  .route-programacao .portfolio-panel-header {
    min-height: auto;
    margin-bottom: var(--space-2xl);
  }

  .page-header-side {
    justify-items: stretch;
  }

  .page-signature {
    width: 100%;
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .page-signature img {
    width: 64px;
    height: 64px;
  }

  .portfolio-panel-header h3 {
    font-size: 32px;
  }

  .route-design .portfolio-panel-header h3,
  .route-programacao .portfolio-panel-header h3 {
    font-size: 42px;
  }

  .portfolio-module-header h4 {
    font-size: 26px;
  }

  .ds-section-title,
  .center-statement h2 {
    font-size: 36px;
    line-height: 1;
  }

  .stat-col h3,
  .scope-output strong {
    font-size: 48px;
  }

  .creative-poster,
  .creative-card-large .creative-poster,
  .project-card-featured .project-screen,
  .project-screen,
  .browser-preview,
  .motion-player,
  .motion-placeholder {
    min-height: 260px;
  }

  .portfolio-path-card {
    min-height: 340px;
    padding: var(--space-xl);
  }

  .portfolio-path-card::after {
    left: var(--space-xl);
    right: var(--space-xl);
    top: var(--space-xl);
  }

  .portfolio-path-card strong {
    font-size: 38px;
  }

  .motion-player video {
    min-height: 0;
  }

  .motion-player-toggle {
    left: var(--space-lg);
    bottom: var(--space-lg);
  }

  .motion-player-meta {
    left: var(--space-lg);
    right: var(--space-lg);
  }

  .motion-player-progress {
    left: var(--space-lg);
    right: var(--space-lg);
  }

  .image-lightbox {
    padding: var(--space-sm);
  }

  .testimonial-card p {
    font-size: 20px;
  }

  .creative-poster strong {
    font-size: 30px;
  }

  .poster-01-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 220px;
  }

  .software-preview--easy .software-preview-shell {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .software-preview-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poster-01-content {
    position: relative;
    inset: auto;
    max-width: none;
    padding: var(--space-lg);
  }

  .poster-01-content p {
    max-width: none;
  }

  .capifos-copy h3,
  .capifos-slot-copy h3,
  .capifos-slot-open h3,
  .project-gallery-copy h3,
  .expandable-gallery-caption h3 {
    font-size: 22px;
  }

  .capifos-slot {
    grid-template-columns: 1fr;
  }

  .capifos-slot-copy,
  .capifos-slot-open {
    border-left: 0;
    border-top: 1px solid var(--token-border);
  }

  .project-gallery-block {
    padding: var(--space-lg);
  }

  .expandable-gallery {
    min-height: 0;
    flex-direction: column;
  }

  .expandable-gallery-item,
  .expandable-gallery-item:hover,
  .expandable-gallery-item:focus-within,
  .expandable-gallery-item.is-priority {
    flex: 1 1 auto;
  }

  .expandable-gallery-item img {
    min-height: 260px;
  }

  .timeline-text-main {
    font-size: 42px;
    padding: 0 var(--space-sm);
  }

  .timeline-label {
    top: 20px;
    left: 10px;
  }

  .timeline-cta {
    right: 10px;
    bottom: 24px;
  }

  .parallax-timeline-wrapper {
    height: 900vh;
  }

  .story-item {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .story-item strong {
    grid-column: auto;
  }

  .contact-form,
  .scope-output {
    padding: var(--space-xl);
  }

  .footer-section h2 {
    font-size: 72px;
  }
}

.card-tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.tech-badge {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--token-text-light-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--token-border);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: -0.01em;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
