/* =============================================
   LOCK IN — Web Agency
   Theme: Carbon & Ember
   ============================================= */



/* === RESET & VARIABLES === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  -webkit-user-select: none;
  user-select: none;
}

:root {
  --bg: #111010;
  --bg-deep: #080808;
  --card: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.06);
  --accent: #E85D3A;
  --accent-dim: rgba(232, 93, 58, 0.15);
  --accent-glow: rgba(232, 93, 58, 0.08);
  --text: #FAFAF8;
  --muted: #777069;
  --dim: #444;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(232, 93, 58, 0.3);

  --font-logo: 'Outfit', sans-serif;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --nav-height: 108px;
  --section-pad: 120px;
  --container-width: 1200px;
}

html {
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 1400px 500px at 85% 15vh, rgba(232, 93, 58, 0.03), transparent),
    radial-gradient(ellipse 1200px 400px at 10% 160vh, rgba(232, 93, 58, 0.025), transparent),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Custom scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg);
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

/* === SCREEN READER ONLY === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === NOISE OVERLAY === */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0.03;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* === LAYOUT === */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

/* === LOGO (1:1 с бренд-китом) === */
.logo {
  font-family: var(--font-logo);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 18px;
  white-space: nowrap;
  user-select: none;
}

.logo__br {
  font-weight: 300;
  color: var(--accent);
  font-size: 1.22em;
}

.logo__sep {
  color: var(--accent);
}

.logo--lg {
  font-size: 32px;
}

/* === SECTION LABELS === */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--accent-dim);
}

.section-tag {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
  display: inline-block;
  padding: 8px 20px;
  background: rgba(232, 93, 58, 0.06);
  border: 1px solid rgba(232, 93, 58, 0.12);
  border-radius: 9999px;
}

.section__header {
  margin-bottom: 60px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -1.5px;
  line-height: 1.15;
  color: var(--text);
}

.section__subtitle {
  font-size: 16px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 500px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn__glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 58, 0.25) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover .btn__glow {
  opacity: 1;
}

.btn--primary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--primary:hover {
  background: rgba(232, 93, 58, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 93, 58, 0.2), 0 0 60px rgba(232, 93, 58, 0.1);
}

.btn--ghost {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.2);
  border-bottom-color: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.5),
    0 4px 6px -4px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

/* Corner edge glow */
.btn--ghost::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from 180deg at 100% 0%, rgba(255, 255, 255, 0.4), transparent 30%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Spotlight follow */
.btn--ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    120px circle at var(--spotlight-x, 50%) 100%,
    rgba(232, 93, 58, 0.15) 0%,
    transparent 50%
  );
}

.btn--ghost:hover::before {
  opacity: 1;
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.3);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.5),
    0 4px 6px -4px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 20px rgba(255, 255, 255, 0.03);
}

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

.btn--hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  padding: 22px 64px;
  border-radius: 9999px;
  color: var(--text);
  background: rgba(232, 93, 58, 0.25);
  border: 1.5px solid rgba(232, 93, 58, 0.4);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 0 40px rgba(232, 93, 58, 0.15),
    0 10px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}


.btn--hero:hover {
  transform: translateY(-3px);
  background: rgba(232, 93, 58, 0.55);
  border-color: rgba(232, 93, 58, 0.8);
  color: #fff;
  box-shadow:
    0 0 80px rgba(232, 93, 58, 0.4),
    0 0 40px rgba(232, 93, 58, 0.2),
    0 15px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn__arrow {
  transition: transform 0.3s;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.4s ease;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.nav::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(17, 16, 16, 1) 0%, rgba(17, 16, 16, 0.85) 35%, rgba(17, 16, 16, 0.5) 55%, transparent 85%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.nav--scrolled::after {
  opacity: 1;
}

.nav__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav__logo {
  z-index: 1001;
}

.nav__links-wrap {
  position: relative;
}

.nav__links {
  display: flex;
  gap: 2px;
  position: relative;
  padding: 6px 8px;
  border-radius: 9999px;
  background: rgba(10, 10, 10, 0.95);
  border: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

/* Border with dynamic spotlight glow via mask */
.nav__links::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(
      150px 4px at var(--spotlight-x, -200px) 100%,
      rgba(232, 93, 58, 1) 0%,
      transparent 70%
    ),
    rgba(255, 255, 255, 0.1);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

/* Spotlight — follows cursor, subtle internal glow at bottom */
.nav__spotlight {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  background: radial-gradient(
    120px circle at var(--spotlight-x, -200px) 100%,
    rgba(232, 93, 58, 0.12) 0%,
    transparent 50%
  );
}

/* opacity controlled by JS — removed CSS hover rule */

/* Active ambience — thin line at bottom of the pill */
.nav__ambience {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  background: radial-gradient(
    60px circle at var(--ambience-x, -200px) 0%,
    rgba(232, 93, 58, 1) 0%,
    transparent 100%
  );
}

.nav__link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
  padding: 8px 20px;
  border-radius: 9999px;
  z-index: 3;
}

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

.nav__link--active {
  color: var(--text);
}

.nav__cta {
  font-size: 13px;
  padding: 10px 24px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--text);
}

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

/* Hamburger — Pill toggle */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.hamburger__text,
.hamburger__x {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hamburger__x {
  position: absolute;
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  transform: scale(0.5);
}

.hamburger--active .hamburger__text {
  opacity: 0;
  transform: scale(0.5);
}

.hamburger--active .hamburger__x {
  opacity: 1;
  transform: scale(1);
}

.hamburger--active {
  color: var(--text);
}

/* Mobile Menu — Bottom Sheet */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.45s;
}

.mobile-menu--open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s linear 0s;
}

