/* =============================================
   LIVEONME — Light Test Version
   Bright · Premium · System-based
============================================= */

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

:root {
  --bg:       #F7F7F5;
  --bg-2:     #FFFFFF;
  --bg-3:     #EEECEA;
  --text:     #161616;
  --text-dim: #5C5C5C;
  --text-muted: #999999;
  --accent-1: #0891B2;
  --accent-2: #7C3AED;
  --gradient: linear-gradient(135deg, #0891B2, #7C3AED);
  --pastel-cyan:   #BEE7FF;
  --pastel-purple: #D8C8FF;
  --pastel-yellow: #F7E4A8;
  --pastel-mint:   #B8EAD8;
  --border:   rgba(0,0,0,.08);
  --border-md: rgba(0,0,0,.12);
  --card-bg:  rgba(255,255,255,.92);
  --shadow-sm: 0 2px 16px rgba(0,0,0,.05);
  --shadow-md: 0 8px 32px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(8,145,178,.12);
  --radius-lg: 24px;
  --font-display: "Pretendard", -apple-system, sans-serif;
  --font-body: "Pretendard", -apple-system, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  background:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(190,231,255,.4), transparent 55%),
    radial-gradient(ellipse 55% 35% at 85% 5%, rgba(216,200,255,.3), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(184,234,216,.2), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

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

/* ── CURSOR ── */
.cursor, .cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor {
  width: 6px;
  height: 6px;
  background: var(--accent-1);
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(8,145,178,.35);
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring,
body:has(.control-node:hover) .cursor-ring {
  width: 56px;
  height: 56px;
  border-color: var(--accent-2);
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: background .4s;
}
.nav.scrolled {
  background: rgba(255,255,255,.96);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
}
.nav-links a {
  font-size: 15px;
  color: var(--text-dim);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: none;
  border-radius: 100px;
  background: var(--gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(8,145,178,.25);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(8,145,178,.35);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--gradient);
  border: none;
  border-radius: 100px;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: none;
  box-shadow: 0 4px 24px rgba(8,145,178,.3);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(8,145,178,.38);
}
.btn-primary--large {
  padding: 22px 48px;
  font-size: 16px;
}
.btn-arrow {
  font-size: 18px;
  transition: transform .3s var(--ease);
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

/* ── SECTION UTILS ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--accent-1);
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(8,145,178,.1), rgba(124,58,237,.08));
  border: 1px solid rgba(8,145,178,.18);
  border-radius: 100px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
}

/* ── 01 HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) clamp(24px, 5vw, 80px) clamp(48px, 8vh, 80px);
  overflow: hidden;
}
.hero--sub {
  min-height: min(92vh, 820px);
  min-height: min(92dvh, 820px);
}
.hero--sub .hero-title {
  font-size: clamp(36px, 6.5vw, 72px);
}
.hero--sub .hero-sub {
  max-width: 520px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
}
.hero--sub .hero-bg {
  background:
    linear-gradient(165deg, rgba(190, 231, 255, 0.55) 0%, var(--bg) 42%, rgba(216, 200, 255, 0.4) 100%);
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(.9) brightness(.92) contrast(1.02);
}
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  will-change: transform;
  mix-blend-mode: soft-light;
}
.hero-blob--1 {
  width: min(60vw, 600px);
  height: min(60vw, 600px);
  top: -12%;
  left: -8%;
  background: rgba(190,231,255,.65);
  animation: heroBlobDrift1 18s ease-in-out infinite;
}
.hero-blob--2 {
  width: min(50vw, 500px);
  height: min(50vw, 500px);
  bottom: -5%;
  right: 10%;
  background: rgba(124,58,237,.28);
  animation: heroBlobDrift2 22s ease-in-out infinite;
}
.hero-blob--3 {
  width: min(55vw, 540px);
  height: min(55vw, 540px);
  top: 20%;
  right: -5%;
  background: rgba(8,145,178,.35);
  animation: heroBlobDrift3 20s ease-in-out infinite;
}
@keyframes heroBlobDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, 18px) scale(1.06); }
}
@keyframes heroBlobDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, -14px) scale(1.05); }
}
@keyframes heroBlobDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-16px, 22px) scale(1.04); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-shade--text {
  background:
    radial-gradient(ellipse 72% 58% at 50% 42%, rgba(255,255,255,.94) 0%, rgba(255,255,255,.72) 42%, rgba(255,255,255,.28) 68%, transparent 100%);
}
.hero-shade--edge {
  background:
    linear-gradient(180deg, rgba(255,255,255,.3) 0%, transparent 24%, transparent 68%, rgba(255,255,255,.9) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(8,145,178,.2);
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: -.01em;
  margin-bottom: clamp(28px, 4vh, 44px);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(8,145,178,.1);
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7.5vw, 88px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.045em;
  margin-bottom: clamp(24px, 4vh, 36px);
}
.hero-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.75;
  color: var(--text-dim);
  margin: 0 auto clamp(36px, 5vh, 52px);
  max-width: 560px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 18px 32px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(8,145,178,.2);
  border-radius: 100px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: none;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: border-color .3s, background .3s, transform .3s var(--ease), box-shadow .3s;
}
.btn-outline:hover {
  border-color: rgba(8,145,178,.45);
  background: rgba(255,255,255,.95);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.hero-scroll {
  position: absolute;
  bottom: clamp(32px, 5vh, 64px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent-1), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: .3; transform: scaleY(.6); }
  50% { opacity: 1; transform: scaleY(1); }
}
@media (max-width: 768px) {
  .hero-photo img {
    object-position: center 35%;
  }
  .hero-blob { filter: blur(56px); opacity: .4; }
  .hero-shade--text {
    background:
      radial-gradient(ellipse 90% 65% at 50% 38%, rgba(255,255,255,.94) 0%, rgba(255,255,255,.75) 45%, rgba(255,255,255,.3) 70%, transparent 100%);
  }
}

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

/* ── 02 CLIENTS ── */
.clients {
  position: relative;
  padding: clamp(48px, 8vh, 80px) 0;
  border-top: 1px solid rgba(8,145,178,.1);
  border-bottom: 1px solid rgba(8,145,178,.1);
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(190,231,255,.15) 50%, #FFFFFF 100%);
  overflow: hidden;
}
.clients::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 119px,
    rgba(8,145,178,.04) 119px,
    rgba(8,145,178,.04) 120px
  );
  pointer-events: none;
}
.clients-track-wrap {
  position: relative;
  overflow: hidden;
}
.clients-track-wrap::before,
.clients-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(40px, 10vw, 120px);
  z-index: 2;
  pointer-events: none;
}
.clients-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-2), transparent);
}
.clients-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-2), transparent);
}
.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 200s linear infinite;
}
.clients-track-wrap:hover .clients-track { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 3vw, 48px);
}
.logo-item img {
  display: block;
  height: clamp(32px, 4vw, 56px);
  width: auto;
  max-width: clamp(80px, 12vw, 160px);
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity .4s, filter .4s;
}
.logo-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* ── 03 STATEMENT ── */
.statement {
  padding: clamp(100px, 15vh, 180px) clamp(24px, 5vw, 80px);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(255,255,255,.5) 50%, var(--bg) 100%);
}
.statement-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 80px);
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}
.statement-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
}
.statement-sub {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}
.statement-body {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vh, 64px);
}
.stmt-line {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.stmt-line em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stmt-line--dim {
  font-size: clamp(22px, 3vw, 36px);
  color: var(--text-dim);
  font-weight: 400;
}

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

/* ── 04 WHAT WE BUILD ── */
.build {
  padding: clamp(80px, 12vh, 140px) 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, rgba(190,231,255,.08) 100%);
  overflow: hidden;
}
.build-header {
  padding: 0 clamp(24px, 5vw, 80px);
  margin-bottom: clamp(48px, 8vh, 80px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.build-header::before {
  content: '04';
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .2em;
  visibility: hidden;
  pointer-events: none;
  flex-shrink: 0;
}
.build-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
}
.build-hint {
  font-size: 15px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.build-scroll-wrap {
  overflow: hidden;
}
.build-scroll {
  display: flex;
  gap: clamp(16px, 2vw, 24px);
  padding: 0 clamp(24px, 5vw, 80px);
  width: max-content;
}
.build-panel {
  position: relative;
  flex-shrink: 0;
  width: clamp(280px, 42vw, 520px);
  height: clamp(420px, 65vh, 680px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(8,145,178,.12);
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.build-panel:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.build-panel::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.55), transparent 70%);
  pointer-events: none;
  z-index: 2;
}
.build-panel-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: transform .6s var(--ease);
}
.build-panel:hover .build-panel-bg { transform: scale(1.05); }

