@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Spline+Sans:wght@600&display=swap");

@font-face {
  font-family: "Clash Grotesk";
  src: url("assets/ClashGrotesk-Regular.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "Clash Grotesk";
  src: url("assets/ClashGrotesk-Semibold.otf") format("opentype");
  font-weight: 600;
}

@font-face {
  font-family: "Clash Grotesk";
  src: url("assets/ClashGrotesk-Bold.otf") format("opentype");
  font-weight: 700;
}

:root {
  --font-heading: "Spline Sans", "Clash Grotesk", Arial, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --heading-font-size:clamp(54px, 3.5vw, 61px);
  --ink: #080808;
  --deep: #00072d;
  --deep-2: #02091c;
  --paper: #ffffff;
  --muted: #9d9d9d;
  --line: rgba(255, 255, 255, 0.15);
  --lime: #faffd5;
  --grad: linear-gradient(106deg, #1d3b65, #169ba3);
  --transition: 0.3s ease;
}

@view-transition{
  navigation:auto;
}


* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--paper);
  background: var(--deep);
  overflow-x: hidden;
}

p {
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.icon-arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 1.25em;
  height: 1.25em;
  color: #ccc;
}

.icon-arrow::before,
.icon-arrow::after {
  content: "";
  position: absolute;
  display: block;
}

.icon-arrow::before {
  top: 50%;
  left: 16%;
  width: 68%;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}

