/* ================================================================
   ASKTECH SOLUTIONS — Production Candidate v1.2
   Pure HTML / CSS / JavaScript, no build step required.
   ================================================================ */

/* 01. Design tokens ------------------------------------------------ */
:root {
  --font-display: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --bg: #f5f8fc;
  --bg-elevated: #ffffff;
  --bg-soft: #edf4fb;
  --bg-inverse: #06162f;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-dark: rgba(7, 22, 46, 0.82);
  --text: #10213e;
  --text-muted: #5f6f86;
  --text-inverse: #f8fbff;
  --line: rgba(16, 33, 62, 0.12);
  --line-strong: rgba(16, 33, 62, 0.2);
  --primary: #087ca7;
  --primary-2: #00a7d6;
  --secondary: #6f58dd;
  --accent: #19c5b1;
  --warning: #f4b840;
  --danger: #dc5a69;
  --success: #1d9c75;
  --focus: #2c8dff;
  --shadow-sm: 0 10px 30px rgba(18, 46, 80, 0.08);
  --shadow-md: 0 22px 60px rgba(18, 46, 80, 0.14);
  --shadow-lg: 0 36px 90px rgba(4, 20, 43, 0.2);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --container: 1180px;
  --header-height: 78px;
  --transition: 240ms cubic-bezier(.2, .7, .2, 1);
  --transition-slow: 650ms cubic-bezier(.2, .7, .2, 1);
}

[data-theme="dark"] {
  --bg: #06101f;
  --bg-elevated: #0a1930;
  --bg-soft: #0c203b;
  --bg-inverse: #020812;
  --surface: rgba(10, 25, 48, 0.82);
  --surface-solid: #0a1930;
  --surface-dark: rgba(2, 8, 18, 0.86);
  --text: #e9f2ff;
  --text-muted: #9bb0c8;
  --text-inverse: #f8fbff;
  --line: rgba(220, 237, 255, 0.12);
  --line-strong: rgba(220, 237, 255, 0.22);
  --primary: #3ecdf4;
  --primary-2: #18aed8;
  --secondary: #9d8cff;
  --accent: #3fe0c9;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 22px 60px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 36px 90px rgba(0, 0, 0, 0.42);
}