/* Split layout — image top, text bottom */
.build-panel--split {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  height: auto;
}

.build-panel--split::after {
  display: none;
}

.build-panel--split .build-panel-media {
  flex: 0 0 auto;
  height: clamp(215px, 34vh, 340px);
  overflow: hidden;
  border-bottom: 1px solid rgba(8, 145, 178, 0.1);
}

.build-panel--split .build-panel-inner {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(24px, 3vw, 32px) clamp(28px, 4vw, 40px) clamp(28px, 4vw, 36px);
}

.build-panel--split .build-panel-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}

.build-panel--split:hover .build-panel-photo {
  transform: scale(1.05);
}

.build-panel--split[data-category="SYSTEM"] .build-panel-inner {
  background:
    linear-gradient(160deg, rgba(8, 145, 178, 0.28) 0%, var(--pastel-cyan) 40%, var(--bg-2) 75%),
    radial-gradient(circle at 80% 20%, rgba(8, 145, 178, 0.2), transparent 50%);
}

.build-panel--split[data-category="EVENT"] .build-panel-inner {
  background:
    linear-gradient(160deg, rgba(124, 58, 237, 0.22) 0%, var(--pastel-purple) 40%, var(--bg-2) 75%),
    radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.18), transparent 50%);
}

.build-panel--split[data-category="DIGITAL"] .build-panel-inner {
  background:
    linear-gradient(160deg, var(--pastel-cyan) 0%, var(--pastel-purple) 50%, var(--bg-2) 100%);
}

