/* =========================================================
   AZDISSENY — Dark / Tech Industrial Product Studio Styles
   ========================================================= */

:root {
  --bg: #000000;
  --surface: #111111;
  --surface-2: #171717;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f5f5;
  --text-muted: #8e8e93;
  --text-dim: #5c5c61;
  --accent: #22c55e;
  --radius: 6px;
  --topbar-h: 40px;
  --footer-h: 430px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

/* =========================================================
   TOPBAR (FIXED, 40px)
   ========================================================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

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

.brand__primary {
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.1em;
}

.brand__sep {
  color: var(--text-dim);
}

.brand__sub {
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar__link {
  color: var(--text-muted);
  transition: color 0.2s ease;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.topbar__link:hover,
.topbar__link--cta {
  color: #ffffff;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 10.5px;
}

.live-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.85);
  animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.live-status__clock {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.lang-switch__btn {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  padding: 2px 4px;
  transition: color 0.2s ease;
}

.lang-switch__btn.active,
.lang-switch__btn:hover {
  color: #ffffff;
}

.lang-switch__sep {
  color: var(--text-dim);
}

/* =========================================================
   MAIN WRAPPER (Curtain layer over fixed footer)
   ========================================================= */
.site-main {
  position: relative;
  z-index: 10;
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   SCROLL-REVEAL SYSTEM
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}

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

/* =========================================================
   SPLIT-LETTER ANIMATED BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}

.btn--primary {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  font-weight: 500;
}

.btn--primary:hover {
  background: #e8e8e8;
}

.btn--secondary {
  background: #1f1f22;
  color: #ffffff;
  border: 1px solid var(--border-strong);
}

.btn--secondary:hover {
  background: #2a2a2e;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost {
  background: rgba(18, 18, 20, 0.65);
  color: #ffffff;
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-animated {
  overflow: hidden;
}

.btn-animated__inner {
  display: inline-flex;
  align-items: center;
}

.char-swap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.25em;
  line-height: 1.25em;
}

.char-swap__top,
.char-swap__bot {
  display: block;
  transition: transform 0.38s var(--ease);
  transition-delay: var(--d, 0ms);
}

.char-swap__bot {
  position: absolute;
  top: 100%;
  left: 0;
}

.btn-animated:hover .char-swap__top {
  transform: translateY(-100%);
}

.btn-animated:hover .char-swap__bot {
  transform: translateY(-100%);
}

/* =========================================================
   1. HERO FULL-BLEED
   ========================================================= */
.hero {
  position: relative;
  height: calc(100dvh - 36px);
  min-height: 600px;
  padding-top: var(--topbar-h);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s var(--ease), transform 6s ease-out;
}

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

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.72) contrast(1.06);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.72) 85%),
    linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.32) 100%);
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 760px;
  padding: 0 24px 68px;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(36px, 5.2vw, 62px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 18px;
}

.hero__subtitle {
  font-size: clamp(14.5px, 1.35vw, 17px);
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin: 0 auto 28px;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__slide-indicator {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero__dot {
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 2px;
  transition: background 0.35s ease, width 0.35s ease;
}

.hero__dot.is-active {
  width: 40px;
  background: #ffffff;
}

/* =========================================================
   2. MARQUEE TICKER (36px)
   ========================================================= */
.marquee {
  height: 36px;
  background: #080808;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  animation: marqueeScroll 34s linear infinite;
}

.marquee__dot {
  color: var(--text-dim);
}

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

/* =========================================================
   SHARED SECTION STYLING
   ========================================================= */
.section {
  padding: 108px 0 36px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section__header {
  max-width: 620px;
  margin-bottom: 40px;
}

.section__title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 14px;
}

.section__desc {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* =========================================================
   3. SERVICES SPLIT (1/3 + 2/3)
   ========================================================= */
.services-split {
  display: grid;
  grid-template-columns: 1fr 1.85fr;
  gap: 10px;
  min-height: 540px;
}

.services-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.services-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
}

.services-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
}

.services-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.services-tab.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  color: #ffffff;
}

.services-card__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.services-card__note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Right Stage with Atmospheric Blurred Gradients */
.services-stage {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 520px;
  background: #0b0b0c;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.services-stage__slides {
  position: relative;
  flex: 1;
}

.stage-slide {
  position: absolute;
  inset: 0;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.stage-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.5s var(--ease) 0.18s, transform 0.5s var(--ease) 0.18s;
}

.stage-slide__glow {
  position: absolute;
  inset: -20%;
  filter: blur(72px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.stage-slide__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.stage-slide__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 14px;
}

.stage-slide__title {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 16px;
}

.stage-slide__desc {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  margin-bottom: 26px;
  line-height: 1.6;
}

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

.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.services-stage__progress {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 18px 24px;
}

.progress-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}

.progress-bar__fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
  transition: width 0.25s linear;
}

.progress-bar.is-active .progress-bar__fill {
  width: 100%;
  transition: width 6s linear;
}

/* =========================================================
   4 & 5. PROJECT GRIDS (Tight gap, in-card mono title)
   ========================================================= */
.project-grid {
  display: grid;
  gap: 8px;
}