.icon-arrow::after {
  top: 50%;
  right: 16%;
  width: 0.42em;
  height: 0.42em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.icon-arrow-up {
  transform: rotate(-90deg);
}

.icon-arrow-down {
  transform: rotate(90deg);
}

.site-header {
  --header-y: 20px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: var(--header-y) 9.75vw;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled {
  background: rgba(0, 8, 36, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.header-cta {
  position: relative;
  z-index: 1;
}

.brand {
  position: relative;
  display: block;
  flex: 0 0 224px;
  width: 224px;
  height: 58px;
}

.brand img {
  position: absolute;
  left: 0;
  object-fit: contain;
  transform: translateY(-50%);
  transition: height 320ms ease, top 320ms ease;
}

.brand-logo-default {
  top: 129%;
  height: 141px;
  width: auto;
}

.brand-logo-scrolled {
  display: none;
}

.site-header.is-scrolled .brand-logo-default {
  top: 50%;
  height: 78px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px 18px 18px 4px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand > span:not(.brand-mark) {
  color: #fff;
  font-size: 27px;
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand > span:not(.brand-mark) small {
  font-size: 16px;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 4vw, 78px);
  flex: 1;
  margin-top: 0;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a.nav-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
}

.icon-home {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M2.4 10.3 12 2.4l9.6 7.9c.4.3.5.9.2 1.3-.2.3-.5.4-.8.4h-1v8.2c0 .8-.6 1.4-1.4 1.4H5.4c-.8 0-1.4-.6-1.4-1.4V12H3c-.4 0-.7-.2-.9-.5-.2-.4-.1-.9.3-1.2Zm7.1 11.3v-5.9h5v5.9h-5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' d='M2.4 10.3 12 2.4l9.6 7.9c.4.3.5.9.2 1.3-.2.3-.5.4-.8.4h-1v8.2c0 .8-.6 1.4-1.4 1.4H5.4c-.8 0-1.4-.6-1.4-1.4V12H3c-.4 0-.7-.2-.9-.5-.2-.4-.1-.9.3-1.2Zm7.1 11.3v-5.9h5v5.9h-5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  display: block;
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, #8147d2, #00d9ff);
}

.nav-links a:hover {
  background: transparent;
  color: #7edcff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 154px;
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 0 26px rgba(91, 61, 255, 0.22) inset;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.menu-toggle {
  display: none;
}

.header-cta:hover {
  transform: translateY(-2px);
  border-color: #8a4cff;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--deep-2);
}

.hero-bg,
.hero-video {
  position: absolute;
  inset: 0;
  transition: opacity 900ms ease, transform 1200ms ease;
}

.hero-bg {
  z-index: 0;
  overflow: hidden;
  background: #02082b;
  transform: scale(1.01);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  pointer-events: none;
}

.hero-video.is-active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 68% 48%, rgba(255, 255, 255, 0.06), transparent 31%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.22) 48%, rgba(0, 0, 0, 0.68)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.18)),
    linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0) 30%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(500px, 0.85fr) minmax(670px, 1fr);
  gap: clamp(56px, 5vw, 96px);
  align-items: center;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 138px 9.75vw 86px;
}

.hero-copy {
  max-width: 850px;
  padding-top: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.hero-eyebrow span {
  color: #7d20ff;
  font-size: 24px;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--heading-font-size);
  line-height: 1.11;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero h1 span {
  background: linear-gradient(100deg, #7d2cff 0%, #3b6cff 58%, #00d9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 520px;
  margin: 28px 0 36px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(21px, 1.2vw, 24px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 212px;
  min-height: 60px;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: #000;
}

.btn-gradient {
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 198, 255, 0.18);
  border: 1px solid transparent;
    background: linear-gradient(90deg, rgba(0, 15, 56, 0.82), rgba(8, 7, 52, 0.82)) padding-box, linear-gradient(100deg, #00d9ff, #7d2cff 58%, #6c1d81) border-box;
    color: #fff;
    font: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 670px;
  min-height: auto;
  margin-top: 36px;
}

.service-card {
  position: relative;
  min-height: 240px;
  padding: 34px 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: none;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition), backdrop-filter var(--transition), transform var(--transition);
}

.service-meta {
  display: none;
}

.service-icon {
  display: block;
  width: 46px;
  height: 46px;
  margin: 0 0 23px;
  overflow: visible;
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity var(--transition), transform var(--transition);
}

.service-icon path {
  vector-effect: non-scaling-stroke;
}

.service-icon circle {
  vector-effect: non-scaling-stroke;
}

.service-card h2 {
  margin: 0;
  transform: translateY(0);
  font-family: var(--font-heading);
  color: #fff;
  font-size: clamp(18px, 1.18vw, 22px);
  line-height: 1.28;
  font-weight: 600;
  overflow-wrap: normal;
  transition: transform var(--transition), color var(--transition);
}

.service-card p {
  display: block;
  max-width: 210px;
  min-height: 48px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.45;
  transform: translateY(0);
  transition: opacity var(--transition), transform var(--transition);
}

.card-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: end;
  width: 84px;
  height: 84px;
  padding: 0 16px 13px 0;
  border: 0;
  border-radius: 0;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  color: #fff;
  line-height: 1;
  opacity: 0;
  transform: translate(10px, 10px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.card-arrow svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
  opacity: 0;
  transform: translateY(-10px);
}

.service-card:hover h2,
.service-card:focus-within h2 {
  transform: translateY(-69px);
  color: #fff;
}

.service-card:hover p,
.service-card:focus-within p {
  opacity: 1;
  transform: translateY(-69px);
}

.service-card:hover .card-arrow,
.service-card:focus-within .card-arrow {
  opacity: 1;
  transform: translate(0, 0);
  pointer-events: auto;

}

.gradient-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 5;
  height: 7px;
  background: linear-gradient(to right, #7d1fbc 0%, #7d1fbc 5%, #411fbc 5%, #411fbc 11%, #1059d4 11%, #1059d4 16%, #1e7ed6 16%, #1e7ed6 23%, #00d2bd 23%, #00d2bd 30%, #00d23f 30%, #00d23f 38%, #bcff00 38%, #bcff00 47%, #ffe400 47%, #ffe400 58%, #ffa500 58%, #ffa500 69%, #ff8600 69%, #ff8600 80%, #ff4400 80%, #ff4400 94%, #871000 94%, #871000 100%);
}

.gradient-line-bottom::after {
  bottom: 0;
}

.gradient-line-top::after {
  top: 0;
}

.section-dark {
  background: var(--deep);
}

.numbers {
  position: relative;
  min-height: clamp(540px, 42vw, 660px);
  padding: clamp(96px, 8vw, 124px) 9.75vw clamp(58px, 5vw, 76px);
  overflow: hidden;
  background: #000834;
  isolation: isolate;
}

.numbers::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 73% 20%, rgba(34, 146, 205, 0.28), transparent 24%), 
    linear-gradient(90deg, #09041c 0%, #020720 34%, rgba(0, 8, 52, 0.94) 43%, rgb(5 8 21 / 28%) 63%, #03071e 100%), 
    linear-gradient(180deg, #060b27 0%, rgb(2 4 14 / 12%) 23%, rgba(0, 8, 52, 0.08) 67%, #030617 100%);
  pointer-events: none;
}

.section-heading {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 650px;
  margin-bottom: clamp(50px, 5vw, 82px);
}

.section-eyebrow {
  display: none;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-eyebrow span {
  color: #7d2cff;
  font-size: 25px;
  letter-spacing: 0;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  color: #fff;
  font-size: var(--heading-font-size);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-heading h2 span {
  background: linear-gradient(100deg, #7d2cff 0%, #3b6cff 58%, #00d9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading i {
  display: none;
  width: 38px;
  height: 2px;
  margin: 20px 0 17px;
  background: linear-gradient(90deg, #7d2cff, #45a8ff);
}

.portfolio-main h2,
.contact-info h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.8vw, 76px);
  line-height: 0.98;
  font-weight: 600;
}

.section-heading p {
  max-width: 620px;
  color: rgba(221, 226, 255, 0.82);
  font-size: clamp(21px, 1.2vw, 24px);
  line-height: 1.4;
  margin: 28px 0 36px;
}

.numbers-wrap {
  position: static;
  display: block;
  max-width: min(1020px, 64vw);
}

.counters {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 0;
}

.counter {
  min-height: 0;
  padding: 0 clamp(22px, 2.5vw, 42px);
  border: 0;
}

.counter:first-child {
  padding-left: 0;
}

.counter + .counter {
  border-left: 1px solid rgba(179, 199, 255, 0.42);
}

.count {
  display: flex;
    align-items: flex-start;
    gap: 2px;
    font-size: clamp(43px, 3.5vw, 74px);
    line-height: 0.9;
    font-weight: 500;
    font-family: var(--font-heading);
}

.count span,
.count small {
  background: linear-gradient(105deg, #7d2cff 0%, #327bff 56%, #00d9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.count small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  background: linear-gradient(105deg, #7d2cff 0%, #327bff 56%, #00d9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.82em;
  line-height: 1;
}

.counter p {
  max-width: 270px;
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(17px, 1.12vw, 21px);
  line-height: 1.36;
}

.video-panel {
  position: absolute;
  inset: 0 9.75vw 0 calc(9.75vw + 560px);
  z-index: 0;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
}

.video-panel.reveal {
  opacity: 1;
  transform: none;
}

.video-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #000834 0%, rgba(0, 8, 52, 0.86) 9%, rgba(0, 8, 52, 0.12) 31%, rgba(0, 8, 52, 0.22) 70%, #000834 100%),
    linear-gradient(180deg, #000834 0%, rgba(0, 8, 52, 0.05) 16%, rgba(0, 8, 52, 0.14) 74%, #000834 100%);
  pointer-events: none;
}

.video-panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.section-light {
  background: #fff;
  color: #111;
}

.portfolio {
  position: relative;
  padding: 138px 9.75vw 86px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 12%, rgba(55, 103, 255, 0.12), transparent 28%),
    radial-gradient(circle at 88% 50%, rgba(0, 217, 255, 0.08), transparent 30%),
    linear-gradient(90deg, #030923 0%, #071231 50%, #02071d 100%);
  color: #fff;
}

.portfolio::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%, rgba(0, 0, 0, 0.12) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 84px);
  pointer-events: none;
}

.portfolio-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 86px minmax(0, 1120px) 170px;
  grid-template-areas:
    "heading heading rail"
    "controls main rail";
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
  max-width: 1640px;
  margin: 0 auto;
}

.portfolio-controls {
  grid-area: controls;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 17px;
  min-height: 560px;
}

.portfolio-control {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(190, 207, 255, 0.62);
  border-radius: 50%;
  background: rgba(4, 13, 42, 0.68);
  color: #dfe8ff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.portfolio-control:hover {
  border-color: #00d9ff;
  color: #00d9ff;
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(0, 217, 255, 0.18);
}

.portfolio-line {
  width: 1px;
  height: 46px;
  background: rgba(170, 190, 238, 0.26);
}

.portfolio-dots {
  display: grid;
  gap: 19px;
}

.portfolio-dots button {
  width: 33px;
  height: 33px;
  padding: 0;
  border: 2px solid #ffffff29;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.portfolio-dots button.is-active {
  
  box-shadow: 0 0 22px rgba(0, 217, 255, 0.22);
  border: 0px solid transparent;
  transform: scale(1.2);
  background: #ffffff2b;
}

.portfolio-rail {
  grid-area: rail;
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-rail::before,
.portfolio-rail::after {
  content: "";
  position: absolute;
  top: -8%;
  height: 116%;
  border-left: 1px dashed rgba(178, 194, 235, 0.25);
}

.portfolio-rail::before {
  left: 0;
}

.portfolio-rail::after {
  display: none;
}

.portfolio-rail span {
  transform: rotate(90deg);
  white-space: nowrap;
  font-size: clamp(128px, 10vw, 190px);
  line-height: 1;
  font-family: var(--font-heading);
  font-weight: 600;
  background: linear-gradient(90deg, rgba(130, 146, 184, 0.15) 0%, rgba(222, 230, 250, 0.04) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity:0.6;
}

.portfolio-main {
  grid-area: main;
  min-width: 0;
}

.portfolio-heading {
  grid-area: heading;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: -26px;
}

.portfolio-heading h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--heading-font-size);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.portfolio-heading h2 span {
  background: linear-gradient(100deg, #7d2cff 0%, #3b6cff 58%, #00d9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.portfolio-heading p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(224, 232, 255, 0.82);
  font-size: clamp(21px, 1.2vw, 24px);
  line-height: 1.35;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px dotted rgba(201, 213, 245, 0.62);
  border-radius: 0;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  transition: color var(--transition), transform var(--transition), border-color var(--transition);
}

.portfolio-link:hover {
  transform: translateY(-2px);
  border-color: #00d9ff;
  color: #00d9ff;
}

.work-carousel {
  display: grid;
  gap: 18px;
  width: 88%;
  min-height: 618px;
  padding: 0;
  overflow: visible;
}

.work-carousel:focus {
  outline: 2px solid rgba(0, 217, 255, 0.5);
  outline-offset: 8px;
}

.work-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 286px) minmax(0, 1fr);
  align-items: center;
  height: 194px;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(190, 207, 255, 0.34);
  border-radius: 8px;
  background: rgba(7, 16, 43, 0.76);
  color: #fff;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 54px rgba(0, 0, 0, 0.22);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.work-card.is-hidden {
  display: none;
}

.work-card.is-entering-up {
  animation: workSlideUp 420ms ease both;
}

.work-card.is-entering-down {
  animation: workSlideDown 420ms ease both;
}

.work-card:hover,
.work-card:focus-visible,
.work-card.is-featured {
  border-color: #d3d4d8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(138, 44, 255, 0.12), 0 24px 68px rgba(0, 0, 0, 0.34);
}

.work-card:focus-visible {
  outline: 2px solid #8a2cff;
  outline-offset: 4px;
}

.work-card:hover {
  transform: translateY(-2px);
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #081229;
}

.work-card-copy {
  display: grid;
  gap: 10px;
  padding: 28px 32px;
}

.work-card-copy strong {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
}

.work-card-copy em {
  color: rgba(210, 220, 250, 0.7);
  font-size: clamp(15px, 1.05vw, 17px);
  font-style: normal;
  line-height: 1.3;
}

.work-card-copy span {
  color: rgba(235, 241, 255, 0.82);
  font-size: clamp(18px, 1.35vw, 19px);
  line-height: 1.4;
}

.work-card i {
  display: none;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-right: 26px;
  border: 1px solid #cfd3dc;
  border-radius: 50%;
  font-size: 26px;
  font-style: normal;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.work-card:hover i,
.work-card:focus-visible i {
  border-color: #8a2cff;
  color: #8a2cff;
  transform: translateX(4px);
}

@keyframes workSlideUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

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

@keyframes workSlideDown {
  from {
    opacity: 0;
    transform: translateY(-34px);
  }

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

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 28px);
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.work-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.work-modal-panel {
  position: relative;
  display: grid;
  width: min(1595px, 100%);
  max-height: min(1235px, calc(100vh - 24px));
  overflow: auto;
  border-radius: 8px;
  background: #fff;
  color: #080d2e;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.36);
  transform: translateY(18px) scale(0.98);
  transition: transform 260ms ease;
}

.work-modal.is-open .work-modal-panel {
  transform: translateY(0) scale(1);
}

.work-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 13, 46, 0.88);
  color: #fff;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.work-modal-content {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    padding: 10px 42px 10px 10px;
}

.work-modal-content img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  border-radius: 7px;
  background: #f4f5f8;
}

.work-modal-content img[src$=".svg"] {
  padding: 42px;
  object-fit: contain;
}

.work-modal-content a {
    position: relative;
    background: linear-gradient(100deg, #7d2cff 0%, #3b6cff 58%, #00d9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    font-size: 21px;
    letter-spacing: -0.5px;
    text-decoration: underline;
}

.work-modal-content a::after,
.work-modal-content a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(100deg, #7d2cff 0%, #3b6cff 58%, #00d9ff 100%);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease-in;
}

.work-modal-content a::before {
  top: -5px;
  transform-origin: left;
}

.work-modal-content a:hover {
  text-decoration: none;
}

.work-modal-content a:hover::after,
.work-modal-content a:hover::before {
  transform: scaleX(1);
}



.work-modal-detail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(320px, 1.45fr) minmax(260px, 0.75fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(10px, 2vw, 24px);
}

.work-modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.work-modal-gallery img {
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.modal-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 0px 8px;
}

.modal-carousel-track {
  display: flex;
  transition: transform 360ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.modal-carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  display: block;
}

.modal-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(2, 8, 43, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease;
}

.modal-carousel-btn:hover {
  background: rgba(125, 32, 255, 0.85);
}

.modal-carousel-prev { left: 10px; }
.modal-carousel-next { right: 10px; }

.modal-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}

.modal-carousel-dot {
  width: 17px;
  height: 17px;
  padding: 0;
  border-radius: 50%;
  background: rgba(180,180,180, 0.85);
  border: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.modal-carousel-dot.is-active {
  background: #7d20ff;
  transform: scale(1.6);
}

.work-modal-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 18px;
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.work-modal-meta dt {
  color: #6d7390;
  font-weight: 700;
}

.work-modal-meta dd {
  margin: 0;
}

.work-modal-meta a {
  color: #006d8f;
  font-weight: 700;
}

.work-modal-kicker {
  margin: 0 3px 12px;
    color: #888;
    font-weight: 400;
    background: #e6e6e6;
    display: inline-block;
    padding: 5px 11px;
    border-radius: 5px;
}

.work-modal-content h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(29px, 3vw, 46px);
    line-height: 1.2;
}

.work-modal-content p:not(.work-modal-kicker) {
  margin: 22px 0 0;
  color: #626777;
  font-size: 20px;
  line-height: 1.55;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(270px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(78px, 9vw, 130px) 6vw;
  background: #080808;
  color: #fff;
}

.contact-media video {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.contact-info ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #cfcfcf;
  font-size: 19px;
  line-height: 1.45;
}

.contact-info a:hover {
  color: var(--lime);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
}

.contact-form h3 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1;
}

.contact-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  padding: 14px 0;
  background: transparent;
  color: #fff;
  outline: none;
}

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

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #fff;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--lime);
}

