:root {
  color-scheme: dark;
  --bg: #07101d;
  --bg-soft: #0c1728;
  --panel: rgba(255, 255, 255, .075);
  --panel-strong: rgba(255, 255, 255, .12);
  --text: #f7fbff;
  --muted: #b8c6d9;
  --soft: #7f90a7;
  --line: rgba(255, 255, 255, .14);
  --brand: #2ec7ff;
  --brand-2: #2b71ff;
  --brand-3: #0d2b55;
  --gold: #f3c65b;
  --shadow: 0 28px 90px rgba(0, 0, 0, .38);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 0%, rgba(46, 199, 255, .22), transparent 34rem),
    radial-gradient(circle at 92% 9%, rgba(43, 113, 255, .18), transparent 34rem),
    linear-gradient(180deg, #050b15 0%, #0d1729 43%, #060b13 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .65), transparent 72%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

.section-pad {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 720px;
  position: relative;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto -10% -18% -10%;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(46, 199, 255, .16), transparent 70%);
  pointer-events: none;
}

.navbar {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: clamp(210px, 24vw, 340px);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(14, 89, 175, .22);
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  backdrop-filter: blur(18px);
}

.nav-links a {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: .22s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .09);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .07);
  border-radius: 14px;
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 58px;
  align-items: center;
  padding: 78px 0 128px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7.6vw, 90px);
  line-height: .92;
  letter-spacing: -.075em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: .96;
  letter-spacing: -.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  letter-spacing: -.035em;
}

.hero-text,
.section-heading p,
.approach-copy p,
.cta-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-text { max-width: 650px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  transition: .22s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 18px 45px rgba(46, 199, 255, .2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 65px rgba(46, 199, 255, .28);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .055);
}

.btn-ghost:hover { background: rgba(255, 255, 255, .105); }

.hero-panel {
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .055));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.studio-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(0, 0, 0, .28);
  border: 1px solid var(--line);
}

.studio-card img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 16px;
}

.studio-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.metric-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  margin: 12px 0;
}

.metric-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(0, 0, 0, .24);
  border: 1px solid var(--line);
}

.metric-card span {
  color: var(--muted);
  font-size: 13px;
}

.metric-card strong {
  font-size: 20px;
  line-height: 1.15;
}

.project-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.project-mini-grid img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
}

.intro-strip {
  margin-top: -70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 3;
}

.strip-card {
  min-height: 140px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .075);
  backdrop-filter: blur(18px);
}

.strip-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(46, 199, 255, .12);
  color: var(--brand);
  font-weight: 900;
  margin-bottom: 22px;
}

.strip-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.projects-section { padding: 115px 0; }
.section-heading { max-width: 780px; margin-bottom: 34px; }

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-bottom: 28px;
}

.search-box { display: grid; gap: 10px; }

.search-box span {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.search-box input {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .075);
  color: var(--text);
  padding: 0 18px;
  outline: none;
}

.search-box input:focus {
  border-color: rgba(46, 199, 255, .72);
  box-shadow: 0 0 0 4px rgba(46, 199, 255, .12);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-btn {
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .065);
  color: var(--muted);
  padding: 0 14px;
  cursor: pointer;
  transition: .2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: #03101d;
  background: var(--brand);
  border-color: transparent;
}

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

.project-card {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .22);
}

.project-shot {
  position: relative;
  overflow: hidden;
  height: 260px;
  background: #101827;
}

.project-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .38));
  pointer-events: none;
}

.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.01);
  transition: transform .7s ease;
}

.project-card:hover .project-shot img { transform: scale(1.055); }

.project-type {
  position: absolute;
  z-index: 1;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .64);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.project-info {
  padding: 26px;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.project-info h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.project-url {
  color: var(--brand);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.project-summary {
  color: var(--muted);
  line-height: 1.6;
  margin: 20px 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, .055);
  font-size: 12px;
  font-weight: 700;
}

.project-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-link,
.details-btn {
  min-height: 42px;
  border-radius: 999px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  cursor: pointer;
  transition: .22s ease;
}

.card-link {
  background: var(--text);
  color: #07101d;
}

.details-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .075);
  color: var(--text);
}

