:root {
  --bg: #050507;
  --text: #f7f4ee;
  --muted: rgba(232, 226, 216, 0.72);
  --line: rgba(255, 255, 255, 0.1);
  --soft: rgba(255, 255, 255, 0.055);
  --accent: #d8b36a;
  --accent-strong: #f0c978;
  --panel: rgba(10, 10, 12, 0.72);
  --section-bg:
    linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.78)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0 2px, rgba(255, 255, 255, 0.025) 2px 5px, rgba(0, 0, 0, 0.38) 5px 9px, rgba(0, 0, 0, 0.76) 9px 12px),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.13), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(5, 8, 22, 0.72), transparent 34%),
    linear-gradient(135deg, #202024 0%, #0c0c10 46%, #010104 100%);
  --header-h: 58px;
}

@font-face {
  font-family: "Sparkling Valentine";
  src: url("fontes/Sparkling%20Valentine.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Belgiano Serif 2";
  src: url("fontes/Belgiano%20Serif%202.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Century Gothic";
  src: url("fontes/century-gothic.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: none;
  text-rendering: optimizeSpeed;
}

body {
  margin: 0;
  overflow-x: hidden;
  -ms-overflow-style: none;
  background: var(--section-bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Century Gothic", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.1;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

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

button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 5vw, 86px);
  min-height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(216, 179, 106, 0.18);
  background: rgba(6, 6, 8, 0.78);
  backdrop-filter: blur(16px);
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0;
  color: rgba(247, 244, 238, 0.76);
  font-size: 13px;
  white-space: nowrap;
  transition: color 180ms ease;
}

.top-nav a:hover {
  color: var(--accent-strong);
}

.hero {
  position: relative;
  min-height: 430vh;
  padding: 86px 20px 80px;
  background: var(--section-bg);
  overflow: clip;
}

.electric-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #050b18;
  pointer-events: none;
}

.electric-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at 25% 25%, transparent 2%, rgba(80, 170, 255, 0.035) 2%, rgba(80, 170, 255, 0.035) 3%, transparent 3%),
    radial-gradient(circle at 75% 75%, transparent 2%, rgba(0, 218, 255, 0.055) 2%, rgba(0, 218, 255, 0.055) 3%, transparent 3%);
  background-size: 80px 80px;
  animation: electricGridMove 30s linear infinite;
}

.electric-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 50%, rgba(0, 122, 255, 0.16), transparent 46%),
    radial-gradient(circle at 82% 50%, rgba(0, 218, 255, 0.2), transparent 48%),
    radial-gradient(circle at 50% 50%, rgba(3, 9, 24, 0.9), transparent 100%);
  animation: electricGradientShift 10s ease-in-out infinite;
}

.electric-scanlines {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  background-size: 100% 4px;
  mix-blend-mode: screen;
  animation: electricScanlines 8s linear infinite;
}

