@import "tailwindcss";

:root {
  --ink: #071624;
  --ink-soft: #10283c;
  --ice: #edf4f4;
  --paper: #f8fbfa;
  --white: #ffffff;
  --mist: #a9bac5;
  --cyan: #75f2e3;
  --cyan-bright: #9bfff3;
  --service-surface: #0b2032;
  --service-surface-alt: #123047;
  --service-on-surface: #f6fbfb;
  --service-on-muted: #bdccd4;
  --border-dark: rgba(7, 22, 36, 0.16);
  --border-light: rgba(255, 255, 255, 0.2);
  --font-display: "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue",
    Arial, sans-serif;
  --font-body: Inter, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a,
select {
  touch-action: manipulation;
}

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 3px solid var(--cyan-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  background: var(--cyan);
  color: var(--ink);
  font-weight: 700;
  transition: transform 180ms ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.page-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--cyan);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  min-height: 88px;
  padding: 0 3.5vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    to bottom,
    rgba(4, 16, 29, 0.72),
    rgba(4, 16, 29, 0.16)
  );
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.75rem;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(155, 255, 243, 0.2);
  background: rgba(7, 22, 36, 0.54);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 0 22px rgba(117, 242, 227, 0.05);
  isolation: isolate;
}

.brand-mark img {
  width: 40px;
  height: 40px;
  max-width: none;
  object-fit: cover;
  mix-blend-mode: screen;
  filter: hue-rotate(145deg) saturate(1.16) contrast(1.14);
  transition:
    transform 220ms var(--ease-out),
    filter 220ms ease;
}

.brand:hover .brand-mark img {
  transform: scale(1.045);
  filter:
    hue-rotate(145deg)
    saturate(1.22)
    contrast(1.17)
    brightness(1.08);
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.05;
}

.brand-name small {
  margin-top: 0.28rem;
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 0.46rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 3.25rem);
}

.desktop-nav a {
  position: relative;
  padding: 0.85rem 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.52rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--cyan);
  content: "";
  transition: transform 220ms var(--ease-out);
}

.desktop-nav a:hover {
  color: var(--white);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.75rem;
}

.language-switcher {
  display: inline-grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  grid-template-columns: repeat(3, 44px);
  background: rgba(7, 22, 36, 0.3);
}

.language-switcher a {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.language-switcher a:last-child {
  border-right: 0;
}

.language-switcher a:hover {
  background: rgba(117, 242, 227, 0.12);
  color: var(--white);
}

.language-switcher a[aria-current="page"] {
  background: var(--cyan);
  color: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 1rem;
  min-height: 46px;
  padding: 0 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(7, 22, 36, 0.3);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition:
    background 220ms ease,
    color 220ms ease,
    border-color 220ms ease;
}

.header-cta:hover {
  border-color: var(--cyan);
  background: var(--cyan);
  color: var(--ink);
}

.menu-button,
.mobile-menu {
  display: none;
}

.story {
  position: relative;
  height: 760svh;
  background: var(--ink);
}

.story-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.story-scene {
  --layer-opacity: 0;
  --copy-opacity: 0;
  --copy-y: 34px;
  --copy-blur: 13px;
  --video-progress: 0;
  position: absolute;
  inset: 0;
  min-height: 0;
  opacity: var(--layer-opacity);
  pointer-events: none;
  will-change: opacity;
  z-index: 1;
}

.story-scene[data-current] {
  pointer-events: auto;
}

.scene-sticky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
}

.scene-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06);
}

.story-master-video {
  z-index: 0;
  background: var(--ink);
}

.scene-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 14, 26, 0.92) 0%,
      rgba(4, 14, 26, 0.56) 38%,
      rgba(4, 14, 26, 0.08) 68%,
      rgba(4, 14, 26, 0.4) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 11, 20, 0.5) 0%,
      transparent 35%,
      rgba(3, 11, 20, 0.62) 100%
    );
}

.story-scene--right .scene-shade {
  background:
    linear-gradient(
      270deg,
      rgba(4, 14, 26, 0.9) 0%,
      rgba(4, 14, 26, 0.54) 38%,
      rgba(4, 14, 26, 0.08) 68%,
      rgba(4, 14, 26, 0.42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 11, 20, 0.46) 0%,
      transparent 35%,
      rgba(3, 11, 20, 0.64) 100%
    );
}

