:root {
  --statement-word-weight: 700;
  --statement-word-spacing: 0.22em;
  --statement-word-line-height: 1;
  --bg: #03070d;
  --bg-soft: #07111d;
  --panel: rgba(9, 19, 31, 0.74);
  --panel-strong: #0a1522;
  --text: #f6f8fb;
  --muted: #a9b4c2;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(151, 211, 255, 0.34);
  --accent: #5cc7ff;
  --accent-soft: #9fdfff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 20px;
  --header-height: 110px;
  --shell: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 18%, rgba(23, 91, 134, 0.1), transparent 30%),
    linear-gradient(180deg, #03070d 0%, #050c14 46%, #03070d 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #04101a;
  background: var(--accent-soft);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #07111d;
  background: #fff;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: clamp(340px, 35vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle,
    rgba(113, 207, 255, 0.20) 0%,
    rgba(80, 178, 238, 0.12) 24%,
    rgba(45, 126, 188, 0.055) 46%,
    transparent 70%);
  mix-blend-mode: screen;
  transition: opacity 0.34s ease;
  will-change: transform, opacity;
}

.page-cursor-glow.is-visible {
  opacity: 1;
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .page-cursor-glow {
    display: none;
  }
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(2, 7, 13, 0.76);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 10px;
}

.brand {
  width: clamp(183px, 19.55vw, 281px);
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
  font-size: 0.9rem;
  font-weight: 560;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s ease;
}

.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav > a:not(.nav-cta):hover,
.main-nav > a:not(.nav-cta):focus-visible {
  color: #fff;
}

.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 9px 17px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(5, 13, 22, 0.5);
  color: white;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  height: calc(100svh + 432px);
  min-height: calc(100svh + 432px);
  isolation: isolate;
}

.hero-stage {
  position: sticky;
  top: 0;
  isolation: isolate;
  min-height: max(760px, 100svh);
  display: grid;
  align-items: center;
  overflow: clip;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #02060b;
}

.hero-media,
.hero-vignette,
.hero-glow,
.hero-lamp-bloom {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -4;
  inset: -10%;
  overflow: hidden;
  transform: translate3d(0, var(--hero-stage-y, 0px), 0) scale(var(--hero-stage-scale, 1.02));
  transform-origin: center center;
  filter: saturate(0.88) contrast(1.08) brightness(0.92);
  will-change: transform;
  contain: paint;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -6%;
  background-image: url("assets/images/hero-truss.webp");
  background-position: center center;
  background-size: cover;
  transform: translate3d(var(--hero-image-x, 0px), var(--hero-image-y, 0px), 0) scale(var(--hero-image-scale, 1.04));
  transform-origin: center center;
  will-change: transform;
}

.hero-vignette {
  z-index: -3;
  opacity: var(--hero-vignette-opacity, 1);
  background:
    linear-gradient(90deg, rgba(1, 5, 10, 0.9) 0%, rgba(1, 6, 12, 0.74) 34%, rgba(2, 8, 15, 0.18) 68%, rgba(2, 7, 12, 0.32) 100%),
    linear-gradient(180deg, rgba(2, 6, 11, 0.4) 0%, transparent 40%, rgba(2, 7, 13, 0.72) 100%);
  will-change: opacity;
}

.hero-glow {
  display: none;
}