.jumbo-contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 0.72fr);
  gap: clamp(44px, 7vw, 120px);
  align-items: top;
  width: calc(100% - 19.5vw);
  max-width: 1640px;
  min-height: clamp(440px, 30vw, 540px);
  margin: clamp(76px, 9vw, 140px) auto 32px;
  padding: clamp(40px, 4vw, 46px) clamp(34px, 4.5vw, 64px);
  border: 0.5px solid #00000085;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 7, 38, 0.72) 0%, rgba(0, 7, 38, 0.26) 45%, rgba(0, 7, 38, 0.86) 74%, rgba(0, 7, 38, 0.96) 100%) padding-box,
    linear-gradient(100deg, #00f0dc, #1a7dff 50%, #d82cff) border-box;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34), inset 0 0 90px rgba(26, 125, 255, 0.12);
}

.jumbo-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 48% 0%, rgb(0 217 255 / 28%), transparent 41%), 
    linear-gradient(125deg, rgba(0, 6, 31, 0.06) 65%, rgb(0 6 31 / 23%) 100%);
  opacity: 0.92;
}

.jumbo-contact-video {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.jumbo-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 58% 54%, rgba(255, 80, 160, 0.1), transparent 28%),
    linear-gradient(90deg, rgba(0, 7, 38, 0.72) 0%, rgba(0, 7, 38, 0.42) 43%, rgba(0, 7, 38, 0.78) 70%, rgba(0, 7, 38, 0.98) 100%);
  pointer-events: none;
}

.jumbo-contact-copy,
.jumbo-contact-form {
  position: relative;
  z-index: 2;
}

.jumbo-contact-copy p {
  margin: 0 0 28px;
  color: #00f0dc;
  font-size: clamp(16px, 1.2vw, 24px);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.jumbo-contact-copy h2 {
  max-width: 390px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--heading-font-size);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
}

.jumbo-contact-form {
  display: grid;
  gap: 22px;
  align-self: stretch;
  align-content: center;
}

.jumbo-contact-form h3 {
  margin: 0 0 8px;
  font-size: clamp(28px, 2vw, 42px);
  line-height: 1.1;
}

.jumbo-contact-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.jumbo-contact-form input,
.jumbo-contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  padding: 12px 0 18px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: clamp(18px, 1.2vw, 24px);
  outline: none;
}

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

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

.jumbo-contact-form input:focus,
.jumbo-contact-form textarea:focus {
  border-color: #00d9ff;
}

.jumbo-contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 66px;
  margin-top: 2px;
  border: 1px solid transparent;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(0, 15, 56, 0.82), rgba(8, 7, 52, 0.82)) padding-box,
    linear-gradient(100deg, #00d9ff, #7d2cff 58%, #f31bcb) border-box;
  color: #fff;
  font: inherit;
  font-size: clamp(20px, 1.1vw, 28px);
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.jumbo-contact-form button:hover,
.jumbo-contact-form button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(0, 217, 255, 0.15);
}

.jumbo-contact-form .form-status {
  color: #00f0dc;
}

.jumbo-contact-standalone {
  margin-top: 0;
  margin-bottom: 48px;
}

.interior-main .jumbo-contact {
  width: 100%;
  max-width: none;
}

.policy-content {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto 96px;
  padding: 42px 0 0;
  color: rgba(235, 242, 255, 0.8);
}

.policy-content h2 {
  margin: 34px 0 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.2vw, 34px);
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.site-footer {
  display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 4vw;
    background: #02082b;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    border-top: 1px solid #ffffff1f;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(105deg, #7d2cff 0%, #327bff 56%, #00d9ff 100%);
  color: #000;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
}

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

