/* =========================================================
   1. VARIABLES
   ========================================================= */
:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --card: #0f1c2f;

  --line: rgba(157, 180, 211, 0.16);
  --text: #f2f6fb;
  --muted: #9baac0;
  --dim: #6f8199;

  --accent: #79b8ff;
  --accent-2: #8d7cff;
  --gold: #c4a264;

  --max-width: 1180px;
  --radius: 18px;

  --font-intel: "Intel One", "IntelOne", "Intel One Mono", Inter,
    "Segoe UI", sans-serif;
}

/* =========================================================
   2. FONT
   Place IntelOne.woff2 in assets/fonts/
   ========================================================= */
@font-face {
  font-family: "Intel One";
  src: url("../fonts/IntelOne.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* =========================================================
   3. RESET / BASE
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-intel);
  font-size: 16px;
  line-height: 1.6;
}

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

button,
input,
textarea {
  font: inherit;
}

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

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* =========================================================
   4. BACKGROUND EFFECTS
   ========================================================= */
.background-effects {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    #07111f 0%,
    #07111f 45%,
    #081321 100%
  );
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(121, 184, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 184, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 82%);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.45;
  animation: floatGlow 18s ease-in-out infinite alternate;
}

.bg-glow-a {
  top: 6%;
  right: -170px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(79, 143, 218, 0.16), transparent 68%);
}

.bg-glow-b {
  top: 55%;
  left: -260px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(109, 91, 190, 0.11), transparent 68%);
  animation-delay: -7s;
}

.pointer-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 184, 255, 0.075), transparent 65%);
  transform: translate3d(var(--mx, 60vw), var(--my, 25vh), 0)
    translate(-50%, -50%);
  transition: transform 0.12s linear;
  will-change: transform;
}

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

/* =========================================================
   5. HEADER / LOGO / NAVIGATION
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-header.scrolled {
  background: rgba(7, 17, 31, 0.84);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

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

/*
   Logo source can be BLACK SVG.
   filter converts black artwork to a light logo on dark background.
   If you later export a white SVG, remove the filter line.
*/
.site-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 170px;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: var(--muted);
  font-size: 12px;
  transition: color 0.2s;
}

.nav a:hover {
  color: #fff;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 6px auto;
  background: #fff;
}

/* =========================================================
   6. HERO
   ========================================================= */
.hero {
  padding: 160px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  align-items: center;
  gap: 72px;
  min-height: 620px;
}

.eyebrow,
.section-label {
  display: none !important;
}

.hero h1 {
  max-width: 900px;
  margin: 0 0 28px;
  font-size: clamp(56px, 6.6vw, 96px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 span {
  color: #a9b7c9;
  font-weight: 400;
}

.hero-text {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}

.btn-light {
  border-color: #f3f7fb;
  background: #f3f7fb;
  color: #07111f;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

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

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

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--dim);
  font-size: 12px;
}

.availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #76d6a2;
  box-shadow: 0 0 0 5px rgba(118, 214, 162, 0.08);
}

.hero-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    160deg,
    rgba(17, 32, 53, 0.86),
    rgba(11, 23, 40, 0.78)
  );
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.panel-index {
  color: var(--accent);
}

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

.metric strong {
  display: block;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

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

.panel-line {
  height: 1px;
  margin: 28px 0 18px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-panel > p {
  margin: 0;
  color: var(--dim);
  font-size: 12px;
}

/* =========================================================
   7. SERVICES TICKER
   ========================================================= */
.ticker-section {
  padding: 18px 0 0;
}

.ticker-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(10, 22, 38, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 34s linear infinite;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 28px;
  padding: 15px 28px 15px 0;
}

.ticker-frame span {
  color: #7f8ea3;
  font-size: 10px;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.ticker-frame i {
  flex: none;
  color: #53667e;
  font-size: 8px;
  font-style: normal;
}

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

/* =========================================================
   8. GENERAL SECTIONS
   ========================================================= */
.section {
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.intro-content h2,
.section-head h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-content p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}

.section-head p {
  max-width: 390px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 14px;
}

/* =========================================================
   9. SERVICES
   ========================================================= */
.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 70px 0.8fr 1.35fr 50px;
  align-items: center;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s, background 0.25s;
}

.service-row:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(121, 184, 255, 0.04), transparent);
}

.service-num {
  color: var(--dim);
  font-size: 11px;
}