.build-panel--split[data-category="CONTENT"] .build-panel-inner {
  background:
    linear-gradient(200deg, var(--pastel-purple) 0%, rgba(124, 58, 237, 0.15) 40%, var(--bg-2) 80%);
}

.build-panel--split[data-category="SPACE"] .build-panel-inner {
  background:
    linear-gradient(140deg, var(--pastel-mint) 0%, var(--pastel-cyan) 50%, var(--bg-2) 100%);
}

.build-panel--split .build-cat {
  margin-bottom: clamp(16px, 2vh, 22px);
}

.build-panel-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.build-panel-bg--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(248, 250, 252, 0.96) 0%, rgba(248, 250, 252, 0.72) 28%, rgba(248, 250, 252, 0.15) 58%, transparent 78%),
    linear-gradient(160deg, rgba(8, 145, 178, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

.build-panel-bg--system:not(.build-panel-bg--photo) {
  background: linear-gradient(160deg, rgba(8,145,178,.28) 0%, var(--pastel-cyan) 40%, var(--bg-2) 75%),
              radial-gradient(circle at 80% 20%, rgba(8,145,178,.2), transparent 50%);
}
.build-panel-bg--event {
  background: linear-gradient(160deg, rgba(124,58,237,.22) 0%, var(--pastel-purple) 40%, var(--bg-2) 75%),
              radial-gradient(circle at 20% 80%, rgba(124,58,237,.18), transparent 50%);
}
.build-panel-bg--digital {
  background: linear-gradient(160deg, var(--pastel-cyan) 0%, var(--pastel-purple) 50%, var(--bg-2) 100%);
}
.build-panel-bg--content {
  background: linear-gradient(200deg, var(--pastel-purple) 0%, rgba(124,58,237,.15) 40%, var(--bg-2) 80%);
}
.build-panel-bg--space {
  background: linear-gradient(140deg, var(--pastel-mint) 0%, var(--pastel-cyan) 50%, var(--bg-2) 100%);
}
.build-panel-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 4vw, 48px);
}
.build-cat {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: clamp(24px, 3vh, 40px);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.build-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.build-list li {
  font-size: clamp(18px, 1.8vw, 22px);
  color: var(--text-dim);
  letter-spacing: -.01em;
  transition: color .3s, transform .3s var(--ease);
}
.build-panel:hover .build-list li { color: var(--text); }
.build-list li:nth-child(1) { transition-delay: 0ms; }
.build-list li:nth-child(2) { transition-delay: 50ms; }
.build-list li:nth-child(3) { transition-delay: 100ms; }
.build-list li:nth-child(4) { transition-delay: 150ms; }

/* ── 05 PROCESS ── */
.process {
  padding: clamp(100px, 15vh, 180px) clamp(24px, 5vw, 80px);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(216,200,255,.08) 100%);
}
.process-header { margin-bottom: clamp(64px, 10vh, 120px); }
.process-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
}
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.process-line {
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.process-line-fill {
  width: 100%;
  height: 0%;
  background: var(--gradient);
  transition: height .1s linear;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 8vh, 80px);
}
.process-step {
  position: relative;
  padding: clamp(28px, 3vw, 36px) clamp(28px, 3vw, 36px) clamp(28px, 3vw, 36px) 72px;
  background: rgba(255,255,255,.65);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.process-step.active {
  background: var(--bg-2);
  border-color: rgba(8,145,178,.22);
  box-shadow: var(--shadow-sm);
}
.process-step::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border-md);
  background: var(--bg);
  transition: border-color .4s, background .4s, box-shadow .4s;
}
.process-step.active::before {
  border-color: var(--accent-1);
  background: var(--accent-1);
  box-shadow: 0 0 20px rgba(8,145,178,.4);
}
.step-num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .15em;
  color: var(--accent-1);
  display: block;
  margin-bottom: 12px;
}
.step-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.step-desc {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ── 06 PROJECT ESTIMATOR ── */
.estimator {
  position: relative;
  padding: clamp(100px, 15vh, 160px) clamp(24px, 5vw, 80px);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(190,231,255,.1) 50%, var(--bg) 100%);
  border-top: 1px solid rgba(8,145,178,.1);
  overflow: hidden;
}
.estimator::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 400px;
  background: radial-gradient(ellipse, rgba(8,145,178,.12), transparent 70%);
  pointer-events: none;
}
.estimator::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 40%;
  height: 300px;
  background: radial-gradient(ellipse, rgba(124,58,237,.08), transparent 70%);
  pointer-events: none;
}
.estimator-header {
  max-width: 1400px;
  margin: 0 auto clamp(56px, 8vh, 80px);
}
.estimator-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
  margin: 12px 0 24px;
}
.estimator-desc {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-dim);
  line-height: 1.7;
  /* max-width: 520px; */
}
.estimator-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(24px, 3vw, 40px);
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}
.estimator-config {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vh, 48px);
}
.est-step {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 36px);
  backdrop-filter: blur(20px);
  transition: border-color .3s, box-shadow .3s;
  box-shadow: var(--shadow-sm);
}
.est-step:hover {
  border-color: rgba(8,145,178,.22);
  box-shadow: var(--shadow-md);
}
.est-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.est-step-num {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .15em;
  color: var(--accent-1);
  padding: 4px 10px;
  border: 1px solid rgba(8,145,178,.25);
  border-radius: 100px;
}
.est-step-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.est-step-hint {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: .05em;
}
.est-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.est-options--scale {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.est-opt {
  padding: 12px 18px;
  background: rgba(0,0,0,.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.01em;
  cursor: none;
  transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.est-opt:hover {
  border-color: rgba(0,0,0,.14);
  color: var(--text);
  transform: translateY(-2px);
}
.est-opt.selected {
  background: linear-gradient(135deg, rgba(8,145,178,.12), rgba(124,58,237,.12));
  border-color: rgba(8,145,178,.35);
  color: var(--text);
  box-shadow: 0 0 24px rgba(8,145,178,.08);
}
.est-opt--multi.selected {
  background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(8,145,178,.08));
  border-color: rgba(124,58,237,.35);
}
.est-tech-extra {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.02);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.est-tech-extra[hidden] {
  display: none !important;
}
.est-tech-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.est-tech-field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: -.01em;
}
.est-tech-input {
  width: 100%;
  max-width: 160px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
}
.est-tech-dimensions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.est-tech-dim {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.est-tech-dim .est-tech-input {
  width: 88px;
  max-width: none;
}
.est-tech-dim-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}
.est-tech-dim-x {
  padding-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dim);
  line-height: 1;
}
.est-tech-area-sum {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-1);
}
.est-tech-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-dim);
  cursor: pointer;
}
.est-options--sub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.est-opt--sub {
  padding: 10px 12px;
  font-size: 14px;
}
.est-prod-notice {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(8,145,178,.2);
  background: rgba(8,145,178,.06);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
  letter-spacing: -.01em;
}