.hero-lamp-bloom {
  z-index: 1;
  left: 68%;
  top: 25%;
  right: auto;
  bottom: auto;
  width: min(18vw, 270px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: var(--lamp-bloom-opacity, 0);
  transform: translate(-50%, -50%) scale(var(--lamp-bloom-scale, 0.2));
  background:
    radial-gradient(circle, rgba(255,255,255,0.99) 0 8%, rgba(235,247,255,0.98) 18%, rgba(178,224,255,0.82) 34%, rgba(92,180,239,0.22) 56%, transparent 72%);
  filter: blur(2px);
  mix-blend-mode: screen;
  will-change: transform, opacity;
}



.hero-whiteout {
  position: absolute;
  z-index: 2;
  left: 68%;
  top: 25%;
  width: 220vmax;
  height: 220vmax;
  border-radius: 50%;
  background: #ffffff;
  opacity: var(--hero-whiteout-opacity, 0);
  transform: translate3d(-50%, -50%, 0) scale(var(--hero-whiteout-scale, 0.001));
  transform-origin: center;
  will-change: transform, opacity;
  pointer-events: none;
}

.hero-focus-sequence {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: var(--hero-sequence-opacity, 0);
  will-change: opacity;
}

.hero-focus-word {
  position: absolute;
  left: 0;
  top: 0;
  width: max-content;
  max-width: 90vw;
  padding: 0;
  color: #08131f;
  font-family: inherit;
  font-size: clamp(2.5rem, 7vw, 6.2rem);
  line-height: var(--statement-word-line-height);
  font-weight: var(--statement-word-weight);
  letter-spacing: var(--statement-word-spacing);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(50vw, 50vh, 0) translate(-50%, -50%) scale(0.92);
  transform-origin: center;
  will-change: transform, opacity, color;
  backface-visibility: hidden;
}




.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding-top: calc(var(--header-height) + 68px);
  padding-bottom: 110px;
  transform: translate3d(var(--hero-content-x, 0px), var(--hero-content-y, 0px), 0) scale(var(--hero-content-scale, 1));
  opacity: var(--hero-content-opacity, 1);
  will-change: transform, opacity;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: rgba(210, 235, 250, 0.8);
}

.hero h1 {
  max-width: 12.5ch;
  margin: 0;
  font-size: clamp(2.9rem, 5.45vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 720;
}

.hero-line {
  display: block;
  width: max-content;
  max-width: 100%;
}

.hero-line-primary {
  color: #fff;
  white-space: nowrap;
}

.hero-line-secondary {
  color: rgba(255, 255, 255, 0.76);
  margin-top: 0.04em;
  white-space: nowrap;
}

.hero-copy {
  max-width: 710px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.65;
}

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

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 680;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #04101a;
  background: #fff;
  box-shadow: 0 12px 36px rgba(130, 210, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #eff9ff;
  box-shadow: 0 15px 44px rgba(93, 199, 255, 0.26);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(5, 12, 20, 0.36);
  backdrop-filter: blur(10px);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.scroll-cue {
  position: absolute;
  right: 50%;
  bottom: 28px;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(50%);
  opacity: var(--scroll-cue-opacity, 1);
  transition: opacity 0.2s linear;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent);
  animation: scroll-cue 1.7s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%, 100% { transform: scaleY(0.55); transform-origin: top; opacity: 0.45; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

.statement-track {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(22px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: clamp(0.9rem, 1.5vw, 1.22rem);
  line-height: var(--statement-word-line-height);
  font-weight: var(--statement-word-weight);
  letter-spacing: var(--statement-word-spacing);
  text-transform: uppercase;
  opacity: var(--statement-track-opacity, 1);
  transform: translate3d(0, var(--statement-track-shift, 0px), 0);
  will-change: opacity, transform;
}

.statement-track span {
  position: relative;
}

.statement-track span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(clamp(22px, 5vw, 72px) / -2);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.section {
  position: relative;
  padding: clamp(86px, 11vw, 150px) 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 46px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 680;
}

.section-heading > p:last-child {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.services {
  z-index: 6;
  margin-top: clamp(-185px, -16svh, -135px);
  padding-top: clamp(82px, 8vw, 112px);
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, rgba(8, 19, 32, 0.995) 0%, rgba(7, 17, 29, 0.985) 42%, rgba(4, 10, 18, 0.97) 100%);
  box-shadow: 0 -12px 34px rgba(2, 7, 13, 0.18);
  overflow: hidden;
  transform: translate3d(0, var(--services-approach-y, 0px), 0);
  opacity: var(--services-approach-opacity, 1);
  will-change: transform;
  backface-visibility: hidden;
}

.services::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -120px;
  height: 180px;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(180deg, rgba(8, 19, 32, 0.995) 0%, rgba(7, 17, 29, 0.988) 55%, rgba(7, 17, 29, 0.985) 100%);
  z-index: 0;
}

.services > .shell {
  position: relative;
  z-index: 2;
}

.services-content {
  position: relative;
  z-index: 2;
}

.services-statement {
  position: relative;
  z-index: 4;
  margin: clamp(-20px, -1.8vw, -10px) auto clamp(74px, 7.5vw, 104px);
  flex-wrap: nowrap;
  gap: clamp(10px, 4vw, 72px);
  font-size: clamp(0.78rem, 1.45vw, 1.12rem);
  line-height: var(--statement-word-line-height);
  font-weight: var(--statement-word-weight);
  letter-spacing: var(--statement-word-spacing);
  opacity: var(--statement-track-opacity, 0);
  transform: translate3d(0, var(--statement-track-shift, 8px), 0);
  will-change: opacity, transform;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 28px 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(6, 13, 22, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2,.75,.25,1), border-color 0.35s ease, background 0.35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--card-x, 50%) var(--card-y, 0%), rgba(91, 199, 255, 0.16), transparent 58%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  background: rgba(8, 20, 33, 0.82);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 16px;
  color: #eaf8ff;
  background: rgba(90, 197, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(112, 203, 255, 0.12), 0 0 28px rgba(66, 177, 239, 0.08);
}

.service-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 13px;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.brands {
  padding-top: 70px;
  padding-bottom: 56px;
}

.brand-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 15, 25, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.brand-line span {
  position: relative;
  padding: 8px clamp(15px, 2.25vw, 31px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 580;
  white-space: nowrap;
}

.brand-line span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19%;
  right: 0;
  bottom: 19%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.projects {
  padding-top: 88px;
  background:
    linear-gradient(180deg, rgba(5, 12, 20, 0) 0%, rgba(9, 22, 36, 0.45) 58%, rgba(3, 7, 13, 0) 100%);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #08111c;
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.18,.75,.22,1), filter 0.5s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(2, 6, 12, 0.34) 55%, rgba(2, 6, 12, 0.97) 100%);
}

.project-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.02);
}

