:root {
  --bg: #02050b;
  --bg-soft: #08111f;
  --panel: rgba(6, 12, 23, 0.78);
  --panel-strong: rgba(11, 21, 40, 0.95);
  --text: #f4f8ff;
  --muted: #95a4bf;
  --line: rgba(77, 147, 255, 0.24);
  --accent: #1ca5ff;
  --accent-strong: #005eff;
  --accent-soft: #73d4ff;
  --silver: #dfe7f2;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(28, 165, 255, 0.14), transparent 26%),
    radial-gradient(circle at 18% 18%, rgba(0, 94, 255, 0.16), transparent 24%),
    radial-gradient(circle at 84% 24%, rgba(115, 212, 255, 0.12), transparent 20%),
    linear-gradient(180deg, #010308 0%, #030813 44%, #02050b 100%);
}

body.is-loading {
  overflow: hidden;
}

body.is-loading .site-shell {
  opacity: 0;
  transform: scale(1.015);
}

body.is-ready .site-shell {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 900ms ease,
    transform 900ms ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(20, 90, 255, 0.2), transparent 26%),
    radial-gradient(circle at 50% 42%, rgba(115, 212, 255, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(1, 3, 8, 0.98), rgba(2, 5, 11, 1));
  transition:
    opacity 850ms ease,
    visibility 850ms ease;
}

.sound-toggle {
  position: absolute;
  right: 28px;
  top: 28px;
  z-index: 2;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(115, 212, 255, 0.22);
  border-radius: 18px;
  background: rgba(6, 13, 24, 0.76);
  color: var(--text);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.sound-toggle:hover,
.sound-toggle:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(28, 165, 255, 0.4);
}

.sound-toggle.is-enabled {
  background: rgba(9, 22, 43, 0.82);
  border-color: rgba(28, 165, 255, 0.4);
}

.sound-toggle-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--silver);
  background: linear-gradient(135deg, rgba(115, 212, 255, 0.22), rgba(0, 94, 255, 0.22));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 94, 255, 0.16);
}

.sound-toggle-icon svg {
  width: 22px;
  height: 22px;
}

.sound-toggle-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.sound-toggle-copy strong {
  font-family: "Orbitron", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.sound-toggle-copy span {
  color: var(--muted);
  font-size: 0.93rem;
}

body.is-ready .intro-screen {
  opacity: 0;
  visibility: hidden;
}

.intro-screen::before,
.intro-screen::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
}

.intro-screen::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 94, 255, 0.28), transparent 68%);
  animation: introPulse 4.8s ease-in-out infinite;
}

.intro-screen::after {
  width: 680px;
  height: 680px;
  border: 1px solid rgba(115, 212, 255, 0.08);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 70%);
  animation: introRotate 14s linear infinite;
}

.intro-core {
  position: relative;
  display: grid;
  place-items: center;
  width: min(80vw, 560px);
  aspect-ratio: 1;
}

.intro-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-shatter {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-shard {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--size, 18px);
  height: var(--size, 18px);
  border-radius: var(--radius, 6px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(115, 212, 255, 0.86) 45%, rgba(0, 94, 255, 0.78));
  box-shadow:
    0 0 20px rgba(28, 165, 255, 0.22),
    0 0 44px rgba(0, 94, 255, 0.16);
  opacity: 0;
  transform: translate(calc(-50% + var(--origin-x, 0px)), calc(-50% + var(--origin-y, 0px))) scale(0.25) rotate(var(--rotate, 0deg));
}

.intro-shard::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
}

body.is-disintegrating .intro-shard {
  animation: shardBreak 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro-particle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--size, 12px);
  height: var(--size, 12px);
  border-radius: min(999px, var(--radius, 10px));
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(28, 165, 255, 0.85));
  box-shadow:
    0 0 18px rgba(28, 165, 255, 0.4),
    0 0 36px rgba(0, 94, 255, 0.24);
  transform: translate(calc(-50% + var(--start-x)), calc(-50% + var(--start-y))) scale(0.25) rotate(var(--rotate, 0deg));
  opacity: 0;
  animation: particleCollide 4.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