.service-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.3)),
    url("assets/hero-whale-2.webp") center / cover fixed;
}

.inner-service {
  display: grid;
  align-content: center;
  min-height: 100vh;
  width: min(760px, calc(100vw - 48px));
  margin: 0 auto;
}

.inner-service a {
  width: fit-content;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.72);
}

.inner-service h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(46px, 6vw, 86px);
  font-weight: 600;
  line-height: 1;
}

.inner-service p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 22px;
  line-height: 1.5;
}

.interior-page {
  --interior-visual: url("assets/hero-octopus.webp");
  min-height: 100vh;
  background:
    radial-gradient(circle at 74% 0%, rgba(27, 91, 170, 0.28), transparent 36%),
    linear-gradient(180deg, #00051c 0%, #02082b 52%, #02061b 100%);
  color: #fff;
}

.page-services {
  --interior-visual: url("assets/hero-octopus.webp");
}

.page-work {
  --interior-visual: url("assets/hero-whale-2.webp");
}

.page-about {
  --interior-visual: url("assets/hero-turtle.webp");
}

.page-about .interior-main::before,
.page-services .interior-main::before {
  z-index: -2;
  height: clamp(640px, 74vw, 980px);
  background:
    linear-gradient(180deg, rgba(2, 8, 43, 0) 0%, rgba(2, 8, 43, 0.08) 62%, rgba(2, 8, 43, 0.88) 96%, #02082b 88%, #02082b 100%),
    linear-gradient(90deg, rgba(0, 5, 28, 0.66) 0%, rgba(0, 5, 28, 0.18) 30%, rgba(0, 5, 28, 0.08) 56%, rgba(2, 8, 43, 0.82) 76%, #02082b 88%, #02082b 100%);
}

.page-about .interior-main::after,
.page-services .interior-main::after,
.page-work .interior-main::after {
  z-index: -4;
}

.interior-hero-video {
  position: absolute;
  inset: 0 0 auto;
  z-index: -3;
  width: 88%;
  height: clamp(450px, 65vw, 880px);
  object-fit: cover;
  object-position: left top;
  pointer-events: none;
}

.page-work .interior-hero-video {
  height: clamp(640px, 72vw, 880px);
}

.page-about .interior-hero-video,
.page-services .interior-hero-video {
  height: clamp(640px, 74vw, 980px);
}

.page-process {
  --interior-visual: url("assets/hero-jellyfish.webp");
}

.page-contact {
  --interior-visual: url("assets/hero-4.webp");
}

.page-contact .interior-main::before {
  z-index: -2;
  height: clamp(640px, 74vw, 980px);
  background:
    linear-gradient(180deg, rgba(2, 8, 43, 0) 0%, rgba(2, 8, 43, 0.08) 62%, rgba(2, 8, 43, 0.88) 96%, #02082b 88%, #02082b 100%),
    linear-gradient(90deg, rgba(0, 5, 28, 0.66) 0%, rgba(0, 5, 28, 0.18) 30%, rgba(0, 5, 28, 0.08) 56%, rgba(2, 8, 43, 0.82) 76%, #02082b 88%, #02082b 100%),
    none;
}

.page-contact .interior-main::after {
  z-index: -4;
}

.page-contact .interior-hero-video {
  z-index: -3;
  height: clamp(640px, 74vw, 980px);
}

.interior-main {
  position: relative;
  padding: clamp(190px, calc(42vw - 80px), 370px) 9.75vw 92px;
  isolation: isolate;
}

.interior-main::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -2;
  height: clamp(540px, 69vw, 820px);
  background:
    linear-gradient(180deg, rgba(0, 5, 28, 0) 42%, #02082b 92%),
    linear-gradient(90deg, rgba(0, 5, 28, 0.94) 0%, rgba(0, 5, 28, 0.26) 42%, rgba(0, 5, 28, 0.18) 68%, rgba(0, 5, 28, 0.8) 100%),
    var(--interior-visual) center top / cover no-repeat;
}

.interior-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #02082b;
}

.interior-hero {
  max-width: 640px;
  margin: 0 0 clamp(48px, 6vw, 78px);
}

.interior-eyebrow {
  margin: 0 0 18px;
  color: #66ddff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.38em;
  line-height: 1.2;
  text-transform: uppercase;
}

.interior-hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  font-weight: 600;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

.interior-hero p {
  max-width: 590px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.5;
}

.interior-hero::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin-top: 30px;
  background: linear-gradient(90deg, #7d2cff, #00d9ff);
}

.interior-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
  margin: 0;
}

.interior-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 250px;
  padding: 34px 30px;
  border: 1px solid rgba(178, 205, 255, 0.18);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(29, 48, 111, 0.5), rgba(3, 9, 38, 0.68)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 22px 66px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.interior-card h2 {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 0 0 16px;
  font-size: clamp(28px, 2.7vw, 39px);
  line-height: 1.08;
}

.interior-card p {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin: 0 0 22px;
  color: rgba(235, 242, 255, 0.82);
  line-height: 1.55;
}

.interior-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: #87e8ff;
  font-weight: 700;
}

.page-about .interior-hero {
  max-width: 460px;
  margin-bottom: clamp(54px, 6vw, 86px);
}



.page-about .interior-hero p {
  margin-top: 0;
  font-size: clamp(19px, 1.34vw, 24px);
  line-height: 1.48;
}

.page-about .interior-hero::after {
  width: 58px;
  margin-top: 30px;
  background: linear-gradient(90deg, #00f0dc, #7d2cff);
}

.about-stats {
  position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    min-height: clamp(230px, 22vw, 300px);
    margin: 0 0 clamp(70px, 8vw, 105px);
    padding: clamp(38px, 4.6vw, 62px) clamp(28px, 4.5vw, 66px);
    border: 1px solid rgba(220, 230, 255, 0.1);
    border-radius: 7px;
    /* box-shadow: inset 0 -4px 22px rgba(0, 217, 255, 0.2), 0 34px 92px rgba(0, 0, 0, 0.26); */
    overflow: hidden;
    backdrop-filter: blur(6px);
}

.about-stats::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -2px;
  height: 4px;
  background: radial-gradient(ellipse at center, rgba(0, 217, 255, 0.95), transparent 72%);
  pointer-events: none;
}

.about-stat {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  padding: 0 clamp(18px, 2.4vw, 44px);
  text-align: center;
}

.about-stat + .about-stat {
  border-left: 1px solid rgba(220, 230, 255, 0.18);
}

.about-stat strong {
  font-family: var(--font-heading);
  font-size: clamp(51px, 5vw, 85px);
  line-height: 0.9;
  font-weight: 600;
  background: linear-gradient(100deg, #1dd8ff 0%, #4178ff 48%, #9c3cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-stat p {
  max-width: 210px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.42;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
  margin-bottom: clamp(70px, 8vw, 118px);
}

.about-story-copy {
  max-width: 520px;
}

.about-kicker {
  margin: 0 0 18px;
  color: #00f0dc;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.about-story-copy h2 {
  margin: 0 0 30px;
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.08;
  font-weight: 600;
}

.about-story-copy > p:not(.about-kicker):not(.about-signature):not(.about-role) {
  max-width: 470px;
  margin: 0 0 18px;
  color: rgba(231, 237, 255, 0.78);
  font-size: clamp(16px, 1.08vw, 19px);
  line-height: 1.65;
}

.about-signature {
  margin: 40px 0 14px;
    color: #03c6bc;
    font-size: clamp(25px, 1.5vw, 42px);
    line-height: 1;
    font-weight: 600;
}

.about-role {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 18px;
}

.about-story-media {
  position: relative;
  min-height: clamp(390px, 36vw, 560px);
}

.about-story-media img {
  width: 100%;
  height: clamp(390px, 36vw, 560px);
  border: 1px solid rgba(220, 230, 255, 0.2);
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.about-quote {
  position: absolute;
  right: clamp(28px, 5vw, 82px);
  bottom: clamp(-34px, -2.5vw, -22px);
  max-width: 370px;
  margin: 0;
  padding: 28px 34px 30px 84px;
  border: 1px solid rgba(137, 165, 255, 0.28);
  border-radius: 8px;
  background: rgba(2, 8, 43, 0.9);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-quote::before {
  content: "\201C";
  position: absolute;
  left: 32px;
  top: 20px;
  color: #00f0dc;
  font-family: var(--font-heading);
  font-size: 64px;
  line-height: 1;
}

.about-quote::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 20px;
  background: linear-gradient(90deg, #7d2cff, #00d9ff);
}

.about-quote blockquote {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 1.34vw, 24px);
  line-height: 1.55;
}

.page-services .interior-hero {
  margin-bottom: clamp(34px, 5vw, 58px);
}

.page-services .interior-hero p {
  max-width: 540px;
}

.services-list {
  width: 100%;
  border-top: 1px solid rgba(166, 196, 255, 0.18);
}

.service-row {
  display: block;
  margin: 0 -18px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(166, 196, 255, 0.18);
  border-radius: 7px;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-row-toggle {
  display: grid;
  grid-template-columns: 78px minmax(220px, 330px) minmax(260px, 1fr) auto;
  gap: clamp(16px, 3vw, 44px);
  align-items: center;
  width: 100%;
  min-height: 178px;
  padding: 32px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.service-row-toggle:focus-visible {
  outline: 2px solid #39a4ff;
  outline-offset: -2px;
}

.service-row-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  line-height: 1;
}

.service-row-icon img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.service-row-title {
  position: relative;
  margin: 0;
  padding-left: clamp(22px, 2.4vw, 34px);
  font-family: var(--font-heading);
  font-size: clamp(27px, 3vw, 33px);
  line-height: 1.08;
  font-weight: 700;
  transition: color var(--transition), opacity var(--transition);
}

.service-row-title::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 1px;
  background: rgba(166, 196, 255, 0.42);
}

.service-row-summary {
  max-width: 380px;
  margin: 0;
  color: rgba(235, 242, 255, 0.82);
  font-size: 18px;
  line-height: 1.55;
}

.service-row-action,
.service-row a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  color: #7c86ff;
  font-weight: 700;
}

.service-row-action {
  justify-self: end;
}

.service-row-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 75px);
  max-height: 0;
  margin-left: calc(78px + clamp(16px, 3vw, 44px));
  padding: 0 0 0 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 460ms ease, padding 460ms ease, opacity 320ms ease, transform 460ms ease;
}

.service-row.is-expanded .service-row-details {
  padding-bottom: 42px;
  opacity: 1;
  transform: translateY(0);
}

.service-detail-column {
  padding-top: 24px;
}

.service-detail-column + .service-detail-column {
  padding-left: clamp(28px, 4vw, 54px);
  border-left: 1px solid rgba(166, 196, 255, 0.24);
}

.service-detail-column h3,
.service-detail-column h4 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.25;
}