/* Result Panel */
.estimator-panel {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.est-panel-inner {
  position: relative;
  background: var(--bg-2);
  border: 1px solid transparent;
  border-radius: 24px;
  padding: clamp(28px, 3vw, 40px);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-image:
    linear-gradient(var(--bg-2), var(--bg-2)),
    linear-gradient(135deg, rgba(8,145,178,.35), rgba(124,58,237,.25));
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.est-panel-glow {
  position: absolute;
  top: -40%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(8,145,178,.15), transparent 70%);
  pointer-events: none;
}
.est-panel-label {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.est-panel-amount {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -.03em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 28px;
  line-height: 1.1;
}
.est-panel-amount.updating {
  animation: amount-pulse .4s var(--ease);
}
@keyframes amount-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
.est-panel-services {
  margin-bottom: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.est-service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
  min-height: 32px;
}
.est-service-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.est-service-list li:last-child {
  border-bottom: none;
}
.est-service-name {
  flex: 1;
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
}
.est-service-price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.est-service-item--consult .est-service-price {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.est-service-empty {
  justify-content: center;
  font-size: 15px;
  color: var(--text-muted);
  opacity: .6;
  border-bottom: none;
  padding: 8px 0;
}
.est-meta-key {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: .04em;
}
.est-panel-cta {
  width: 100%;
  justify-content: center;
}

/* Lead Form */
.est-form-wrap {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.est-form-wrap.open {
  opacity: 1;
  visibility: visible;
}
.est-form-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(32px, 4vw, 48px);
  backdrop-filter: blur(20px);
  transform: translateY(24px);
  transition: transform .4s var(--ease);
  box-shadow: 0 16px 64px rgba(0,0,0,.12);
}
.est-form-wrap.open .est-form-card {
  transform: translateY(0);
}
.est-form-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 50%;
  background: transparent;
  color: var(--text-dim);
  font-size: 20px;
  cursor: pointer;
  transition: border-color .3s, color .3s;
}
.est-form-close:hover {
  border-color: rgba(0,0,0,.18);
  color: var(--text);
}
.est-form-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.est-form-desc {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 28px;
}
.est-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.est-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color .25s;
}
.est-input:focus {
  outline: none;
  border-color: rgba(8,145,178,.35);
}
.est-input::placeholder { color: var(--text-muted); }
.est-input--full { grid-column: 1 / -1; resize: vertical; }
.est-form-submit {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 8px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .estimator-layout {
    grid-template-columns: 1fr;
  }
  .estimator-panel {
    position: relative;
    top: 0;
    order: -1;
  }
  .est-options--scale {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .est-options--scale { grid-template-columns: 1fr 1fr; }
  .est-form { grid-template-columns: 1fr; }
}

/* ── 07 NUMBERS ── */
.numbers {
  padding: clamp(80px, 12vh, 140px) clamp(24px, 5vw, 80px);
  background: linear-gradient(180deg, var(--bg-2) 0%, rgba(184,234,216,.12) 100%);
  border-top: 1px solid rgba(8,145,178,.1);
  border-bottom: 1px solid rgba(8,145,178,.1);
  overflow: visible;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 40px);
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}
.num-item {
  text-align: center;
  padding: clamp(24px, 3vw, 40px) 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.num-figure {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  line-height: 1;
}
.num-value {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  flex-shrink: 1;
  min-width: 0;
}
.num-value--text {
  font-size: 56px;
}
.num-suffix {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  flex-shrink: 0;
}
.num-label {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -.01em;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 100%;
}

@media (min-width: 1280px) {
  .num-value { font-size: 80px; }
  .num-value--text { font-size: 72px; }
  .num-suffix { font-size: 40px; }
}

@media (max-width: 1200px) {
  .numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .num-value { font-size: 88px; }
  .num-value--text { font-size: 80px; }
  .num-suffix { font-size: 44px; }
}

@media (max-width: 768px) {
  .numbers {
    padding: clamp(60px, 10vh, 100px) 20px;
  }
  .num-item {
    padding: 24px 8px;
  }
  .num-value { font-size: 64px; }
  .num-value--text { font-size: 56px; }
  .num-suffix { font-size: 32px; }
  .num-label {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .num-value { font-size: 52px; }
  .num-value--text { font-size: 48px; }
  .num-suffix { font-size: 26px; }
  .num-label {
    font-size: 16px;
  }
}

/* ── 07 CONTROL ROOM ── */
.control {
  padding: clamp(100px, 15vh, 180px) clamp(24px, 5vw, 80px);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(255,255,255,.6) 100%);
}
.control-header {
  margin-bottom: clamp(64px, 10vh, 100px);
  max-width: 600px;
}
.control-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
  margin-bottom: 20px;
}
.control-sub {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.6;
}
.control-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
  max-width: 1400px;
  margin: 0 auto;
}
.control-node {
  position: relative;
  padding: clamp(32px, 3vw, 48px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  cursor: none;
  box-shadow: var(--shadow-sm);
  transition: border-color .4s, background .4s, transform .4s var(--ease), box-shadow .4s;
  overflow: hidden;
}
.control-node::after {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--gradient);
  border-radius: 0 0 2px 2px;
  opacity: .7;
}
.control-node:nth-child(3n+2)::after {
  background: linear-gradient(90deg, #7C3AED, var(--pastel-cyan));
}
.control-node:nth-child(3n)::after {
  background: linear-gradient(90deg, var(--pastel-mint), #0891B2);
}
.control-node::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(8,145,178,.08), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.control-node:hover {
  border-color: rgba(8,145,178,.25);
  background: var(--bg-2);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.control-node:hover::before { opacity: 1; }
.control-node-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(8,145,178,.1), rgba(124,58,237,.08));
  border-radius: 12px;
  border: 1px solid rgba(8,145,178,.12);
}
.node-wave {
  width: 32px;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.node-wave::before,
.node-wave::after {
  content: '';
  width: 3px;
  background: var(--accent-1);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.node-wave::before { height: 16px; animation-delay: 0s; }
.node-wave::after { height: 24px; animation-delay: .2s; }
@keyframes wave {
  0%, 100% { transform: scaleY(.5); }
  50% { transform: scaleY(1); }
}
.node-beam {
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent-2);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(124,58,237,.3);
}
.node-screen {
  width: 32px;
  height: 20px;
  border: 2px solid var(--accent-1);
  border-radius: 3px;
  position: relative;
}
.node-screen::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  opacity: .5;
  border-radius: 1px;
}
.node-play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent var(--accent-1);
}
.node-ar {
  width: 28px;
  height: 28px;
  border: 2px dashed var(--accent-2);
  border-radius: 8px;
  transform: rotate(15deg);
}
.node-net {
  width: 28px;
  height: 28px;
  background:
    linear-gradient(var(--accent-1) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent-1) 1px, transparent 1px);
  background-size: 7px 7px;
  opacity: .6;
}
.control-node-label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  display: block;
  margin-bottom: 12px;
}
.control-node-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s;
  opacity: 0;
}
.control-node:hover .control-node-detail {
  max-height: 120px;
  opacity: 1;
}
.control-node-detail p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
  padding-top: 4px;
}