.intro-particle::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  opacity: 0.8;
}

.intro-ring,
.intro-flare {
  position: absolute;
  border-radius: 999px;
}

.intro-ring-one {
  inset: 10%;
  border: 1px solid rgba(115, 212, 255, 0.24);
  box-shadow:
    inset 0 0 40px rgba(0, 94, 255, 0.1),
    0 0 60px rgba(28, 165, 255, 0.08);
  animation: introRotate 12s linear infinite;
}

.intro-ring-two {
  inset: 19%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: introRotateReverse 10s linear infinite;
}

.intro-flare {
  width: 44%;
  height: 44%;
  background: radial-gradient(circle, rgba(115, 212, 255, 0.24), transparent 68%);
  filter: blur(20px);
  animation: introPulse 4.4s ease-in-out infinite;
}

.intro-logo {
  position: relative;
  width: min(72%, 390px);
  object-fit: contain;
  filter:
    drop-shadow(0 0 24px rgba(28, 165, 255, 0.28))
    drop-shadow(0 20px 44px rgba(0, 0, 0, 0.48));
  opacity: 0;
  animation: introLogoIn 1.7s cubic-bezier(0.22, 1, 0.36, 1) 3.15s both;
}

body.is-disintegrating .intro-logo {
  animation:
    introLogoIn 1.7s cubic-bezier(0.22, 1, 0.36, 1) 3.15s both,
    logoDisintegrate 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0s forwards;
}

body.is-disintegrating .intro-ring-one,
body.is-disintegrating .intro-ring-two,
body.is-disintegrating .intro-flare {
  animation-play-state: paused;
  opacity: 0.18;
  transition: opacity 320ms ease;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 14, 28, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 14px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-text strong,
.brand-text span {
  overflow-wrap: anywhere;
}

.brand-text strong,
.nav a,
.button,
h1,
h2,
h3 {
  font-family: "Orbitron", sans-serif;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(28, 165, 255, 0.25));
}

.brand-text span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--silver), #92ceff 50%, var(--accent-strong));
  color: #06101d;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
  box-shadow: 0 16px 34px rgba(0, 94, 255, 0.24);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(28, 165, 255, 0.34);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
  padding: 96px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h1 span {
  color: #ffffff;
  text-shadow: 0 0 40px rgba(28, 165, 255, 0.28);
}

.hero-text,
.section-heading h2,
.section-intro,
.service-card p,
.work-card p,
.process-step p,
.about-panel p,
.contact-card p,
label,
input,
textarea {
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  margin: 24px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.hero-metrics article,
.service-card,
.work-card,
.process-step,
.about-panel,
.contact-card,
.trust-strip {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-metrics article {
  padding: 18px;
  border-radius: 20px;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Orbitron", sans-serif;
  font-size: 1.02rem;
}

.hero-metrics span {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
}

.hero-glow-one {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 94, 255, 0.3), transparent 68%);
  top: 24px;
  right: 18px;
}

.hero-glow-two {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(115, 212, 255, 0.24), transparent 68%);
  bottom: 70px;
  left: 10px;
}

.logo-stage {
  position: relative;
  width: min(100%, 490px);
  padding: 30px;
  border: 1px solid rgba(115, 212, 255, 0.2);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(12, 21, 40, 0.92), rgba(3, 7, 15, 0.94));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 30px 90px rgba(0, 0, 0, 0.55);
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  pointer-events: none;
}

.hero-logo {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 28px;
  object-fit: contain;
  filter: drop-shadow(0 22px 45px rgba(0, 94, 255, 0.22));
}