.electric-shapes-container {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.electric-shape {
  position: absolute;
  opacity: 0.12;
}

.electric-shape-circle {
  top: 10%;
  left: 10%;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(56, 158, 255, 0.82);
  border-radius: 50%;
  animation: electricFloatRotate 20s ease-in-out infinite;
}

.electric-shape-triangle {
  top: 60%;
  right: 15%;
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 173px solid rgba(0, 218, 255, 0.2);
  animation: electricFloatRotate 25s ease-in-out infinite reverse;
}

.electric-shape-square {
  bottom: 20%;
  left: 20%;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(0, 218, 255, 0.86);
  transform: rotate(45deg);
  animation: electricFloatRotate 22s ease-in-out infinite;
}

.electric-particle {
  position: absolute;
  top: 0;
  width: 2px;
  height: 2px;
  z-index: 3;
  opacity: 0;
  background: var(--particle-color, #ff5e00);
  box-shadow:
    0 0 10px var(--particle-color, #ff5e00),
    0 0 20px var(--particle-color, #ff5e00);
  animation: electricFloatUp var(--duration, 18s) linear infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes electricGridMove {
  to {
    transform: translate(80px, 80px);
  }
}

@keyframes electricGradientShift {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  50% {
    transform: scale(1.1) rotate(180deg);
  }
}

@keyframes electricScanlines {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(12px);
  }
}

@keyframes electricFloatRotate {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  25% {
    transform: translateY(-30px) rotate(90deg) scale(1.1);
  }

  50% {
    transform: translateY(20px) rotate(180deg) scale(0.9);
  }

  75% {
    transform: translateY(-10px) rotate(270deg) scale(1.05);
  }
}

@keyframes electricFloatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10%,
  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

.hero-title {
  position: sticky;
  top: 16vh;
  z-index: 3;
  margin: 0;
  text-align: center;
  pointer-events: none;
}

.hero-logo-glitch {
  position: relative;
  display: grid;
  place-items: center;
  width: min(84vw, 1140px);
  max-height: 48vh;
  margin: 0 auto;
}

.hero-logo-glitch img {
  width: min(84vw, 1140px);
  max-height: 48vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.hero-logo-main {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 52px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 34px rgba(0, 178, 255, 0.14));
}

.hero-logo-shift {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.34;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-logo-shift-orange {
  filter:
    brightness(0)
    saturate(100%)
    invert(53%)
    sepia(95%)
    saturate(3480%)
    hue-rotate(2deg)
    brightness(105%)
    contrast(104%)
    drop-shadow(0 0 18px rgba(255, 94, 0, 0.48));
  animation: heroLogoGlitchOrange 1.2s steps(2, end) infinite;
}

.hero-logo-shift-blue {
  filter:
    brightness(0)
    saturate(100%)
    invert(57%)
    sepia(100%)
    saturate(2250%)
    hue-rotate(158deg)
    brightness(104%)
    contrast(104%)
    drop-shadow(0 0 20px rgba(0, 178, 255, 0.46));
  animation: heroLogoGlitchBlue 1.35s steps(2, end) infinite;
}

@keyframes heroLogoGlitchOrange {
  0%,
  100% {
    clip-path: inset(0 0 0 0);
    transform: translate(0);
  }

  18% {
    clip-path: inset(12% 0 72% 0);
    transform: translate(-6px, 2px);
  }

  42% {
    clip-path: inset(64% 0 18% 0);
    transform: translate(6px, 0);
  }

  64% {
    clip-path: inset(36% 0 44% 0);
    transform: translate(-4px, -2px);
  }
}

@keyframes heroLogoGlitchBlue {
  0%,
  100% {
    clip-path: inset(0 0 0 0);
    transform: translate(0);
  }

  22% {
    clip-path: inset(70% 0 12% 0);
    transform: translate(6px, -2px);
  }

  48% {
    clip-path: inset(18% 0 68% 0);
    transform: translate(-6px, 0);
  }

  76% {
    clip-path: inset(46% 0 32% 0);
    transform: translate(4px, 2px);
  }
}

.hero-glitch-tagline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: clamp(8px, 1.2vw, 16px) 0 0;
  color: #fff;
  font-family: "Sparkling Valentine", cursive;
  font-size: clamp(36px, 5.2vw, 86px);
  font-weight: 400;
  line-height: 1.05;
  text-align: center;
  text-shadow:
    0 0 8px rgba(255, 94, 0, 0.7),
    0 0 22px rgba(255, 94, 0, 0.42),
    0 0 30px rgba(0, 178, 255, 0.28);
  filter: drop-shadow(0 8px 28px rgba(255, 94, 0, 0.18));
}

.hero-glitch-tagline::before,
.hero-glitch-tagline::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-glitch-tagline::before {
  color: #ff5e00;
  z-index: -1;
  text-shadow: -2px 0 #ff5e00;
  animation: heroGlitchOrange 0.62s steps(2, end) infinite;
}

.hero-glitch-tagline::after {
  color: #00b2ff;
  z-index: -1;
  text-shadow: 2px 0 #00b2ff;
  animation: heroGlitchBlue 0.68s steps(2, end) infinite;
}

.hero-text-rotator {
  position: relative;
  width: min(96vw, 1180px);
  height: clamp(48px, 8.6vw, 108px);
  display: grid;
  place-items: center;
  margin: clamp(10px, 1.6vw, 20px) auto 0;
  overflow: visible;
  font-family: "Orbitron", "Century Gothic", Arial, sans-serif;
  text-align: center;
}

.hero-glitch-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 6.6vw, 78px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  text-shadow:
    0 0 8px rgba(255, 94, 0, 0.9),
    0 0 22px rgba(255, 94, 0, 0.55),
    0 0 34px rgba(0, 178, 255, 0.35);
  filter: drop-shadow(0 0 20px rgba(255, 94, 0, 0.22));
}

.hero-glitch-text.active {
  opacity: 1;
  visibility: visible;
}

.hero-glitch-text::before,
.hero-glitch-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-glitch-text::before {
  color: #ff5e00;
  z-index: -1;
  text-shadow: -3px 0 #ff5e00;
  animation: heroGlitchOrange 0.48s steps(2, end) infinite;
}

.hero-glitch-text::after {
  color: #00b2ff;
  z-index: -1;
  text-shadow: 3px 0 #00b2ff;
  animation: heroGlitchBlue 0.52s steps(2, end) infinite;
}

.hero-glitch-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(36px);
  animation: heroCharFlyIn 0.55s ease-out forwards;
}

.hero-glitch-char.out {
  animation: heroCharFlyOut 0.32s ease-in forwards;
}

@keyframes heroCharFlyIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCharFlyOut {
  to {
    opacity: 0;
    transform: translateY(-28px) rotateX(90deg);
  }
}

@keyframes heroGlitchOrange {
  0%,
  100% {
    clip-path: inset(0 0 0 0);
    transform: translate(0);
  }

  20% {
    clip-path: inset(33% 0 33% 0);
    transform: translate(-3px, 1px);
  }

  40% {
    clip-path: inset(66% 0 0 0);
    transform: translate(3px, 0);
  }

  60% {
    clip-path: inset(0 0 66% 0);
    transform: translate(2px, -1px);
  }

  80% {
    clip-path: inset(25% 0 50% 0);
    transform: translate(-2px, 0);
  }
}

@keyframes heroGlitchBlue {
  0%,
  100% {
    clip-path: inset(0 0 0 0);
    transform: translate(0);
  }

  20% {
    clip-path: inset(50% 0 25% 0);
    transform: translate(3px, -1px);
  }

  40% {
    clip-path: inset(0 0 75% 0);
    transform: translate(-3px, 0);
  }

  60% {
    clip-path: inset(75% 0 0 0);
    transform: translate(-2px, 1px);
  }

  80% {
    clip-path: inset(40% 0 40% 0);
    transform: translate(2px, 0);
  }
}

.motion-gallery {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: clamp(10px, 1.25vw, 18px);
  padding: 78px clamp(12px, 2vw, 28px) 24px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.motion-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.25vw, 18px);
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.motion-card {
  width: 100%;
  aspect-ratio: 0.753;
  background: var(--soft);
  overflow: hidden;
}

.motion-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.preview {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(25vw, 340px);
  aspect-ratio: 0.753;
  transform: translate(-50%, -50%);
  background: var(--soft);
  overflow: hidden;
  pointer-events: none;
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.98);
  transform: scale(1.015);
  transition: opacity 180ms ease, transform 420ms ease;
}

.motion-gallery + .preview {
  opacity: 0;
}

.projects-list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 38px;
  row-gap: 0;
  padding-top: 116px;
}