@media (max-width: 900px) {
  .control-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .control-grid { grid-template-columns: 1fr; }
}

/* ── 08 PORTFOLIO ── */
.portfolio {
  padding: clamp(100px, 15vh, 180px) clamp(24px, 5vw, 80px);
  background: linear-gradient(180deg, var(--bg-2) 0%, rgba(216,200,255,.1) 100%);
}
.portfolio-header { margin-bottom: clamp(48px, 8vh, 80px); }

.portfolio-status {
  text-align: center;
  padding: 24px 16px;
  font-size: 16px;
  color: var(--text-dim);
}

.portfolio-status--empty,
.portfolio-status--error {
  padding: 48px 16px;
}

.portfolio-status--error {
  color: #dc2626;
}
.portfolio-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
}
.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
  max-width: 1400px;
  margin: 0 auto;
}
.masonry--3x3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
}
.portfolio-more {
  text-align: center;
  margin-top: clamp(40px, 6vh, 64px);
}
.masonry-item {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  border: none;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), box-shadow .4s;
  padding: 10px;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  border: 1px solid rgba(8, 145, 178, .2);
}
.masonry-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.masonry-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-3);
  transition: transform .6s var(--ease);
}
.masonry-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.masonry-visual::after {
  display: none;
}
.masonry-item:hover .masonry-visual { transform: scale(1.02); }
.masonry-info {
  position: relative;
  flex: 1 1 auto;
  margin-top: 10px;
  padding: clamp(16px, 2vw, 20px);
  border-radius: 12px;
  opacity: 1;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(8, 145, 178, .06);
  border: 1px solid rgba(8, 145, 178, .2);
}
.masonry-info span {
  order: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.01em;
}
.masonry-info h3 {
  order: 2;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.35;
  margin: 0;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .masonry { grid-template-columns: repeat(2, 1fr); }
  .masonry--3x3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .masonry { grid-template-columns: 1fr; }
  .masonry--3x3 { grid-template-columns: 1fr; }
}