.project-overlay {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px;
}

.project-kicker {
  margin: 0 0 5px;
  color: var(--accent-soft) !important;
  font-size: 0.67rem !important;
  font-weight: 720;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.project-overlay h3 {
  margin: 0 0 7px;
  font-size: 1.08rem;
}

.project-overlay p {
  margin: 0;
  color: rgba(229, 237, 245, 0.7);
  font-size: 0.88rem;
  line-height: 1.55;
}


.partner-highlight {
  margin-top: 66px;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1.28fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 20%, rgba(76, 181, 242, 0.09), transparent 36%),
    linear-gradient(145deg, rgba(9, 20, 33, 0.76), rgba(4, 10, 18, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.partner-highlight-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.partner-highlight-copy > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.partner-highlight-logo {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.8vw, 16px);
  overflow: visible;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.partner-highlight-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
}


.client-logos {
  margin-top: 66px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 15, 25, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.client-heading {
  max-width: 670px;
  margin: 0 auto 30px;
  text-align: center;
}

.client-heading h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  letter-spacing: -0.035em;
}

.client-heading > p:last-child {
  margin: 13px 0 0;
  color: var(--muted);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.logo-slot {
  position: relative;
  min-height: 166px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.logo-slot:hover {
  transform: translateY(-4px);
  border-color: rgba(115, 205, 255, 0.42);
  background: transparent !important;
  box-shadow: none !important;
}

.logo-slot--dark,
.logo-slot--light {
  background: transparent !important;
  box-shadow: none !important;
}

.logo-slot img {
  display: block;
  width: 100%;
  height: 104px;
  max-width: 100%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  image-rendering: auto;
}

.logo-slot--tall img {
  height: 124px;
  max-width: 84%;
}

.logo-slot--wide img {
  height: 82px;
}

.logo-slot--round img {
  width: 124px;
  height: 124px;
}


.instagram-section {
  padding-top: 74px;
  padding-bottom: 92px;
  background:
    radial-gradient(circle at 78% 0%, rgba(79, 190, 250, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(4, 10, 17, 0), rgba(7, 16, 27, 0.52), rgba(4, 10, 17, 0));
}

.instagram-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.instagram-head > div {
  max-width: 690px;
}

.instagram-head h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 680;
}

.instagram-head p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.instagram-profile {
  flex: 0 0 auto;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.instagram-card {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: #08111c;
}

.instagram-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 48%, rgba(2, 7, 13, 0.72));
  opacity: 0.45;
  transition: opacity 0.35s ease;
}

.instagram-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(.18,.75,.22,1), filter 0.45s ease;
}

.instagram-card:hover img,
.instagram-card:focus-visible img {
  transform: scale(1.07);
  filter: saturate(1.08) contrast(1.03);
}

.instagram-card:hover::after,
.instagram-card:focus-visible::after {
  opacity: 0.72;
}

.instagram-card-icon {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.35rem;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}


.contact {
  padding-top: 70px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(30px, 5vw, 68px);
  padding: clamp(28px, 4.5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 8%, rgba(78, 187, 248, 0.11), transparent 30%),
    linear-gradient(145deg, rgba(13, 29, 47, 0.9), rgba(5, 12, 20, 0.94));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.contact-sidebar {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 24px;
}

.contact-copy {
  max-width: 560px;
}

.contact-copy > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.contact-person {
  width: min(100%, 340px);
  margin: 0;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(145, 214, 255, 0.22);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(15, 25, 38, 0.72), rgba(7, 14, 23, 0.9));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.contact-person-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0b1420;
}

.contact-person-photo-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  background: linear-gradient(180deg, transparent, rgba(5, 12, 20, 0.2));
  pointer-events: none;
}

.contact-person-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 30%;
}