.project-link {
  min-width: 0;
  height: clamp(48px, 6.2vw, 86px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  color: rgba(247, 244, 238, 0.94);
  white-space: nowrap;
  text-align: center;
  mix-blend-mode: multiply;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.76);
}

.project-title,
.project-category {
  font-size: clamp(18px, 3vw, 54px);
  line-height: 0.9;
}

.project-title {
  font-weight: 700;
}

.project-category {
  font-style: italic;
  font-weight: 700;
}

.project-link:hover {
  color: rgba(240, 201, 120, 0.78);
}

body.is-grid .motion-gallery {
  opacity: 0;
}

body.is-grid .preview {
  display: none;
}

.projects-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 116px 0 0;
}

.grid-card {
  display: block;
  color: var(--text);
}

.grid-card img {
  width: 100%;
  aspect-ratio: 0.753;
  object-fit: cover;
  display: block;
}

.grid-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 9px;
  color: var(--muted);
}

.intro-section {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  align-items: center;
  gap: clamp(36px, 7vw, 112px);
  background: var(--section-bg);
  border-top: 1px solid var(--line);
  min-height: 100vh;
  padding: clamp(72px, 9vw, 120px) clamp(28px, 4vw, 58px);
}

.intro-copy {
  max-width: 750px;
}

.intro-logo {
  display: block;
  width: clamp(276px, 30vw, 414px);
  height: auto;
  margin: 0 auto clamp(42px, 7vw, 86px);
}