/* ── PORTFOLIO MODAL ── */
html.work-modal-open,
body.work-modal-open {
  overflow: hidden;
}
.work-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.work-modal.open {
  opacity: 1;
  visibility: visible;
}
.work-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.94);
}
.work-modal-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100dvh - clamp(32px, 8vw, 64px));
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-2);
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 0;
  box-shadow: var(--shadow-lg);
  background-image:
    linear-gradient(var(--bg-2), var(--bg-2)),
    linear-gradient(135deg, rgba(8,145,178,.35), rgba(124,58,237,.25));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transform: translateY(20px) scale(.98);
  transition: transform .4s var(--ease);
}
.work-modal.open .work-modal-card {
  transform: translateY(0) scale(1);
}
.work-modal-content {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  padding-bottom: clamp(28px, 4vw, 40px);
}
.work-modal-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(8,145,178,.12), transparent 70%);
  pointer-events: none;
  transform: translate(20%, -20%);
}
.work-modal-media {
  position: relative;
  width: 100%;
}
.work-modal-slider {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  background: var(--bg-3);
  border: none;
  border-bottom: 1px solid var(--border);
  aspect-ratio: 16 / 10;
}
.work-modal-slider[hidden] {
  display: none;
}
.work-modal-media:has(.work-modal-slider[hidden]) .work-modal-close {
  top: 12px;
  right: 12px;
}
.work-modal-media:has(.work-modal-slider[hidden]) {
  min-height: 52px;
}
.work-modal-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.work-modal-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.work-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.work-modal-nav:hover {
  background: var(--bg-2);
  border-color: rgba(8,145,178,.35);
}
.work-modal-nav--prev { left: 12px; }
.work-modal-nav--next { right: 12px; }
.work-modal-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  pointer-events: none;
}
.work-modal-dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  padding: 0;
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  cursor: pointer;
  pointer-events: auto;
  transition: background .25s, transform .25s;
}
.work-modal-dot.active {
  background: var(--accent-1);
  transform: scale(1.15);
}
.work-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--text-dim);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s, color .25s, background .25s;
  z-index: 5;
}
.work-modal-close:hover {
  border-color: rgba(8,145,178,.35);
  color: var(--text);
  background: var(--bg-2);
}
.work-modal-host {
  font-size: 16px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 10px;
}
.work-modal-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: clamp(20px, 3vw, 28px);
  overflow-wrap: break-word;
  word-break: keep-all;
}
.work-modal-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  min-width: 0;
}
.work-modal-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  min-width: 0;
}
.work-modal-row dt {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  /* padding-top: 2px; */
  line-height: 1.7;
}
.work-modal-row dd {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  min-width: 0;
  overflow-wrap: break-word;
  word-break: keep-all;
}
.work-modal-note {
  margin-top: 20px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(8,145,178,.06), rgba(124,58,237,.06));
  border: 1px solid rgba(8,145,178,.12);
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  overflow-wrap: break-word;
  word-break: keep-all;
}
.work-modal-note-label {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 8px;
}