/* Backdrop — closes on tap */
.mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-menu--open::before {
  opacity: 1;
}

.mobile-menu__inner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px 20px 0 0;
  padding: 12px 24px calc(env(safe-area-inset-bottom, 8px) + 16px);
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 -20px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(232, 93, 58, 0.03);
}

/* Drag handle */
.mobile-menu__inner::before {
  content: '';
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  align-self: center;
  margin-bottom: 8px;
  flex-shrink: 0;
}

/* Border glow — matches site card style */
.mobile-menu__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(circle 120px at 0% 0%, rgba(255, 255, 255, 0.3), transparent),
    rgba(255, 255, 255, 0.08);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mobile-menu--open .mobile-menu__inner {
  transform: translateY(0);
}

.mobile-menu__link {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  padding: 12px 16px;
  border-radius: 10px;
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 1, 1), opacity 0.25s ease, color 0.2s ease, background 0.2s ease;
}

.mobile-menu__link:last-child {
  color: var(--accent);
}

.mobile-menu--open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, color 0.2s ease, background 0.2s ease;
}

.mobile-menu--open .mobile-menu__link:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu--open .mobile-menu__link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu--open .mobile-menu__link:nth-child(3) { transition-delay: 0.14s; }
.mobile-menu--open .mobile-menu__link:nth-child(4) { transition-delay: 0.18s; }

.mobile-menu__link--active {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-menu__link--active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--accent);
}

.mobile-menu__link:active {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}

.hero > .container {
  width: 100%;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.1);
  object-fit: cover;
  filter: blur(10px);
  opacity: 0.35;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -100px;
  opacity: 0.06;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  left: -100px;
  opacity: 0.04;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-left: 0;
  margin-right: auto;
}

.hero__label {
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 5.5vw, 62px);
  letter-spacing: -2px;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: var(--accent);
}


.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* === PORTFOLIO === */
.portfolio {
  padding: var(--section-pad) 0;
  position: relative;
}


.portfolio__header {
  margin-bottom: 60px;
}

.portfolio__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--text);
  opacity: 0;
  transform: translateY(120px);
}

.portfolio__subtitle {
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  opacity: 0;
  transform: translateY(120px);
}

/* Marquee */
.marquee {
  overflow: hidden;
  width: 100%;
  padding: 50px 0;
  margin: -50px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

/* Marquee card */
.marquee__card {
  flex-shrink: 0;
  width: 350px;
  cursor: pointer;
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.7);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.5),
    0 4px 6px -4px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.marquee__card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(circle 120px at 100% 0%, rgba(255, 255, 255, 0.4), transparent),
    rgba(255, 255, 255, 0.12);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.marquee__card:hover {
  transform: scale(1.03);
  box-shadow:
    0 0 8px 3px rgba(232, 93, 58, 0.4),
    0 0 20px 5px rgba(232, 93, 58, 0.25),
    0 0 40px rgba(232, 93, 58, 0.15);
}

.marquee__thumb {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}


.marquee__preview-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1440px;
  height: 900px;
  transform: scale(0.25);
  transform-origin: top left;
  border: none;
  pointer-events: none;
}

.marquee__card[data-project="6"] .marquee__preview-iframe {
  transform: scale(0.27);
}

.marquee__card--cta {
  background: var(--bg);
}

.marquee__thumb--cta {
  background: var(--bg);
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
  cursor: pointer;
}

.marquee__thumb--cta:hover {
  border-color: rgba(232, 93, 58, 0.5);
  background: rgba(232, 93, 58, 0.04);
}

.marquee__cta-icon {
  opacity: 0.7;
  transition: opacity 0.3s;
}

.marquee__thumb--cta:hover .marquee__cta-icon {
  opacity: 1;
}

.marquee__cta-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  line-height: 1.5;
  transition: color 0.3s;
}

.marquee__thumb--cta:hover .marquee__cta-text {
  color: rgba(255, 255, 255, 0.7);
}


.marquee__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: -2px;
  user-select: none;
}

.marquee__info {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}

.marquee__type {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* === MODAL === */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal__container {
  position: relative;
  width: 90vw;
  height: 92vh;
  max-width: 1400px;
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal--open .modal__container {
  transform: scale(1);
}

.modal__browser {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  background: rgba(17, 16, 16, 0.85);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal__browser-bar {
  height: 44px;
  background: rgba(26, 24, 22, 0.7);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.modal__browser-dots {
  display: flex;
  gap: 6px;
}

.modal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.modal__dot--red { background: #ff5f57; }
.modal__dot--yellow { background: #febc2e; }
.modal__dot--green { background: #28c840; }

.modal__browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  padding: 6px 14px;
}

.modal__url-text {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--muted);
}

.modal__close {
  font-size: 24px;
  color: var(--muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.modal__content {
  flex: 1;
  position: relative;
  overflow: auto;
}

.modal__scroll-overlay {
  display: none;
}

.modal__touch-overlay {
  display: none;
}

@media (max-width: 767px) {
  .modal__touch-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    touch-action: none;
  }
}

.modal__iframe {
  width: 1440px;
  height: 900px;
  border: none;
  display: none;
  transform-origin: top left;
}

.modal__iframe-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  touch-action: pan-x pan-y;
}

.modal__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-deep);
}

.modal__placeholder-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.modal__placeholder-text {
  font-size: 14px;
  color: var(--muted);
}

/* === SERVICES === */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: stretch;
}

.services__card {
  background: rgba(10, 10, 10, 0.7);
  border-radius: 16px;
  padding: 36px 32px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, opacity 1s ease;
  opacity: 0;
  transform: perspective(800px) rotateY(25deg) rotateX(-15deg) translateY(80px);
  transform-origin: 0% 100%;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.5),
    0 4px 6px -4px rgba(0, 0, 0, 0.5);
}

.services__card:nth-child(2) { transform: perspective(800px) rotateY(15deg) rotateX(-20deg) translateY(100px); }

.services__card.is-visible {
  opacity: 1;
  transform: perspective(800px) rotateY(0deg) rotateX(0deg) translateY(0);
}

/* Single unified border + corner glow */
.services__card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(circle 120px at 100% 0%, rgba(255, 255, 255, 0.4), transparent),
    rgba(255, 255, 255, 0.12);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@media (hover: hover) {
  .services__card:hover {
    transform: translateY(-6px);
    box-shadow:
      0 0 8px 3px rgba(232, 93, 58, 0.4),
      0 0 20px 5px rgba(232, 93, 58, 0.25),
      0 0 40px rgba(232, 93, 58, 0.15);
  }
}

.services__icon {
  color: var(--accent);
  width: 50px;
  height: 50px;
  transition: all 0.3s;
}

.services__content {
  flex: 1;
}

.services__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  color: var(--text);
  transition: color 0.3s ease;
}