.work-card span {
  margin: 0 0 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

.trust-strip,
.about-panel,
.contact-card {
  border-radius: 28px;
}

.trust-strip {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 18px 22px;
}

.trust-strip p {
  margin: 0;
  color: var(--muted);
}

.trust-strip div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.trust-strip span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
}

.section {
  padding: 90px 0 0;
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.about-panel h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-intro {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
}

.service-grid,
.portfolio-grid,
.work-grid,
.process-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.service-card,
.work-card,
.process-step {
  padding: 26px;
  border-radius: 24px;
}

.service-card h3,
.work-card h3,
.process-step h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
}

.service-card p,
.portfolio-copy p,
.work-card p,
.process-step p,
.about-panel p,
.contact-card p {
  margin: 0;
  color: var(--muted);
}

.portfolio-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.portfolio-card,
.concept-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.portfolio-card {
  overflow: hidden;
}

.portfolio-card-large {
  grid-column: span 1;
}

.portfolio-visual {
  position: relative;
  min-height: 240px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(115, 212, 255, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(12, 24, 47, 0.96), rgba(3, 7, 15, 0.98));
}

.portfolio-visual-image {
  overflow: hidden;
  padding: 16px;
}

.visual-barber {
  min-height: 290px;
}

.visual-realtor {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(11, 24, 43, 0.96), rgba(3, 7, 15, 0.98));
}

.visual-restaurant {
  background:
    radial-gradient(circle at 80% 20%, rgba(28, 165, 255, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(14, 23, 40, 0.96), rgba(3, 7, 15, 0.98));
}

.portfolio-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(115, 212, 255, 0.18);
  border-radius: 999px;
  color: var(--accent-soft);
  background: rgba(3, 10, 22, 0.56);
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-shot {
  display: block;
  width: 100%;
  margin-top: 16px;
  border: 1px solid rgba(115, 212, 255, 0.14);
  border-radius: 20px;
  object-fit: cover;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.28);
}

.screen-frame,
.mini-dashboard,
.menu-preview {
  margin-top: 22px;
  border: 1px solid rgba(115, 212, 255, 0.14);
  border-radius: 22px;
  background: rgba(3, 9, 18, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.28);
}

.screen-frame {
  padding: 14px;
}

.screen-top {
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(115, 212, 255, 0.28), rgba(255, 255, 255, 0.06));
}

.screen-body {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.screen-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.screen-block,
.mini-card,
.menu-line {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(28, 165, 255, 0.28), rgba(255, 255, 255, 0.06));
}

.screen-block {
  min-height: 72px;
}

.block-tall {
  min-height: 120px;
}