.contact-person-body {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 14px 16px 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-person-label {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-person-body h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.contact-direct {
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-direct a,
.contact-direct > span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-direct a:hover {
  color: var(--accent-soft);
}

.inquiry-form {
  width: 100%;
  margin: 0;
  align-self: center;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: rgba(2, 8, 14, 0.34);
  display: grid;
  align-content: start;
  gap: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.form-heading {
  margin-bottom: 4px;
}

.form-heading .eyebrow {
  margin-bottom: 8px;
}

.form-heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.inquiry-form label:not(.consent):not(.honeypot) {
  display: grid;
  gap: 8px;
}

.inquiry-form label > span:first-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: 0.045em;
}

input,
select,
textarea {
  width: 100%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  outline: 0;
  background: rgba(2, 8, 14, 0.52);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input,
select {
  height: 51px;
  padding: 0 15px;
}

textarea {
  min-height: 135px;
  padding: 13px 15px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(103, 204, 255, 0.68);
  background: rgba(5, 15, 25, 0.82);
  box-shadow: 0 0 0 4px rgba(89, 196, 255, 0.08);
}

select option {
  color: #fff;
  background: #07111d;
}

textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  align-items: start;
  color: var(--muted);
  font-size: 0.8rem;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.consent a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}

.form-status {
  flex: 1 1 220px;
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status.is-success {
  color: #92efbb;
}

.form-status.is-error {
  color: #ff9e9e;
}

.inquiry-form.is-sending button {
  pointer-events: none;
  opacity: 0.62;
}

.site-footer {
  margin-top: 40px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #02060a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  width: min(265px, 100%);
}

.footer-inner > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  text-align: center;
}

.footer-inner nav {
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.footer-inner nav a:hover {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.9s cubic-bezier(.2,.7,.2,1),
    transform 0.9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.reveal-delay-1 { --reveal-delay: 90ms; }
.reveal-delay-2 { --reveal-delay: 180ms; }
.reveal-delay-3 { --reveal-delay: 270ms; }
.reveal-delay-4 { --reveal-delay: 360ms; }

.legal-page {
  min-height: 100vh;
  padding: calc(var(--header-height) + 72px) 0 90px;
}

.legal-wrap {
  max-width: 840px;
}

.legal-wrap h1 {
  margin: 0 0 30px;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-wrap h2 {
  margin-top: 44px;
  font-size: 1.45rem;
}

.legal-wrap p,
.legal-wrap li {
  color: var(--muted);
}

.legal-note {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(78, 187, 248, 0.08);
  color: #dceef8 !important;
}


.legal-wrap h3 {
  margin: 30px 0 10px;
  font-size: 1.12rem;
  color: var(--text);
}

.legal-wrap a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-source {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}


@media (max-width: 1060px) {
  :root {
  --statement-word-weight: 700;
  --statement-word-spacing: 0.22em;
  --statement-word-line-height: 1;
    --header-height: 94px;
  }

  .brand {
    width: 208px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 3;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 26px;
    padding: 100px 24px 40px;
    background: rgba(2, 7, 13, 0.97);
    backdrop-filter: blur(20px);
    font-size: 1.45rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-cta {
    margin-top: 8px;
    font-size: 1rem;
  }

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

  .service-card {
    grid-column: span 2;
  }

  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 3;
  }

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

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

  .partner-highlight {
    grid-template-columns: 1fr;
  }

  .partner-highlight-logo {
    min-height: 150px;
    padding: 0;
  }


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

  .contact-panel {
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
    gap: 30px;
  }


}


@media (max-width: 900px) {
  .contact-panel {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 34px;
  }

  .contact-sidebar,
  .inquiry-form {
    width: 100%;
    min-width: 0;
  }

  .inquiry-form {
    align-self: stretch;
  }
}

@media (max-width: 720px) {
  :root {
  --statement-word-weight: 700;
  --statement-word-spacing: 0.22em;
  --statement-word-line-height: 1;
    --shell: min(100% - 28px, 1180px);
  }

  .brand {
    width: 174px;
  }

  .hero {
    height: calc(100svh + 582px);
    min-height: calc(100svh + 582px);
  }

  .hero-stage {
    min-height: 100svh;
  }

  .hero-focus-word {
    font-size: clamp(2.25rem, 12vw, 4.6rem);
    letter-spacing: 0.07em;
  }

  .statement-track,
  .services-statement {
    font-size: 0.96rem;
    gap: 12px 20px;
  }

  .hero-media {
    inset: -7%;
  }

  .hero-media::before {
    background-position: 64% center;
  }

  .hero-lamp-bloom {
    left: 69%;
    top: 27%;
    width: min(36vw, 240px);
  }

  .hero-whiteout {
    left: 69%;
    top: 27%;
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(1, 5, 10, 0.96), rgba(1, 6, 12, 0.58)),
      linear-gradient(180deg, rgba(2, 6, 11, 0.32), rgba(2, 7, 13, 0.86));
  }

  .hero h1 {
    max-width: 11.5ch;
    font-size: clamp(1.45rem, 7.2vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .hero-line {
    width: auto;
    max-width: 100%;
  }

  .hero-line-primary,
  .hero-line-secondary {
    white-space: normal;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 370px;
  }

  .statement {
    padding: 25px 0;
  }

  .statement-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    text-align: center;
  }

  .statement-track span::after {
    display: none;
  }

  .section {
    padding: 86px 0;
  }

  .services {
    margin-top: -118px;
    padding-top: 72px;
    border-radius: 22px 22px 0 0;
  }

  .services-statement {
    margin-bottom: 62px;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    text-align: center;
  }

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
    min-height: auto;
  }

  .brand-line {
    justify-content: flex-start;
    padding: 9px 13px;
  }

  .brand-line span {
    width: 50%;
    padding: 12px 10px;
    white-space: normal;
    text-align: center;
  }

  .brand-line span::after {
    display: none;
  }

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

  .instagram-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .project-card {
    min-height: 450px;
  }

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

  .logo-slot {
    min-height: 145px;
    padding: 19px;
  }

  .logo-slot img {
    height: 94px;
  }

  .logo-slot--tall img,
  .logo-slot--round img {
    height: 108px;
  }

  .partner-highlight {
    margin-top: 48px;
    padding: 22px 16px;
    border-radius: 18px;
  }

  .partner-highlight-logo {
    min-height: 120px;
    padding: 12px;
    border-radius: 14px;
  }


  .contact-panel {
    width: calc(100% - 16px);
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 30px;
    padding: 28px 18px;
    border-radius: 20px;
  }

  .contact-sidebar,
  .inquiry-form {
    width: 100%;
    min-width: 0;
  }

  .inquiry-form {
    order: 2;
    margin-top: 0;
  }


  .contact-person {
    width: min(100%, 330px);
    max-width: 330px;
    justify-self: start;
    border-radius: 20px;
  }

  .contact-person-photo-wrap {
    width: 100%;
    height: 390px;
  }

  .contact-person-body {
    padding: 13px 15px 16px;
  }

  .contact-person-label {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-brand {
    width: 245px;
  }

  .footer-inner nav {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .brand {
    width: 157px;
  }

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

  .logo-slot {
    min-height: 158px;
  }

  .hero h1 {
    font-size: 7.4vw;
  }

  .brand-line span {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero {
    height: auto;
  }

  .hero-stage {
    position: relative;
  }

  .hero-media {
    transform: scale(1.04) !important;
  }

  .hero-media::before {
    transform: scale(1.04) !important;
  }

  .hero-lamp-bloom {
    display: none;
  }

  .hero-whiteout,
  .hero-focus-sequence {
    display: none;
  }

  .services-statement {
    opacity: 1;
    transform: none;
  }

  .services {
    margin-top: 0;
    transform: none;
    opacity: 1;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.logo-slot--raster img {
  image-rendering: auto;
}

.logo-slot--compact img {
  height: 72px;
}