.services__card:hover .services__name {
  color: var(--accent);
}

.services__desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

.services__footer {
  padding-top: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.services__footer > .services__price {
  margin-right: auto;
}


.services__more {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--dim);
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.2s ease;
}

.services__more svg {
  transition: transform 0.3s ease;
}

.services__card:hover .services__more {
  opacity: 1;
  transform: translateY(0);
  color: var(--accent);
}

.services__card:hover .services__more svg {
  transform: translateX(3px);
}

.services__card--expanded .services__more {
  display: none;
}

.services__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.services__tag {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--accent);
  opacity: 0.7;
}

/* Expanded content (hidden by default) */
.services__expanded {
  display: none;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0;
}

.services__card--expanded {
  transition: none !important;
}

.services__card--expanded,
.services__card--expanded:hover {
  transform: none !important;
  box-shadow:
    0 0 8px 3px rgba(232, 93, 58, 0.4),
    0 0 20px 5px rgba(232, 93, 58, 0.25),
    0 0 40px rgba(232, 93, 58, 0.15);
}

.services__card--expanded:hover .services__icon {
  color: var(--accent);
}

.services__card--expanded .services__expanded {
  display: block;
}

.services__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services__features li {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}

.services__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E85D3A;
}

/* Stagger fade-in for feature list items */
.services__features li {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.services__features li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.services__cta {
  display: none;
}

.services__card--expanded .services__footer {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 0;
  align-items: center;
}

.services__card--expanded .services__cta {
  grid-row: 1 / 3;
  grid-column: 1;
  justify-self: start;
}

.services__card--expanded .services__tag {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.services__card--expanded .services__price {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
}

.services__card--expanded .services__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 9999px;
  background: rgba(232, 93, 58, 0.25);
  border: 1px solid rgba(232, 93, 58, 0.4);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.2px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 0 20px rgba(232, 93, 58, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.services__card--expanded .services__cta:hover {
  transform: translateY(-2px);
  background: rgba(232, 93, 58, 0.55);
  border-color: rgba(232, 93, 58, 0.8);
  color: #fff;
  box-shadow:
    0 0 60px rgba(232, 93, 58, 0.3),
    0 0 30px rgba(232, 93, 58, 0.15),
    0 10px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* === SERVICES BAR === */
.services__bar {
  grid-column: 1 / -1;
  background: rgba(10, 10, 10, 0.7);
  border-radius: 16px;
  padding: 0 32px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 80px;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.5),
    0 4px 6px -4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(30px);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s ease, box-shadow 0.4s ease, opacity 0.8s ease;
}

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

.services__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(circle 120px at 100% 0%, rgba(255, 255, 255, 0.4), transparent),
    rgba(255, 255, 255, 0.12);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.services__bar:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 8px 3px rgba(232, 93, 58, 0.4),
    0 0 20px 5px rgba(232, 93, 58, 0.25),
    0 0 40px rgba(232, 93, 58, 0.15);
}

.services__bar:hover .services__bar-name {
  color: var(--accent);
}

.services__bar.is-open {
  height: var(--bar-open-height, 300px);
}

.services__bar.is-open:hover {
  transform: none;
}

.services__bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  flex-shrink: 0;
}

.services__bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.services__bar-icon {
  width: 50px;
  height: 50px;
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  top: 2px;
}

.services__bar-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--text);
  transition: color 0.3s ease;
}

.services__bar-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.services__bar-body {
  padding: 0 0 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services__bar.is-open .services__bar-body {
  opacity: 1;
}

.services__bar-body .services__desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.services__bar-features {
  list-style: none;
  padding: 0 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px 20px;
}

.services__bar-features li {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
}

.services__bar-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.services__bar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.services__bar-footer .services__tag {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--accent);
  opacity: 0.7;
}

.services__bar-footer .services__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 9999px;
  background: rgba(232, 93, 58, 0.25);
  border: 1.5px solid rgba(232, 93, 58, 0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 0 20px rgba(232, 93, 58, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.services__bar-footer .services__cta:hover {
  transform: translateY(-2px);
  background: rgba(232, 93, 58, 0.55);
  border-color: rgba(232, 93, 58, 0.8);
}

.services__disclaimer {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  opacity: 0.6;
  text-align: left;
}

/* Card placeholder (keeps grid space) */
.services__card-placeholder {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.06);
}

/* Backdrop */
.services__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
}

.services__backdrop--active {
  pointer-events: auto;
}

