@font-face {
  font-family: "Conthrax";
  src: url("assets/fonts/conthrax/Conthrax-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Neuropol";
  src: url("assets/fonts/Neuropol.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Stereohead";
  src: url("assets/fonts/stereohead/Stereohead.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #11161a;
  --muted: #627079;
  --line: #cfe5ee;
  --paper: #edf8ff;
  --panel: #f8fdff;
  --sea: #1aa7ff;
  --deep: #07172a;
  --moon: #7fd8ff;
  --foam: #eef8ff;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(13, 32, 40, 0.16);
  --display-font: "Stereohead", "Conthrax", "Neuropol", "Orbitron", "Eurostile", "Segoe UI", Arial, sans-serif;
  --text-font: "Stereohead", "Rajdhani", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--text-font);
  line-height: 1.55;
}

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

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

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(237, 248, 255, 0.95);
  box-shadow: 0 8px 28px rgba(17, 22, 26, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 168px;
  color: currentColor;
  font-family: var(--display-font);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.08;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a:not(.button) {
  opacity: 0.84;
}

.site-nav a:hover {
  opacity: 1;
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: currentColor;
  opacity: 0.78;
}

.lang-switcher button {
  padding: 4px 2px;
  border: 0;
  color: currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.lang-switcher button[aria-pressed="true"] {
  color: var(--moon);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button-primary,
.nav-cta {
  color: #fff;
  background: var(--sea);
}

.button-primary:hover,
.nav-cta:hover {
  background: #0879c9;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
}

.button-small {
  min-height: 40px;
  padding: 9px 13px;
  color: #fff;
  background: var(--deep);
  font-size: 14px;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 124px clamp(20px, 5vw, 72px) 56px;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -150px;
  z-index: 1;
  height: clamp(260px, 30vw, 390px);
  background:
    linear-gradient(
      180deg,
      rgba(2, 8, 18, 0) 0%,
      rgba(4, 18, 34, 0.72) 28%,
      rgba(10, 50, 82, 0.46) 52%,
      rgba(26, 167, 255, 0.13) 76%,
      rgba(237, 248, 255, 0) 100%
    );
  pointer-events: none;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
}

.hero-background-art {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 8, 18, 0.98), rgba(2, 8, 18, 0.76) 38%, rgba(2, 8, 18, 0.14)),
    linear-gradient(0deg, rgba(2, 8, 18, 0.86), rgba(2, 8, 18, 0.02) 48%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(780px, 100%);
}

.hero-boundary-tower {
  position: absolute;
  right: clamp(-64px, 6vw, 110px);
  bottom: clamp(-126px, -6vw, -48px);
  z-index: 2;
  width: clamp(220px, calc(34vw + 8vh), 620px);
  max-height: 78vh;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
  opacity: 0.52;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.36));
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--moon);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 1040px;
  font-family: var(--display-font);
  font-size: clamp(66px, 10.5vw, 146px);
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-title-gradient {
  display: grid;
  gap: 0.02em;
  color: transparent;
  background: linear-gradient(180deg, #f2fbff 4%, #78dfff 42%, #0d65bd 100%);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 0 0 42px rgba(26, 167, 255, 0.26);
}

.hero-title-gradient span {
  display: block;
}

.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(18px, 2vw, 22px);
}

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

.section,
.page-hero {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.page-hero {
  padding-top: 150px;
  background: var(--panel);
}

.page-hero h1 {
  color: var(--deep);
}

.page-hero p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.intro {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  background: var(--paper);
}

.intro > p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.32;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.service-grid,
.team-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.service-card,
.team-card,
.portfolio-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.service-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(26, 167, 255, 0.1), rgba(248, 253, 255, 0)),
    var(--panel);
}

.card-icon {
  width: 44px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  color: var(--sea);
  border: 1px solid rgba(26, 167, 255, 0.3);
  border-radius: 6px;
  font-weight: 820;
  font-size: 13px;
}

.service-card h3 {
  margin: auto 0 12px;
  font-family: var(--display-font);
  font-size: 24px;
  line-height: 1.12;
  text-transform: uppercase;
}

.service-card p,
.timeline p,
.contact-copy p,
.team-card p,
.portfolio-card p {
  margin: 0;
  color: var(--muted);
}

.services,
.cases,
.contact {
  position: relative;
  overflow: hidden;
}

.services {
  background: var(--paper);
}

.section-heading,
.artstation-panel,
.contact-copy,
.contact-form {
  position: relative;
  z-index: 3;
}

.section-art {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 30px 48px rgba(0, 0, 0, 0.42));
}

.section-art-tank {
  right: clamp(22px, 8vw, 132px);
  top: 50%;
  z-index: 0;
  width: min(64vw, 840px);
  opacity: 0.34;
  transform: translateY(-42%);
}

.section-art-prop {
  left: clamp(18px, 4vw, 72px);
  bottom: -34px;
  z-index: 1;
  width: min(38vw, 460px);
}

.cases {
  isolation: isolate;
  color: #fff;
  background: var(--deep);
}

.portfolio-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 14px;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--deep);
  background: var(--moon);
  border-color: var(--moon);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.artstation-panel {
  z-index: 2;
  margin-top: 32px;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(26, 167, 255, 0.18), rgba(127, 216, 255, 0.08)),
    rgba(255, 255, 255, 0.05);
}

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

.artstation-card {
  display: grid;
  gap: 10px;
  color: #fff;
  min-width: 0;
}

.artstation-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(127, 216, 255, 0.24);
  border-radius: var(--radius);
}