/* 02. Reset and base ------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 167, 214, 0.08), transparent 32rem),
    radial-gradient(circle at 100% 22%, rgba(111, 88, 221, 0.08), transparent 34rem),
    var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

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

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

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

ul,
ol {
  margin-top: 0;
}

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus), transparent 22%);
  outline-offset: 3px;
}

/* 03. Utilities ----------------------------------------------------- */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.container--wide {
  width: min(calc(100% - 40px), 1360px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(76px, 9vw, 132px);
}

.section--compact {
  padding-block: clamp(58px, 7vw, 92px);
}

.section--dark {
  color: var(--text-inverse);
  background:
    linear-gradient(135deg, rgba(4, 17, 38, 0.98), rgba(8, 32, 59, 0.98)),
    url("../img/network-grid.svg") center / cover;
}

.section--soft {
  background: color-mix(in srgb, var(--bg-soft), transparent 6%);
  border-block: 1px solid var(--line);
}

.section--overflow-hidden {
  overflow: hidden;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.text-center {
  text-align: center;
}

.text-gradient {
  color: transparent;
  background: linear-gradient(90deg, var(--primary-2), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
}

.muted {
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

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

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

.section-heading h2 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.section-heading p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.section-heading--center p {
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--primary);
  border-radius: 8px;
  transform: translateY(-180%);
  transition: transform var(--transition);
}

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

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

/* 04. Loader -------------------------------------------------------- */
.page-loader {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: #041126;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: grid;
  width: 92px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 0 70px rgba(55, 214, 255, .18);
  animation: loader-float 1.7s ease-in-out infinite;
}

.loader-mark img {
  width: 58px;
}

.loader-line {
  width: 150px;
  height: 2px;
  margin-top: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
}

.loader-line::after {
  display: block;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #37d6ff, transparent);
  content: "";
  animation: loader-line 1.1s linear infinite;
}

/* 05. Header and navigation ---------------------------------------- */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--surface-solid), transparent 9%);
  border-color: var(--line);
  box-shadow: 0 12px 36px rgba(11, 33, 61, .08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.header-inner {
  display: flex;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand img {
  width: 43px;
  height: 43px;
}

.brand-text {
  display: grid;
  line-height: 1.08;
}

.brand-text strong {
  font-size: 1.03rem;
}

.brand-text small {
  color: var(--text-muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 11px;
  color: var(--text-muted);
  border-radius: 10px;
  font-size: .87rem;
  font-weight: 700;
  transition: color var(--transition), background var(--transition);
}

.nav-link::after {
  position: absolute;
  right: 11px;
  bottom: 5px;
  left: 11px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-2), var(--secondary));
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--text);
  background: color-mix(in srgb, var(--primary), transparent 92%);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.icon-button,
.menu-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--text);
  background: color-mix(in srgb, var(--surface-solid), transparent 28%);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.icon-button:hover,
.menu-toggle:hover {
  background: var(--surface-solid);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  content: "";
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle span {
  margin-block: 4px;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

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

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

.language-switcher {
  position: relative;
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 158px;
  padding: 8px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
}

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

.language-menu button {
  padding: 9px 11px;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button.is-active {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary), transparent 91%);
}

/* 06. Buttons ------------------------------------------------------- */
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.button:hover {
  transform: translateY(-3px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 15px 35px color-mix(in srgb, var(--primary), transparent 72%);
}

.button--primary:hover {
  box-shadow: 0 20px 45px color-mix(in srgb, var(--primary), transparent 62%);
}

.button--secondary {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.button--secondary:hover {
  background: var(--surface-solid);
}

.button--ghost {
  min-height: 42px;
  padding: 9px 14px;
  color: var(--primary);
  background: transparent;
  border-color: color-mix(in srgb, var(--primary), transparent 70%);
}

.button--sm {
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 11px;
  font-size: .88rem;
}


.button-reset {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
}

/* 07. Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 48px);
  overflow: hidden;
  color: var(--text-inverse);
  background:
    linear-gradient(110deg, rgba(2, 11, 27, .98) 0%, rgba(6, 29, 55, .95) 54%, rgba(11, 40, 68, .9) 100%),
    url("../img/network-grid.svg") center / cover;
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -24%;
  right: -10%;
  width: 690px;
  height: 690px;
  background: radial-gradient(circle, rgba(55, 214, 255, .18), transparent 70%);
}

.hero::after {
  bottom: -42%;
  left: -9%;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(124, 92, 255, .2), transparent 70%);
}

.hero-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .68;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: calc(100svh - var(--header-height) - 48px);
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: center;
  gap: clamp(38px, 7vw, 96px);
  padding-block: 54px 82px;
}

.hero-copy {
  max-width: 770px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 9px 13px;
  color: #bfeeff;
  background: rgba(91, 205, 239, .09);
  border: 1px solid rgba(145, 226, 250, .2);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  background: #4ce6ce;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(76, 230, 206, .11);
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.8vw, 6.8rem);
  line-height: .98;
  letter-spacing: -.065em;
}

.hero h1 span {
  display: block;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 31px;
  color: rgba(235, 245, 255, .74);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.typed-line {
  display: inline-flex;
  min-height: 1.4em;
  color: #7de5ff;
}

.typed-caret {
  width: 2px;
  height: 1.12em;
  margin: .13em 0 0 7px;
  background: currentColor;
  animation: caret 800ms step-end infinite;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 34px;
  color: rgba(235, 245, 255, .62);
  font-size: .84rem;
  font-weight: 700;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust span::before {
  width: 7px;
  height: 7px;
  background: #4ce6ce;
  border-radius: 50%;
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 560px;
  perspective: 1000px;
}

.orbit-shell {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(470px, 90vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.orbit-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  width: 178px;
  aspect-ratio: 1;
  place-items: center;
  background: linear-gradient(145deg, rgba(55, 214, 255, .21), rgba(124, 92, 255, .17));
  border: 1px solid rgba(198, 241, 255, .23);
  border-radius: 44px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .16);
  transform: translate(-50%, -50%) rotate(8deg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  animation: core-float 6s ease-in-out infinite;
}

.orbit-core img {
  width: 102px;
  transform: rotate(-8deg);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(152, 229, 255, .17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring--1 {
  width: 272px;
  height: 272px;
  animation: orbit-spin 22s linear infinite;
}

.orbit-ring--2 {
  width: 384px;
  height: 384px;
  border-style: dashed;
  animation: orbit-spin-reverse 32s linear infinite;
}

.orbit-ring--3 {
  width: 468px;
  height: 468px;
  opacity: .62;
  animation: orbit-spin 42s linear infinite;
}

.orbit-node {
  position: absolute;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #dff8ff;
  background: rgba(7, 30, 54, .72);
  border: 1px solid rgba(150, 230, 255, .22);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.orbit-node--1 { top: -27px; left: 50%; transform: translateX(-50%); }
.orbit-node--2 { right: -27px; top: 50%; transform: translateY(-50%); }
.orbit-node--3 { bottom: -27px; left: 50%; transform: translateX(-50%); }
.orbit-node--4 { left: -27px; top: 50%; transform: translateY(-50%); }

.float-card {
  position: absolute;
  z-index: 6;
  min-width: 190px;
  padding: 16px 18px;
  color: #eaf8ff;
  background: rgba(6, 27, 50, .76);
  border: 1px solid rgba(158, 229, 251, .18);
  border-radius: 17px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  animation: card-float 5s ease-in-out infinite;
}

.float-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.float-card small {
  color: rgba(234, 248, 255, .62);
}

.float-card--a { top: 13%; left: -5%; }
.float-card--b { right: -3%; bottom: 17%; animation-delay: -2.4s; }

.scroll-hint {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .58);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-hint::after {
  width: 1px;
  height: 34px;
  margin-top: 8px;
  background: linear-gradient(#7de5ff, transparent);
  content: "";
  animation: scroll-line 1.6s ease-in-out infinite;
}

/* 08. Metrics ------------------------------------------------------- */
.metric-strip {
  position: relative;
  z-index: 8;
  margin-top: -48px;
}

.metric-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.metric-item {
  position: relative;
  padding: 30px 26px;
}

.metric-item + .metric-item::before {
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 0;
  width: 1px;
  background: var(--line);
  content: "";
}

.metric-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 7px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}

.metric-value span:last-child {
  color: var(--primary);
  font-size: .54em;
}

.metric-label {
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 700;
}

/* 09. Cards --------------------------------------------------------- */
.card {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover {
  border-color: color-mix(in srgb, var(--primary), transparent 70%);
  box-shadow: var(--shadow-md);
  transform: translateY(-7px);
}

.card::after {
  position: absolute;
  top: var(--spot-y, 50%);
  left: var(--spot-x, 50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary), transparent 86%), transparent 68%);
  border-radius: 50%;
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity var(--transition);
}

.card:hover::after {
  opacity: 1;
}

.card-body {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.icon-box {
  display: inline-grid;
  width: 54px;
  height: 54px;
  margin-bottom: 23px;
  place-items: center;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary), transparent 90%);
  border: 1px solid color-mix(in srgb, var(--primary), transparent 80%);
  border-radius: 15px;
  font-size: 1.25rem;
}

.service-card h3,
.feature-card h3,
.project-card h3,
.publication-card h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.service-card p,
.feature-card p,
.project-card p,
.publication-card p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: .94rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: .9rem;
  font-weight: 800;
}

