:root {
  --black: #050505;
  --black-soft: #0d0d0d;
  --white: #f5f5f5;
  --gray: #8a8a8a;
  --blue: #0ea5e9;
  --line: rgba(255, 255, 255, 0.12);
  --dark-line: rgba(0, 0, 0, 0.12);
  --blue-rgb: 14, 165, 233;
  --white-soft: #f1f3f5;
  --glass: rgba(255, 255, 255, 0.055);
  --shadow-deep: 0 34px 110px rgba(0, 0, 0, 0.48);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(var(--blue-rgb), 0.16), transparent 26%),
    var(--black);
  color: var(--white);
  overflow-x: hidden;
}

html,
body {
  width: 100%;
  max-width: 100%;
}

img,
video {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  z-index: 1000;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 5, 5, 0.58);
  backdrop-filter: blur(22px) saturate(145%);
  border-bottom: 1px solid var(--line);
  transition: height 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow-x: clip;
}

.header.is-scrolled {
  height: 74px;
  background: rgba(5, 5, 5, 0.76);
  border-color: rgba(var(--blue-rgb), 0.2);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-symbol{
  width: 58px;
  height: 58px;
  border: 1px solid rgba(14,165,233,0.35);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 0 34px rgba(var(--blue-rgb), 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.brand:hover .brand-symbol {
  transform: translateY(-2px);
  box-shadow: 0 0 46px rgba(var(--blue-rgb), 0.34);
}

.brand-logo{
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.brand span {
  color: var(--gray);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  gap: 34px;
}

.nav a {
  position: relative;
  font-size: 14px;
  color: var(--gray);
  font-weight: 600;
  transition: 0.3s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
  box-shadow: 0 0 18px rgba(var(--blue-rgb), 0.8);
}

.nav a:hover {
  color: var(--blue);
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(var(--blue-rgb), 0.24);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  margin: 0;
  transition: transform 0.28s ease, opacity 0.28s ease, background 0.28s ease;
}

.menu-toggle.active span:first-child {
  transform: translateY(4.5px) rotate(45deg);
  background: var(--blue);
}

.menu-toggle.active span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
  background: var(--blue);
}

section {
  position: relative;
  padding: 120px 6vw;
  overflow: hidden;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.17), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.025), transparent 42%),
    var(--black);
  color: var(--white);
}

.section-light {
  background: var(--white-soft);
  color: var(--black);
}

.hero {
  min-height: 100vh;
  padding-top: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  background:
    radial-gradient(circle at var(--mx, 74%) var(--my, 18%), rgba(var(--blue-rgb), 0.22), transparent 28%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent 38%),
    #030407;
}

.ambient,
.tech-grid,
.particle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ambient {
  z-index: 0;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.ambient--hero {
  background:
    radial-gradient(circle at 18% 64%, rgba(var(--blue-rgb), 0.17), transparent 26%),
    radial-gradient(circle at 86% 20%, rgba(var(--blue-rgb), 0.22), transparent 24%);
  filter: blur(10px);
  animation: ambientDrift 11s ease-in-out infinite alternate;
}

.ambient--services,
.ambient--manifesto,
.ambient--contact {
  background: radial-gradient(circle at 72% 28%, rgba(var(--blue-rgb), 0.2), transparent 28%);
  filter: blur(14px);
}

.tech-grid {
  z-index: 0;
  opacity: 0.35;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 72%);
}

.particle-field {
  z-index: 0;
  overflow: hidden;
}

.particle-field span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(var(--blue-rgb), 0.78);
  box-shadow: 0 0 22px rgba(var(--blue-rgb), 0.85);
  animation: particleFloat 9s ease-in-out infinite;
}

.particle-field span:nth-child(1) { left: 16%; top: 24%; animation-delay: 0s; }
.particle-field span:nth-child(2) { left: 72%; top: 18%; animation-delay: 1.3s; }
.particle-field span:nth-child(3) { left: 84%; top: 62%; animation-delay: 2.2s; }
.particle-field span:nth-child(4) { left: 38%; top: 70%; animation-delay: 3.1s; }
.particle-field span:nth-child(5) { left: 58%; top: 38%; animation-delay: 4.5s; }

