/* ============================================================
   MICHAEL — Video Editor Portfolio
   Neon / motion — dark base, violet–cyan–magenta glow
   ============================================================ */

:root {
  --bg: #121212;
  --bg-soft: #1b1b1a;
  --ink: #f2f1ed;
  --ink-soft: #d8d6d1;
  --gray: #8f8d88;
  --text: #f2f1ed;
  --text-dim: rgba(242, 241, 237, 0.55);
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scrollbar-width: none;
  width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  -ms-overflow-style: none;
  width: 100%;
  max-width: 100%;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

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

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

.accent {
  background: linear-gradient(120deg, var(--ink), var(--gray));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text {
  background: linear-gradient(120deg, var(--ink) 0%, var(--gray) 50%, var(--ink) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 241, 237, 0.75);
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo-img {
  height: clamp(56px, 10vw, 88px);
  display: block;
  margin: 0 auto 1.2rem;
  animation: pulse 2s ease infinite;
}
.preloader-count {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--text-dim);
}

/* ===== CURSOR ===== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 999;
  transform: translate(-50%, -50%);
}
.cursor-dot { display: none; }
.cursor-ring {
  width: 26px; height: 26px;
  background: #ffffff;
  mix-blend-mode: difference;
  transition: width 0.25s var(--ease), height 0.25s var(--ease);
}
.cursor-ring.hovering {
  width: 58px; height: 58px;
}
@media (hover: hover) and (min-width: 769px) {
  html,
  body,
  a,
  button,
  input,
  textarea,
  select,
  label,
  video,
  .work-card,
  [role="button"] {
    cursor: none !important;
  }
}
@media (hover: none), (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ===== BACKGROUND FX — fullscreen video ===== */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 18, 18, 0.55), rgba(18, 18, 18, 0.78));
}

/* ===== NAV — floating rounded bar, pill items ===== */
.nav {
  position: fixed;
  top: 14px; left: 15%; right: 15%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1.1rem, 3vw, 1.8rem);
  background: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(32px) saturate(150%);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: background 0.4s;
  color: #f2f1ed;
}
.nav.scrolled { background: rgba(20, 20, 20, 0.75); }
.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}
.nav-links {
  display: flex;
  gap: 0.3rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 241, 237, 0.45);
  padding: 0.55rem 0.85rem;
  transition: color 0.3s;
}
.nav-links a:hover { color: rgba(242, 241, 237, 0.8); }
.nav-links a.active {
  color: #ffffff;
}

.nav-right { display: flex; align-items: center; gap: 0.7rem; }

