:root {
  --bg: #08283f;
  --bg-card: #173a56;
  --bg-card-2: #1a4463;
  --text: #f4f7fb;
  --text-soft: rgba(244, 247, 251, 0.85);
  --text-muted: rgba(255, 255, 255);
  --line: rgba(255, 255, 255, 0.8);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  padding: 34px 0 18px;
  overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("./images/bg_mobile.png");
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center top;
    z-index: 0;
    pointer-events: none;
  }

.header-shell {
  width: min(calc(100% - 20px), 1400px);
  margin: 0 auto;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 10px;
}

.brand {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: white;
  white-space: nowrap;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: white;
  display: block;
  border-radius: 20px;
}

.main-nav {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 10px;
  left: 10px;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(10, 31, 47, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.main-nav a {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  padding: 34px 0 18px;
  min-height: 520px;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.hero-title-wrap img{
  width: 80%;
  height: auto;
}

.title-image {
  color: white;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.title-kicker {
  font-size: clamp(1rem, 4vw, 2rem);
}

.title-name {
  font-size: clamp(2.2rem, 11vw, 5rem);
  line-height: 0.9;
}

.hero-intro-card {
  width: min(100%, 760px);
  margin: 56px auto 0;
  padding: 18px 16px;
  background: rgba(19, 58, 74, 0.92);
  border: 1px solid transparent;
  border-image: linear-gradient(
    90deg,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0.05) 100%
  ) 1;
  box-shadow: var(--shadow);
  text-align: center;
}

.hero-intro-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.section-title-wrap {
  margin-bottom: 22px;
}

.section-title-image {
  font-size: clamp(1.8rem, 7vw, 3rem);
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.case-studies {
  position: relative;
  padding: 40px 0 50px;
}

.case-grid {
 /* display: grid; */
  grid-template-columns: 1fr;
  gap: 80px;
  padding-top: 44px;
  display: grid;
  flex-direction: column;
  align-items: center;
}

.case-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 52px;
  gap: 24px;
}

.case-laptop-wrap {
  position:absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: min(85vw, 440px);
  z-index: 2;
}

.case-laptop-wrap img{
  width: 100%;
  height: auto;
}

.mockup-placeholder {
  height: 150px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2b5a7d, #173a56);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.case-card-body {
  background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card));
  border: 1px solid rgba(166, 208, 232, 0.16);
  border-radius: 18px;
  padding: 180px 18px 16px;
  box-shadow: var(--shadow);
}

.case-eyebrow {
  margin: 0 0 8px;
 /* font-size: 0.7rem; */
 font-size: 16px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.case-title {
  margin: 0 0 14px;
 /* font-size: clamp(1.25rem, 6vw, 2.1rem); */
  font-size: 30px;
  line-height: 0.98;
  color: #99CDD3;
}

.case-description {
  margin: 0 0 20px;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--text-soft);
}

.lottie-button {
  position: relative;
  display: inline-block;
  width: 316px;
  height: 90px;
  overflow: hidden;
  text-decoration: none;
}

.lottie-slot {
  width: 100%;
  height: 128px;
}

.lottie-slot svg {
  width: 100% !important;
  height: 128px !important;
  display: block;
}

.button-label {
  position: relative;
  z-index: 2;
  font-weight: 600;
  font-size: 0.94rem;
  color: rgba(255, 248, 242, 0.98);
}

.about {
  padding: 24px 0 56px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.about-image-wrap {
  width: min(72vw, 260px);
  margin: 0 auto;
}

.portrait-placeholder {
  aspect-ratio: 1 / 1.2;
  border-radius: 20px;
  background: linear-gradient(180deg, #1d4765, #10314b);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-copy p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 14px 0 18px;
  background: rgba(255, 255, 255, 0.03);
}

.site-footer p {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
}

.brush {
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
  filter: blur(0.2px);
  z-index: 1;
}

.brush-1 {
  top: -10px;
  left: -30px;
  width: 180px;
  height: 34px;
  background: #d5a3b1;
  transform: rotate(-35deg);
}

.brush-2 {
  top: 8px;
  right: -20px;
  width: 140px;
  height: 34px;
  background: #cbe6e2;
  transform: rotate(-18deg);
}

.brush-3 {
  top: 160px;
  left: -20px;
  width: 140px;
  height: 34px;
  background: #cbe6e2;
  transform: rotate(52deg);
}

.brush-4 {
  top: 180px;
  right: -35px;
  width: 170px;
  height: 34px;
  background: #d5a3b1;
  transform: rotate(45deg);
}

@media (min-width: 768px) {
  .container {
    width: min(calc(100% - 56px), var(--container));
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 26px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .main-nav a {
    padding: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
  }

  .hero {
    position: relative;
    padding: 34px 0 18px;
    overflow: hidden;
  }


  .hero::before {
    background-image: url("./images/BG_desktop.png");
    background-position: center top;
    background-size: cover;
  }

  .hero-title-wrap img{
    width: 45%;
    height: auto;
  }

  .title-kicker {
    font-size: clamp(1.2rem, 2vw, 2rem);
  }

  .title-name {
    font-size: clamp(4rem, 7vw, 6.6rem);
  }

  .hero-intro-card {
    padding: 20px 26px;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 80px 36px;
  }

  .case-card {
    padding-top: 64px;
  }

  .case-laptop-wrap {
    width: min(38vw, 480px);
  }

  .mockup-placeholder {
    height: 180px;
  }

  .case-card-body {
    padding: 126px 24px 24px;
    min-height: 420px;
  }

  .about-grid {
    grid-template-columns: 340px 1fr;
    gap: 44px;
    align-items: center;
  }

  .about-image-wrap {
    width: 100%;
    margin: 0;
  }
}

@media (min-width: 1100px) {
  .title-name {
    font-size: 6.8rem;
  }

  .hero {
    padding: 34px 0 96px;
  }

  .hero-title-wrap img{
    width: 45%;
    height: auto;
  }

  .hero-intro-card {
    width: 680px;
  }
  
  .case-laptop-wrap {
    width: min(30vw, 380px);
  }

  .case-card-body {
    min-height: 440px;
  }

  .about-grid {
    grid-template-columns: 390px 1fr;
    gap: 56px;
  }

  .about-copy p {
    max-width: 700px;
  }
}