/* ==========================================================================
   EvoXY · Digital Evolution
   Cinematic orbital identity: deep navy, electric blue, cyan precision accents.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/bricolage-grotesque-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-300-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-sans-500-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;

  --navy: #080D19;
  --midnight: #0B1426;
  --blue: #087BFF;
  --cyan: #35D5F5;
  --white: #F5F7FF;
  --muted: #A9B8CE;

  --line: rgba(169, 184, 206, 0.14);
  --line-strong: rgba(169, 184, 206, 0.3);

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --page-x: clamp(20px, 5.2vw, 80px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

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

/* The skip-link target is a full-page region; an outline would frame the page. */
main:focus {
  outline: none;
}

::selection {
  background: var(--blue);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--page-x);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  transform: translateY(-200%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus {
  transform: none;
}

.display {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.accent {
  color: var(--cyan);
}

.lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  font-weight: 300;
  line-height: 1.75;
}

.section {
  position: relative;
  padding-block: clamp(96px, 14vh, 176px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -40px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(8, 13, 25, 0.6), rgba(8, 13, 25, 0));
  opacity: 1;
  transition: opacity 0.45s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(8, 13, 25, 0.76);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
}

.site-header.is-stuck::before {
  opacity: 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(16px, 2.2vw, 28px);
  transition: padding 0.45s var(--ease);
}

.site-header.is-stuck .header__inner {
  padding-block: clamp(11px, 1.4vw, 16px);
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 24px;
  transition: opacity 0.3s var(--ease);
}

.brand img {
  width: auto;
  height: clamp(23px, 2.4vw, 31px);
}

.brand:hover {
  opacity: 0.78;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 42px);
}

.nav__list a {
  position: relative;
  display: inline-block;
  padding-block: 5px;
  color: rgba(245, 247, 255, 0.68);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.35s var(--ease);
}

.nav__list a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.nav__list a:hover,
.nav__list a[aria-current] {
  color: var(--white);
}

.nav__list a:hover::after,
.nav__list a[aria-current]::after {
  transform: scaleX(1);
}

.header__end {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 10px 3px;
  color: rgba(169, 184, 206, 0.72);
  transition: color 0.3s var(--ease);
}

.lang__btn:hover {
  color: var(--white);
}

.lang__btn[aria-pressed="true"] {
  color: var(--cyan);
}

.lang__sep {
  color: rgba(169, 184, 206, 0.22);
  font-size: 8px;
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: -9px;
}

.menu-button__lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.menu-button__lines span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--white);
  transition: transform 0.4s var(--ease);
}

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

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

.is-menu-open {
  overflow: hidden;
}