.service-detail-column p {
  max-width: 560px;
  margin: 0 0 26px;
  color: rgba(235, 242, 255, 0.82);
  font-size: 18px;
  line-height: 1.55;
}

.service-detail-column ul {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.service-detail-column li {
  position: relative;
    padding-left: 22px;
    color: rgba(235, 242, 255, 0.84);
    font-size: inherit;
    line-height: 1.38;
}

.service-detail-column li::before {
  content: '-';
    position: absolute;
    left: 0;
    top: 0px;
}

.service-benefits li {
  padding: 0px 0 18px 24px;
  border-bottom: 1px solid rgba(166, 196, 255, 0.14);
}

.service-benefits li::before {
  
}

.service-benefits strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 18px;
}

.service-benefits span {
  display: block;
}

.service-row:hover,
.service-row:focus-within {
  border-color: rgba(46, 128, 255, 0.24);
  background: rgba(0, 4, 20, 0.52);
  box-shadow: inset 0 1px 0 rgba(92, 143, 255, 0.08);
}

.service-row:hover .service-row-title,
.service-row:focus-within .service-row-title,
.service-row.is-expanded .service-row-title {
  color: #39a4ff;
}

.services-list:has(.service-row.is-expanded) .service-row:not(.is-expanded) .service-row-icon,
.services-list:has(.service-row.is-expanded) .service-row:not(.is-expanded) .service-row-title,
.services-list:has(.service-row.is-expanded) .service-row:not(.is-expanded) .service-row-summary,
.services-list:has(.service-row.is-expanded) .service-row:not(.is-expanded) .service-row-action {
      
      opacity:.35;
}

.service-section {
  scroll-margin-top: 120px;
  min-height: 360px;
  padding-right: min(42%, 300px);
}

.service-section::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  background: var(--service-visual) center / cover no-repeat;
  opacity: 0.9;
  transform: scale(1.02);
}

.service-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 9, 38, 0.96) 0%, rgba(3, 9, 38, 0.78) 42%, rgba(3, 9, 38, 0.18) 100%),
    radial-gradient(circle at 84% 34%, rgba(0, 217, 255, 0.16), transparent 34%);
}

#web-design {
  --service-visual: url("assets/web-gridrabbit.jpg");
}

#branding-logo-design {
  --service-visual: url("assets/mockup-rolando-zeimio-sporto-klubas.jpg");
}

#visuals-illustrations {
  --service-visual: url("assets/avokadas-1.webp");
}

#packaging-print-design {
  --service-visual: url("assets/packaging-healthychoice-whey.jpg");
}

#website-support {
  grid-column: 1 / -1;
  --service-visual: url("assets/banners-fishon.jpg");
  min-height: 300px;
}

.page-services .service-row#website-support {
  min-height: 0;
}

.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;
}

.page-work {
  background:
    radial-gradient(circle at 50% 18%, rgba(54, 84, 180, 0.25), transparent 34%),
    linear-gradient(180deg, #00051c 0%, #020725 48%, #02061b 100%);
}

.page-work .interior-main::before {
  z-index: -2;
  height: clamp(640px, 72vw, 880px);
  background:
    linear-gradient(180deg, rgba(2, 8, 43, 0) 0%, rgba(2, 8, 43, 0.05) 40%, rgba(2, 8, 43, 0.8) 72%, #02082b 85%, #02082b 100%),
    linear-gradient(90deg, rgba(2, 8, 43, 0.8) 0%, rgba(2, 8, 43, 0.2) 30%, rgba(2, 8, 43, 0) 50%, rgba(2, 8, 43, 0) 70%, #02082b 85%, #02082b 100%);
}

.page-work .interior-hero {
  margin-bottom: clamp(56px, 7vw, 94px);
}

.work-portfolio {
  position: relative;
  z-index: 1;
  width: 100%;
}

.work-filters {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(15px, 1vw, 25px);
  margin-bottom: 54px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(166, 196, 255, 0.16);
}

.work-filter {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition);
}

.work-filter:hover,
.work-filter.is-active {
  border-color: rgba(126, 91, 255, 0.9);
  box-shadow: inset 0 0 22px rgba(0, 217, 255, 0.08), 0 16px 44px rgba(0, 0, 0, 0.18);
}

.work-filter small {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(0, 217, 255, 0.11);
  color: #1ee9ff;
  font-size: 13px;
  line-height: 1;
}

.filter-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: #1ee9ff;
}

.filter-icon-grid {
  background:
    radial-gradient(circle, currentColor 34%, transparent 38%) 0 0 / 50% 50%,
    radial-gradient(circle, currentColor 34%, transparent 38%) 100% 0 / 50% 50%,
    radial-gradient(circle, currentColor 34%, transparent 38%) 0 100% / 50% 50%,
    radial-gradient(circle, currentColor 34%, transparent 38%) 100% 100% / 50% 50%;
}

.filter-icon-pen::before,
.filter-icon-screen::before,
.filter-icon-print::before,
.filter-icon-dots::before,
.filter-icon-dots::after {
  content: "";
  position: absolute;
  display: block;
}

.filter-icon-pen::before {
  left: 8px;
  top: 4px;
  width: 8px;
  height: 25px;
  border: 2px solid currentColor;
  border-radius: 5px 5px 2px 2px;
  transform: rotate(39deg);
}

.filter-icon-screen::before {
  inset: 5px 4px 9px;
  border: 2px solid currentColor;
  border-radius: 2px;
  box-shadow: 0 9px 0 -6px currentColor;
}

.filter-icon-print::before {
  inset: 6px 5px 5px;
  border: 2px solid currentColor;
  border-radius: 3px;
  box-shadow: inset 0 8px 0 -5px currentColor;
}

.filter-icon-dots::before {
  left: 4px;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 10px 0 0 currentColor, 20px 0 0 currentColor;
}

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

.portfolio-item {
  position: relative;
  display: grid;
  grid-template-rows: 200px 215px;
  height: 415px;
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(150, 184, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(33, 86, 185, 0.22), transparent 40%),
    linear-gradient(135deg, rgba(8, 23, 79, 0.98), rgba(3, 8, 39, 0.98));
  color: #fff;
  text-align: left;
  overflow: hidden;
  contain: layout paint;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 74px rgba(0, 0, 0, 0.2);
  transition: border-color var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.portfolio-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  height: 200px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent 46%);
  pointer-events: none;
  opacity: 0;
}