/* Expanded card state */
.services__card--expanded {
  z-index: 10000;
  cursor: default;
  overflow: hidden;
  background: rgba(20, 20, 20, 0.6) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 8px 3px rgba(232, 93, 58, 0.4),
    0 0 20px 5px rgba(232, 93, 58, 0.25),
    0 0 40px rgba(232, 93, 58, 0.15);
}

/* Close button — hidden by default, shown on mobile expanded */
.services__close {
  display: none;
}

/* === PROCESS (Interactive Panels) === */
.proc{width:100%;padding:120px 0}
.proc__container{max-width:1200px;margin:0 auto;padding:0 40px}
.proc__title{font-family:var(--font-display);font-weight:800;font-size:clamp(28px,4vw,42px);letter-spacing:-1.5px;margin-bottom:60px}
.proc__body{display:flex;gap:60px;align-items:flex-start}

/* Sidebar */
.proc__sidebar{width:40%;flex-shrink:0;position:relative;padding-left:40px}
.proc__progress{position:absolute;left:4px;width:2px;background:var(--border);top:0;height:0}
.proc__progress-fill{width:100%;height:0%;background:var(--accent);transition:height 0.8s cubic-bezier(0.16,1,0.3,1);border-radius:1px}

/* Steps */
.proc__step{position:relative;padding:20px 0;cursor:pointer;border-bottom:1px solid var(--border)}
.proc__step:last-child{border-bottom:none}
.proc__step::before{
  content:'';position:absolute;left:-44px;top:30px;
  width:10px;height:10px;border-radius:5px;
  border:2px solid rgba(255,255,255,0.1);background:var(--bg);
  z-index:1;transition:all 0.6s cubic-bezier(0.16,1,0.3,1)
}
.proc__step.is-active::before{border-color:var(--accent);background:var(--accent)}
.proc__step.is-passed::before{border-color:var(--accent);background:var(--accent)}

.proc__num{
  font-family:var(--font-display);font-size:22px;font-weight:800;
  line-height:1;color:rgba(232,93,58,0.3);letter-spacing:-0.5px;
  transition:all 0.6s cubic-bezier(0.16,1,0.3,1);transform-origin:left bottom
}
.proc__num-idx{font-family:var(--font-mono);font-size:0.7em;opacity:0.5;margin-right:6px}
.proc__step.is-active .proc__num{color:var(--accent);transform:scale(1.1)}
.proc__step.is-passed .proc__num{color:rgba(232,93,58,0.2)}
.proc__step:hover:not(.is-active) .proc__num{color:rgba(232,93,58,0.45)}

.proc__step-desc{
  font-size:14px;color:var(--muted);line-height:1.6;
  max-height:0;overflow:hidden;opacity:0;
  transition:all 0.6s cubic-bezier(0.16,1,0.3,1)
}
.proc__step.is-active .proc__step-desc{max-height:80px;opacity:1;margin-top:10px}

/* Preview area — single container wraps chrome bar + content panels */
.proc__main{
  flex:1;min-height:530px;position:relative;
  background:rgba(10,10,10,0.7);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 15px -3px rgba(0,0,0,0.5),0 4px 6px -4px rgba(0,0,0,0.5)
}
/* Unified border + corner glow on the container */
.proc__main::after{
  content:'';position:absolute;inset:0;border-radius:inherit;padding:1px;
  background:
    radial-gradient(circle 120px at 100% 0%,rgba(255,255,255,0.4),transparent),
    rgba(255,255,255,0.12);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;
  z-index:3
}
.proc__content{display:none;position:absolute;inset:0;width:100%;height:100%}
.proc__content.is-active{display:block}

.proc__brief,.proc__design,.proc__code,.proc__launch{
  height:100%;
  display:flex;flex-direction:column;overflow:hidden;
  position:relative
}

/* Chrome bar — inside the shared container */
.proc__chrome{
  display:none;position:absolute;top:0;left:0;right:0;z-index:2;
  align-items:center;gap:6px;padding:10px 14px;
  background:rgba(10,10,10,0.85);
  border-bottom:1px solid rgba(255,255,255,0.08)
}
.proc__chrome.is-visible{display:flex}
.proc__chrome-dot{width:8px;height:8px;border-radius:4px}
.proc__chrome-text{
  margin-left:auto;padding:3px 12px;
  background:rgba(255,255,255,0.04);border-radius:4px;
  font-family:var(--font-mono);font-size:10px;color:var(--muted);letter-spacing:0.5px;
  transition:opacity 300ms cubic-bezier(0.16,1,0.3,1)
}

/* Panel 1: Brief */
.proc__brief-head{
  display:flex;justify-content:space-between;align-items:center;
  padding:20px 28px
}
.proc__brief-tag{font-family:var(--font-mono);font-size:11px;letter-spacing:2px;color:var(--accent)}
.proc__brief-date{font-family:var(--font-mono);font-size:11px;color:var(--muted)}
.proc__brief-fields{padding:16px 28px;flex:1;overflow:hidden}
.proc__field{margin-bottom:18px}
.proc__field:last-child{margin-bottom:0}
.proc__field-label{
  display:block;font-family:var(--font-mono);font-size:10px;
  letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);margin-bottom:8px
}
.proc__field-val{
  display:flex;align-items:center;
  padding:10px 0;border-bottom:1px solid var(--border);min-height:40px;
  font-size:15px;color:var(--text)
}
.proc__field-text{white-space:pre}
.proc__field-cursor{
  display:none;width:2px;height:18px;background:var(--accent);
  margin-left:1px;flex-shrink:0;animation:procBlink 0.7s step-end infinite
}
@keyframes procBlink{50%{opacity:0}}