.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.22rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lang-switch button {
  background: none;
  border: none;
  color: rgba(242, 241, 237, 0.45);
  font: inherit;
  cursor: pointer;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  transition: color 0.3s, background 0.3s;
}
.lang-switch button.active {
  color: #121212;
  background: #f2f1ed;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: #f2f1ed;
  color: #121212;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.62rem 1.3rem;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  will-change: transform;
}
.nav-cta:hover { box-shadow: 0 6px 22px rgba(242, 241, 237, 0.25); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 26px; height: 2px;
  background: #f2f1ed;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav-burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(16, 16, 16, 0.96);
  backdrop-filter: blur(20px);
  color: #f2f1ed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
  will-change: transform;
}
.btn-small { padding: 0.55rem 1.3rem; font-size: 0.85rem; }
.btn-primary, .btn-small {
  background: var(--ink);
  color: #121212;
  box-shadow: 0 8px 24px rgba(242, 241, 237, 0.12);
}
.btn-primary:hover, .btn-small:hover {
  box-shadow: 0 12px 36px rgba(242, 241, 237, 0.22);
}
.btn-ghost {
  border: 1px solid rgba(242, 241, 237, 0.35);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

/* ===== HERO ===== */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7rem clamp(1.2rem, 4vw, 3rem) 4rem;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  margin-bottom: 2.2rem;
  background: var(--card);
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 1.8s ease infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.6); opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.02;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  width: fit-content;
  max-width: 100%;
}
.hero-line {
  display: block;
  font-size: clamp(3.2rem, 12vw, 9rem);
  overflow: hidden;
}
.hero-word {
  display: inline-block;
  animation: riseUp 1s var(--ease) both;
  animation-delay: 0.15s;
}
.accent-red {
  color: #ff2d2d;
}
.hero-word.gradient-text { animation-delay: 0.28s; }
@keyframes riseUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
.hero-sub-line {
  font-family: 'Syne', sans-serif;
  font-size: clamp(0.95rem, 2.7vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.065em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.22rem, 0.8vw, 0.72rem);
  flex-wrap: nowrap;
  width: 100%;
  overflow: visible;
  animation: fadeIn 1.2s ease 0.55s both;
}
.hero-role {
  white-space: nowrap;
  background: linear-gradient(120deg, var(--ink) 0%, var(--gray) 50%, var(--ink) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}
.hero-amp {
  white-space: nowrap;
}
.hero-amp {
  font-family: var(--font-body);
  font-weight: 300;
  color: rgba(242, 241, 237, 0.4);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-desc {
  max-width: min(920px, 100%);
  margin-top: 2.2rem;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  text-wrap: balance;
}
.hero-desc br {
  display: block;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2.6rem;
  flex-wrap: nowrap;
  justify-content: center;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--ink), transparent);
  animation: scrollPulse 2s ease infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ===== MARQUEE ===== */
.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  background: rgba(10, 10, 10, 0.42);
  backdrop-filter: blur(18px) brightness(0.72);
  -webkit-backdrop-filter: blur(18px) brightness(0.72);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  min-width: max-content;
  width: max-content;
  animation: marquee 68s linear infinite;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.marquee-track i {
  font-style: normal;
  color: rgba(242, 241, 237, 0.35);
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ===== SECTIONS ===== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8.5rem) clamp(1.2rem, 4vw, 3rem);
  position: relative;
  z-index: 1;
}
.section::before,
.stats::before,
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background: rgba(10, 10, 10, 0.38);
  backdrop-filter: blur(16px) brightness(0.78);
  -webkit-backdrop-filter: blur(16px) brightness(0.78);
  pointer-events: none;
}
.section-head { margin-bottom: 3.5rem; position: relative; }
.section-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 0.8rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
}
.section-head p {
  margin-top: 1rem;
  color: var(--text-dim);
  max-width: 480px;
  font-size: 1.05rem;
}