.portfolio-item::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0px solid rgba(126, 91, 255, 0.88);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.2), transparent 58%),
    rgba(2, 8, 43, 0.84);
  background-image:
    url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z' stroke='%23dbe8ff' stroke-width='1.7'/%3E%3Ccircle cx='12' cy='12' r='2.6' stroke='%23dbe8ff' stroke-width='1.7'/%3E%3C/svg%3E"),
    radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.2), transparent 58%),
    linear-gradient(rgba(2, 8, 43, 0.84), rgba(2, 8, 43, 0.84));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 27px 27px, cover, cover;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--transition), transform var(--transition);
}

.portfolio-item:hover,
.portfolio-item:focus-visible {
  border-color: rgba(0, 217, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 28px 80px rgba(0, 217, 255, 0.12), 0 30px 90px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover::after,
.portfolio-item:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.portfolio-item:focus-visible {
  outline: 2px solid #00d9ff;
  outline-offset: 4px;
}

.portfolio-item.is-filtered-out {
  display: none;
}

.portfolio-item.is-filter-entering {
  animation: portfolioFadeIn 420ms ease both;
}

.portfolio-item-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 12px;
  order: 2;
  height: 215px;
  min-height: 0;
  padding: 26px 28px 30px;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 360ms ease;
}

.portfolio-item-copy em {
  color: #00d9ff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.portfolio-item-copy strong {
  max-width: none;
  font-family: var(--font-heading);
  font-size: clamp(24px, 1.7vw, 30px);
  line-height: 1.12;
  font-weight: 400;
}

.portfolio-item-copy > span {
  max-width: 360px;
  color: rgba(234, 241, 255, 0.82);
  font-size: 17px;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portfolio-item:hover .portfolio-item-copy > span,
.portfolio-item:focus-visible .portfolio-item-copy > span {
  -webkit-line-clamp: unset;
}

.portfolio-item:hover .portfolio-item-copy,
.portfolio-item:focus-visible .portfolio-item-copy {
  transform: translateY(-20px);
}

.portfolio-item img,
.portfolio-strip {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.portfolio-item img {
  position: relative;
  z-index: 0;
  order: 1;
  height: 100%;
  object-fit: cover;
  background: #edf0f5;
  transform: scale(1);
  transform-origin: center;
  transition: transform 420ms ease;
}

.portfolio-item:hover img,
.portfolio-item:focus-visible img {
  transform: scale(1);
}

.portfolio-item .portfolio-logo-media {
  padding: 24px;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 217, 255, 0.12), transparent 36%),
    linear-gradient(135deg, #f5f8ff, #dce7f8);
}

.portfolio-item[data-template="portfolio-source-004"] .portfolio-logo-media,
.portfolio-item[data-template="portfolio-source-027"] .portfolio-logo-media,
.portfolio-item[data-template="portfolio-source-038"] .portfolio-logo-media,
.portfolio-item[data-template="portfolio-source-041"] .portfolio-logo-media,
.portfolio-item[data-template="portfolio-source-044"] .portfolio-logo-media,
.portfolio-item[data-template="portfolio-source-112"] .portfolio-logo-media {
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 217, 255, 0.14), transparent 34%),
    linear-gradient(145deg, #121212, #020202);
}

.portfolio-placeholder,
.portfolio-modal-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  background:
    radial-gradient(circle at 50% 42%, rgba(228, 170, 91, 0.2), transparent 34%),
    linear-gradient(145deg, #151515, #050505);
  color: #d99d54;
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-item-wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(230px, 0.45fr) minmax(0, 1fr);
  min-height: 165px;
}

.portfolio-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
}

.portfolio-strip img {
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.work-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px 34px;
  align-items: center;
  max-width: 860px;
  margin: clamp(70px, 8vw, 110px) auto 0;
  text-align: center;
}

.work-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 36px 0 0;
}

.work-pagination[hidden] {
  display: none;
}