.scene-grain {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image:
    radial-gradient(circle at 16% 22%, rgba(255, 255, 255, 0.42) 0 0.7px, transparent 0.9px),
    radial-gradient(circle at 74% 68%, rgba(255, 255, 255, 0.3) 0 0.55px, transparent 0.8px);
  background-size:
    8px 9px,
    11px 13px;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.scene-play-fallback {
  display: none;
}

.scene-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(92vw, 1480px);
  height: 100%;
  margin: 0 auto;
  padding: clamp(8.5rem, 16vh, 11.5rem) 3vw clamp(4rem, 8vh, 6rem);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  opacity: calc(var(--copy-opacity) * 0.88);
  transform: translate3d(0, var(--copy-y), 0);
  filter: blur(var(--copy-blur));
  transition:
    opacity 80ms linear,
    transform 100ms linear,
    filter 100ms linear;
  will-change: opacity, transform, filter;
}

.story-scene--right .scene-content {
  align-items: flex-end;
  text-align: right;
}

.hero-overline {
  position: absolute;
  top: clamp(7.5rem, 15vh, 10rem);
  left: 3vw;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.22em;
}

.hero-overline span {
  padding: 0 0.5rem;
  color: var(--cyan);
}

.scene-meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.45rem;
  padding-bottom: 0.85rem;
  color: var(--cyan-bright);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scene-meta::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(7rem, 13vw, 13rem);
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(155, 255, 243, 0.18));
  box-shadow: 0 0 14px rgba(121, 236, 255, 0.5);
  content: "";
  transform: scaleX(var(--video-progress));
  transform-origin: left center;
}

.story-scene--right .scene-meta::after {
  right: 0;
  left: auto;
  background: linear-gradient(270deg, var(--cyan), rgba(155, 255, 243, 0.18));
  transform-origin: right center;
}

.scene-meta span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(155, 255, 243, 0.55);
  font-size: 0.58rem;
}

.scene-content h1,
.scene-content h2 {
  width: min(10.8ch, 72vw);
  margin: 0;
  color: rgba(235, 244, 247, 0.9);
  font-family: var(--font-display);
  font-size: clamp(4.4rem, 9vw, 10rem);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.82;
  text-wrap: balance;
}

.scene-content .hero-title {
  width: min(8.6ch, 76vw);
  font-size: clamp(5.8rem, 13vw, 13.5rem);
}

.scene-body {
  width: min(31rem, 76vw);
  margin: 1.7rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.5;
  text-wrap: balance;
}

.story-scene--right .scene-body {
  margin-left: auto;
}

.hero-action,
.scene-action {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 48px;
  margin-top: 2.4rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition:
    color 200ms ease,
    border-color 200ms ease;
}

.hero-action:hover,
.scene-action:hover {
  border-color: var(--cyan);
  color: var(--cyan-bright);
}

.arrow-down {
  position: relative;
  width: 18px;
  height: 18px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-3px, 3px);
}

.scroll-cue {
  position: absolute;
  right: 3.5vw;
  bottom: 6vh;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 70px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.24);
}

.scroll-cue i::after {
  position: absolute;
  inset: -40% 0 auto;
  height: 38%;
  background: var(--cyan);
  content: "";
  animation: scroll-pulse 2.2s ease-in-out 3;
}

@keyframes scroll-pulse {
  0% {
    transform: translateY(0);
  }
  70%,
  100% {
    transform: translateY(370%);
  }
}

.scene-rail {
  position: fixed;
  top: 50%;
  right: 2vw;
  z-index: 30;
  display: flex;
  transform: translateY(-50%);
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  pointer-events: none;
}

.scene-rail > div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.scene-rail i {
  display: block;
  width: 2px;
  height: 18px;
  background: rgba(255, 255, 255, 0.25);
  transition:
    height 280ms var(--ease-out),
    background 280ms ease;
}

.scene-rail i.is-active {
  height: 40px;
  background: var(--cyan);
}