/* Panel 2: Design */
.proc__design,.proc__code{padding-top:38px}
/* Design chrome — internal content only */
.proc__design-chrome{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.proc__design-viewport{
  flex:1;padding:10px;display:flex;flex-direction:column;gap:0;overflow:hidden
}

.proc__dw-nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:7px 10px;flex-shrink:0;
  background:rgba(0,0,0,0.3);border-radius:4px;
  transform:translateY(-300%);transition:transform 800ms cubic-bezier(0.34,1.4,0.64,1)
}
.proc__dw-nav.is-landed{transform:translateY(0)}
.proc__dw-logo{width:12px;height:12px;background:#E85D3A;border-radius:2px}
.proc__dw-menu{display:flex;gap:12px}
.proc__dw-menu span{font-size:9px;color:rgba(255,255,255,0.4);letter-spacing:0.3px}

.proc__dw-hero-area{flex:1;display:flex;gap:14px;padding:20px 10px 15px;overflow:hidden}
.proc__dw-hero-text{flex:1;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.proc__dw-h1{
  font-family:var(--font-display);font-weight:800;
  font-size:16px;line-height:1.25;letter-spacing:-0.5px;
  color:var(--text);margin-bottom:6px;
  transform:translateX(-150%);transition:transform 800ms cubic-bezier(0.34,1.4,0.64,1)
}
.proc__dw-h1.is-landed{transform:translateX(0)}
.proc__dw-sub{font-size:9px;color:var(--muted);margin-bottom:10px;opacity:0;transition:opacity 700ms cubic-bezier(0.16,1,0.3,1)}
.proc__dw-sub.is-landed{opacity:1}
.proc__dw-btn{
  display:inline-block;width:fit-content;padding:5px 14px;
  background:#E85D3A;border:none;border-radius:4px;
  font-family:var(--font-body);font-size:9px;color:var(--text);cursor:default;
  transform:scale(0);transform-origin:left center;transition:transform 700ms cubic-bezier(0.34,1.4,0.64,1)
}
.proc__dw-btn.is-landed{transform:scale(1)}
.proc__dw-heroimg{
  width:38%;flex-shrink:0;border-radius:4px;
  background:linear-gradient(135deg,#E85D3A,#1E1A18);
  transform:translateX(200%);transition:transform 800ms cubic-bezier(0.34,1.4,0.64,1)
}
.proc__dw-heroimg.is-landed{transform:translateX(0)}

.proc__dw-cards{display:flex;gap:6px;flex-shrink:0;overflow:hidden}
.proc__dw-card{
  flex:1;padding:8px;background:var(--bg);border:1px solid var(--border);border-radius:4px;
  display:flex;flex-direction:column;align-items:flex-start;gap:4px;
  transform:translateY(300%);transition:transform 800ms cubic-bezier(0.34,1.4,0.64,1)
}
.proc__dw-card.is-landed{transform:translateY(0)}
.proc__dw-card-ico{width:14px;height:14px;border-radius:3px;background:rgba(232,93,58,0.15);border:1px solid rgba(232,93,58,0.3)}
.proc__dw-card-name{font-size:8px;color:rgba(255,255,255,0.5);letter-spacing:0.3px}
.proc__dw-card-line{height:3px;border-radius:1px;background:var(--muted)}

.proc__dw-footer{
  padding:6px 10px;margin-top:6px;flex-shrink:0;
  border-top:1px solid var(--border);
  font-family:var(--font-mono);font-size:8px;color:rgba(255,255,255,0.15);
  transform:translateY(300%);transition:transform 700ms cubic-bezier(0.34,1.4,0.64,1)
}
.proc__dw-footer.is-landed{transform:translateY(0)}

/* Panel 3: Code */
.proc__code-body{flex:1;padding:20px 16px;overflow:hidden;font-family:var(--font-mono);font-size:12px;line-height:2}
.proc__code-line{display:flex;gap:16px;animation:procLineIn 0.3s cubic-bezier(0.16,1,0.3,1) both}
@keyframes procLineIn{from{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:translateX(0)}}
.proc__line-num{color:rgba(255,255,255,0.12);min-width:20px;text-align:right;user-select:none}
.proc__line-code .t{color:var(--accent)}
.proc__line-code .a{color:rgba(255,255,255,0.6)}
.proc__line-code .s{color:var(--muted)}
.proc__line-code .x{color:rgba(255,255,255,0.45)}
.proc__code-cursor{display:inline-block;width:7px;height:14px;background:var(--accent);opacity:0.8;animation:procBlink 0.7s step-end infinite;vertical-align:text-bottom}

/* Panel 4: Launch */
.proc__launch{padding:28px}
.proc__live{display:flex;align-items:center;gap:8px;margin-bottom:24px}
.proc__live-dot{width:8px;height:8px;border-radius:4px;background:#28c840;animation:procPulse 2s ease-in-out infinite}
@keyframes procPulse{0%,100%{opacity:1}50%{opacity:0.3}}
.proc__live-text{font-family:var(--font-mono);font-size:11px;letter-spacing:2px;color:#28c840}
.proc__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:32px}
.proc__stat{padding:20px 16px;border:1px solid var(--border);border-radius:6px}
.proc__stat-num{font-family:var(--font-mono);font-size:28px;font-weight:700;color:var(--text);display:block}
.proc__stat-label{font-size:12px;color:var(--muted);margin-top:4px}
.proc__chart{display:flex;align-items:flex-end;gap:8px;height:140px;padding:20px 0;border-top:1px solid var(--border);flex:1}
.proc__chart-col{flex:1;display:flex;flex-direction:column;align-items:center;height:100%;justify-content:flex-end;gap:8px}
.proc__chart-bar{width:100%;border-radius:3px 3px 0 0;background:var(--accent);transition:height 1.8s cubic-bezier(0.16,1,0.3,1);height:0}
.proc__chart-label{font-family:var(--font-mono);font-size:9px;color:var(--muted);letter-spacing:1px}

/* === CTA SECTION === */
/* === CTA === */
.cta {
  position: relative;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  top: calc(-20% + 90px);
  right: calc(-10% + 90px);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 58, 0.05) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.cta__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* 1. Vertical divider */
.cta__inner::after {
  content: '';
  position: absolute;
  left: calc(100% - 540px);
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(232, 93, 58, 0.3), transparent);
  pointer-events: none;
}

.cta__text {
  flex: 1 1 auto;
}

.cta__label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--text);
  letter-spacing: -2px;
  line-height: 1.1;
  display: block;
  opacity: 0;
  transform: translateY(120px);
}

.cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  color: #E85D3A;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(120px);
}