/* ===== WORK GRID ===== */
.work-group + .work-group { margin-top: 3.2rem; }
.work-group-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.work-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
}
.reels-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reels-grid .work-thumb { aspect-ratio: 9 / 16; }
.reels-grid .work-views {
  bottom: auto;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.05rem;
  padding: 0.5rem 1.1rem;
  gap: 0.5rem;
}
.reels-grid .eye-icon { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .reels-grid { grid-template-columns: 1fr; }
  .reels-grid .work-card { max-width: 340px; margin: 0 auto; width: 100%; }
}
.work-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
  will-change: transform;
}
.work-card:hover { border-color: rgba(242,241,237,0.45); box-shadow: 0 18px 50px -12px rgba(0,0,0,0.7); }

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.thumb-gradient {
  position: absolute; inset: 0;
  transition: transform 0.6s var(--ease);
}
.thumb-img,
.thumb-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}
.thumb-video { object-position: center; }
.work-card:hover .thumb-gradient,
.work-card:hover .thumb-img,
.work-card:hover .thumb-video { transform: scale(1.07); }
.work-card:hover .thumb-video ~ .play-badge,
.work-card.video-active .thumb-video ~ .play-badge { opacity: 0; }
.work-card.video-active .thumb-video { transform: none; }
.tg-1 { background: linear-gradient(135deg, #0d0d0d 0%, #3d3d3d 55%, #8a8a8a 130%); }
.tg-2 { background: linear-gradient(135deg, #1c1c1c 0%, #565656 55%, #b0b0b0 130%); }
.tg-3 { background: linear-gradient(135deg, #050505 0%, #2a2a2a 55%, #6e6e6e 130%); }
.tg-4 { background: linear-gradient(135deg, #161616 0%, #4a4a4a 55%, #9c9c9c 130%); }
.tg-5 { background: linear-gradient(135deg, #0a0a0a 0%, #333333 45%, #c4c4c4 140%); }
.tg-6 { background: linear-gradient(135deg, #101010 0%, #454545 55%, #a6a6a6 130%); }
.thumb-gradient::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(255,255,255,0.18), transparent 45%),
    linear-gradient(to top, rgba(7,7,13,0.55), transparent 55%);
}

.play-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  background: rgba(7, 7, 13, 0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  opacity: 0;
  transition: opacity 0.35s, transform 0.45s var(--ease);
  padding-left: 4px;
  pointer-events: none;
}
.work-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.work-views {
  position: absolute;
  bottom: 0.9rem; left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(7,7,13,0.55);
  backdrop-filter: blur(6px);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}
.sound-toggle {
  position: absolute;
  right: 1rem;
  bottom: 4.2rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.6rem;
  height: 2rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(7,7,13,0.62);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.sound-toggle:hover,
.sound-toggle:focus-visible {
  border-color: rgba(242,241,237,0.55);
  outline: none;
}
.eye-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.85;
}
.work-info { padding: 1.3rem 1.4rem 1.5rem; }
.work-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}
.work-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.work-tags span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ===== STATS ===== */
.stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  position: relative;
  z-index: 1;
}
.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem 1.6rem;
  text-align: center;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.stat:hover { border-color: rgba(242,241,237,0.45); transform: translateY(-4px); }
.stat-num, .stat-plus {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--ink);
}
.stat-label {
  display: block;
  margin-top: 0.6rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ===== SERVICES — accordion ===== */
.services-list { display: flex; flex-direction: column; }
.service {
  border-bottom: 1px solid var(--border);
  transition: background 0.35s;
}
.service:first-child { border-top: 1px solid var(--border); }
.service:hover, .service.open {
  background: linear-gradient(90deg, rgba(255,255,255,0.04), transparent 70%);
}
.service-head {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: center;
  width: 100%;
  gap: 1rem;
  padding: 2rem 1rem;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.service-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.2em;
}
.service h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 600;
}
.service-toggle {
  font-size: 1.9rem;
  font-weight: 200;
  line-height: 1;
  color: var(--text-dim);
  transition: transform 0.4s var(--ease), color 0.3s;
}
.service.open .service-toggle {
  transform: rotate(45deg);
  color: var(--ink);
}
.service-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.service-body p {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 620px;
  padding: 0 1rem 2rem calc(5rem + 1rem);
}

/* ===== ABOUT ===== */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-visual { position: relative; }
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.about-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  z-index: 2;
  border-radius: inherit;
}
.about-photo-glow {
  position: absolute;
  inset: 10%;
  background: linear-gradient(135deg, rgba(242,241,237,0.5), rgba(143,141,136,0.4));
  filter: blur(60px);
  opacity: 0.25;
  z-index: 0;
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}
.about-text p {
  color: var(--text-dim);
  font-size: 1.08rem;
  margin-bottom: 1.4rem;
}
.tools { margin-top: 2.2rem; }
.tools-label {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 1rem;
}
.tools-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tools-row span {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.tools-row span:hover {
  border-color: var(--ink);
  box-shadow: 0 4px 16px rgba(242,241,237,0.15);
}

/* ===== CONTACT ===== */
.contact { text-align: center; }
.contact-head p { margin-left: auto; margin-right: auto; }
.cta-title {
  max-width: 100%;
  line-height: 0.98;
  text-align: center;
}
.cta-title .accent-red {
  color: #ff2d2d;
  display: inline-block;
}
.contact-head p {
  margin-top: 1.15rem;
  font-size: clamp(1.05rem, 2.2vw, 1.38rem);
  line-height: 1.2;
  color: rgba(242, 241, 237, 0.84);
  max-width: 720px;
}
.contact-mail {
  display: inline-flex;
  align-items: baseline;
  gap: 1rem;
  margin: 1.5rem 0 3rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.6vw, 2.4rem);
  font-weight: 600;
  position: relative;
  transition: text-shadow 0.4s;
}
.contact-mail-text {
  color: var(--ink);
}
.contact-mail::after {
  content: '';
  position: absolute;
  left: 0; bottom: -8px;
  width: 100%; height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.contact-mail:hover::after { transform: scaleX(1); }
.contact-mail-arrow {
  color: var(--gray);
  transition: transform 0.35s var(--ease);
}
.contact-mail:hover .contact-mail-arrow { transform: translate(6px, -6px); }

.contact-open {
  margin: 2rem auto 2.4rem;
}

html.form-open,
body.form-open {
  overflow: hidden;
  height: 100%;
  touch-action: none;
}

.contact-form {
  position: fixed;
  inset: 0;
  z-index: 200;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  padding: clamp(1.4rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background: rgba(7, 7, 7, 0.78);
  backdrop-filter: blur(26px) brightness(0.72);
  -webkit-backdrop-filter: blur(26px) brightness(0.72);
  text-align: left;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.35s, visibility 0.35s, transform 0.45s var(--ease);
}
.contact-form.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}
.contact-form.reveal {
  transform: scale(0.98);
}
.contact-form.reveal.open,
.contact-form.reveal.visible.open {
  opacity: 1;
  transform: scale(1);
}
.contact-form > * {
  width: min(100%, 680px);
  margin-left: auto;
  margin-right: auto;
}
.form-close {
  position: absolute;
  top: clamp(1rem, 4vw, 2rem);
  right: clamp(1rem, 4vw, 2rem);
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
  font-family: var(--font-body);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.3s, background 0.3s;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-dim);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(242, 241, 237, 0.6);
  background: rgba(255, 255, 255, 0.06);
}
.service-choices {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.service-choices legend {
  padding: 0 0.45rem;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.service-choices label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.48rem 0.78rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.service-choices label:has(input:checked) {
  border-color: rgba(242, 241, 237, 0.55);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}
.service-choices input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.contact-form > textarea,
.contact-form > .service-choices {
  width: min(100%, 680px);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.contact-form > textarea {
  align-self: center;
  width: min(100%, 680px) !important;
}
.form-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}
.contact-form .btn { align-self: center; }
.form-status {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
  background: rgba(7, 7, 7, 0.76);
  backdrop-filter: blur(24px) brightness(0.72);
  -webkit-backdrop-filter: blur(24px) brightness(0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}
.form-status.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.form-status-box {
  width: min(100%, 460px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(18, 18, 18, 0.86);
  padding: clamp(1.6rem, 5vw, 2.4rem);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}
.form-status-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  color: #22c55e;
  font-size: 2rem;
  font-weight: 800;
}
.form-status.error .form-status-icon {
  background: rgba(255, 45, 45, 0.16);
  color: #ff2d2d;
}
.form-status h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  line-height: 1.12;
}
.form-status p {
  margin: 0.85rem auto 1.4rem;
  color: var(--text-dim);
  max-width: 340px;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form {
    justify-content: flex-start;
    padding-top: calc(5.5rem + env(safe-area-inset-top));
  }
  .form-actions .btn {
    flex: 1 1 100%;
  }
}

.socials {
  display: flex;
  justify-content: center;
  gap: clamp(1.2rem, 4vw, 2.5rem);
  flex-wrap: wrap;
}
.socials a {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: color 0.3s, text-shadow 0.3s;
}
.socials a:hover {
  color: var(--ink);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 1.8rem clamp(1.2rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}
.footer a { transition: color 0.3s; }
.footer a:hover { color: var(--ink); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.tilt.visible {
  transition: opacity 0.9s var(--ease), transform 0.18s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .service-head { grid-template-columns: 3rem 1fr auto; }
  .service-body p { padding-left: calc(4rem + 1rem); }
  .about { grid-template-columns: 1fr; }
  .about-visual { width: 100%; max-width: 380px; margin: 0 auto; }
  .about-photo { width: 100%; }
}
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
    justify-content: center;
    align-items: center;
    padding: 7.5rem clamp(1rem, 5vw, 1.4rem) 4.5rem;
  }
  .hero-title {
    align-items: stretch;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-scroll { display: none; }
  .hero-sub-line {
    flex-direction: row;
    gap: clamp(0.08rem, 0.55vw, 0.24rem);
    font-size: clamp(0.54rem, 2.55vw, 0.9rem);
    letter-spacing: clamp(0, 0.2vw, 0.035em);
    max-width: 100%;
  }
  .hero-amp { font-size: 0.9em; }
  .hero-desc {
    margin: 1.6rem auto 0;
    width: 100%;
    max-width: 34rem;
    text-align: center;
    font-size: clamp(0.78rem, 3.55vw, 1rem);
    line-height: 1.42;
  }
  .hero-cta {
    margin-top: 2rem;
    gap: 0.7rem;
    width: min(100%, 360px);
  }
  .hero-cta .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.82rem clamp(0.75rem, 3vw, 1.2rem);
    font-size: clamp(0.78rem, 3.6vw, 0.95rem);
    white-space: nowrap;
  }
  .marquee {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }
  .marquee-track {
    animation-duration: 90s;
  }
}
@media (max-width: 1360px) {
  .nav { left: 5%; right: 5%; }
}
@media (max-width: 960px) {
  .nav { left: 16px; right: 16px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
}
@media (max-width: 768px) {
  .footer { justify-content: center; text-align: center; }
}

@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; }
  .reveal { opacity: 1; transform: none; }
}