.section-shell {
  width: min(92vw, 1440px);
  margin: 0 auto;
}

.services-section {
  position: relative;
  z-index: 10;
  padding: clamp(6rem, 12vw, 11rem) 0;
  background: var(--ice);
  color: var(--ink);
}

.section-intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem 7vw;
  align-items: end;
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.section-kicker {
  grid-column: 1 / -1;
  margin: 0 0 0.75rem;
  color: #326c70;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker::before {
  display: inline-block;
  width: 34px;
  height: 1px;
  margin: 0 0.75rem 0.2rem 0;
  background: currentColor;
  content: "";
}

.section-intro h2,
.process-heading h2,
.contact-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.7rem, 7.6vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.86;
  text-wrap: balance;
}

.section-intro > p:last-child {
  max-width: 36rem;
  margin: 0 0 0.75rem;
  color: #3f5360;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--service-surface);
}

.service-card {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 2rem 2rem 3.75rem;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  flex-direction: column;
  justify-content: space-between;
  background: var(--service-surface);
  color: var(--service-on-surface);
  transition:
    color 280ms ease,
    background 280ms ease;
}

.service-card:nth-child(even) {
  background: var(--service-surface-alt);
}

.service-card::before {
  position: absolute;
  inset: 0;
  transform: translateY(102%);
  background: #174a5d;
  content: "";
  transition: transform 360ms var(--ease-out);
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  color: var(--service-on-surface);
}

.service-card:hover::before {
  transform: translateY(0);
}

.service-number {
  color: var(--cyan-bright);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.service-card:hover .service-number {
  color: var(--cyan-bright);
}

.service-card h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 3.1rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.service-card p {
  max-width: 29rem;
  margin: 0;
  color: var(--service-on-muted);
  font-size: 0.93rem;
  transition: color 280ms ease;
}

.service-card:hover p {
  color: #d7e4e8;
}

.service-line {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  left: 2rem;
  height: 1px;
  transform: scaleX(0.18);
  transform-origin: left;
  background: var(--cyan);
  transition: transform 360ms var(--ease-out);
}

.service-card:hover .service-line {
  transform: scaleX(1);
  background: var(--cyan-bright);
}

.manifesto {
  display: grid;
  min-height: 720px;
  grid-template-columns: 1fr 1fr;
  background: #0b2032;
}

.manifesto-image {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.manifesto-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(11, 32, 50, 0.72));
  content: "";
}

.manifesto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.1);
}

.manifesto-copy {
  display: flex;
  padding: clamp(4rem, 8vw, 9rem);
  flex-direction: column;
  justify-content: center;
}

.section-kicker--light {
  color: var(--cyan-bright);
}

.manifesto blockquote {
  margin: 1.5rem 0 2rem;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 4.8vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.manifesto-copy > p:last-child {
  max-width: 36rem;
  margin: 0;
  color: var(--mist);
  font-size: 1rem;
}

.process-section {
  padding: clamp(6rem, 11vw, 10rem) 0;
  background: var(--paper);
  color: var(--ink);
}

.process-heading {
  display: grid;
  margin-bottom: clamp(4rem, 7vw, 6.5rem);
  grid-template-columns: 0.75fr 1.25fr;
  gap: 2rem;
  align-items: end;
}

.process-heading .section-kicker {
  grid-column: 1;
}

.process-heading h2 {
  grid-column: 2;
  max-width: 9ch;
  font-size: clamp(3.8rem, 7vw, 7.7rem);
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid var(--border-dark);
}

.process-list li {
  min-height: 280px;
  padding: 1.8rem 1.6rem 2rem 0;
  border-right: 1px solid var(--border-dark);
}

.process-list li:not(:first-child) {
  padding-left: 1.6rem;
}

.process-list li:last-child {
  border-right: 0;
}

.process-list span {
  display: inline-block;
  margin-bottom: 5rem;
  color: #44737a;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.process-list h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.3vw, 2.7rem);
  font-weight: 750;
  letter-spacing: -0.045em;
}

.process-list p {
  margin: 0;
  color: #4b5d66;
  font-size: 0.92rem;
}

.contact-section {
  position: relative;
  padding: clamp(6rem, 12vw, 11rem) 0;
  overflow: hidden;
  background: #071929;
}

.contact-glow {
  position: absolute;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  opacity: 0.32;
  background: radial-gradient(circle, rgba(67, 215, 208, 0.62), transparent 66%);
  filter: blur(30px);
  pointer-events: none;
}

.contact-glow--one {
  top: -26vw;
  left: -20vw;
}

.contact-glow--two {
  right: -30vw;
  bottom: -35vw;
  opacity: 0.2;
}

.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(92vw, 1440px);
  margin: 0 auto;
  grid-template-columns: 1.02fr 0.78fr;
  gap: 7vw;
}