.cta__subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(120px);
}

.cta__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  color: #E85D3A;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(120px);
}

.cta__link-text {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, text-shadow 0.3s ease;
}

.cta__link:hover .cta__link-text {
  color: #ff7a56;
  transform: scale(1.06);
  text-shadow: 0 0 20px rgba(232, 93, 58, 0.4);
}

.cta__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(120px);
}

.cta__note::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E85D3A;
  flex-shrink: 0;
}

/* Form */
.cta__form-wrap {
  flex: 0 0 460px;
  opacity: 0;
  transform: translateY(120px);
  background: rgba(10, 10, 10, 0.7);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.5),
    0 4px 6px -4px rgba(0, 0, 0, 0.5);
}

.cta__form-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background:
    radial-gradient(circle 120px at 100% 0%, rgba(255, 255, 255, 0.4), transparent),
    rgba(255, 255, 255, 0.12);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cta__chip {
  padding: 10px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9999px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
}

.cta__chip:hover {
  border-color: rgba(232, 93, 58, 0.3);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}

.cta__chip.is-active {
  background: rgba(232, 93, 58, 0.25);
  border-color: rgba(232, 93, 58, 0.4);
  color: #fff;
  box-shadow:
    0 0 40px rgba(232,93,58,0.15),
    0 10px 30px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.cta__input {
  width: 100%;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.cta__input::placeholder {
  color: var(--muted);
}

.cta__input:focus {
  border-color: rgba(232, 93, 58, 0.4);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 20px rgba(232,93,58,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}

.cta__textarea {
  resize: none;
  min-height: 80px;
}

.cta__submit {
  width: 100%;
  padding: 18px 36px;
  background: rgba(232, 93, 58, 0.25);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.5px;
  border: 1.5px solid rgba(232, 93, 58, 0.4);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 0 40px rgba(232, 93, 58, 0.15),
    0 10px 30px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta__submit:hover {
  background: rgba(232, 93, 58, 0.55);
  border-color: rgba(232, 93, 58, 0.8);
  color: #fff;
  transform: translateY(-3px);
  box-shadow:
    0 0 80px rgba(232, 93, 58, 0.4),
    0 0 40px rgba(232, 93, 58, 0.2),
    0 15px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Form success state */
.cta__success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 32px;
  gap: 16px;
}

.cta__success.is-visible {
  display: flex;
}

.cta__success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(232, 93, 58, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.cta__success-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.cta__success-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* === FOOTER === */
.footer {
  padding: 40px 0;
}

.footer__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.footer__row--main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer__logo {
  text-decoration: none;
  width: fit-content;
}


.footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.footer__social {
  color: #777069;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 200ms;
}

.footer__social:hover {
  color: #E85D3A;
}

.footer__email {
  font-family: var(--font-body);
  font-size: 14px;
  color: #777069;
  text-decoration: none;
  transition: color 200ms;
  text-align: right;
  justify-self: end;
  width: fit-content;
  -webkit-user-select: text;
  user-select: text;
}

.footer__email:hover {
  color: #FAFAF8;
}

.footer__divider {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 24px 0;
}

.footer__row--bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #444;
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__nav-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  transition: color 200ms;
}

.footer__nav-link:hover {
  color: #777069;
}

.footer__nav-dot {
  color: #444;
  font-size: 13px;
}

/* === FOOTER LEGAL === */
.footer__legal {
  display: flex;
  gap: 16px;
}

.footer__legal-btn {
  font-family: var(--font-body);
  font-size: 13px;
  color: #444;
  cursor: pointer;
  transition: color 200ms;
}

.footer__legal-btn:hover {
  color: var(--muted);
}

.footer__legal-dot {
  color: #444;
  font-size: 13px;
}

/* === LEGAL MODAL === */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.legal-modal--open {
  opacity: 1;
  visibility: visible;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.legal-modal__panel {
  position: relative;
  width: 90%;
  max-width: 640px;
  max-height: 80vh;
  background:
    radial-gradient(ellipse 600px 200px at 50% 0%, rgba(232, 93, 58, 0.06), transparent 70%),
    rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(232, 93, 58, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal--open .legal-modal__panel {
  transform: scale(1);
}

.legal-modal__head {
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(20, 18, 16, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
}

.legal-modal__dots {
  display: flex;
  gap: 6px;
}

.legal-modal__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legal-modal__dot--red { background: #ff5f57; }
.legal-modal__dot--yellow { background: #febc2e; }
.legal-modal__dot--green { background: #28c840; }

.legal-modal__title {
  flex: 1;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  padding: 5px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.legal-modal__close {
  font-size: 24px;
  color: var(--muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  line-height: 1;
  transition: color 200ms, background 200ms;
}

.legal-modal__close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.legal-modal__body {
  padding: 32px;
  overflow-y: auto;
  -webkit-user-select: text;
  user-select: text;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-modal__body::-webkit-scrollbar {
  width: 4px;
}

.legal-modal__body::-webkit-scrollbar-track {
  background: transparent;
}

.legal-modal__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.legal-modal__body::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.legal-modal__body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  letter-spacing: -0.5px;
}

.legal-modal__body h4 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 28px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-modal__body h4::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 12px;
  background: var(--accent);
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.8;
}

.legal-modal__body p {
  margin-bottom: 10px;
}

.legal-modal__body > div > p:nth-child(2) {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dim);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-modal__body ul {
  margin: 10px 0 10px 8px;
  padding-left: 16px;
  list-style: none;
}

.legal-modal__body li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 12px;
}

.legal-modal__body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.legal-modal__body strong {
  color: var(--text);
  font-weight: 500;
}

.legal-modal__body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 93, 58, 0.3);
  transition: border-color 200ms;
}

.legal-modal__body a:hover {
  border-color: var(--accent);
}

/* === FLIP TEXT === */
.flip-word {
  display: inline-block;
  white-space: nowrap;
  transform-style: preserve-3d;
}

.flip-char {
  display: inline-block;
  transform-style: preserve-3d;
  opacity: 0;
  transform: rotateX(-80deg);
  transform-origin: 50% 100%;
  transition: transform 0.8s cubic-bezier(0.2, 0.6, 0.35, 1), opacity 0.4s ease;
  transition-delay: var(--flip-delay, 0s);
}

.flip-char--visible {
  opacity: 1;
  transform: rotateX(0deg);
}

/* =============================================
   ANIMATIONS — Initial States (for GSAP)
   ============================================= */
.hero__label,
.hero__title-line,
.hero__actions {
  opacity: 0;
  transform: translateY(60px);
}

.hero__scroll-indicator {
  opacity: 0;
}

/* Section headers */
.section-label,
.section__subtitle {
  opacity: 0;
  transform: translateY(120px);
}

.section__title {
  opacity: 0;
  transform: translateY(120px);
}

/* Process */
.proc__title {
  opacity: 0;
  transform: translateY(120px);
}

.proc__body {
  opacity: 0;
  transform: translateY(120px);
}

/* Portfolio marquee */
.marquee {
  opacity: 0;
}


/* =============================================
   DESKTOP-ONLY: expanded card footer rearrange
   Price LEFT, tag + CTA RIGHT (tag above CTA)
   ============================================= */
@media (min-width: 768px) {
  /* Base footer: always grid so price/tag never jump on expand/collapse */
  .services__footer {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    align-items: center;
    gap: 0;
  }

  .services__footer > .services__price {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin-right: 0;
  }

  .services__footer > .services__tag {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  /* Expanded: price stays left, tag stays right top, CTA appears right bottom */
  .services__card--expanded .services__footer {
    grid-template-rows: auto auto;
  }

  .services__card--expanded .services__price {
    grid-row: 1;
    grid-column: 1;
    margin-top: 10px;
  }

  .services__card--expanded .services__cta {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    margin-top: 8px;
  }

  .services__card--expanded .services__tag {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  /* Prevent content flex stretching so title/desc don't jump */
  .services__card--expanded .services__content {
    flex: 0 0 auto;
  }

  /* Reduce expanded card height — tighten spacing */
  .services__card--expanded .services__expanded {
    padding-top: 12px;
  }

  .services__card--expanded .services__features {
    gap: 8px;
  }

  .services__card--expanded .services__footer {
    padding-top: 12px;
  }
}

/* =============================================
   RESPONSIVE — Tablet (768px — 1199px)
   ============================================= */
@media (max-width: 1199px) {
  :root {
    --section-pad: 80px;
  }

  .container {
    padding: 0 30px;
  }

  /* Services */
  .services__card {
    padding: 28px 24px;
  }

  .services__bar-features {
    grid-template-columns: 1fr 1fr;
  }

  /* Portfolio */
  .marquee__card {
    width: 300px;
  }
  .marquee__thumb {
    height: 190px;
  }
  .marquee__preview-iframe {
    transform: scale(0.208);
  }

  /* Process */
  .proc__container{padding:0 30px}
  .proc__body{gap:40px}
  .proc__sidebar{width:44%;padding-left:32px}
  .proc__main{min-height:450px}

  /* CTA */
  .cta__inner {
    gap: 30px;
  }

  .cta__form-wrap {
    flex: 0 0 400px;
  }

  .cta__inner::after {
    left: calc(100% - 470px);
  }

  .cta__subtitle {
    max-width: 360px;
  }

  /* Modal */
  .modal__container {
    width: 90vw;
  }
}

@media (max-width: 999px) {
  /* Services — single column on smaller tablets */
  .services__grid {
    grid-template-columns: 1fr;
  }

  /* Process — stack on smaller tablets */
  .proc__body{flex-direction:column;gap:40px;align-items:stretch}
  .proc__sidebar{width:100%;padding-left:32px}

  /* CTA — stack */
  .cta__inner {
    flex-direction: column;
    gap: 40px;
  }

  .cta__text,
  .cta__form-wrap {
    flex: none;
    max-width: 100%;
  }

  .cta__inner::after {
    display: none;
  }

  /* Footer */
  .footer__row--main {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: center;
    text-align: center;
  }

  .footer__email {
    justify-self: center;
  }
}

/* =============================================
   RESPONSIVE — Mobile (<768px)
   ============================================= */
@media (max-width: 767px) {
  :root {
    --nav-height: 60px;
    --section-pad: 40px;
  }

  .container {
    padding: 0 20px;
  }

  /* Nav */
  .nav__links-wrap,
  .nav__links,
  .nav__cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav__inner {
    padding: 0 20px;
  }

  .nav::after {
    height: 120px;
  }

  /* Hero */
  .hero__title {
    letter-spacing: -1.5px;
    font-size: clamp(24px, 7vw, 40px);
    margin-bottom: 16px;
  }

  .hero__actions {
    flex-direction: row;
  }

  .btn--hero {
    padding: 12px 28px;
    font-size: 13px;
  }

  /* Services */
  .services__card {
    padding: 28px 22px;
    gap: 16px;
  }

  .services__name {
    font-size: 16px;
  }

  .services__desc {
    font-size: 13px;
  }

  .services__footer {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding-top: 4px;
  }

  .services__footer > .services__price {
    margin-right: 0;
    order: 1;
  }

  .services__bar {
    padding: 0 22px;
  }

  .services__bar-name {
    font-size: 16px;
    white-space: nowrap;
  }

  .services__bar-icon {
    width: 36px;
    height: 36px;
  }

  .services__bar-price {
    font-size: 14px;
    white-space: nowrap;
  }

  .services__card--expanded .services__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
  }

  .services__card--expanded .services__close:active {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
  }

  .services__bar-features {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .services__bar-body .services__desc {
    font-size: 13px;
  }

  .services__disclaimer {
    font-size: 12px;
  }

  /* Portfolio marquee */
  .portfolio {
    padding: var(--section-pad) 0;
  }

  .portfolio__header {
    padding: 0 20px;
    margin-bottom: 28px;
  }

  .portfolio__title {
    font-size: clamp(24px, 7vw, 36px);
  }

  .portfolio__subtitle {
    font-size: 14px;
  }

  .marquee__card {
    width: 280px;
  }
  .marquee__thumb {
    height: 180px;
  }
  .marquee__preview-iframe {
    transform: scale(0.194);
  }
  .marquee__num {
    font-size: 36px;
  }

  /* Modal */
  .modal__container {
    width: 100vw;
    height: auto;
    max-height: 100vh;
    max-height: 100dvh;
    max-width: none;
  }

  .modal__browser {
    border-radius: 16px;
  }

  .modal__content {
    flex: none;
  }

  .modal__container {
    width: 95vw;
    height: auto;
    max-height: none;
  }

  .services__accordion {
    transform: none;
    opacity: 1;
  }

  /* Process */
  .proc{padding:40px 0}
  .proc__container{padding:0 20px}
  .proc__title{font-size:clamp(24px,7vw,36px);margin-bottom:28px}
  .proc__progress{display:none}
  .proc__sidebar{padding-left:0}
  .proc__step{display:none;border-bottom:none;padding:0}
  .proc__step::before{display:none}
  .proc__step.is-active{display:block;animation:procStepFadeIn 0.5s ease both}
  .proc__step.is-active .proc__step-desc{max-height:200px;opacity:1;margin-top:10px}
  .proc__num{font-size:18px}
  .proc__main{min-height:340px;border-radius:12px}
  .proc__step-desc{font-size:13px}

  @keyframes procStepFadeIn{
    from{opacity:0;transform:translateY(8px)}
    to{opacity:1;transform:none}
  }
  .proc__dw-cards{flex-direction:row;gap:4px;overflow:hidden}
  .proc__dw-h1{font-size:12px}
  .proc__dw-heroimg{display:none}
  .proc__dw-hero-area{padding:12px 8px 8px}
  .proc__dw-card{padding:6px}
  .proc__dw-card-ico{width:10px;height:10px}
  .proc__dw-card-name{font-size:7px}
  .proc__dw-footer{padding:4px 8px;font-size:7px}
  .proc__stats{grid-template-columns:repeat(3,1fr);gap:8px}
  .proc__stat{padding:12px 10px;text-align:center}
  .proc__stat-num{font-size:20px;display:block}
  .proc__stat-label{font-size:10px;margin-top:4px}
  .proc__chart{height:100px}
  .proc__launch{padding:20px}
  .proc__live{margin-bottom:16px}

  .proc__brief-head{padding:10px 16px}
  .proc__brief-fields{padding:8px 16px}
  .proc__field{margin-bottom:8px}
  .proc__field-val{font-size:13px;padding:5px 0;min-height:28px}
  .proc__field-label{font-size:8px;margin-bottom:4px}

  .proc__code-body{padding:16px 12px;font-size:11px;line-height:1.8}

  /* CTA */
  .cta__label,
  .cta__title {
    font-size: clamp(32px, 9vw, 48px);
  }

  .cta__subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .cta__link {
    font-size: 15px;
  }

  .cta__note {
    font-size: 12px;
  }

  .cta__form-wrap {
    padding: 24px;
  }

  .cta__chip {
    padding: 8px 16px;
    font-size: 12px;
  }

  .cta__input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .cta__submit {
    width: 100%;
    padding: 16px 28px;
    font-size: 15px;
  }

  /* Footer */
  .footer {
    padding: 24px 0;
  }

  .footer__inner {
    padding: 0 20px;
  }

  .footer__row--bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer__copy {
    font-size: 12px;
  }

  .footer__legal-btn {
    font-size: 12px;
  }

  /* Section titles */
  .section__header {
    margin-bottom: 28px;
  }

  .section__title {
    font-size: clamp(24px, 7vw, 36px);
  }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero__label,
  .hero__title-line,
  .hero__actions,
  .portfolio__title,
  .portfolio__subtitle,
  .marquee__card,
  .services__card,
  .services__bar,
  .proc__step,
  .proc__num,
  .section__title,
  .section-label,
  .section__subtitle,
  .footer__row--main,
  .footer__row--bottom,
  .cta__label,
  .cta__title,
  .cta__subtitle,
  .cta__link,
  .cta__note,
  .cta__form-wrap,
  .flip-char {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* === TAP HIGHLIGHT === */
@media (pointer: coarse) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
}