.is-menu-open .site-header {
  border-bottom-color: transparent;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.is-menu-open .site-header::before {
  opacity: 0;
}

/* --------------------------------------------------------------------------
   Mobile menu
   -------------------------------------------------------------------------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: stretch;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(155deg, var(--midnight) 0%, #050a13 70%);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}

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

.menu__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 116px 160px;
}

.menu__nav {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.6vh, 24px);
}

.menu__nav a {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 3vw, 24px);
  width: fit-content;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 10.5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s var(--ease);
}

.menu__nav a:hover {
  color: var(--cyan);
}

.menu.is-open .menu__nav a {
  opacity: 1;
  transform: none;
}

.menu.is-open .menu__nav a:nth-child(1) {
  transition-delay: 0.12s;
}

.menu.is-open .menu__nav a:nth-child(2) {
  transition-delay: 0.19s;
}

.menu.is-open .menu__nav a:nth-child(3) {
  transition-delay: 0.26s;
}

.menu__index {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.menu__foot {
  position: absolute;
  bottom: 42px;
  left: var(--page-x);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center 44%;
  background-color: var(--navy);
  transform: translate3d(0, var(--shift, 0px), 0);
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(58% 44% at 50% 50%, rgba(6, 11, 22, 0.74) 0%, rgba(6, 11, 22, 0.4) 38%, rgba(6, 11, 22, 0.08) 62%, transparent 76%),
    linear-gradient(to bottom, rgba(8, 13, 25, 0.72) 0%, rgba(8, 13, 25, 0.16) 24%, rgba(8, 13, 25, 0) 52%, rgba(8, 13, 25, 0.5) 82%, var(--navy) 100%);
}

.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: min(calc(100% - var(--page-x) * 2), 1440px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 26px 50px rgba(0, 0, 0, 0.5));
}

.hero__logo-picture {
  display: block;
}

.hero__logo {
  width: clamp(280px, 58vw, 740px);
  height: auto;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  animation: logo-in 1.5s var(--ease-out) 0.15s forwards;
}

.hero__tagline {
  position: absolute;
  top: calc(100% + clamp(18px, 3vh, 34px));
  left: 50%;
  padding-left: 0.42em;
  color: rgba(245, 247, 255, 0.8);
  font-family: var(--font-mono);
  font-size: clamp(9px, 0.75vw, 11px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 24px rgba(8, 13, 25, 0.9);
  transform: translateX(-50%);
  opacity: 0;
  animation: tagline-in 1.8s var(--ease-out) 0.7s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: clamp(16px, 3vh, 34px);
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(245, 247, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transform: translateX(-50%);
  opacity: 0;
  animation: fade-in 1.2s var(--ease) 1.3s forwards;
  transition: color 0.3s var(--ease);
}

.hero__scroll::before {
  content: "";
  width: 1px;
  height: clamp(32px, 5vh, 48px);
  background: linear-gradient(to bottom, transparent, rgba(245, 247, 255, 0.6));
}

.hero__scroll:hover {
  color: var(--cyan);
}

@keyframes logo-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tagline-in {
  from {
    opacity: 0;
    letter-spacing: 0.72em;
  }

  to {
    opacity: 1;
    letter-spacing: 0.42em;
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Rail / section labels
   -------------------------------------------------------------------------- */

.rail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 0.4em;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.rail__index {
  color: var(--cyan);
  letter-spacing: 0.1em;
}

.rail__label {
  color: rgba(245, 247, 255, 0.72);
}

.rail__line {
  width: 1px;
  height: clamp(64px, 10vh, 112px);
  margin-top: 8px;
  background: linear-gradient(to bottom, rgba(53, 213, 245, 0.45), rgba(53, 213, 245, 0));
}

/* --------------------------------------------------------------------------
   Philosophy
   -------------------------------------------------------------------------- */

.philosophy {
  padding-top: clamp(104px, 16vh, 196px);
}

.philosophy__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: start;
}

.philosophy__title {
  max-width: 15ch;
  font-size: clamp(2.9rem, 8.2vw, 7.4rem);
  --delay: 0.05s;
}

.philosophy__body {
  max-width: 44ch;
  margin-top: clamp(30px, 4.5vw, 56px);
  margin-left: auto;
  padding-left: clamp(18px, 2.4vw, 32px);
  border-left: 1px solid rgba(53, 213, 245, 0.28);
  --delay: 0.15s;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

.services {
  border-block: 1px solid var(--line);
  background: var(--midnight);
}

.services__head {
  display: grid;
  grid-template-columns: clamp(48px, 5vw, 76px) minmax(0, 1.15fr) minmax(0, 1fr) 32px;
  gap: clamp(16px, 3vw, 48px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 70px);
}

.services__title {
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  --delay: 0.05s;
}

.services__note {
  grid-column: 3 / 5;
  justify-self: end;
  max-width: 24ch;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.9;
  text-align: right;
  text-transform: uppercase;
  --delay: 0.12s;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: clamp(48px, 5vw, 76px) minmax(0, 1.15fr) minmax(0, 1fr) 32px;
  gap: clamp(16px, 3vw, 48px);
  align-items: center;
  padding-block: clamp(28px, 3.4vw, 42px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.5s var(--ease);
}

.service::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--cyan), rgba(53, 213, 245, 0));
  opacity: 0;
  transform: scaleY(0.35);
  transform-origin: top;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out);
}

.service:hover {
  background: linear-gradient(90deg, rgba(8, 123, 255, 0.09), rgba(8, 123, 255, 0) 65%);
}

.service:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.service__index {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  transition: color 0.4s var(--ease);
}

.service:hover .service__index {
  color: var(--cyan);
}

.service__title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.service__desc {
  max-width: 42ch;
  color: rgba(169, 184, 206, 0.92);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
}

.service__icon {
  justify-self: end;
  width: 20px;
  color: var(--muted);
  opacity: 0.6;
  transition: color 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.5s var(--ease-out);
}

.service__icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.service:hover .service__icon {
  color: var(--cyan);
  opacity: 1;
  transform: translate(4px, -4px);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  overflow: hidden;
  padding-block: clamp(108px, 15vh, 190px);
}