.contact-heading h2 {
  max-width: 8.5ch;
  font-size: clamp(4.2rem, 8.6vw, 9.2rem);
}

.contact-intro {
  max-width: 36rem;
  margin: 2rem 0 0;
  color: var(--mist);
  font-size: 1.05rem;
}

.contact-direct {
  display: flex;
  max-width: 38rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0.8rem 2.5rem;
}

.contact-direct a {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  transition: color 220ms ease;
}

.contact-direct span {
  color: var(--cyan-bright);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-direct strong {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  font-weight: 550;
  letter-spacing: 0.05em;
  line-height: 1.65;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.contact-direct a:hover strong {
  color: var(--cyan-bright);
}

.contact-direct address {
  width: 100%;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  font-style: normal;
  letter-spacing: 0.05em;
  line-height: 1.65;
  text-transform: uppercase;
}

.contact-direct address span {
  display: none;
}

.contact-direct address strong {
  color: inherit;
  font-size: inherit;
  font-weight: 550;
}

.contact-form {
  position: relative;
  align-self: end;
  padding: clamp(1.5rem, 3vw, 2.7rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.contact-form label {
  display: flex;
  margin-bottom: 1.1rem;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 180ms ease;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form select {
  cursor: pointer;
}

.contact-form select option {
  background: var(--ink-soft);
  color: var(--white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
}

.submit-button {
  display: flex;
  width: 100%;
  min-height: 56px;
  margin-top: 0.5rem;
  padding: 0 1.25rem;
  border: 1px solid var(--cyan);
  align-items: center;
  justify-content: space-between;
  background: var(--cyan);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background 220ms ease,
    color 220ms ease;
}

.submit-button:hover {
  background: transparent;
  color: var(--cyan-bright);
}

.submit-button:disabled {
  border-color: rgba(155, 255, 243, 0.5);
  background: rgba(155, 255, 243, 0.46);
  color: var(--ink);
  cursor: wait;
  opacity: 0.72;
}

.submit-button:disabled:hover {
  background: rgba(155, 255, 243, 0.46);
  color: var(--ink);
}

.form-note {
  min-height: 2.5rem;
  margin: 1rem 0 0;
  color: var(--mist);
  font-size: 0.74rem;
  line-height: 1.5;
}

.form-note--success {
  color: var(--cyan-bright);
}

.form-note--error {
  color: #ffbcbc;
}

footer {
  display: grid;
  min-height: 160px;
  padding: 2.5rem 3.5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  background: #05131f;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer p {
  margin: 0;
  text-align: center;
}

footer > a:last-child {
  justify-self: end;
  min-height: 44px;
  padding: 0.75rem 0;
  color: var(--white);
}

footer > a:last-child span {
  margin-left: 0.5rem;
  color: var(--cyan);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: calc(78px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 1.25rem 0;
    background: rgba(4, 16, 29, 0.96);
    backdrop-filter: none;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    place-content: center;
    gap: 6px;
    background: rgba(7, 22, 36, 0.4);
  }

  .menu-button span {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--white);
    transition: transform 220ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-menu {
    position: absolute;
    inset: 0 0 auto;
    display: flex;
    min-height: 100svh;
    padding:
      calc(8rem + env(safe-area-inset-top))
      max(1.5rem, env(safe-area-inset-right))
      max(3rem, env(safe-area-inset-bottom))
      max(1.5rem, env(safe-area-inset-left));
    transform: translateY(-105%);
    flex-direction: column;
    gap: 0;
    background: rgba(7, 22, 36, 0.97);
    opacity: 0;
    transition:
      transform 360ms var(--ease-out),
      opacity 260ms ease;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-menu > a {
    display: flex;
    min-height: 74px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    align-items: center;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
  }

  .language-switcher--mobile {
    width: 100%;
    margin-top: auto;
    border: 0;
    gap: 0.5rem;
    grid-template-columns: repeat(3, 1fr);
    background: transparent;
  }

  .language-switcher--mobile a {
    min-height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.78rem;
  }

  .story-scene {
    min-height: 0;
  }

  .scene-play-fallback {
    position: absolute;
    z-index: 4;
    right: 1.4rem;
    bottom: 2rem;
    display: inline-flex;
    min-height: 46px;
    padding: 0.7rem 1rem;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(155, 255, 243, 0.5);
    border-radius: 999px;
    background: rgba(4, 14, 26, 0.82);
    color: rgba(235, 244, 247, 0.92);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
  }

  .scene-play-fallback span {
    color: var(--cyan);
    font-size: 0.82rem;
  }

  .scene-play-fallback .play-icon {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--cyan);
  }

  .scene-content,
  .story-scene--right .scene-content {
    width: 100%;
    padding:
      calc(8rem + env(safe-area-inset-top))
      max(1.4rem, env(safe-area-inset-right))
      max(3rem, env(safe-area-inset-bottom))
      max(1.4rem, env(safe-area-inset-left));
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    filter: none;
    will-change: opacity, transform;
  }

  .scene-video,
  .story-scene:nth-child(even) .scene-video {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .story-master-video {
    object-position: center center;
    filter: none;
  }

  .scene-grain {
    display: none;
  }

  .scene-shade,
  .story-scene--right .scene-shade {
    background:
      linear-gradient(
        180deg,
        rgba(3, 11, 20, 0.4) 0%,
        rgba(3, 11, 20, 0.06) 26%,
        rgba(3, 11, 20, 0.9) 72%,
        rgba(3, 11, 20, 0.98) 100%
      ),
      linear-gradient(90deg, rgba(3, 11, 20, 0.35), transparent);
  }

  .hero-overline {
    top: 7rem;
    left: 1.4rem;
  }

  .scene-content h1,
  .scene-content .hero-title {
    width: min(94vw, 9ch);
    font-size: clamp(4.7rem, 21vw, 8.2rem);
  }

  .scene-body,
  .story-scene--right .scene-body {
    width: min(88vw, 30rem);
    margin: 1.25rem 0 0;
  }

  .scene-rail {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .section-intro,
  .process-heading,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .section-intro h2,
  .process-heading h2,
  .contact-heading h2 {
    grid-column: 1;
  }

  .section-intro > p:last-child {
    max-width: 46rem;
  }

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

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

  .manifesto-image {
    min-height: 58svh;
  }

  .manifesto-image::after {
    background: linear-gradient(180deg, transparent 55%, #0b2032);
  }

  .manifesto-copy {
    padding: 4rem 5vw 6rem;
  }

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

  .process-list li:nth-child(2) {
    border-right: 0;
  }

  .process-list li:nth-child(n + 3) {
    border-top: 1px solid var(--border-dark);
  }

  .contact-shell {
    gap: 4rem;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer p {
    display: none;
  }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-mark img {
    width: 36px;
    height: 36px;
  }

  .story-scene {
    min-height: 0;
  }

  .scene-content {
    padding-bottom: 3rem;
  }

  .scene-meta {
    margin-bottom: 1rem;
  }

  .scene-content h1,
  .scene-content .hero-title {
    font-size: clamp(4rem, 21vw, 6.6rem);
  }

  .hero-action,
  .scene-action {
    margin-top: 1.5rem;
  }

  .section-shell,
  .contact-shell {
    width: calc(100% - 2.5rem);
  }

  .services-section,
  .process-section,
  .contact-section {
    padding: 5.5rem 0;
  }

  .section-intro {
    margin-bottom: 3.25rem;
  }

  .section-intro h2,
  .process-heading h2,
  .contact-heading h2 {
    font-size: clamp(3.4rem, 17vw, 5.4rem);
  }

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

  .service-card {
    min-height: 270px;
    padding: 1.5rem 1.5rem 3.5rem;
  }

  .service-line {
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .manifesto-image {
    min-height: 52svh;
  }

  .manifesto-copy {
    padding: 3.5rem 1.25rem 5rem;
  }

  .manifesto blockquote {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .process-heading {
    margin-bottom: 3rem;
  }

  .process-list li,
  .process-list li:not(:first-child) {
    min-height: auto;
    padding: 1.75rem 0 2.5rem;
    border-top: 1px solid var(--border-dark);
    border-right: 0;
  }

  .process-list span {
    margin-bottom: 2.5rem;
  }

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

  .contact-form {
    padding: 1.25rem;
  }

  .contact-direct {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-direct a {
    min-height: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .contact-direct address {
    margin-top: 0;
    padding-top: 1rem;
  }

  footer {
    min-height: 190px;
    padding: 2rem 1.25rem;
    grid-template-columns: 1fr;
    align-content: center;
  }

  footer > a:last-child {
    justify-self: start;
  }
}

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

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

  .scene-video,
  .story-scene:nth-child(even) .scene-video,
  .scene-content {
    transform: none;
  }
}


/* Event gallery */
.gallery-section {
  padding: clamp(4.5rem, 7vw, 7rem) 0;
  background: #f4f1ea;
  color: var(--ink, #071624);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 3.5vw, 3.25rem);
}

.gallery-heading h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.45rem, 4.4vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.65rem, 1vw, 0.9rem);
  width: min(100%, 1280px);
  margin-inline: auto;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #0b1720;
  box-shadow: 0 1px 0 rgba(7, 22, 36, 0.06);
  cursor: zoom-in;
}

.gallery-item::after {
  content: "+";
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(3, 11, 20, 0.52);
  color: #fff;
  font: 300 1.1rem/1 sans-serif;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 350ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
  filter: brightness(0.88);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 3.5rem);
  background: rgba(2, 8, 13, 0.92);
  backdrop-filter: blur(9px);
  cursor: zoom-out;
}

.gallery-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(88vw, 1440px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  cursor: default;
}

.gallery-lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(7, 22, 36, 0.5);
  color: #fff;
  font: 300 1.8rem/1 sans-serif;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .gallery-section {
    padding: 4rem 0;
  }

  .gallery-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .gallery-item {
    aspect-ratio: 1 / 1;
  }

  .gallery-item::after {
    opacity: 1;
    transform: none;
    width: 1.7rem;
    height: 1.7rem;
    right: 0.55rem;
    bottom: 0.55rem;
  }

  .gallery-lightbox {
    padding: 3.75rem 1rem 1rem;
  }

  .gallery-lightbox img {
    max-width: 94vw;
    max-height: 80vh;
  }
}

/* Process cards — interactive treatment aligned with the service cards */
.process-list {
  border-left: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.process-list li {
  position: relative;
  overflow: hidden;
  padding: 1.8rem 1.6rem 2rem;
  border-right: 1px solid var(--border-dark);
  background: transparent;
  transition: color 280ms ease, border-color 280ms ease;
}

.process-list li:not(:first-child) {
  padding-left: 1.6rem;
}

.process-list li:last-child {
  border-right: 1px solid var(--border-dark);
}

.process-list li::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translateY(102%);
  background: var(--service-surface);
  content: "";
  transition: transform 360ms var(--ease-out);
}

.process-list li:nth-child(even)::before {
  background: var(--service-surface-alt);
}

.process-list li > * {
  position: relative;
  z-index: 1;
}

.process-list li:hover::before,
.process-list li:focus-within::before {
  transform: translateY(0);
}

.process-list li:hover,
.process-list li:focus-within {
  color: var(--service-on-surface);
}

.process-list li span {
  transition: color 280ms ease;
}

.process-list li p {
  transition: color 280ms ease;
}

.process-list li:hover span,
.process-list li:focus-within span {
  color: var(--cyan-bright);
}

.process-list li:hover p,
.process-list li:focus-within p {
  color: var(--service-on-muted);
}

/* Gallery uses the same light surface as the process section */
.gallery-section {
  background: var(--paper);
}