.service-row h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.service-row p {
  max-width: 580px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-arrow {
  justify-self: end;
  color: var(--accent);
  font-size: 18px;
}

/* =========================================================
   10. PROJECTS
   ========================================================= */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 23, 40, 0.76);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(121, 184, 255, 0.3);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

.project-featured {
  grid-column: 1 / -1;
}

.project-visual {
  position: relative;
  height: 390px;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 35%, rgba(121, 184, 255, 0.17), transparent 28%),
    linear-gradient(145deg, #0e2037, #091525);
}

.project-card:not(.project-featured) .project-visual {
  height: 330px;
}

.project-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .project-media {
  transform: scale(1.018);
}

.video-toggle {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(7, 17, 31, 0.72);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.25s, background 0.25s;
}

.video-toggle:hover {
  transform: scale(1.06);
  background: rgba(7, 17, 31, 0.9);
}

.visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.mock-window {
  position: absolute;
  top: 22%;
  left: 16%;
  width: 58%;
  height: 54%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(7, 17, 31, 0.72);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding-left: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64758d;
}

.mock-content {
  padding: 24px;
}

.mock-content span {
  display: block;
  height: 11px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.mock-content span:nth-child(1) {
  width: 46%;
  height: 22px;
  background: rgba(121, 184, 255, 0.25);
}

.mock-content span:nth-child(2) {
  width: 80%;
}

.mock-content span:nth-child(3) {
  width: 65%;
}

.project-orb {
  position: absolute;
  right: 13%;
  bottom: 12%;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  box-shadow:
    inset 0 0 50px rgba(121, 184, 255, 0.08),
    0 0 60px rgba(121, 184, 255, 0.08);
}

.media-hint {
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.64);
  color: var(--dim);
  font-size: 11px;
}

.media-hint code {
  color: #a8bad0;
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 30px;
  padding: 28px;
}

.project-meta span {
  display: none !important;
}

.project-meta h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: 0;
}