.work-pagination button {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(150, 184, 255, 0.28);
  border-radius: 7px;
  background: rgba(9, 23, 77, 0.44);
  color: #fff;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.work-pagination button:hover,
.work-pagination button.is-active {
  border-color: rgba(0, 217, 255, 0.7);
  background: rgba(0, 217, 255, 0.12);
  color: #1ee9ff;
}

.work-cta p,
.work-cta strong {
  grid-column: 1;
  margin: 0;
}

.work-cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.work-cta strong {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}

.work-cta .header-cta {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.page-services .work-cta {
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 920px;
  padding-top: clamp(38px, 5vw, 58px);
  margin-top: 0;
}

.page-services .work-cta p,
.page-services .work-cta strong,
.page-services .work-cta .header-cta {
  grid-column: 1;
  grid-row: auto;
}

.portfolio-modal-placeholder {
  min-height: 360px;
  border-radius: 7px;
}

@keyframes portfolioFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

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

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

@media (max-width: 1200px) {
  .site-header {
    --header-y: 24px;
    padding: var(--header-y) 2.75vw;
  }

  .brand {
    flex-basis: 224px;
    width: 224px;
  }

  .nav-links {
    gap: 28px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    width: 100%;
    padding: 104px 2.95vw 86px;
  }

  .services-grid {
    justify-self: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin-top: 34px;
  }

  .numbers-wrap {
    max-width: min(100%, 880px);
  }

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

  .jumbo-contact {
    grid-template-columns: minmax(260px, 0.8fr) minmax(340px, 1fr);
    padding: 48px;
  }

  .portfolio-layout {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "heading heading"
      "controls main";
  }

  .portfolio-rail {
    display: none;
  }

  .portfolio-heading {
    grid-template-columns: 1fr;
    margin-bottom: -18px;
  }

  .portfolio-link {
    width: fit-content;
  }

  .contact-form {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) and (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: minmax(324px, 0.85fr) minmax(428px, 1fr);
    align-items: center;
  }

  .hero-copy p {
    max-width: 604px;
    margin: 28px 0 36px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(18px, 1.1vw, 23px);
    line-height: 1.55;
}

.hero h1 {
    font-size: 40px;
    line-height: 1.11;

}

.btn {
    gap: 4px;
    min-width: 172px;
    min-height: 56px;
    padding: 9px 18px;
    font-size: 16px;
}

  .services-grid {
    max-width: 670px;
    margin-top: 36px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0px;
  }

  #portfolio, 
.numbers {
    padding: clamp(96px, 8vw, 124px) 2.75vw clamp(58px, 5vw, 76px);
}
    

.jumbo-contact {
}

}
.service-card {
    position: relative;
    min-height: 240px;
    padding: 28px;
}




/* iPad landscape (1024 – 1200 px): consistent container alignment */
@media (min-width: 1024px) and (max-width: 1200px) {
  .site-header {
    padding: var(--header-y) 5vw;
  }

  .hero-inner {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .hero-copy{
    max-width: 380px;
    padding-top: 0;
}

  .numbers {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .video-panel {
    inset: 0 5vw 0 calc(5vw + 560px);
  }

  .portfolio {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .jumbo-contact {
    width: calc(100% - 10vw);
  }

  .interior-main {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

@media (min-width: 700px) and (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 1fr);
    align-items: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .work-card {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    height: auto;
  }

  .work-card img {
    min-height: 180px;
    aspect-ratio: 1.25 / 1;
  }
}

@media (min-width: 700px) and (max-width: 880px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .work-card {
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    height: auto;
  }

  .work-card img {
    min-height: 220px;
    aspect-ratio: 1.55 / 1;
  }
}

@media (max-width: 880px) {
  .site-header {
    --header-y: 16px;
    padding: var(--header-y) 27px;
    gap: 14px;
  }

  .brand {
    flex-basis: 172px;
    width: 172px;
    height: 48px;
  }

  .brand-logo-default {
    height: 90px;
    width: auto;
    top: 44px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    min-width: auto;
    min-height: 40px;
    padding: 0 18px;
    gap: 8px;
    display:none;
  }

  .header-cta .icon-arrow {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 64px;
        height: 46px;
        border: 1px solid rgba(255, 255, 255, 0.82);
        border-radius: 7px;
        background: transparent;
        color: #fff;
        cursor: pointer;
        transition: transform var(--transition), background var(--transition), border-color var(--transition);
        position: relative;
  }

  .menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 1);
  }

  .menu-toggle::before,
  .menu-toggle::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform var(--transition);
  }

  .menu-toggle::before {
    transform: translateY(-6px);
  }

  .menu-toggle::after {
    transform: translateY(6px);
  }

  .menu-toggle[aria-expanded="true"]::before {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"]::after {
    transform: rotate(-45deg);
  }

  .site-header.menu-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 49;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 22px 20px 28px;
    background: rgba(0, 6, 24, 0.96);
    border-bottom: 0px solid rgba(255, 255, 255, 0.48);
    bx-shadow: 0 20px 48px rgb(255 255 255 / 14%);
  }

  .site-header.menu-open {
    background: rgba(0, 8, 36, 0.92);
  }

  .site-header.menu-open .nav-links a {
    width: 100%;
    text-align: center;
    font-size:22px;
  }

  .site-header.menu-open .nav-links a.nav-home {
    width: auto;
  }

  .site-header.menu-open .nav-links a.is-active::after {
    display: none;
  }

  .site-header.menu-open .header-cta {
    position: relative;
    z-index: 1;
  }

  .nav-links {
    margin-top: 0;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .hero-inner {
    padding:136px 27px 70px;
  }

  .hero-eyebrow {
    margin-bottom: 22px;
    font-size: 11px;
    letter-spacing: 0.28em;
  }

  .hero h1 {
    font-size: clamp(44px, 11vw, 64px);
  }

  .hero-copy p {
    font-size: 18px;
  }

  .numbers {
    min-height: auto;
    padding: 96px 27px 70px;
  }

  .numbers-wrap {
    max-width: none;
  }

  .counters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }

  .counter:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .counter:nth-child(n + 3) {
    padding-top: 30px;
    border-top: 1px solid rgba(179, 199, 255, 0.3);
  }

  .services-grid,
  .numbers-wrap,
  .section-heading,
  .portfolio-layout,
  .interior-grid,
  .contact,
  .jumbo-contact {
    grid-template-columns: 1fr;
  }

  .jumbo-contact {
    min-height: auto;
    width: calc(100% - 54px);
    padding: 42px 28px;
  }

  .page-about .jumbo-contact {
    width: 100%;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 34px 26px;
  }

  .about-stat {
    min-height: 170px;
    padding: 22px;
  }

  .about-stat + .about-stat {
    border-left: 0;
  }

  .about-stat:nth-child(even) {
    border-left: 1px solid rgba(220, 230, 255, 0.18);
  }

  .about-stat:nth-child(n + 3) {
    border-top: 1px solid rgba(220, 230, 255, 0.18);
  }

  .about-story {
    grid-template-columns: 1fr;
  }

  .about-story-copy {
    max-width: none;
  }

  .jumbo-contact::after {
    background:
      linear-gradient(180deg, rgba(0, 7, 38, 0.74) 0%, rgba(0, 7, 38, 0.84) 52%, rgba(0, 7, 38, 0.98) 100%);
  }

  .portfolio {
    padding-inline: 27px;
  }

  .portfolio-layout {
    grid-template-areas:
      "heading"
      "controls"
      "main";
  }

  .portfolio-heading {
    margin-bottom: 0;
  }

  .portfolio-controls {
    grid-area: controls;
    grid-template-columns: auto 64px auto 64px auto;
    min-height: auto;
    justify-content: start;
    margin-bottom: 24px;
  }

  .portfolio-line {
    width: 64px;
    height: 1px;
  }

  .portfolio-dots {
    display: flex;
    gap: 12px;
  }

  .work-carousel {
    width: 100%;
    padding: 0;
  }

  .work-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .work-card img {
    min-height: 220px;
    aspect-ratio: 1.55 / 1;
  }

  .work-card i {
    display: none;
  }

  .services-grid {
    min-height: auto;
  }

  .service-card {
    min-height: 230px;
  }

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

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

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

  .service-row {
    min-height: 0;
    padding: 0;
    margin: 0;
  }

  .service-row-toggle {
    grid-template-columns: 62px 1fr auto;
    gap: 18px 28px;
    align-items: start;
    min-height: 0;
    padding: 30px 0;
  }

  .service-row-icon {
    grid-row: 1 / span 2;
    width: 52px;
    height: 52px;
  }

  .service-row-icon img {
    width: 46px;
    height: 46px;
  }

  .service-row-title {
    padding-left: 22px;
  }

  .service-row-summary {
    grid-column: 2;
  }

  .service-row-action {
    grid-column: 3;
    grid-row: 1;
  }

  .service-row-details {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-left: calc(62px + 28px);
    padding-bottom: 0;
  }

  .service-row.is-expanded .service-row-details {
    padding-bottom: 34px;
  }

  .service-detail-column + .service-detail-column {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(166, 196, 255, 0.18);
  }

  .work-filters {
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 18px;
  }

  .work-filter {
    flex: 0 0 auto;
    min-height: 56px;
    padding: 10px 14px;
  }

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

  .portfolio-item,
  .portfolio-item-wide {
    grid-column: auto;
    grid-template-columns: none;
    grid-template-rows: 180px 210px;
    height: 390px;
    min-height: 0;
  }

  .portfolio-item::before {
    height: 180px;
  }

  .portfolio-item-copy {
    height: 210px;
  }

  .portfolio-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 30px;
  }

  .work-cta {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .work-cta .header-cta {
    grid-column: 1;
    grid-row: auto;
  }

  .interior-main {
    padding-top: clamp(140px, calc(48vw - 80px), 280px);
  }

  .service-section,
  #website-support {
    min-height: 330px;
    padding-right: 30px;
    padding-top: 210px;
  }

  .service-section::before {
    inset: 0 0 auto;
    width: 100%;
    height: 210px;
  }

  .service-section::after {
    background:
      linear-gradient(180deg, rgba(3, 9, 38, 0.08) 0%, rgba(3, 9, 38, 0.88) 61%, rgba(3, 9, 38, 0.98) 100%),
      radial-gradient(circle at 78% 18%, rgba(0, 217, 255, 0.18), transparent 34%);
  }

  .contact-form {
    grid-column: auto;
    padding: 24px;
  }

  .jumbo-contact {
    margin-top: 52px;
    border-radius: 14px;
  }

  .jumbo-contact-copy h2 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .jumbo-contact-copy p {
    letter-spacing: 0.28em;
  }

  .jumbo-contact-form button {
    min-height: 58px;
  }
}

@media (max-width: 560px) {
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .site-header {
    align-items: center;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    border-color: rgba(255, 255, 255, 0.18);
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    min-width: 0;
    min-height: 58px;
  }

  .service-row {
    padding: 0;
  }

  .service-row-toggle {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-row-icon,
  .service-row-summary,
  .service-row-action {
    grid-column: auto;
    grid-row: auto;
  }

  .service-row-icon {
    display: none;
  }

  .service-row-title {
    padding-left: 22px;
  }

  .service-row-details {
    margin-left: 22px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    padding: 24px 22px;
  }

  .about-stat,
  .about-stat:nth-child(even),
  .about-stat:nth-child(n + 3) {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid rgba(220, 230, 255, 0.18);
  }

  .about-stat:first-child {
    border-top: 0;
  }

  .about-story-media,
  .about-story-media img {
    min-height: 0;
    height: auto;
  }

  .about-story-media img {
    aspect-ratio: 1 / 0.78;
  }

  .about-quote {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -46px 18px 0;
    padding: 24px 26px 26px 72px;
  }

  .services-grid,
  .counters {
    grid-template-columns: 1fr;
  }

  .portfolio-heading h2 {
    font-size: 44px;
  }

  .portfolio-link {
    width: 100%;
    min-width: 0;
  }

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

  .portfolio-controls .portfolio-line,
  .portfolio-dots {
    display: none;
  }

  .work-card-copy {
    padding: 24px 24px 84px;
  }

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

  .portfolio-item,
  .portfolio-item-wide {
    grid-template-columns: none;
    grid-template-rows: 160px 190px;
    height: 350px;
    min-height: 0;
  }

  .portfolio-item::before {
    height: 160px;
  }

  .portfolio-item-copy {
    height: 190px;
    padding: 18px 22px;
  }

  .portfolio-item img,
  .portfolio-placeholder {
    min-height: 160px;
    aspect-ratio: 1.35 / 1;
  }

  .portfolio-strip {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .counter,
  .counter:nth-child(odd),
  .counter:nth-child(even),
  .counter:nth-child(n + 3) {
    padding: 24px 0;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .counter:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .section-heading h2,
  .portfolio-main h2,
  .contact-info h2 {
    font-size: 48px;
  }

}

/* Custom Contact Page Styles */
.interior-hero .interior-subtitle {
  max-width: 750px;
  font-size: clamp(20px, 1.4vw, 26px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 18px;
}

.subtitle-line-dec {
  width: 60px;
  height: 3px;
  margin-top: 24px;
  background: linear-gradient(90deg, #9f3cff, #11d7ff);
  border-radius: 2px;
}

.contact-page-layout {
  display: grid;
  grid-template-columns: 1fr auto 1.25fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0 64px;
}

.contact-details-col,
.contact-form-col {
  display: flex;
  flex-direction: column;
}

.contact-details-col h2,
.contact-form-col h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.15;
  font-weight: 600;
  color: #fff;
}

.contact-col-subtitle {
  margin: 0 0 36px;
  color: rgba(221, 226, 255, 0.64);
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.4;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
}

.contact-item-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item-row:first-child {
  padding-top: 0;
}

.contact-item-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background: transparent;
}

.contact-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-item-label {
  color: #ffffff66;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-item-value {
  color: #fff;
  font-size: clamp(18px, 1.25vw, 22px);
  font-weight: 500;
  line-height: 1.2;
}

a.contact-item-value {
  transition: color var(--transition);
}

a.contact-item-value:hover {
  color: #00d9ff;
}

/* Center Divider Line */
.contact-divider {
  position: relative;
  width: 1px;
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    rgba(26, 125, 255, 0) 0%,
    rgba(26, 125, 255, 0.12) 18%,
    rgba(0, 240, 220, 0.38) 50%,
    rgba(26, 125, 255, 0.12) 82%,
    rgba(26, 125, 255, 0) 100%
  );
}

.divider-sparkle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f0dc;
  box-shadow:
    0 0 12px 3px #00f0dc,
    0 0 4px 1px #fff;
  transform: translate(-50%, -50%);
}

/* Form Styles */
.contact-page-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-page-form .form-group {
  position: relative;
  width: 100%;
}

.contact-page-form input,
.contact-page-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(0, 7, 38, 0.24);
  color: #fff;
  font: inherit;
  font-size: clamp(16px, 1.1vw, 18px);
  outline: none;
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

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

.contact-page-form input:focus,
.contact-page-form textarea:focus {
  border-color: rgba(0, 240, 220, 0.72);
  background: rgba(0, 7, 38, 0.44);
  box-shadow: 0 0 16px rgba(0, 240, 220, 0.06);
}

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

.btn-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 60px;
  margin-top: 6px;
  padding: 16px 28px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #11d7ff 0%, #4f66ff 50%, #9f3cff 100%);
  color: #fff;
  font: inherit;
  font-size: clamp(18px, 1.2vw, 21px);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-contact-submit:hover,
.btn-contact-submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(17, 215, 255, 0.22);
}

.btn-contact-submit:active {
  transform: translateY(0);
}

.btn-contact-submit .icon-arrow {
  color: #fff;
}

.contact-page-form .form-status {
  margin-top: 8px;
  font-size: 16px;
  color: #00f0dc;
}

/* Responsive adjust for contact grid */
@media (max-width: 880px) {
  .contact-page-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 48px;
  }

  .contact-divider {
    width: 100%;
    height: 1px;
    margin: 8px 0;
    background: linear-gradient(
      to right,
      rgba(26, 125, 255, 0) 0%,
      rgba(0, 240, 220, 0.38) 50%,
      rgba(26, 125, 255, 0) 100%
    );
  }
}