.card-link:hover,
.details-btn:hover { transform: translateY(-2px); }

.empty-state {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  color: var(--muted);
}

.approach-section {
  padding: 95px 0;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.approach-copy {
  position: sticky;
  top: 30px;
}

.approach-grid {
  display: grid;
  gap: 16px;
}

.approach-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .075);
  border: 1px solid var(--line);
}

.approach-card span {
  display: inline-block;
  color: var(--brand);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .14em;
  margin-bottom: 18px;
}

.approach-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.cta-section { padding: 80px 0 110px; }

.cta-card {
  padding: clamp(32px, 6vw, 70px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 80% 10%, rgba(46, 199, 255, .18), transparent 26rem),
    radial-gradient(circle at 10% 90%, rgba(243, 198, 91, .10), transparent 24rem),
    linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-card p {
  max-width: 780px;
  margin-inline: auto;
}


.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .72fr);
  gap: 34px;
  align-items: start;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 78% 10%, rgba(46, 199, 255, .18), transparent 26rem),
    radial-gradient(circle at 12% 90%, rgba(243, 198, 91, .10), transparent 24rem),
    linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 680px;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.contact-points span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, .065);
  font-size: 13px;
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(6, 13, 24, .72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .26);
}

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

.form-field span {
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, .065);
  outline: none;
  transition: .2s ease;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(184, 198, 217, .72);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(46, 199, 255, .72);
  box-shadow: 0 0 0 4px rgba(46, 199, 255, .12);
}

.contact-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.form-status {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.form-status.show { display: block; }
.form-status.success {
  color: #d9fff0;
  background: rgba(22, 163, 74, .18);
  border: 1px solid rgba(34, 197, 94, .28);
}
.form-status.error {
  color: #ffe3e3;
  background: rgba(220, 38, 38, .18);
  border: 1px solid rgba(248, 113, 113, .28);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.site-footer {
  padding: 30px 20px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  text-align: center;
}

.site-footer p { margin: 0; }

.project-modal {
  width: min(920px, calc(100vw - 32px));
  max-height: min(820px, calc(100vh - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #0b1424;
  color: var(--text);
  box-shadow: var(--shadow);
}

.project-modal::backdrop {
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(8px);
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(0, 0, 0, .55);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

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

.modal-shot {
  height: min(360px, 42vh);
  overflow: hidden;
  background: #07101d;
  border-bottom: 1px solid var(--line);
}

.modal-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.modal-details {
  padding: 38px 34px 34px;
  overflow: auto;
}

.modal-details h2 {
  font-size: 42px;
  margin-bottom: 10px;
}

.modal-details p {
  color: var(--muted);
  line-height: 1.65;
}

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

.feature-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, .055);
}

.feature-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 900;
  margin-right: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}

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

@media (max-width: 980px) {
  .hero,
  .approach-section,
  .catalog-toolbar,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 46px; }
  .hero-panel { max-width: 620px; }

  .intro-strip,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .filter-buttons { justify-content: flex-start; }
  .approach-copy { position: static; }
}

@media (max-width: 720px) {
  .section-pad,
  .navbar {
    width: min(100% - 28px, var(--max));
  }

  .navbar { align-items: flex-start; }
  .brand-logo { width: 210px; }
  .menu-toggle { display: inline-block; flex: 0 0 auto; }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
  }

  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .site-header { min-height: auto; }
  .hero { gap: 34px; padding-bottom: 96px; }
  .intro-strip { margin-top: -50px; }
  .project-shot { height: 230px; }
  .project-info { padding: 24px; }
  .contact-layout { padding: 24px; }
  .project-info h3 { font-size: 26px; }
  .modal-details { padding: 32px 22px 26px; }
  .metric-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }

  .hero-actions,
  .project-actions {
    flex-direction: column;
  }

  .btn,
  .card-link,
  .details-btn {
    width: 100%;
  }

  .project-mini-grid { grid-template-columns: 1fr; }
  .project-mini-grid img { height: 140px; }
}