.project-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
   11. PROCESS
   ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-card {
  min-height: 250px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-card > span {
  color: var(--accent);
  font-size: 11px;
}

.process-card h3 {
  margin: 76px 0 12px;
  font-size: 21px;
  line-height: 1.3;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
   12. CONTACTS
   ========================================================= */
.contact {
  padding: 120px 0;
}

.contact-box {
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 20%, rgba(121, 184, 255, 0.09), transparent 30%),
    rgba(11, 23, 40, 0.72);
  backdrop-filter: blur(12px);
}

.contact-top {
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font-size: 11px;
}

.contact-box h2 {
  margin: 70px 0;
  font-size: clamp(50px, 7vw, 92px);
  line-height: 1.08;
  letter-spacing: 0;
}

.contact-box h2 span {
  color: #94a5ba;
  font-weight: 400;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 70px;
}

.contact-copy p {
  max-width: 500px;
  margin: 0 0 24px;
  color: var(--muted);
}

.contact-details {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.contact-link span {
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: 14px;
  font-weight: 600;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s, transform 0.25s,
    background 0.25s;
}

.socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(121, 184, 255, 0.42);
  background: rgba(121, 184, 255, 0.05);
  color: #fff;
}

.socials img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.social-fallback {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

/* =========================================================
   13. FOOTER
   ========================================================= */
footer {
  padding: 32px 0 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.footer-grid p {
  margin: 0;
  color: var(--dim);
  font-size: 11px;
}

.footer-grid p:nth-child(2) {
  text-align: center;
}

.footer-grid p:last-child {
  text-align: right;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-logo {
  display: block;
  width: 140px;
  height: auto;
  max-height: 36px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

/* =========================================================
   14. REVEAL ANIMATION
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.delay-1 {
  transition-delay: 0.12s;
}

/* =========================================================
   15. KEYFRAMES
   ========================================================= */
@keyframes floatGlow {
  from {
    transform: translate3d(0, -18px, 0) scale(0.95);
  }

  to {
    transform: translate3d(30px, 24px, 0) scale(1.08);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   16. ACCESSIBILITY
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .marquee-track,
  .bg-glow {
    animation: none;
  }

  .pointer-glow {
    display: none;
  }
}

/* =========================================================
   17. TABLET / SMALL DESKTOP
   ========================================================= */
@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 30px), var(--max-width));
  }

  .nav {
    position: fixed;
    inset: 78px 0 0;
    display: flex;
    flex-direction: column;
    padding: 40px 24px;
    background: #07111f;
    transform: translateX(100%);
    transition: transform 0.3s;
  }

  .menu-open .nav {
    transform: none;
  }

  .nav a {
    color: #fff;
    font-size: 28px;
  }

  .menu-btn {
    display: block;
  }

  .brand {
    min-width: 0;
  }

  .site-logo {
    width: 175px;
    max-height: 44px;
  }

  .hero {
    padding-top: 125px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: auto;
  }

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


  .section {
    padding: 80px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .service-row {
    grid-template-columns: 45px 1fr 35px;
  }

  .service-row p {
    grid-column: 2 / -1;
  }

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

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

  .project-featured {
    grid-column: auto;
  }

  .project-meta {
    grid-template-columns: 1fr;
  }

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

  .contact-box {
    padding: 34px 24px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-grid p:nth-child(2),
  .footer-grid p:last-child {
    text-align: left;
  }

  .pointer-glow {
    display: none;
  }
}

/* =========================================================
   18. MOBILE
   ========================================================= */
@media (max-width: 560px) {
  .site-logo {
    width: 150px;
  }

  .hero h1 {
    font-size: 43px;
    line-height: 1.1;
  }

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

  .btn {
    width: 100%;
  }

  .project-visual,
  .project-card:not(.project-featured) .project-visual {
    height: 270px;
  }

  .mock-window {
    left: 8%;
    width: 75%;
  }

  .project-orb {
    right: 5%;
    width: 100px;
    height: 100px;
  }

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

  .process-card {
    min-height: 210px;
  }

  .process-card h3 {
    margin-top: 48px;
  }

  .contact-box h2 {
    margin: 50px 0;
    font-size: 44px;
    line-height: 1.1;
  }

  .contact-link {
    flex-direction: column;
    gap: 4px;
  }

  .media-hint {
    display: none;
  }
}


/* =========================================================
   PROJECT CARD
   ========================================================= */

.project-cover-link {
  display: block;
}

.project-media-shell {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(121, 184, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 184, 255, 0.035) 1px, transparent 1px),
    var(--bg-soft);
  background-size: 44px 44px;
}

.media-placeholder {
  min-height: 100%;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 32px;
  text-align: center;
}

.media-placeholder span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.media-placeholder small {
  color: var(--dim);
  font-size: 11px;
}

.project-meta-main {
  align-items: end;
}

.project-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.project-review {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid rgba(196, 162, 100, 0.34);
  border-radius: 10px;
  color: var(--text);
  font-size: 12px;
  font-weight: 650;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.project-review b {
  color: var(--gold);
  font-size: 16px;
  font-weight: 400;
}

.project-review:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 162, 100, 0.68);
  background: rgba(196, 162, 100, 0.05);
}


/* =========================================================
   PROJECT DETAIL PAGE
   ========================================================= */

.case-page {
  padding-top: 82px;
}

.case-hero {
  padding: 74px 0 72px;
  border-bottom: 1px solid var(--line);
}

.case-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 56px;
  color: var(--dim);
  font-size: 11px;
}

.case-breadcrumb a {
  color: var(--gold);
}

.case-breadcrumb i {
  color: rgba(155, 170, 192, 0.38);
  font-style: normal;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  gap: 72px;
  align-items: center;
}

.case-copy h1 {
  max-width: 650px;
  margin: 0 0 24px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.case-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.case-cover {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.22);
}

.case-cover img,
.case-shot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder-large {
  min-height: 430px;
}

.case-gallery-section {
  padding: 86px 0 110px;
}

.case-section-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 34px;
}

.case-section-title span {
  color: var(--accent);
  font-size: 13px;
}

.case-section-title h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: 0;
}

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