.project-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.project-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.project-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  display: block;
  width: 100%;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.75s var(--ease), filter 0.5s ease;
  filter: brightness(0.84);
}

.project-card:hover .project-card__img {
  transform: scale(1.05);
  filter: brightness(0.98);
}

.project-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.86) 0%,
    rgba(0, 0, 0, 0.34) 28%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.84) 100%
  );
  pointer-events: none;
}

.project-card__top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
}

.project-card__title {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.project-card__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.project-card__arrow {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}

.project-card:hover .project-card__arrow {
  background: #ffffff;
  color: #000000;
  transform: translate(2px, -2px);
}

.project-card__bottom {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
}

.project-card__summary {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
  font-weight: 300;
}

/* Mystery / CTA Card with Intentional Blur */
.project-card--mystery {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
}

.project-card--mystery .project-card__img {
  position: absolute;
  inset: 0;
  filter: blur(18px) brightness(0.38) scale(1.18) !important;
}

.project-card--mystery:hover .project-card__img {
  filter: blur(12px) brightness(0.48) scale(1.22) !important;
}

.mystery__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.mystery__title {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.mystery__desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 240px;
}

/* =========================================================
   6. PROCESS GRID (4 STEPS)
   ========================================================= */
.section--process {
  padding-bottom: 112px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s ease, transform 0.35s var(--ease);
}

.process-step:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.process-step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

.process-step__title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.process-step__desc {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.55;
}

.main-end-cap {
  height: 1px;
  background: var(--border);
}

/* =========================================================
   CURTAIN REVEAL FOOTER (position: fixed, z-0)
   ========================================================= */
.footer-spacer {
  height: var(--footer-h);
  pointer-events: none;
}

.curtain-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--footer-h);
  z-index: 0;
  background: #070708;
  display: flex;
  align-items: stretch;
}

.curtain-footer__inner {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 44px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.curtain-footer__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.curtain-footer__headline {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.025em;
  max-width: 520px;
  line-height: 1.12;
}

.curtain-footer__wordmark {
  font-size: clamp(54px, 12.8vw, 178px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.85;
  text-align: center;
  color: rgba(255, 255, 255, 0.11);
  filter: blur(2.5px);
  user-select: none;
  pointer-events: none;
}

.curtain-footer__bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.curtain-footer__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.curtain-footer__col--right {
  align-items: flex-end;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.footer-link {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  transition: color 0.2s ease;
  text-align: left;
}

.footer-link:hover {
  color: #ffffff;
}

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

.footer-legal-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================================================
   FLOATING PILL CTA
   ========================================================= */
.floating-pill {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

.floating-pill.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-pill__btn {
  background: rgba(18, 18, 20, 0.86);
  color: #ffffff;
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  padding: 0 16px;
  height: 38px;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.floating-pill__btn:hover {
  background: #ffffff;
  color: #000000;
}

/* =========================================================
   MODALS (Project Detail, Contact Form, Legal)
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.modal.hidden {
  opacity: 0;
  pointer-events: none;
}

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

.modal__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-height: 90dvh;
  overflow-y: auto;
  background: #0f0f11;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
}

.modal__panel--project {
  max-width: 920px;
}

.modal__panel--contact {
  max-width: 580px;
}

.modal__panel--legal {
  max-width: 720px;
}

.modal__close {
  position: sticky;
  top: 0;
  float: right;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* Project Modal Content */
.proj-modal__header {
  margin-bottom: 24px;
  padding-right: 44px;
}

.proj-modal__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.proj-modal__desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

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

.proj-modal__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.proj-modal__gallery img {
  width: 100%;
  height: 220px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #070708;
  object-fit: cover;
}

.proj-modal__highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

.highlight-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.highlight-box__title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.highlight-box__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.proj-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Contact Form */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: #161618;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #ffffff;
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.form-privacy input {
  margin-top: 3px;
}

.form-privacy button {
  color: #ffffff;
  text-decoration: underline;
}

.form-rgpd-note {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

.form-status {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.form-status.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* Legal Tabs */
.legal-tabs {
  display: flex;
  gap: 8px;
  margin: 16px 0 20px;
  flex-wrap: wrap;
}

.legal-tab {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 7px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.legal-tab.is-active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.legal-body {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-body h3 {
  color: #ffffff;
  font-size: 15px;
  margin: 18px 0 8px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .services-split {
    grid-template-columns: 1fr;
  }
  .services-stage {
    min-height: 420px;
  }
  .project-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --footer-h: auto;
  }
  .topbar__nav,
  .live-status__city,
  .live-status__clock {
    display: none;
  }
  .hero__content {
    padding-bottom: 56px;
  }
  .section {
    padding: 76px 0 24px;
  }
  .project-grid--4,
  .project-grid--3,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    aspect-ratio: 4 / 3;
  }
  .stage-slide {
    padding: 28px 22px;
  }
  .footer-spacer {
    display: none;
  }
  .curtain-footer {
    position: relative;
    height: auto;
  }
  .curtain-footer__bottom {
    grid-template-columns: 1fr 1fr;
  }
  .curtain-footer__col--right {
    align-items: flex-start;
  }
}