@media (max-width: 540px) {
  .work-modal-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }
}

/* ── 09 CTA ── */
.cta {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(8,145,178,.14), transparent),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(124,58,237,.12), transparent),
    radial-gradient(ellipse 40% 35% at 15% 80%, rgba(247,228,168,.2), transparent),
    var(--bg-2);
}
.cta-bg::before,
.cta-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}
.cta-bg::before {
  width: 420px;
  height: 420px;
  top: 15%;
  left: 8%;
  background: rgba(190,231,255,.55);
}
.cta-bg::after {
  width: 360px;
  height: 360px;
  bottom: 10%;
  right: 12%;
  background: rgba(216,200,255,.45);
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(24px, 5vw, 80px);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
  margin-bottom: clamp(48px, 8vh, 80px);
}
.cta-title span { display: block; }
.cta-title--accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 10 FOOTER ── */
.footer {
  padding: clamp(48px, 6vh, 64px) clamp(24px, 5vw, 80px) clamp(32px, 4vh, 48px);
  background: linear-gradient(180deg, #EEECEA 0%, #E4E2DE 100%);
  border-top: 1px solid rgba(8,145,178,.1);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.footer-tag {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: .05em;
}
.footer-info p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.8;
}
.footer-info a {
  color: inherit;
  transition: color .3s;
}
.footer-info a:hover { color: var(--accent-1); }
.footer-social {
  display: flex;
  gap: 24px;
}
.footer-social a {
  font-size: 15px;
  color: var(--text-dim);
  letter-spacing: .05em;
  transition: color .3s;
}
.footer-social a:hover { color: var(--accent-1); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,.05);
}
.footer-bottom span {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-top { flex-direction: column; }
}

/* ── Performance ── */
.portfolio,
.numbers,
.process,
.control,
.estimator,
.cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}

.masonry-item {
  contain: layout style paint;
}