.card-link span {
  transition: transform var(--transition);
}

.card-link:hover span {
  transform: translateX(5px);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
}

/* 10. About and founder -------------------------------------------- */
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(42px, 8vw, 104px);
}

.visual-panel {
  position: relative;
  min-height: 560px;
}

.visual-panel-main {
  position: absolute;
  inset: 0 46px 46px 0;
  overflow: hidden;
  background: linear-gradient(145deg, #09203d, #0d3155);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.visual-panel-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-panel-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  width: 220px;
  min-height: 176px;
  padding: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: 8px solid var(--bg);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.visual-panel-accent strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.visual-panel-accent span {
  margin-top: 8px;
  font-size: .84rem;
  font-weight: 700;
  opacity: .82;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 20px;
  margin: 26px 0 31px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: .4em;
  left: 0;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  color: #fff;
  background: var(--success);
  border-radius: 50%;
  content: "✓";
  font-size: .65rem;
}

.founder-quote {
  margin: 25px 0 0;
  padding: 23px 24px;
  color: var(--text);
  background: var(--bg-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.02rem;
  font-weight: 700;
}

/* 11. Timeline ------------------------------------------------------ */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 36px;
}

.timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 18px;
  width: 2px;
  background: linear-gradient(var(--primary), color-mix(in srgb, var(--secondary), transparent 60%));
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 22px;
  padding-bottom: 30px;
}

.timeline-dot {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
  margin: 6px 0 0 11px;
  background: var(--surface-solid);
  border: 4px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary), transparent 88%);
}

.timeline-content {
  padding: 0 0 3px;
}

.timeline-content time {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.timeline-content h3 {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.timeline-content p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: .92rem;
}

/* 12. Project and publication elements ------------------------------ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.filter-button {
  padding: 9px 14px;
  color: var(--text-muted);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.filter-button:hover,
.filter-button.is-active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--primary), transparent 74%);
}

.project-card,
.publication-card {
  display: flex;
  flex-direction: column;
}

.project-card[hidden],
.publication-card[hidden] {
  display: none;
}

.project-card .card-body,
.publication-card .card-body {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.project-card .tag-list,
.publication-card .tag-list {
  margin-top: auto;
}

.project-meta,
.publication-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: .77rem;
  font-weight: 700;
}

.project-meta span,
.publication-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.featured-project {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .86fr;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #071a35, #0d3c62);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.featured-project-copy {
  padding: clamp(35px, 6vw, 70px);
}

.featured-project-copy p {
  color: rgba(255,255,255,.68);
}

.featured-project-art {
  position: relative;
  min-height: 390px;
  background:
    radial-gradient(circle at 70% 35%, rgba(55,214,255,.4), transparent 22%),
    radial-gradient(circle at 40% 65%, rgba(124,92,255,.35), transparent 28%),
    url("../img/network-grid.svg") center / cover;
}

.featured-project-art::before,
.featured-project-art::after {
  position: absolute;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  content: "";
}

.featured-project-art::before {
  inset: 18% 11%;
  animation: orbit-spin 24s linear infinite;
}

.featured-project-art::after {
  inset: 29% 24%;
  border-style: dashed;
  animation: orbit-spin-reverse 17s linear infinite;
}

.search-box {
  position: relative;
  width: min(100%, 420px);
  margin-left: auto;
}

.search-box input {
  width: 100%;
  min-height: 46px;
  padding: 10px 16px 10px 42px;
  color: var(--text);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary), transparent 88%);
}

.search-box::before {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 16px;
  color: var(--text-muted);
  content: "⌕";
  font-size: 1.2rem;
  transform: translateY(-50%);
}

/* 13. Partners marquee --------------------------------------------- */
.partner-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partner-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: marquee 30s linear infinite;
}