.mini-dashboard {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.mini-card {
  min-height: 64px;
}

.mini-card.wide {
  min-height: 128px;
}

.menu-preview {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.menu-line {
  height: 18px;
}

.menu-line.long {
  width: 100%;
}

.menu-line.short {
  width: 64%;
}

.portfolio-copy {
  padding: 24px;
}

.portfolio-copy h3,
.concept-panel h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
}

.portfolio-tags,
.concept-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.portfolio-tags li,
.concept-points span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(115, 212, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.concept-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding: 28px;
}

.work-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.work-card.large {
  min-height: 320px;
  background:
    radial-gradient(circle at top right, rgba(115, 212, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(15, 31, 58, 0.96), rgba(3, 7, 15, 0.96));
}

.process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: "Orbitron", sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
}

.about-panel {
  padding: 42px;
  background:
    radial-gradient(circle at top left, rgba(28, 165, 255, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(13, 24, 44, 0.94), rgba(3, 7, 15, 0.96));
}

.about-panel p:last-child {
  max-width: 780px;
  margin-top: 20px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  padding: 34px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-links a {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(28, 165, 255, 0.45);
  background: linear-gradient(180deg, rgba(14, 39, 83, 0.6), rgba(5, 12, 25, 0.72));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: var(--silver);
  background: linear-gradient(135deg, rgba(115, 212, 255, 0.22), rgba(0, 94, 255, 0.22));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(0, 94, 255, 0.16);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-copy {
  display: grid;
  gap: 2px;
}

.contact-copy strong {
  font-family: "Orbitron", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.contact-copy span {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.45;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(235, 241, 255, 0.45);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(28, 165, 255, 0.4);
  border-color: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 42px 4px 0;
  color: var(--muted);
}

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

@keyframes introLogoIn {
  0% {
    opacity: 0;
    transform: scale(0.68) rotate(-6deg);
  }

  55% {
    opacity: 1;
    transform: scale(1.04) rotate(0deg);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes particleCollide {
  0% {
    opacity: 0;
    transform: translate(calc(-50% + var(--start-x)), calc(-50% + var(--start-y))) scale(0.25) rotate(var(--rotate, 0deg));
    filter: blur(0);
  }

  12% {
    opacity: 1;
  }

  84% {
    opacity: 1;
    transform: translate(calc(-50% + var(--end-x, 0px)), calc(-50% + var(--end-y, 0px))) scale(1) rotate(0deg);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--burst-x, 0px)), calc(-50% + var(--burst-y, 0px))) scale(0.2) rotate(0deg);
    filter: blur(4px);
  }
}

@keyframes logoDisintegrate {
  0% {
    opacity: 1;
    transform: scale(1);
    filter:
      drop-shadow(0 0 24px rgba(28, 165, 255, 0.28))
      drop-shadow(0 20px 44px rgba(0, 0, 0, 0.48));
  }

  45% {
    opacity: 0.72;
    transform: scale(1.03);
    filter:
      drop-shadow(0 0 28px rgba(115, 212, 255, 0.42))
      drop-shadow(0 16px 36px rgba(0, 0, 0, 0.28))
      blur(0.8px);
  }

  100% {
    opacity: 0;
    transform: scale(0.9);
    filter:
      drop-shadow(0 0 34px rgba(115, 212, 255, 0.1))
      drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12))
      blur(3px);
  }
}

@keyframes shardBreak {
  0% {
    opacity: 0;
    transform: translate(calc(-50% + var(--origin-x, 0px)), calc(-50% + var(--origin-y, 0px))) scale(0.22) rotate(var(--rotate, 0deg));
    filter: blur(0);
  }

  12% {
    opacity: 0.92;
  }

  68% {
    opacity: 0.88;
    transform: translate(calc(-50% + var(--travel-x, 0px)), calc(-50% + var(--travel-y, 0px))) scale(1) rotate(calc(var(--rotate, 0deg) + 28deg));
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--burst-x, 0px)), calc(-50% + var(--burst-y, 0px))) scale(0.24) rotate(calc(var(--rotate, 0deg) + 58deg));
    filter: blur(4px);
  }
}

@keyframes introPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.65;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes introRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes introRotateReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@media (max-width: 1080px) {
  .hero,
  .contact-card,
  .portfolio-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 460px;
  }

  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .concept-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-shell {
    width: min(100% - 24px, 1180px);
  }

  .topbar {
    position: static;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
    overflow: hidden;
  }

  .brand {
    width: 100%;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .button-small {
    order: 2;
    width: 100%;
  }

  .nav {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .nav a {
    flex: 1 1 calc(50% - 8px);
    min-width: 120px;
    padding: 10px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
  }

  .hero {
    padding-top: 58px;
  }

  .hero-metrics,
  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: block;
    min-height: auto;
  }

  .hero-glow {
    display: none;
  }

  .intro-core {
    width: min(88vw, 460px);
  }

  .sound-toggle {
    top: 18px;
    right: 18px;
    min-width: 0;
    max-width: calc(100vw - 36px);
  }

  .contact-card,
  .about-panel,
  .footer {
    padding: 24px;
  }

  .footer {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }

  .footer-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .brand-text span:last-child {
    display: none;
  }

  .nav a {
    min-width: 0;
    font-size: 0.82rem;
  }
}