.artstation-card span {
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

.portfolio-card {
  overflow: hidden;
  color: var(--ink);
}

.portfolio-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--foam);
}

.portfolio-card div {
  padding: 18px;
}

.portfolio-card span {
  color: var(--sea);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.portfolio-card h3 {
  margin: 8px 0 8px;
  font-family: var(--display-font);
  font-size: 24px;
  line-height: 1.1;
}

.portfolio-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--sea);
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px;
  color: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.inline-button {
  margin-top: 24px;
}

.process,
.team {
  background:
    linear-gradient(180deg, rgba(7, 23, 42, 0.16), rgba(237, 248, 255, 0) 18%),
    var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.timeline div {
  min-height: 260px;
  padding: 24px;
  background: var(--panel);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--sea);
  border-radius: 999px;
  font-weight: 820;
}

.timeline h3 {
  margin: 58px 0 10px;
  font-family: var(--display-font);
  font-size: 24px;
}

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

.team-card {
  padding: 24px;
}

.portrait {
  display: block;
  overflow: hidden;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid rgba(26, 167, 255, 0.42);
  background: linear-gradient(145deg, var(--sea), var(--deep));
  box-shadow: 0 16px 34px rgba(7, 23, 42, 0.18);
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-muslima img {
  object-position: center 38%;
}

.portrait-yunus img {
  object-position: center 48%;
}

.team-card h3 {
  margin: 18px 0 4px;
  font-family: var(--display-font);
  font-size: 30px;
}

.team-card .role {
  margin-bottom: 14px;
  color: var(--sea);
  font-weight: 820;
}

.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(30px, 7vw, 96px);
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(26, 167, 255, 0.26) 17%, rgba(26, 167, 255, 0) 38%),
    linear-gradient(135deg, rgba(26, 167, 255, 0.82), rgba(7, 23, 42, 0.98)),
    var(--deep);
}

.contact-copy p {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  color: var(--ink);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #30363b;
  font-size: 14px;
  font-weight: 720;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfbfa;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(26, 167, 255, 0.18);
  border-color: var(--sea);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(240px, auto) minmax(210px, auto);
  gap: 20px;
  align-items: start;
  padding: 32px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: #081014;
  font-size: 14px;
}

.site-footer strong {
  color: #fff;
  font-size: 18px;
}

.site-footer p {
  margin: 4px 0 0;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #fff;
}

.footer-end {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.footer-lang {
  color: rgba(255, 255, 255, 0.42);
  opacity: 0.72;
}

.footer-lang button[aria-pressed="true"] {
  color: rgba(127, 216, 255, 0.68);
}

.footer-lang:hover,
.footer-lang:focus-within {
  opacity: 0.9;
}

.secret-admin-trigger {
  justify-self: start;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.28);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

.secret-admin-trigger:hover,
.secret-admin-trigger:focus {
  color: rgba(255, 255, 255, 0.58);
}

.login-dialog {
  width: min(420px, calc(100vw - 36px));
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #fff;
  background: #081421;
  box-shadow: var(--shadow);
}

.login-dialog::backdrop {
  background: rgba(2, 8, 18, 0.72);
  backdrop-filter: blur(8px);
}

.login-box {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.login-box h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: 30px;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
}

.admin-body {
  background: var(--paper);
}

.admin-shell {
  padding: 118px clamp(20px, 5vw, 72px) 72px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(320px, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.admin-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.admin-panel form,
.admin-form-grid {
  display: grid;
  gap: 14px;
}

.admin-panel label {
  display: grid;
  gap: 6px;
  color: #30363b;
  font-size: 14px;
  font-weight: 760;
}

.admin-panel input,
.admin-panel textarea,
.admin-panel select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
}

.project-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.project-list button {
  padding: 10px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
}

.checkbox-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.checkbox-row label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 14px;
  }

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

  .hero-boundary-tower {
    right: clamp(-72px, -5vw, -24px);
    width: clamp(210px, 44vw, 430px);
    bottom: -102px;
    opacity: 0.42;
  }

  .section-art-tank {
    width: min(70vw, 620px);
    opacity: 0.32;
  }

  .section-art-prop {
    width: min(48vw, 380px);
  }
}

@media (max-width: 860px) {
  .intro,
  .contact,
  .team-grid,
  .admin-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 126px;
    max-width: 170px;
    font-size: 12px;
  }

  .mobile-actions {
    display: inline-flex;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.button) {
    padding: 12px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    min-height: 100vh;
    padding: 104px 18px 28px;
  }

  .hero-media {
    object-position: 58% center;
  }

  .hero-background-art {
    object-position: center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(2, 8, 18, 0.94), rgba(2, 8, 18, 0.68)),
      linear-gradient(0deg, rgba(2, 8, 18, 0.9), rgba(2, 8, 18, 0.12));
  }

  h1 {
    font-size: clamp(46px, 14vw, 70px);
    line-height: 0.9;
  }

  .hero-boundary-tower {
    right: -60px;
    bottom: -78px;
    width: clamp(190px, 58vw, 300px);
    opacity: 0.34;
  }

  .section-art-tank {
    right: -72px;
    top: 52%;
    width: 390px;
    opacity: 0.24;
    transform: translateY(-42%);
  }

  .section-art-prop {
    left: -60px;
    bottom: -22px;
    width: 260px;
    opacity: 0.72;
  }

  .service-grid,
  .timeline,
  .portfolio-grid,
  .artstation-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .contact,
  .page-hero,
  .admin-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .timeline h3 {
    margin-top: 44px;
  }

  .contact-form {
    padding: 18px;
  }
}