.intro-kicker {
  margin: 0 0 28px;
  color: var(--accent-strong);
  font-family: "Sparkling Valentine", cursive;
  font-size: clamp(32px, 2.8vw, 44px);
  line-height: 1;
}

.intro-copy h1 {
  margin: 0 0 28px;
  font-family: "Belgiano Serif 2", Georgia, serif;
  font-size: clamp(30px, 3.2vw, 54px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

.intro-copy p:not(.intro-kicker) {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.45;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.social-links a {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(216, 179, 106, 0.34);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.social-links svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links a:first-child svg {
  fill: currentColor;
  stroke: none;
}

.intro-photo {
  align-self: center;
  width: 100%;
  aspect-ratio: 0.78;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(216, 179, 106, 0.16);
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.intro-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.intro-photo:hover {
  border-color: rgba(216, 179, 106, 0.56);
  box-shadow: 0 24px 80px rgba(216, 179, 106, 0.18);
  transform: translateY(-6px);
}

.intro-photo:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.bio-section {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(280px, 46vw) minmax(320px, 1fr);
  min-height: 100vh;
  background: var(--section-bg);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.bio-photo {
  align-self: start;
  min-height: 86vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(110px, 10vw, 190px);
}

.bio-photo img {
  width: min(122%, 1040px);
  max-height: 104vh;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

.bio-content {
  align-self: center;
  max-width: 760px;
  padding: clamp(58px, 7vw, 96px) clamp(30px, 6vw, 72px);
}

.bio-content h2 {
  margin: 0 0 26px;
  color: var(--accent-strong);
  font-family: "Belgiano Serif 2", Georgia, serif;
  font-size: clamp(36px, 3.2vw, 44px);
  line-height: 1.05;
}

.bio-content p {
  margin: 0 0 22px;
  color: rgba(247, 244, 238, 0.9);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.55;
}

.bio-specialties {
  color: rgba(247, 244, 238, 0.95) !important;
}

.bio-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 58px;
  margin: 42px 0 34px;
}

.bio-info div {
  display: grid;
  gap: 8px;
}

.bio-info span {
  color: rgba(216, 204, 184, 0.8);
  font-size: 18px;
}

.bio-info strong {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
}

.bio-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 238px;
  height: 60px;
  padding: 0 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d8b36a, #f0c978);
  color: #15110a;
  font-size: 18px;
  font-weight: 700;
}

.procedures-section {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  padding: clamp(82px, 9vw, 128px) clamp(28px, 4vw, 58px);
  display: block;
  text-align: center;
  background: var(--section-bg);
  border-top: 1px solid var(--line);
}

.procedures-heading {
  max-width: 980px;
  margin: 0 auto;
}

.procedures-section h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Belgiano Serif 2", Georgia, serif;
  font-size: clamp(36px, 5.2vw, 86px);
  font-weight: 400;
  line-height: 1;
  text-shadow: none;
}

.procedures-section p {
  margin: 18px 0 0;
  color: var(--accent-strong);
  font-family: "Sparkling Valentine", cursive;
  font-size: clamp(20px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1.35;
}

.procedures-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 38px);
  margin: clamp(48px, 6vw, 86px) auto 0;
  max-width: 1520px;
}

.procedures-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transform: scale(1);
  transition: transform 260ms ease, box-shadow 260ms ease;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  will-change: transform;
}

.procedures-grid img:hover {
  transform: scale(1.06);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

.contact-section {
  position: relative;
  z-index: 4;
  padding: clamp(78px, 9vw, 120px) clamp(22px, 4vw, 58px);
  background: var(--section-bg);
  border-top: 1px solid var(--line);
}

.contact-head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto clamp(44px, 6vw, 72px);
}

.contact-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-accent {
  color: var(--accent-strong);
}

.contact-head p {
  margin: 18px 0 0;
  color: rgba(247, 244, 238, 0.86);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.4;
}

.contact-grid {
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 2.8vw, 44px);
  align-items: start;
}

.contact-left {
  display: grid;
  gap: clamp(18px, 2.2vw, 32px);
}

.contact-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid rgba(216, 179, 106, 0.13);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(216, 179, 106, 0.13);
  color: var(--accent-strong);
}