.contact__orbit {
  position: absolute;
  top: -46%;
  right: -34%;
  width: min(118vw, 1500px);
  aspect-ratio: 1;
  border: 1px solid rgba(169, 184, 206, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.contact__orbit::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(53, 213, 245, 0.06);
  border-radius: 50%;
}

.contact .rail {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

.contact__title {
  font-size: clamp(3.2rem, 9vw, 8.2rem);
  --delay: 0.05s;
}

.contact__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(24px, 3vw, 36px);
  max-width: 420px;
  padding-bottom: clamp(6px, 1vw, 18px);
  padding-left: clamp(22px, 3vw, 44px);
  border-left: 1px solid var(--line);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  border: 1px solid rgba(53, 213, 245, 0.55);
  background: rgba(8, 123, 255, 0.18);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease);
}

.cta svg {
  width: 15px;
  height: 15px;
  transition: transform 0.4s var(--ease-out);
}

.cta:hover {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 18px 40px -18px rgba(8, 123, 255, 0.7);
  transform: translateY(-2px);
}

.cta:hover svg {
  transform: translate(3px, -3px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px 34px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__brand {
  color: rgba(245, 247, 255, 0.78);
}

.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 24px;
  transition: color 0.3s var(--ease);
}

.footer__top span:last-child {
  transition: transform 0.3s var(--ease-out);
}

.footer__top:hover {
  color: var(--cyan);
}

.footer__top:hover span:last-child {
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.service:nth-child(2) {
  --delay: 0.08s;
}

.service:nth-child(3) {
  --delay: 0.16s;
}

.service:nth-child(4) {
  --delay: 0.24s;
}

.contact__aside {
  --delay: 0.1s;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .philosophy__grid {
    grid-template-columns: minmax(0, 0.32fr) minmax(0, 1.68fr);
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .services__head {
    margin-bottom: clamp(36px, 5vw, 56px);
  }

  .philosophy__title {
    font-size: clamp(2.9rem, 9.4vw, 5.6rem);
  }
}

@media (max-width: 780px) {
  .section {
    padding-block: clamp(78px, 11vh, 120px);
  }

  .philosophy__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .rail {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding-top: 0;
  }

  .rail__line {
    width: auto;
    height: 1px;
    flex: 1;
    margin-top: 0;
    background: linear-gradient(to right, rgba(53, 213, 245, 0.35), rgba(53, 213, 245, 0));
  }

  .philosophy__title {
    max-width: none;
  }

  .philosophy__body {
    margin-left: 0;
  }

  .services__head {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .services__note {
    grid-column: auto;
  }

  .service {
    grid-template-columns: 40px minmax(0, 1fr) 20px;
    grid-template-areas:
      "num title icon"
      ". desc .";
    row-gap: 12px;
    padding-block: 26px;
  }

  .service__index {
    grid-area: num;
    align-self: start;
    padding-top: 0.4em;
  }

  .service__title {
    grid-area: title;
  }

  .service__desc {
    grid-area: desc;
    max-width: none;
  }

  .service__icon {
    grid-area: icon;
    align-self: start;
    margin-top: 0.35em;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }

  .contact__aside {
    max-width: 520px;
    padding-top: 26px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact__orbit {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero__bg {
    object-position: 58% 46%;
  }

  .hero__logo {
    width: clamp(280px, 84vw, 430px);
  }

  .cta {
    justify-content: space-between;
    width: 100%;
    padding: 22px 24px;
  }

  .hero__tagline {
    font-size: 9px;
    letter-spacing: 0.32em;
    animation-name: tagline-in-mobile;
  }

  .hero__veil {
    background:
      radial-gradient(70% 40% at 50% 50%, rgba(6, 11, 22, 0.7) 0%, rgba(6, 11, 22, 0.36) 42%, transparent 70%),
      linear-gradient(to bottom, rgba(8, 13, 25, 0.7) 0%, rgba(8, 13, 25, 0.12) 24%, rgba(8, 13, 25, 0) 52%, rgba(8, 13, 25, 0.55) 84%, var(--navy) 100%);
  }

  .contact__title {
    font-size: clamp(3rem, 13.5vw, 5rem);
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

}

@media (max-width: 380px) {
  .hero__logo {
    width: min(82vw, 300px);
  }

  .hero__tagline {
    font-size: 8px;
  }

  .lang {
    gap: 6px;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .hero__logo {
    width: clamp(200px, 36vw, 330px);
  }

  .hero__scroll {
    display: none;
  }
}

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

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

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

  .hero__bg {
    transform: none !important;
  }

  .hero__logo,
  .hero__tagline,
  .hero__scroll {
    opacity: 1;
  }
}

@keyframes tagline-in-mobile {
  from {
    opacity: 0;
    letter-spacing: 0.55em;
  }

  to {
    opacity: 1;
    letter-spacing: 0.32em;
  }
}