.case-shot-media {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.case-shot h3 {
  margin: 16px 0 5px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
}

.case-shot p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.case-back {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.case-back a {
  color: var(--muted);
  font-size: 13px;
}

.case-back a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .case-hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .case-cover,
  .media-placeholder-large {
    min-height: 320px;
  }

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

  .project-meta-main {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .case-hero {
    padding-top: 48px;
  }

  .case-breadcrumb {
    margin-bottom: 36px;
  }

  .case-copy h1 {
    font-size: 40px;
  }

  .case-cover,
  .media-placeholder-large {
    min-height: 230px;
  }
}


/* =========================================================
   PROJECT COVERS
   Both covers are designed for 1600 × 900 (16:9).
   Main page and detail page use separate files.
   ========================================================= */

/* Main portfolio card */
.project-card .project-visual.project-media-shell {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 0;
  background-color: var(--bg-soft);
}

.project-card .project-visual .project-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Detailed project page */
.case-cover {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background-color: var(--bg-soft);
}

.case-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
}

.media-placeholder-large {
  min-height: 0;
  height: 100%;
}

/* Keep the 16:9 proportion on tablet/mobile as well */
@media (max-width: 900px) {
  .case-cover,
  .media-placeholder-large {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .case-cover,
  .media-placeholder-large {
    min-height: 0;
  }
}


/* =========================================================
   PROJECT PAGE INTERACTIONS
   ========================================================= */

.case-page .project-media-shell,
.case-page .case-cover,
.case-page .case-shot {
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}

.case-cover:hover {
  transform: translateY(-4px);
  border-color: rgba(121,184,255,.30);
  box-shadow: 0 34px 82px rgba(0,0,0,.25);
}

.case-section-title { gap: 0; }

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

.case-shot { min-width: 0; }

.case-shot-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.case-shot-open:disabled { cursor: default; }

.case-shot-media {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}

.case-shot-open:not(:disabled):hover .case-shot-media {
  transform: translateY(-5px);
  border-color: rgba(121,184,255,.34);
  box-shadow: 0 24px 55px rgba(0,0,0,.22);
}

.case-shot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

.case-shot-open:not(:disabled):hover .case-shot-media img {
  transform: scale(1.025);
}

.case-shot-number {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 3;
  min-width: 32px;
  height: 28px;
  padding: 0 8px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(121,184,255,.20);
  border-radius: 8px;
  background: rgba(7,17,31,.72);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  backdrop-filter: blur(10px);
}

.case-shot-zoom {
  position: absolute;
  right: 13px;
  bottom: 13px;
  z-index: 3;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(7,17,31,.72);
  color: var(--muted);
  font-size: 10px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .25s ease, transform .25s ease;
  backdrop-filter: blur(10px);
}

.case-shot-open:hover .case-shot-zoom {
  opacity: 1;
  transform: translateY(0);
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 60px;
  background: rgba(2,7,14,.92);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

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

.project-lightbox-inner {
  display: grid;
  place-items: center;
  width: min(94vw, 1500px);
  max-height: 88vh;
}

.project-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 35px 100px rgba(0,0,0,.48);
}

.project-lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 1000;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(11,23,40,.76);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.project-lightbox-close:hover {
  border-color: rgba(121,184,255,.4);
  background: rgba(15,28,47,.94);
}

body.lightbox-open { overflow: hidden; }

@media (max-width: 1180px) {
  .case-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .case-gallery { grid-template-columns: 1fr; }
  .project-lightbox { padding: 54px 14px 18px; }
  .project-lightbox-close { top: 12px; right: 14px; }
  .case-shot-zoom { display: none; }
}


/* =========================================================
   HOMEPAGE PROJECTS
   ========================================================= */

/* The projects section header no longer reserves space for helper copy */
.work .section-head {
  align-items: flex-start;
}

.work .section-head > p {
  display: none;
}

/* Prepare homepage for multiple projects */
.work .projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

/* v8 used a full-width featured project; v8.1 keeps cards compact */
.work .project-card.project-featured {
  grid-column: auto;
}

/* Compact 16:9 preview */
.work .project-card .project-visual.project-media-shell {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
}

/* Keep cover fully visible */
.work .project-card .project-visual .project-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Reduce card information block height */
.work .project-meta {
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 22px;
}

.work .project-meta h3 {
  font-size: 20px;
  line-height: 1.3;
}

.work .project-card-copy {
  gap: 16px;
}

.work .project-card-copy p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 0;
  line-height: 1.6;
}

.work .project-review {
  min-height: 42px;
  padding: 0 15px;
}

/* Screenshot cards remain clickable, but no visible number/zoom overlays */
.case-shot-number,
.case-shot-zoom {
  display: none !important;
}

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

@media (max-width: 560px) {
  .work .project-meta {
    padding: 18px;
  }

  .work .project-meta h3 {
    font-size: 18px;
  }
}


/* ===== MOBILE APPLICATION CASE ===== */
.mobile-case-page{padding-top:82px}.mobile-case-hero{padding:58px 0 88px;border-bottom:1px solid var(--line)}
.mobile-video-frame{position:relative;width:100%;aspect-ratio:16/7;margin-top:34px;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:var(--bg-soft);box-shadow:0 30px 80px rgba(0,0,0,.20);transition:transform .32s ease,border-color .32s ease,box-shadow .32s ease}.mobile-video-frame:hover{transform:translateY(-4px);border-color:rgba(121,184,255,.30);box-shadow:0 34px 82px rgba(0,0,0,.25)}.mobile-hero-video{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.mobile-video-placeholder{width:100%;height:100%;display:grid;place-content:center;gap:8px;text-align:center;background:linear-gradient(rgba(121,184,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(121,184,255,.035) 1px,transparent 1px),var(--bg-soft);background-size:44px 44px}.mobile-video-placeholder span,.mobile-transparent-placeholder span{color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.13em}.mobile-video-placeholder small,.mobile-transparent-placeholder small{color:var(--dim);font-size:11px}
.mobile-case-intro{max-width:780px;margin-top:52px}.mobile-case-intro h1{margin:0 0 20px;font-size:clamp(44px,5vw,72px);line-height:1.08;letter-spacing:0}.mobile-case-intro p{margin:0;color:var(--muted);font-size:16px;line-height:1.75}
.mobile-feature-section{padding:102px 0 96px;border-bottom:1px solid var(--line)}.mobile-feature-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:80px;align-items:center}.mobile-feature-copy h2{max-width:640px;margin:16px 0 22px;font-size:clamp(34px,4vw,56px);line-height:1.12;letter-spacing:0}.mobile-feature-copy>p{max-width:620px;margin:0;color:var(--muted);font-size:16px;line-height:1.75}.mobile-feature-list{display:grid;gap:0;margin-top:34px;border-top:1px solid var(--line)}.mobile-feature-item{display:grid;grid-template-columns:12px 1fr;gap:13px;align-items:start;padding:16px 0;border-bottom:1px solid var(--line)}.mobile-feature-item>span{width:5px;height:5px;margin-top:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px rgba(121,184,255,.06)}.mobile-feature-item p{margin:0;color:var(--muted);font-size:14px}
.mobile-feature-visual{min-width:0;display:flex;align-items:center;justify-content:flex-end;background:transparent!important;border:0!important;box-shadow:none!important}.mobile-feature-image{display:block;width:min(100%,680px);height:auto;max-height:720px;object-fit:contain;object-position:center;filter:drop-shadow(0 30px 50px rgba(0,0,0,.25));transition:transform .5s cubic-bezier(.2,.8,.2,1)}.mobile-feature-visual:hover .mobile-feature-image{transform:translateY(-6px) scale(1.012)}.mobile-transparent-placeholder{width:min(100%,620px);min-height:460px;display:grid;place-content:center;gap:8px;text-align:center;border:1px dashed rgba(157,180,211,.16);border-radius:18px;background:transparent}.mobile-case-back-section{padding:0 0 92px}
.work .projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.work .project-card{min-width:0}
@media(max-width:1000px){.mobile-video-frame{aspect-ratio:16/8}.mobile-feature-grid{grid-template-columns:1fr;gap:48px}.mobile-feature-visual{justify-content:center}}@media(max-width:900px){.work .projects-grid{grid-template-columns:1fr}}@media(max-width:620px){.mobile-case-hero{padding-top:44px}.mobile-video-frame{aspect-ratio:16/10;border-radius:14px}.mobile-case-intro{margin-top:38px}.mobile-case-intro h1{font-size:40px}.mobile-feature-section{padding:78px 0 72px}.mobile-feature-copy h2{font-size:34px}.mobile-transparent-placeholder{min-height:320px}}

/* SERVICES PAGE */
.nav a.active{color:var(--gold)}.services-more-wrap{margin:28px 0 38px}.services-more-btn{width:max-content}.services-more-btn span{color:var(--gold);font-size:17px}.services-page{padding-top:82px}.services-page-hero{padding:72px 0 110px}.services-page-heading{max-width:760px;margin-bottom:54px}.services-page-heading h1{margin:0 0 20px;font-size:clamp(52px,6vw,82px);line-height:1.04;letter-spacing:-.012em}.services-page-heading p{max-width:700px;margin:0;color:var(--muted);font-size:16px;line-height:1.75}.services-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.service-detail-card{min-height:210px;display:grid;grid-template-columns:112px 1fr;gap:28px;align-items:center;padding:34px;border:1px solid var(--line);border-radius:18px;background:radial-gradient(circle at 8% 50%,rgba(121,184,255,.055),transparent 28%),rgba(11,23,40,.58);backdrop-filter:blur(10px);transition:transform .3s ease,border-color .3s ease,background .3s ease,box-shadow .3s ease}.service-detail-card:hover{transform:translateY(-4px);border-color:rgba(121,184,255,.32);background:radial-gradient(circle at 8% 50%,rgba(121,184,255,.085),transparent 30%),rgba(11,23,40,.72);box-shadow:0 24px 60px rgba(0,0,0,.18)}.service-detail-icon{width:100px;height:100px;display:grid;place-items:center;border:1px solid rgba(121,184,255,.24);border-radius:22px;color:var(--accent);background:rgba(121,184,255,.035);box-shadow:inset 0 0 28px rgba(121,184,255,.035);transition:transform .3s ease,box-shadow .3s ease}.service-detail-card:hover .service-detail-icon{transform:scale(1.035);box-shadow:inset 0 0 30px rgba(121,184,255,.06),0 12px 34px rgba(55,130,230,.09)}.service-detail-icon svg{width:46px;height:46px}.service-detail-copy h2{margin:0 0 10px;font-size:22px;line-height:1.3;letter-spacing:0}.service-detail-copy p{max-width:500px;margin:0;color:var(--muted);font-size:14px;line-height:1.65}@media(max-width:900px){.services-card-grid{grid-template-columns:1fr}.service-detail-card{min-height:190px}}@media(max-width:560px){.services-page-hero{padding:54px 0 80px}.services-page-heading h1{font-size:46px}.service-detail-card{grid-template-columns:68px 1fr;gap:18px;padding:24px 20px}.service-detail-icon{width:64px;height:64px;border-radius:16px}.service-detail-icon svg{width:32px;height:32px}.service-detail-copy h2{font-size:19px}}


/* Homepage: all projects button */
.projects-all-wrap{display:flex;justify-content:center;margin-top:34px}
.projects-all-btn{width:max-content;min-width:220px}
.projects-all-btn span{color:var(--gold);font-size:17px}

/* Projects page */
.projects-page{padding-top:82px}
.projects-page-hero{padding:72px 0 110px}
.projects-page-heading{max-width:780px;margin-bottom:54px}
.projects-page-heading h1{margin:0 0 20px;font-size:clamp(52px,6vw,82px);line-height:1.04;letter-spacing:-.012em}
.projects-page-heading p{max-width:720px;margin:0;color:var(--muted);font-size:16px;line-height:1.75}
.project-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.project-category-card{min-height:290px;display:grid;grid-template-columns:100px 1fr;grid-template-rows:1fr auto;gap:26px;padding:30px;border:1px solid var(--line);border-radius:18px;background:radial-gradient(circle at 8% 25%,rgba(121,184,255,.055),transparent 30%),rgba(11,23,40,.58);backdrop-filter:blur(10px);transition:.3s}
.project-category-card:hover{transform:translateY(-4px);border-color:rgba(121,184,255,.32);box-shadow:0 24px 60px rgba(0,0,0,.18)}
.project-category-icon{width:92px;height:92px}
.project-category-icon svg{width:100%;height:100%;display:block}
.project-category-frame{stroke:rgba(121,184,255,.27);stroke-width:1.3;fill:rgba(121,184,255,.03)}
.project-category-glyph{stroke:var(--accent);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.project-category-content > span{display:none!important}
.project-category-content h2{margin:0 0 10px;font-size:23px;line-height:1.3}
.project-category-content p{margin:0;color:var(--muted);font-size:14px;line-height:1.65}
.project-category-footer{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding-top:18px;border-top:1px solid var(--line)}
.project-category-footer small{color:var(--dim);font-size:11px}
.project-category-footer b{color:var(--accent);font-size:19px;font-weight:400;transition:transform .25s ease}
.project-category-card:hover .project-category-footer b{transform:translateX(4px)}
.category-projects-head{margin-bottom:28px}.category-projects-head a{color:var(--muted);font-size:13px}.category-projects-head a:hover{color:var(--text)}
.category-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.category-project-card{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:rgba(11,23,40,.62);transition:.3s}
.category-project-card:hover{transform:translateY(-4px);border-color:rgba(121,184,255,.30);box-shadow:0 26px 65px rgba(0,0,0,.20)}
.category-project-cover{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--bg-soft)}
.category-project-cover img{width:100%;height:100%;object-fit:contain;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.category-project-card:hover .category-project-cover img{transform:scale(1.018)}
.category-project-meta{padding:24px}
.category-project-meta>span{display:none!important}
.category-project-meta h2{margin:0 0 10px;font-size:22px}.category-project-meta p{margin:0 0 20px;color:var(--muted);font-size:14px;line-height:1.65}
.projects-empty{padding:60px;border:1px solid var(--line);border-radius:18px;background:rgba(11,23,40,.5)}
.projects-empty>span{display:none!important}.projects-empty h2{margin:0 0 8px;font-size:26px}.projects-empty p{margin:0;color:var(--muted)}
@media(max-width:900px){.project-category-grid,.category-project-grid{grid-template-columns:1fr}}
@media(max-width:560px){.project-category-card{grid-template-columns:70px 1fr;gap:18px;padding:22px 20px;min-height:250px}.project-category-icon{width:64px;height:64px}.project-category-content h2{font-size:20px}.projects-empty{padding:34px 24px}}


/* =========================================================
   SERVICES ICONS
   Same construction as project category icons:
   frame + glyph are one SVG and move together.
   ========================================================= */

.service-detail-icon {
  width: 92px;
  height: 92px;
  display: block;
  flex: 0 0 92px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  transition: transform .3s ease, filter .3s ease;
}

.service-detail-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.service-icon-frame {
  fill: rgba(121, 184, 255, .03);
  stroke: rgba(121, 184, 255, .27);
  stroke-width: 1.3;
}

.service-icon-glyph {
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-detail-card:hover .service-detail-icon {
  transform: translateY(-4px);
  filter: drop-shadow(0 12px 24px rgba(60, 135, 235, .14));
}

.service-detail-card:hover .service-detail-icon svg {
  transform: none;
}

@media (max-width: 560px) {
  .service-detail-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
}

/* =========================================================
   DYNAMIC PUBLIC PROJECTS
   Desktop: wide screenshots = 4 columns
   Tablet: 2 columns
   Mobile: 1 column
   ========================================================= */

.dynamic-project-page {
  padding-top: 82px;
}

.dynamic-project-hero {
  padding: 58px 0 88px;
  border-bottom: 1px solid var(--line);
}

.dynamic-full-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dynamic-wide-cover {
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-soft);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.20);
  transition: transform 0.32s ease,
              border-color 0.32s ease,
              box-shadow 0.32s ease;
}

.dynamic-wide-cover:hover {
  transform: translateY(-4px);
  border-color: rgba(121, 184, 255, 0.30);
  box-shadow: 0 34px 82px rgba(0, 0, 0, 0.25);
}

.dynamic-wide-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dynamic-project-copy {
  max-width: 780px;
  margin-top: 52px;
}

.dynamic-project-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.dynamic-project-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.dynamic-project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.dynamic-project-gallery.is-wide-screens {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dynamic-gallery-item {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
  transition: transform 0.32s ease,
              border-color 0.32s ease,
              box-shadow 0.32s ease;
}

.dynamic-project-gallery.is-wide-screens .dynamic-gallery-item {
  aspect-ratio: 16 / 10;
}

.dynamic-gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(121, 184, 255, 0.34);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

.dynamic-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dynamic-gallery-item:hover img {
  transform: scale(1.025);
}

@media (max-width: 900px) {
  .dynamic-project-gallery,
  .dynamic-project-gallery.is-wide-screens {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .dynamic-project-gallery,
  .dynamic-project-gallery.is-wide-screens {
    grid-template-columns: 1fr;
  }

  .dynamic-wide-cover {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }
}


/* Custom SVG icons */
.service-icon-combined > svg,
.project-category-icon svg > svg{
  overflow:visible;
}

.service-icon-combined > svg *{
  stroke:var(--accent);
}

.project-category-icon svg > svg *{
  stroke:var(--accent);
}

.service-icon-combined > svg [fill]:not([fill="none"]),
.project-category-icon svg > svg [fill]:not([fill="none"]){
  fill:var(--accent);
}


/* Dynamic Project Builder */
.project-preview-bar{
  position:fixed;
  inset:0 0 auto 0;
  z-index:1000;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:8px 18px;
  border-bottom:1px solid rgba(255,255,255,.12);
  background:#08152b;
  color:#9faec7;
  font-size:12px;
}

.project-preview-bar strong{
  color:#63d9ff;
  letter-spacing:.12em;
  font-size:10px;
}

.project-preview-bar a{
  color:#fff;
  text-decoration:none;
}

.site-header.has-preview-bar{
  top:42px;
}

.dynamic-project-page.is-previewing{
  padding-top:42px;
}

.project-builder-section{
  position:relative;
  padding:74px 0;
}

.project-builder-section + .project-builder-section{
  border-top:1px solid rgba(255,255,255,.055);
}

.builder-text-block{
  max-width:900px;
}

.builder-text-block h2,
.builder-section-heading h2,
.builder-split-copy h2,
.builder-cta h2{
  margin:12px 0 18px;
  font-size:clamp(32px,4vw,58px);
  line-height:1.04;
  letter-spacing:-.035em;
}

.builder-text-block h3,
.builder-split-copy h3{
  margin:-5px 0 18px;
  color:#a9b6ca;
  font-size:18px;
  font-weight:500;
}

.builder-body,
.builder-section-heading p,
.builder-cta p{
  color:#aeb9cc;
  font-size:17px;
  line-height:1.78;
}

.builder-split{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(340px,.9fr);
  gap:70px;
  align-items:center;
}

.builder-split.media-left .builder-split-media{
  order:-1;
}

.builder-split-media{
  margin:0;
}

.builder-split-media img,
.builder-split-media video{
  display:block;
  width:100%;
  max-height:680px;
  object-fit:contain;
  border-radius:22px;
}

.builder-split-media figcaption,
.builder-gallery-figure figcaption{
  margin-top:10px;
  color:#72819a;
  font-size:12px;
  line-height:1.5;
}

.builder-section-heading{
  max-width:800px;
  margin-bottom:34px;
}

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

.builder-metric{
  min-height:160px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:24px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  background:rgba(255,255,255,.025);
}

.builder-metric strong{
  color:#f5f8ff;
  font-size:clamp(30px,4vw,52px);
  line-height:1;
  letter-spacing:-.04em;
}

.builder-metric span{
  margin-top:20px;
  color:#8795ad;
  font-size:13px;
  line-height:1.5;
}

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

.builder-gallery-figure{
  margin:0;
}

.builder-gallery-figure .dynamic-gallery-item{
  width:100%;
}

.builder-quote{
  max-width:1000px;
  margin:0;
  padding:42px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:24px;
  background:rgba(255,255,255,.025);
}

.builder-quote p{
  margin:14px 0 24px;
  color:#eef4ff;
  font-size:clamp(25px,3.5vw,44px);
  line-height:1.25;
  letter-spacing:-.025em;
}

.builder-quote cite{
  display:block;
  color:#bac6d8;
  font-style:normal;
  font-weight:600;
}

.builder-quote > span{
  display:block;
  margin-top:4px;
  color:#6f7e96;
  font-size:13px;
}

.builder-cta{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:50px;
  padding:42px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:24px;
  background:rgba(255,255,255,.025);
}

.builder-cta > div:first-child{
  max-width:760px;
}

.builder-cta-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  flex-shrink:0;
}

.project-builder-back{
  padding:20px 0 70px;
}

@media (max-width: 900px){
  .project-preview-bar{
    justify-content:flex-start;
    overflow:auto;
    white-space:nowrap;
  }

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

  .builder-split.media-left .builder-split-media{
    order:0;
  }

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

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

  .builder-cta{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media (max-width: 560px){
  .project-builder-section{
    padding:54px 0;
  }

  .builder-metrics{
    grid-template-columns:1fr;
  }

  .builder-quote,
  .builder-cta{
    padding:26px;
  }
}


/* Language switcher */
.language-switcher{
  display:flex;
  align-items:center;
  gap:4px;
  padding:3px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  background:rgba(7,17,31,.55);
  backdrop-filter:blur(12px);
}
.lang-link{
  min-width:30px;
  height:26px;
  display:grid;
  place-items:center;
  padding:0 7px;
  border-radius:999px;
  color:rgba(255,255,255,.55);
  font-size:10px;
  font-weight:700;
  letter-spacing:.06em;
  text-decoration:none;
  transition:.2s ease;
}
.lang-link:hover{color:#fff}
.lang-link.active{
  color:#fff;
  background:rgba(255,255,255,.11);
}
@media(max-width:780px){
  .language-switcher{margin-left:auto}
  .lang-link{min-width:28px;padding:0 6px}
}