.page-404 {
  min-height: 100vh;
  background: var(--deep);
}

.page-404-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--deep-2);
}

.page-404-bg {
  position: absolute;
  inset: 0;
  background: url("assets/octopus-in-sunken-ship.webp") center/cover no-repeat;
  filter: saturate(1.05) brightness(0.95);
  transform: scale(1.03);
}

.page-404-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.page-404-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.95));
}

.page-404-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  padding: 140px 60px 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-404-copy {
  max-width: 700px;
}

.page-404-eyebrow {
  color: rgba(255, 255, 255, 0.84);
  font-size:66px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.page-404-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(45px, 6vw, 66px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.page-404-text {
  margin: 28px 0 44px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1.65;
}

.page-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
}

.page-404-return {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-404-return a {
  color: #7d94ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

@media (max-width: 860px) {
  .page-404-inner {
    padding: 120px 24px 72px;
    align-items: center;
    text-align: center;
  }

  .page-404-copy {
    margin: 0 auto;
  }

  .page-404-return {
    justify-content: center;
  }
}

/* =====================================================
   View Transitions (cross-document)
   Supported in Chrome 126+; gracefully ignored elsewhere
   ===================================================== */

@view-transition {
  navigation: auto;
}

/* =====================================================
   Language Switcher
   ===================================================== */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.lang-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 880px) {
  .lang-switcher {
    order: -1;
    gap: 1px;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 12px;
  }
}