.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

.partner-logo {
  display: grid;
  min-width: 230px;
  min-height: 112px;
  place-items: center;
  padding: 20px;
  color: var(--text-muted);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  transition: var(--transition);
}

.partner-logo:hover {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary), transparent 65%);
  transform: translateY(-4px);
}

/* 14. Process ------------------------------------------------------- */
.process-grid {
  counter-reset: process;
}

.process-card {
  position: relative;
  padding: 31px 27px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  counter-increment: process;
}

.process-card::before {
  display: inline-flex;
  margin-bottom: 23px;
  color: var(--primary);
  content: "0" counter(process);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
}

.process-card::after {
  position: absolute;
  top: 43px;
  right: -24px;
  width: 48px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.process-card:last-child::after {
  display: none;
}

/* 15. Accordion ----------------------------------------------------- */
.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  overflow: hidden;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.accordion-item.is-open {
  border-color: color-mix(in srgb, var(--primary), transparent 66%);
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.accordion-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--bg-soft);
  border-radius: 9px;
  transition: transform var(--transition), background var(--transition);
}

.accordion-item.is-open .accordion-icon {
  color: #fff;
  background: var(--primary);
  transform: rotate(45deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms ease;
}

.accordion-item.is-open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel > div {
  overflow: hidden;
}

.accordion-panel p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--text-muted);
}

/* 16. Page hero and breadcrumb ------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 80px) 0 86px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(3, 15, 34, .98), rgba(7, 45, 72, .93)),
    url("../img/network-grid.svg") center / cover;
}

.page-hero::after {
  position: absolute;
  top: -80%;
  right: -8%;
  width: 660px;
  height: 660px;
  background: radial-gradient(circle, rgba(55,214,255,.24), transparent 68%);
  border-radius: 50%;
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding: 0;
  color: rgba(255,255,255,.62);
  list-style: none;
  font-size: .84rem;
  font-weight: 700;
}

.breadcrumb li + li::before {
  margin-right: 8px;
  content: "/";
  opacity: .45;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255,255,255,.68);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

/* 17. Contact ------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 7vw, 86px);
}

.contact-card {
  padding: 30px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.contact-list-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--primary), transparent 78%);
  border-radius: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.contact-list-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list strong,
.contact-list li > div > span,
.contact-list li > div > a {
  display: block;
}

.contact-list li > div > span,
.contact-list li > div > a {
  color: var(--text-muted);
  font-size: .88rem;
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: .84rem;
  font-weight: 800;
}

.form-control {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

textarea.form-control {
  min-height: 145px;
  resize: vertical;
}

.form-control:focus {
  background: var(--surface-solid);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary), transparent 88%);
}

.form-control.is-invalid {
  border-color: var(--danger);
}

.field-error {
  min-height: 1.2em;
  color: var(--danger);
  font-size: .75rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: .8rem;
}

.consent input {
  margin-top: .35em;
}

.map-panel {
  position: relative;
  min-height: 340px;
  margin-top: 24px;
  overflow: hidden;
  background: #dce7ee;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}

.map-frame {
  display: block;
  width: 100%;
  min-height: 340px;
  border: 0;
  filter: saturate(.88) contrast(1.03);
}

.map-panel::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6,22,47,.03), rgba(6,22,47,.12));
  content: "";
}

.map-label,
.map-link {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: rgba(6,22,47,.90);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}

.map-label {
  top: 16px;
  left: 16px;
  padding: 10px 14px;
  border-radius: 999px;
}

.map-label span {
  color: var(--accent);
  font-size: .75rem;
}

.map-link {
  right: 16px;
  bottom: 16px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 800;
}

.map-link:hover {
  color: #fff;
  background: rgba(8,36,70,.97);
}

/* 18. CTA ----------------------------------------------------------- */
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(35px, 5vw, 65px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #06203d, #0a466c 58%, #45388f);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.cta-panel::after {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 68%);
  border-radius: 50%;
  content: "";
}