.hero-label {
  position: relative;
  z-index: 1;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 13px;
  font-weight: 800;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}
.hero-image{
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 28px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-title {
  max-width: 100%;
  font-size: clamp(64px, 12.4vw, 190px);
  line-height: 0.82;
  letter-spacing: clamp(-0.1em, -0.7vw, -0.035em);
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 0 42px rgba(255, 255, 255, 0.08);
  overflow-wrap: normal;
}

.text-line {
  display: inline-block;
  will-change: transform;
  max-width: 100%;
}

.hero-title span {
  color: var(--blue);
}

.hero-side {
  max-width: 100%;
  width: min(980px, 100%);
  padding-bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-side p {
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  min-width: 320px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.3s;
  will-change: transform;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent, rgba(var(--blue-rgb), 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-light {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 18px 46px rgba(255, 255, 255, 0.08);
}

.btn-light:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
}

.hero-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.hero-footer span {
  padding: 28px 0;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  border-right: 1px solid var(--line);
}

.hero-footer span:last-child {
  border-right: none;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
  background:
    radial-gradient(circle at 80% 20%, rgba(var(--blue-rgb), 0.08), transparent 26%),
    var(--white-soft);
}

.intro .hero-image {
  aspect-ratio: 1 / 1;
  height: auto;
  max-width: 670px;
  justify-self: end;
  box-shadow: var(--shadow-deep);
}

.small-title {
  font-family: cursive;
  color: var(--blue);
  font-size: 34px;
  display: inline-block;
  margin-bottom: 18px;
}

.intro h2,
.section-heading h2,
.contact h2 {
  font-size: clamp(46px, 8vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 900;
}

.intro p {
  margin-top: 26px;
  color: #333;
  font-size: 20px;
  line-height: 1.8;
  max-width: 620px;
}

.portrait-card {
  height: 520px;
  background:
    linear-gradient(135deg, rgba(14, 165, 233, 0.18), transparent),
    var(--black);
  display: grid;
  place-items: center;
  border-radius: 2px;
}

.portrait-card span {
  font-size: clamp(90px, 14vw, 180px);
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.12em;
}

.section-heading {
  margin-bottom: 70px;
}

.section-heading span {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 13px;
  font-weight: 800;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.service-item {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 12%, rgba(var(--blue-rgb), 0.2), transparent 34%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-item > * {
  position: relative;
  z-index: 1;
}

.service-item:hover {
  transform: translateY(-8px);
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(var(--blue-rgb), 0.42);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34), 0 0 36px rgba(var(--blue-rgb), 0.16);
  color: var(--white);
}

.service-item:hover::before {
  opacity: 1;
}

.service-item:hover p,
.service-item:hover span {
  color: #cbd5e1;
}

.service-item span {
  font-size: 74px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.12);
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

.service-item:hover span {
  color: rgba(var(--blue-rgb), 0.65);
  text-shadow: 0 0 28px rgba(var(--blue-rgb), 0.4);
}

.service-item h3 {
  margin-top: 24px;
  font-size: 28px;
  letter-spacing: -0.05em;
}

.service-item p {
  margin-top: 18px;
  color: var(--gray);
  line-height: 1.7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  width: 100%;
  max-width: 100%;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.07);
  transition: transform 0.42s ease, box-shadow 0.42s ease, border-color 0.42s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(var(--blue-rgb), 0.12), transparent 42%);
  opacity: 0;
  transition: opacity 0.42s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(var(--blue-rgb), 0.34);
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.16);
}

.project-card:hover::after {
  opacity: 1;
}

.project-card.wide {
  grid-column: span 2;
}

.project-card.wide .project-media {
  height: 520px;
}

.project-media {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 390px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  overflow: hidden;
  background: var(--black);
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent 52%),
    radial-gradient(circle at 78% 18%, rgba(var(--blue-rgb), 0.18), transparent 34%);
  opacity: 0;
  transition: opacity 0.42s ease;
}

.project-media-image {
  background: var(--black);
}

.project-media-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.project-card:hover .project-media-image img {
  transform: scale(1.055);
  filter: saturate(1.06) contrast(1.04);
}

.project-card:hover .project-media::after {
  opacity: 1;
}

.project-media span {
  font-size: clamp(72px, 10vw, 160px);
  font-weight: 900;
  letter-spacing: -0.12em;
}

.dark-card {
  background: var(--black);
  color: #86efac;
}

.green-card {
  background: #101510;
  color: #84cc16;
}

.blue-card {
  background: var(--black);
  color: var(--blue);
}

.project-card h3 {
  position: relative;
  z-index: 1;
  font-size: 34px;
  letter-spacing: -0.06em;
  margin-bottom: 10px;
}

.project-card p {
  position: relative;
  z-index: 1;
  color: #333;
  line-height: 1.7;
  max-width: 580px;
}

.project-kicker {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.project-story {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.project-story span {
  color: #555;
  font-size: 13px;
  line-height: 1.45;
}

.project-card a,
.project-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 800;
  font: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.project-card a:hover,
.project-link:hover {
  color: #0284c7;
  transform: translateX(4px);
}

.project-gallery {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  padding: 34px;
}

.project-gallery.is-open {
  display: grid;
  place-items: center;
}

.project-gallery__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.project-gallery__dialog {
  position: relative;
  width: min(1180px, 100%);
  max-height: min(860px, 92vh);
  overflow: auto;
  background: #080808;
  color: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}

.project-gallery__close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.project-gallery__header {
  margin-bottom: 24px;
}

.project-gallery__header span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.project-gallery__header h3 {
  margin-top: 10px;
  font-size: clamp(34px, 6vw, 74px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.project-gallery__file {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 13px 18px;
  border: 1px solid rgba(14, 165, 233, 0.48);
  border-radius: 999px;
  color: var(--white);
  background: rgba(14, 165, 233, 0.14);
  font-size: 14px;
  font-weight: 800;
}

.project-gallery__grid {
  display: grid;
  gap: 18px;
}

.project-gallery__grid img {
  width: 100%;
  display: block;
  background: #111;
}

body.gallery-open {
  overflow: hidden;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.process-line__glow {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--blue-rgb), 0.95), transparent);
  box-shadow: 0 0 28px rgba(var(--blue-rgb), 0.8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s ease;
}

.process-line__glow.active,
.process-line:hover .process-line__glow {
  transform: scaleX(1);
}

.process-step {
  position: relative;
  padding: 38px 28px;
  border-right: 1px solid var(--line);
  transition: background 0.35s ease, transform 0.35s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.035);
}

.process-step:last-child {
  border-right: none;
}

.process-step span {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.2em;
}

.process-step h3 {
  font-size: 30px;
  margin: 26px 0 14px;
}

.process-step p {
  color: var(--gray);
  line-height: 1.7;
}

.manifesto {
  min-height: 75vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 34%, rgba(var(--blue-rgb), 0.12), transparent 28%),
    #f0f2f4;
  isolation: isolate;
}

.manifesto h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(54px, 11vw, 170px);
  line-height: 0.86;
  letter-spacing: -0.1em;
  text-transform: uppercase;
  max-width: 1200px;
}

.manifesto-line {
  display: block;
}

.manifesto-line:last-child {
  color: var(--blue);
}

.contact {
  min-height: 85vh;
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 18%, rgba(var(--blue-rgb), 0.2), transparent 28%),
    linear-gradient(180deg, #050505, #020305);
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-deep), 0 0 70px rgba(var(--blue-rgb), 0.1);
}