.contact-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-body h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
}

.contact-main {
  margin: 0 0 12px;
  color: rgba(247, 244, 238, 0.94);
  font-size: 20px;
  line-height: 1.2;
}

.contact-sub {
  margin: 0;
  color: rgba(216, 204, 184, 0.88);
  font-size: 18px;
  line-height: 1.3;
}

.contact-panel {
  padding: clamp(28px, 3.2vw, 44px);
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid rgba(216, 179, 106, 0.13);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.contact-panel h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
}

.contact-panel p {
  margin: 0 0 24px;
  color: rgba(247, 244, 238, 0.86);
  font-size: 18px;
  line-height: 1.5;
}

.contact-cta {
  height: 64px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #d8b36a, #f0c978);
  color: #15110a;
  font-size: 18px;
  font-weight: 800;
}

.contact-cta svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-divider {
  height: 1px;
  margin: 28px 0;
  background: rgba(216, 179, 106, 0.18);
}

.contact-meta-title {
  margin: 0 0 18px;
  color: rgba(216, 204, 184, 0.9);
  font-size: 18px;
  line-height: 1.2;
}

.contact-meta {
  display: grid;
  gap: 18px;
}

.contact-meta-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-meta-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--accent-strong);
  margin-top: 2px;
}

.contact-meta-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-tag {
  color: var(--accent-strong);
  font-size: 18px;
  line-height: 1.2;
  margin-top: 4px;
}

.contact-meta-row span {
  display: block;
  color: rgba(216, 204, 184, 0.9);
  font-size: 18px;
  line-height: 1.2;
}

.contact-meta-row strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 980px) {
  .projects-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
  }

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

  .motion-gallery {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
  }

  .preview {
    width: min(34vw, 310px);
  }

}

@media (max-width: 680px) {
  :root {
    --header-h: 52px;
  }

  .top-nav {
    min-height: 58px;
    padding: 0 14px;
    gap: 20px;
    overflow-x: auto;
  }

  .hero {
    min-height: 260vh;
    padding: 72px 14px 64px;
  }

  .electric-shape-circle {
    width: 210px;
    height: 210px;
  }

  .electric-shape-triangle {
    border-left-width: 72px;
    border-right-width: 72px;
    border-bottom-width: 125px;
  }

  .hero-title {
    top: 12vh;
  }

  .hero-logo-glitch,
  .hero-logo-glitch img {
    width: min(68vw, 760px);
    max-height: 36vh;
  }

  .hero-glitch-tagline {
    font-size: clamp(20px, 5.8vw, 34px);
  }

  .hero-text-rotator {
    width: 96vw;
    height: clamp(42px, 13vw, 68px);
    margin-top: 8px;
  }

  .hero-glitch-text {
    font-size: clamp(14px, 4.4vw, 24px);
    letter-spacing: 0.015em;
  }

  .preview {
    width: 52vw;
  }

  .motion-gallery {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    gap: 10px;
    padding: 64px 10px 18px;
  }

  .motion-column {
    gap: 10px;
  }

  .projects-list {
    grid-template-columns: 1fr;
    padding-top: 84px;
  }

  .project-link {
    height: 54px;
  }

  .project-title,
  .project-category {
    font-size: clamp(28px, 10vw, 58px);
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-top: 84px;
  }

  .intro-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 78px 18px;
  }

  .intro-photo {
    aspect-ratio: 0.86;
  }

  .bio-section {
    grid-template-columns: 1fr;
  }

  .bio-photo {
    min-height: 58vh;
    border-right: 0;
    border-bottom: 1px solid rgba(216, 179, 106, 0.12);
  }

  .bio-content {
    padding: 54px 18px 72px;
  }

  .bio-info {
    grid-template-columns: 1fr;
  }

  .procedures-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