.cta-copy,
.cta-actions {
  position: relative;
  z-index: 2;
}

.cta-copy h2 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.cta-copy p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255,255,255,.68);
}

/* 19. Footer -------------------------------------------------------- */
.site-footer {
  color: rgba(236, 246, 255, .72);
  background: #031022;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-block: 74px 55px;
}

.footer-brand p {
  max-width: 370px;
  margin: 22px 0 0;
  color: rgba(236, 246, 255, .55);
}

.footer-title {
  margin-bottom: 18px;
  color: #fff;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover {
  color: #7de5ff;
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  transition: var(--transition);
}

.social-links a:hover {
  color: #fff;
  background: rgba(55,214,255,.15);
  border-color: rgba(55,214,255,.38);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(236, 246, 255, .43);
  font-size: .8rem;
}

/* 20. Modal, toast and floating controls ---------------------------- */
.modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(1, 8, 18, .72);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

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

.modal-dialog {
  width: min(100%, 720px);
  max-height: calc(100svh - 48px);
  overflow: auto;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.98);
  transition: transform var(--transition);
}

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

.modal-header,
.modal-body {
  padding: 24px 28px;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.modal-header h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.modal-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--bg-soft);
  border: 0;
  border-radius: 11px;
  cursor: pointer;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.toast {
  position: fixed;
  z-index: 4000;
  right: 22px;
  bottom: 22px;
  display: flex;
  max-width: min(420px, calc(100% - 44px));
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  color: #fff;
  background: #0a2845;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(22px);
  transition: var(--transition);
}

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

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 14px 35px color-mix(in srgb, var(--primary), transparent 65%);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: var(--transition);
}

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

/* 21. Reveal animations -------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.reveal--left {
  transform: translateX(-34px);
}

.reveal--right {
  transform: translateX(34px);
}

.reveal--scale {
  transform: scale(.94);
}

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

[data-delay="1"] { transition-delay: 80ms; }
[data-delay="2"] { transition-delay: 160ms; }
[data-delay="3"] { transition-delay: 240ms; }
[data-delay="4"] { transition-delay: 320ms; }
[data-delay="5"] { transition-delay: 400ms; }
[data-delay="6"] { transition-delay: 480ms; }

/* 22. Keyframes ----------------------------------------------------- */
@keyframes loader-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-9px) rotate(2deg); }
}

@keyframes loader-line {
  from { transform: translateX(-120%); }
  to { transform: translateX(280%); }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 5px rgba(76, 230, 206, .09); }
  50% { box-shadow: 0 0 0 10px rgba(76, 230, 206, .02); }
}