.contact p {
  margin: 30px auto;
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1.8;
  max-width: 760px;
}

.contact-info {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  color: var(--gray);
}

.footer {
  padding: 34px 6vw;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--gray);
  font-size: 14px;
}

.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

html.js-enabled .reveal {
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  filter: blur(10px);
  transition: opacity 0.85s ease, transform 0.85s ease, filter 0.85s ease;
  transition-delay: var(--delay, 0ms);
}

html.js-enabled .reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes ambientDrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.05); }
}

@keyframes particleFloat {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.25; }
  50% { transform: translate3d(18px, -24px, 0); opacity: 0.9; }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 86px;
    left: 0;
    width: 100%;
    padding: 30px 6vw;
    background: var(--black);
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav.active {
    display: flex;
  }

 

.hero-image::after{
  content:"";
  position:absolute;
  inset:0;

  background:
  linear-gradient(
    to top,
    rgba(0,0,0,.45),
    rgba(0,0,0,.05)
  );

  pointer-events:none;
}

  .service-list {
    grid-template-columns: 1fr;
  }

  .project-card.wide {
    grid-column: span 1;
  }

  .hero-footer {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    font-size: clamp(60px, 18vw, 110px);
  }

  .hero-side {
    display: block;
    width: 100%;
  }

  .hero-side p {
    max-width: 620px;
    margin-bottom: 28px;
  }

  .hero-actions {
    justify-content: flex-start;
    min-width: 0;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .intro .hero-image {
    max-width: 620px;
    justify-self: start;
  }

  .intro h2,
  .section-heading h2,
  .contact h2 {
    font-size: clamp(48px, 13vw, 90px);
  }

  .footer {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 560px) {
  section {
    padding: 90px 5vw;
  }

  .header {
    padding: 0 5vw;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-footer {
    grid-template-columns: 1fr;
  }

  .project-media {
    height: 280px;
  }

  .project-card.wide .project-media {
    height: 320px;
  }

  .contact-content {
    padding: 28px 20px;
  }
}

@media (max-width: 1440px) {
  section {
    padding-inline: 5.6vw;
  }

  .hero-title {
    font-size: clamp(60px, 12vw, 164px);
  }

  .project-card.wide .project-media {
    height: clamp(360px, 36vw, 500px);
  }
}

@media (max-width: 1024px) {
  section {
    padding: 104px 5vw;
  }

  .header {
    height: 78px;
    padding: 0 5vw;
  }

  .header.is-scrolled {
    height: 70px;
  }

  .brand-symbol {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px 5vw 26px;
    background: rgba(5, 5, 5, 0.94);
    border-bottom: 1px solid rgba(var(--blue-rgb), 0.22);
    backdrop-filter: blur(18px) saturate(145%);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-18px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  .header.is-scrolled .nav {
    top: 70px;
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #d7dde7;
    font-size: 16px;
  }

  .nav a::after {
    bottom: 8px;
    width: 42px;
  }

  .hero {
    min-height: auto;
    padding-top: 124px;
    gap: 74px;
  }

  .hero-title {
    font-size: clamp(58px, 13vw, 124px);
    line-height: 0.86;
    letter-spacing: -0.055em;
  }

  .hero-side {
    width: 100%;
    display: block;
    padding-top: 18px;
  }

  .hero-side p {
    max-width: 680px;
    margin-bottom: 26px;
    font-size: 18px;
  }

  .hero-actions {
    min-width: 0;
    justify-content: flex-start;
  }

  .hero-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .project-card.wide {
    grid-column: auto;
  }

  .project-media,
  .project-card.wide .project-media {
    height: clamp(320px, 48vw, 460px);
  }

  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  section {
    padding: 86px 5vw;
  }

  .header {
    height: 74px;
  }

  .header.is-scrolled {
    height: 68px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand strong {
    font-size: 16px;
    letter-spacing: -0.02em;
  }

  .brand span {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .brand-symbol {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
  }

  .nav {
    top: 74px;
  }

  .header.is-scrolled .nav {
    top: 68px;
  }

  .hero {
    padding-top: 112px;
    gap: 54px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-label {
    font-size: 11px;
    letter-spacing: 0.22em;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(42px, 10.5vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.01em;
    max-width: calc(100vw - 10vw);
    overflow-wrap: break-word;
  }

  .text-line {
    display: block;
    width: 100%;
    white-space: normal;
  }

  .hero-side p {
    width: 100%;
    max-width: calc(100vw - 10vw);
    overflow-wrap: break-word;
    font-size: 17px;
    line-height: 1.65;
  }

  .hero-actions {
    width: 100%;
    max-width: calc(100vw - 10vw);
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    min-height: 50px;
  }

  .hero-footer {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro,
  .service-list,
  .project-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-item,
  .project-card {
    padding: 22px;
  }

  .project-card:hover,
  .service-item:hover,
  .process-step:hover {
    transform: none;
  }

  .project-media,
  .project-card.wide .project-media {
    height: clamp(240px, 62vw, 360px);
  }

  .project-card h3 {
    font-size: clamp(28px, 8vw, 34px);
    letter-spacing: -0.04em;
  }

  .project-story span,
  .project-card p {
    max-width: 100%;
  }

  .project-gallery {
    padding: 14px;
  }

  .project-gallery__dialog {
    max-height: 90vh;
    padding: 18px;
  }

  .process-line {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
    gap: 14px;
  }

  .process-line__glow {
    display: none;
  }

  .process-step,
  .process-step:nth-child(2n),
  .process-step:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
  }

  .process-step {
    padding: 26px 22px;
  }

  .process-step h3 {
    font-size: clamp(24px, 8vw, 30px);
    margin: 18px 0 10px;
  }

  .manifesto {
    min-height: 62vh;
  }

  .manifesto h2 {
    font-size: clamp(44px, 13.5vw, 86px);
    line-height: 0.92;
    letter-spacing: -0.055em;
  }

  .contact {
    min-height: auto;
  }

  .contact-content {
    padding: 30px 22px;
  }

  .contact p {
    font-size: 17px;
    line-height: 1.65;
  }

  .contact-info {
    gap: 14px;
  }

  html.js-enabled .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition-delay: 0ms;
  }
}

@media (max-width: 480px) {
  section {
    padding: 76px 18px;
  }

  .header {
    padding: 0 18px;
  }

  .brand span {
    display: none;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .nav {
    padding-inline: 18px;
  }

  .hero {
    padding-top: 104px;
    gap: 44px;
  }

  .hero-title {
    font-size: clamp(34px, 9.8vw, 40px);
    line-height: 1;
    letter-spacing: 0;
    max-width: 82vw;
  }

  .hero-side {
    padding-bottom: 0;
  }

  .hero-side p {
    width: 82vw;
    max-width: 82vw;
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-actions {
    width: 82vw;
    max-width: 82vw;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    padding: 14px 18px;
    font-size: 13px;
  }

  .intro h2,
  .section-heading h2,
  .contact h2 {
    font-size: clamp(42px, 14vw, 64px);
    letter-spacing: -0.055em;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .service-item,
  .project-card {
    padding: 18px;
  }

  .service-item h3 {
    font-size: 24px;
  }

  .project-media,
  .project-card.wide .project-media {
    height: clamp(220px, 70vw, 310px);
    margin-bottom: 20px;
  }

  .project-media span {
    font-size: clamp(64px, 24vw, 108px);
    letter-spacing: -0.09em;
  }

  .project-kicker {
    letter-spacing: 0.16em;
  }

  .project-card a,
  .project-link {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    border: 1px solid rgba(var(--blue-rgb), 0.28);
    border-radius: 999px;
  }

  .process-step {
    padding: 24px 18px;
  }

  .manifesto h2 {
    font-size: clamp(38px, 13vw, 58px);
    letter-spacing: -0.035em;
  }

  .contact-content {
    padding: 24px 18px;
  }

  .footer {
    padding: 28px 18px;
    font-size: 12px;
  }

  html.js-enabled .reveal {
    transition-delay: 0ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
  
  /* ===== FIX MOBILE FINAL ===== */
@media (max-width: 768px) {

  .hero {
    padding-top: 110px !important;
    overflow: hidden !important;
  }

  .hero-title {
    font-size: 42px !important;
    line-height: 1 !important;
    letter-spacing: -1px !important;
    max-width: 100% !important;
    word-break: normal !important;
  }

  .hero-title .text-line {
    display: block !important;
    white-space: normal !important;
  }

  .hero-side p {
    font-size: 17px !important;
    line-height: 1.6 !important;
    max-width: 100% !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .hero-footer {
    grid-template-columns: 1fr !important;
  }

  .project-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    min-height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .project-card {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 100% !important;
  }

  .project-card,
  .project-card.wide {
    grid-column: auto !important;
  }

  .project-media,
  .project-card.wide .project-media {
    height: auto !important;
    min-height: 220px !important;
  }

  .project-media img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
  }

  .process-line {
    display: grid !important;
    grid-template-columns: 1fr !important;
    overflow: visible !important;
  }

  .process-step {
    width: 100% !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .reveal,
  html.js-enabled .reveal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
  }
}