@keyframes caret {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes core-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(8deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotate(4deg) translateY(-13px); }
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbit-spin-reverse {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

@keyframes scroll-line {
  0% { opacity: 0; transform: scaleY(.1); transform-origin: top; }
  35% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

@keyframes marquee {
  to { transform: translateX(calc(-50% - 9px)); }
}

/* 23. Responsive ---------------------------------------------------- */
@media (max-width: 1100px) {
  .site-nav {
    position: fixed;
    z-index: 1500;
    top: var(--header-height);
    right: 18px;
    left: 18px;
    display: grid;
    max-height: calc(100svh - var(--header-height) - 26px);
    padding: 16px;
    overflow: auto;
    background: var(--surface-solid);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px) scale(.98);
    transition: var(--transition);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-link {
    min-height: 48px;
    padding-inline: 14px;
  }

  .nav-link::after {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .hero-lead,
  .hero-actions,
  .hero-trust {
    justify-content: center;
    margin-inline: auto;
  }

  .hero-visual {
    min-height: 500px;
  }

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

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

  .footer-main > :last-child {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .split-layout,
  .contact-layout,
  .featured-project {
    grid-template-columns: 1fr;
  }

  .split-layout {
    gap: 58px;
  }

  .visual-panel {
    width: min(100%, 620px);
    min-height: 640px;
    margin-inline: auto;
  }

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

  .metric-item:nth-child(3)::before {
    display: none;
  }

  .metric-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

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

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .process-card::after {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 70px;
  }

  .container,
  .container--wide {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-text small {
    display: none;
  }

  .header-actions .button {
    display: none;
  }

  .hero {
    padding-top: var(--header-height);
  }

  .hero-inner {
    min-height: auto;
    padding-block: 76px 92px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.8rem);
  }

  .hero-visual {
    min-height: 420px;
  }

  .orbit-shell {
    width: 370px;
  }

  .orbit-ring--3 {
    width: 370px;
    height: 370px;
  }

  .orbit-ring--2 {
    width: 310px;
    height: 310px;
  }

  .float-card {
    display: none;
  }

  .metric-strip {
    margin-top: -35px;
  }

  .metric-item {
    padding: 24px 20px;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

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

  .form-field--full {
    grid-column: auto;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 38px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-main > :last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 7px;
  }

  .filter-button {
    flex: 0 0 auto;
  }

  .search-box {
    width: 100%;
    margin: 12px 0 0;
  }

  .visual-panel {
    min-height: 500px;
  }

  .visual-panel-main {
    inset: 0 24px 34px 0;
  }

  .visual-panel-accent {
    width: 185px;
    min-height: 150px;
  }
}

@media (max-width: 470px) {
  .brand-text strong {
    font-size: .9rem;
  }

  .language-switcher {
    display: none;
  }

  .metric-panel {
    grid-template-columns: 1fr;
  }

  .metric-item + .metric-item::before {
    display: none;
  }

  .metric-item {
    border-bottom: 1px solid var(--line);
  }

  .metric-item:last-child {
    border-bottom: 0;
  }

  .hero-actions .button {
    width: 100%;
  }

  .page-hero {
    padding-bottom: 65px;
  }

  .card-body,
  .contact-card {
    padding: 22px;
  }

  .cta-panel {
    padding: 31px 24px;
    border-radius: var(--radius-lg);
  }
}

/* 24. Reduced motion and print ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

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

@media print {
  .site-header,
  .page-loader,
  .back-to-top,
  .hero-canvas,
  .scroll-hint,
  .cta-panel,
  .site-footer,
  .filter-bar,
  .search-box {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero,
  .page-hero,
  .section--dark {
    color: #000;
    background: #fff;
  }

  .section,
  .section--compact {
    padding-block: 30px;
  }

  .card {
    break-inside: avoid;
    box-shadow: none;
  }
}


/* 25. v1.1 layout and language fixes ------------------------------- */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.hero-inner > *,
.split-layout > *,
.contact-layout > * {
  min-width: 0;
}

.hero h1 {
  display: grid;
  gap: .025em;
  line-height: 1.045;
}

.hero h1 span {
  min-width: 0;
  padding-block: .015em;
}

.hero-focus {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.typed-line {
  display: inline;
  min-height: 0;
  overflow-wrap: anywhere;
}

.typed-caret {
  display: inline-block;
  vertical-align: -.08em;
}

.visual-panel--accent-top .visual-panel-accent {
  top: 28px;
  right: 0;
  bottom: auto;
}

.visual-panel--portrait-only .visual-panel-main {
  inset: 0;
}

.page-hero-jump {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 15px;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 800;
  transition: transform var(--transition), background var(--transition);
}

.page-hero-jump:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-2px);
}

.contact-page .page-hero {
  padding-top: calc(var(--header-height) + 46px);
  padding-bottom: 46px;
}

.contact-page .page-hero h1 {
  font-size: clamp(2.55rem, 5.4vw, 4.7rem);
}

.contact-section {
  padding-top: clamp(42px, 5vw, 70px);
}

.contact-page .contact-layout {
  align-items: start;
}

@media (max-width: 1100px) and (max-height: 620px) {
  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 38px 54px;
  }

  .hero h1 {
    max-width: 760px;
    margin-inline: auto;
    font-size: clamp(2.8rem, 7.2vw, 4.35rem);
  }

  .hero-visual,
  .scroll-hint {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero-inner {
    padding-block: 56px 72px;
  }

  .hero h1 {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: clamp(2.35rem, 11.4vw, 3.55rem);
    line-height: 1.055;
    letter-spacing: -.058em;
  }

  .hero-kicker {
    max-width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .hero-lead {
    font-size: .98rem;
    line-height: 1.62;
  }

  .hero-focus {
    min-height: 3.2em;
  }

  .hero-visual,
  .scroll-hint {
    display: none;
  }

  .visual-panel--accent-top .visual-panel-accent {
    top: 18px;
    right: 0;
    bottom: auto;
  }

  .contact-page .page-hero {
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 36px;
  }

  .contact-page .page-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.5rem);
  }

  .contact-section {
    padding-top: 38px;
  }
}

@media (max-width: 470px) {
  .hero h1 {
    font-size: clamp(2.2rem, 10.9vw, 3.15rem);
  }

  .hero-copy {
    width: 100%;
  }

  .hero-actions,
  .hero-trust {
    width: 100%;
  }

  .visual-panel--accent-top .visual-panel-accent {
    width: 168px;
    min-height: 128px;
    padding: 20px;
  }

  .visual-panel--accent-top .visual-panel-accent strong {
    font-size: 1.85rem;
  }
}

/* 26. v1.1 final polish -------------------------------------------- */
.site-header:not(.is-scrolled) .brand,
.site-header:not(.is-scrolled) .nav-link,
.site-header:not(.is-scrolled) .icon-button,
.site-header:not(.is-scrolled) .menu-toggle {
  color: rgba(248, 251, 255, .92);
}

.site-header:not(.is-scrolled) .brand-text small {
  color: rgba(220, 235, 250, .58);
}

.site-header:not(.is-scrolled) .icon-button,
.site-header:not(.is-scrolled) .menu-toggle {
  background: rgba(8, 28, 52, .42);
  border-color: rgba(220, 237, 255, .18);
}

@media (max-width: 1100px) and (max-height: 620px) {
  .hero-inner {
    padding-block: 18px 34px;
  }

  .hero-kicker {
    margin-bottom: 14px;
  }

  .hero h1 {
    margin-bottom: 14px;
    font-size: clamp(2.45rem, 5.7vw, 3.4rem);
  }

  .hero-lead {
    margin-bottom: 15px;
    font-size: .96rem;
  }

  .hero-trust {
    margin-top: 22px;
  }
}

@media (max-width: 470px) {
  .brand-text {
    display: none;
  }

  .language-switcher {
    display: block;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }
}


/* 27. Production foundation v1.2 ---------------------------------- */
.contact-actions {
  margin-top: 25px;
}

.contact-form-title,
.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
}

.text-on-dark-muted {
  color: rgba(255,255,255,.68);
}

.cluster--between {
  justify-content: space-between;
}

.cluster--spaced {
  margin-bottom: 30px;
}

.content-divider {
  margin: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.contact-list a {
  color: var(--text-muted);
  font-size: .88rem;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--primary);
}

.form-control:disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.notice {
  margin: 0 0 32px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.notice--warning {
  background: color-mix(in srgb, #f5a623, transparent 90%);
  border-color: color-mix(in srgb, #f5a623, transparent 65%);
}

.page-hero--compact {
  min-height: 420px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, .34fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(26px, 5vw, 64px);
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.legal-toc .card-body {
  display: grid;
  gap: 12px;
}

.legal-toc strong {
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.legal-toc a {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 700;
}

.legal-toc a:hover {
  color: var(--primary);
}

.legal-content h2 {
  margin: 42px 0 14px;
  scroll-margin-top: calc(var(--header-height) + 28px);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.error-page-section {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #06162f;
}

.error-page-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: var(--header-height);
  text-align: center;
}

.error-code {
  display: block;
  margin-bottom: -16px;
  color: rgba(255,255,255,.08);
  font-family: var(--font-display);
  font-size: clamp(8rem, 28vw, 18rem);
  font-weight: 800;
  line-height: .8;
}

.error-page-content h1 {
  margin: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
}

.error-page-content p {
  max-width: 650px;
  margin: 0 auto 30px;
  color: rgba(232,242,255,.72);
  font-size: 1.08rem;
}

.error-page-content .cluster {
  justify-content: center;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }
}

/* 28. Production content v1.3 -------------------------------------- */
.visual-panel-main picture {
  display: block;
  width: 100%;
  height: 100%;
}

.visual-panel-main .founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
}

.visual-panel--portrait-only .founder-photo {
  object-position: 50% 28%;
}

[data-config-block][hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .visual-panel-main .founder-photo {
    object-position: 50% 30%;
  }
}

/* ASKTECH v1.5 contact refinements */
@media (max-width: 560px) {
  .contact-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 13px;
  }
  .contact-list-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
  .contact-list-icon svg {
    width: 23px;
    height: 23px;
  }
  .map-panel,
  .map-frame {
    min-height: 300px;
  }
  .map-label {
    top: 12px;
    left: 12px;
  }
  .map-link {
    right: 12px;
    bottom: 12px;
  }
}


/* ASKTECH v1.6 refinements */
.contact-list-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  color: #ffffff;
  background: color-mix(in srgb, var(--primary), transparent 84%);
  border-color: color-mix(in srgb, #ffffff, transparent 82%);
}
.contact-list-icon svg {
  width: 28px;
  height: 28px;
}
.contact-list-icon svg,
.contact-list-icon svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 560px) {
  .contact-list-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }
  .contact-list-icon svg {
    width: 25px;
    height: 25px;
  }
}
.visual-panel-main img[src$="services-training-classroom.png"] {
  object-position: center center;
  filter: saturate(.96) contrast(1.02);
}


/* ASKTECH Solutions v2.1 corporate structure */
.about-network-art, .approach-art {
  display:grid; place-items:center; padding:clamp(36px,7vw,84px);
  background:radial-gradient(circle at 35% 30%, rgba(48,197,234,.20), transparent 35%), linear-gradient(145deg,#071b35,#0c3155);
}
.about-network-art img, .approach-art img { width:100%; height:100%; object-fit:cover; opacity:.88; }
.advisor-panel {
  display:grid; grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr); gap:clamp(32px,7vw,88px); align-items:center;
  padding:clamp(24px,4vw,52px); border:1px solid var(--line); border-radius:var(--radius-xl); background:var(--surface); box-shadow:var(--shadow-md);
}
.advisor-photo-wrap { overflow:hidden; min-height:430px; border-radius:calc(var(--radius-xl) - 8px); background:var(--surface-2); }
.advisor-photo-wrap picture { display:block; width:100%; height:100%; }
.advisor-photo { display:block; width:100%; height:100%; min-height:430px; object-fit:cover; object-position:50% 34%; }
.advisor-copy h2 { margin-top:12px; }
.advisor-identity { display:grid; gap:4px; margin:24px 0 14px; padding-left:18px; border-left:3px solid var(--primary); }
.advisor-identity strong { font-size:1.2rem; }
.advisor-identity span { color:var(--text-muted); }
.approach-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.approach-step { display:grid; grid-template-columns:72px minmax(0,1fr); gap:20px; padding:28px; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--surface); box-shadow:var(--shadow-sm); }
.approach-number { display:grid; width:58px; height:58px; place-items:center; color:#fff; font-family:var(--font-display); font-weight:800; background:linear-gradient(135deg,var(--primary),var(--secondary)); border-radius:18px; }
.approach-step h3 { margin:2px 0 8px; }
.approach-step p { margin:0; color:var(--text-muted); }
/* Force clean white outline icons in contact card. */
.contact-list-icon { color:#fff !important; }
.contact-list-icon svg, .contact-list-icon svg * { fill:none !important; stroke:#fff !important; }
@media (max-width:900px){ .advisor-panel{grid-template-columns:1fr;} .advisor-photo-wrap,.advisor-photo{min-height:360px;} .approach-steps{grid-template-columns:1fr;} }
@media (max-width:560px){ .approach-step{grid-template-columns:54px minmax(0,1fr);padding:20px;gap:14px;} .approach-number{width:48px;height:48px;border-radius:14px;} .advisor-panel{padding:18px;} .advisor-photo-wrap,.advisor-photo{min-height:310px;} }


/* ASKTECH v2.1 visual refinements */
.visual-panel-accent {
  width: min(248px, 58%);
  min-height: 184px;
  padding: 24px;
}

.visual-panel-accent strong {
  font-size: clamp(1.95rem, 2vw, 2.35rem);
  line-height: 1.07;
  text-wrap: balance;
}

.visual-panel-accent span {
  margin-top: 10px;
  font-size: .92rem;
  line-height: 1.35;
}

.panel-home-network img {
  object-position: 57% center;
}

.panel-approach-visual img {
  object-position: 68% center;
}

.panel-about-network img {
  object-position: 58% center;
}

:root[data-language="sq"] .hero h1 {
  font-size: clamp(2.7rem, 6.15vw, 6.15rem);
  line-height: 1.06;
  letter-spacing: -.05em;
}

:root[data-language="sq"] .hero h1 span {
  padding-bottom: .08em;
}

@media (max-width: 1024px) {
  :root[data-language="sq"] .hero h1 {
    font-size: clamp(2.8rem, 8.2vw, 4.95rem);
    line-height: 1.08;
  }
}

@media (max-width: 767px) {
  .visual-panel-accent {
    width: min(220px, 62%);
    min-height: 166px;
    padding: 21px;
  }

  .visual-panel-accent strong {
    font-size: clamp(1.7rem, 7vw, 2.05rem);
  }

  .visual-panel-accent span {
    font-size: .86rem;
  }
}


/* ASKTECH v2.1.2 hero typography fix */
:root[data-language="tr"] .hero h1,
:root[data-language="sq"] .hero h1 {
  line-height: 1.075;
  letter-spacing: -.052em;
}

:root[data-language="tr"] .hero h1 span,
:root[data-language="sq"] .hero h1 span {
  overflow: visible;
  padding-top: .015em;
  padding-bottom: .115em;
  margin-bottom: -.055em;
}

:root[data-language="tr"] .hero h1 .text-gradient,
:root[data-language="sq"] .hero h1 .text-gradient {
  padding-bottom: .15em;
  margin-bottom: -.07em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (max-width: 1024px) {
  :root[data-language="tr"] .hero h1,
  :root[data-language="sq"] .hero h1 {
    line-height: 1.09;
    letter-spacing: -.045em;
  }
}

@media (max-width: 767px) {
  :root[data-language="tr"] .hero h1,
  :root[data-language="sq"] .hero h1 {
    line-height: 1.11;
    letter-spacing: -.035em;
  }

  :root[data-language="tr"] .hero h1 span,
  :root[data-language="sq"] .hero h1 span {
    padding-bottom: .13em;
    margin-bottom: -.045em;
  }
}
