/* Godicsoft 2.0 — light design system (logo-aligned) */
@font-face {
  font-family: 'Syne';
  src: url('/assets/fonts/syne-var-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Syne';
  src: url('/assets/fonts/syne-var-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-var-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-var-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Logo ink / accent */
  --ink: #0c3048;
  --ink-soft: #1a4a66;
  --muted: #5a6b7d;
  --accent: #0078e4;
  --accent-hover: #0066c2;
  --accent-soft: rgba(0, 120, 228, 0.1);
  --logo-green: #3cb448;
  --logo-orange: #fc9024;

  --surface: #f7fafc;
  --surface-2: #ffffff;
  --surface-3: #e8eef5;
  --border: rgba(12, 48, 72, 0.12);
  --border-strong: rgba(12, 48, 72, 0.2);

  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;
  --sp-9: 7rem;
  --r-sm: 0.5rem;
  --r-md: 0.85rem;
  --r-lg: 1.25rem;
  --r-xl: 1.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 5rem;
  --max: 72rem;
  --shadow: 0 18px 50px rgba(12, 48, 72, 0.09);
  --shadow-sm: 0 6px 24px rgba(12, 48, 72, 0.05);
  --shadow-lg: 0 32px 80px rgba(12, 48, 72, 0.12);
  --glow-accent: 0 18px 44px rgba(0, 120, 228, 0.18);
  --ink-deep: #061523;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(0, 120, 228, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(60, 180, 72, 0.06), transparent 50%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: var(--sp-8) 0; }
.section-band {
  position: relative; overflow: hidden;
  background: var(--surface-2);
  border-block: 1px solid var(--border);
}
.section-kicker {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 var(--sp-3);
}
.section-kicker::before {
  content: ""; width: 1.75rem; height: 2px; border-radius: 2px; flex-shrink: 0;
  background: linear-gradient(90deg, var(--accent), rgba(0, 120, 228, 0.15));
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.12;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
.section-lead {
  color: var(--muted); max-width: 38rem; margin: 0 0 var(--sp-6); font-size: 1.05rem;
  line-height: 1.65;
}

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease),
    border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, #1a89f0 0%, var(--accent) 55%, #0069c9 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 120, 228, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(0, 120, 228, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--border-strong); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: rgba(0, 120, 228, 0.45); color: var(--accent);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--glow-accent);
}

/* Header — OnderTur / Üstün Şekerleme pattern */
.header {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.25s ease;
}
.header.is-transparent {
  background: transparent;
  box-shadow: none;
}
.header.is-solid,
.header.is-menu-open {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 -1px 0 rgba(12, 48, 72, 0.08);
}
.header.is-elevated {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 -1px 0 rgba(12, 48, 72, 0.08), 0 12px 40px rgba(12, 48, 72, 0.07);
}
/* Light nav over dark home hero */
.header.is-transparent.is-over-dark .nav-menu > li > a:not(.btn-contact) {
  color: rgba(255, 255, 255, 0.9);
}
.header.is-transparent.is-over-dark .nav-menu > li > a:not(.btn-contact):hover,
.header.is-transparent.is-over-dark .nav-menu > li > a:not(.btn-contact).active {
  color: #fff;
}
.header.is-transparent.is-over-dark .nav-menu > li > a:not(.btn-contact)::after {
  background: #fff;
}
.header.is-transparent.is-over-dark .lang-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.header.is-transparent.is-over-dark .lang-toggle-btn { color: rgba(255, 255, 255, 0.62); }
.header.is-transparent.is-over-dark .lang-toggle-btn:hover { color: #fff; }
.header.is-transparent.is-over-dark .lang-toggle-btn.active {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.header.is-transparent.is-over-dark .logo-word {
  filter: brightness(0) invert(1);
}
.header.is-transparent.is-over-dark .hamburger span { background: #fff; }
.header.is-transparent.is-over-dark .btn-contact {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.75rem; flex-shrink: 0;
}
.logo-mark {
  height: 48px; width: 48px; object-fit: contain;
  transition: height 0.3s var(--ease);
}
.logo-word {
  height: 15px; width: auto; object-fit: contain;
  transition: height 0.3s var(--ease);
}
.header.is-solid .logo-mark { height: 42px; width: 42px; }
.header.is-solid .logo-word { height: 13px; }

.nav { display: flex; align-items: center; gap: 0.5rem; }
.nav-menu {
  display: flex; align-items: center; gap: 0.25rem 0.95rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-menu a {
  position: relative;
  font-size: 0.88rem; font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
@media (min-width: 1200px) {
  .nav-menu { gap: 0.35rem 1.15rem; }
  .nav-menu a { font-size: 0.92rem; }
}
.nav-menu > li > a:not(.btn-contact)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-menu > li > a:not(.btn-contact):hover::after,
.nav-menu > li > a:not(.btn-contact).active::after {
  transform: scaleX(1);
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--ink); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  margin-left: 0.15rem;
  flex-shrink: 0;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(12, 48, 72, 0.06);
  border: 1px solid rgba(12, 48, 72, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.22s var(--ease), background 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.lang-toggle-btn:hover { color: var(--ink); }
.lang-toggle-btn.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 10px rgba(12, 48, 72, 0.12);
}
.lang-toggle-btn::after { display: none !important; }

.btn-contact {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.2rem !important;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 8px 22px rgba(0, 120, 228, 0.22);
  transition: background 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.btn-contact:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  color: #fff !important;
}
.btn-contact::after { display: none !important; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  cursor: pointer; position: relative; z-index: 2;
  padding: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px; margin: 5px auto;
  background: var(--ink); border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 968px) {
  .nav-menu .lang-switch {
    display: flex;
    margin: 1.15rem 0 0;
    padding: 1.15rem 0 0;
    border-top: 1px solid rgba(12, 48, 72, 0.1);
    width: 100%;
    justify-content: stretch;
  }
  .nav-menu .lang-switch .lang-toggle {
    width: 100%;
    padding: 5px;
    background: rgba(12, 48, 72, 0.07);
    border: 1px solid rgba(12, 48, 72, 0.12);
    box-shadow: 0 4px 14px rgba(12, 48, 72, 0.06);
  }
  .nav-menu .lang-switch .lang-toggle-btn {
    flex: 1;
    min-width: 0;
    padding: 0.78rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
  }
  .nav-menu .lang-switch .lang-toggle-btn:hover {
    color: var(--ink);
  }
  .nav-menu .lang-switch .lang-toggle-btn.active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 4px 16px rgba(12, 48, 72, 0.14);
  }
  .hamburger { display: block; }
  .logo-mark { height: 40px; width: 40px; }
  .logo-word { height: 12px; }

  .header.is-menu-open {
    background: #fff;
    box-shadow: 0 1px 0 rgba(12, 48, 72, 0.08);
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.35rem 1.25rem 1.5rem;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: 0 24px 48px rgba(12, 48, 72, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  }
  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-menu > li:not(.lang-switch) {
    margin: 0;
    border-bottom: 1px solid rgba(12, 48, 72, 0.08);
  }
  .nav-menu > li:has(.btn-contact) {
    border-bottom: 0;
    margin-top: 1rem;
    padding-top: 0.15rem;
  }

  .nav-menu > li:not(.lang-switch) > a:not(.btn-contact) {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1.1rem 0.15rem;
    border-radius: 0;
    font-size: 1.12rem;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--ink) !important;
    background: transparent;
  }
  .nav-menu > li > a:not(.btn-contact)::after { display: none; }

  .nav-menu > li:not(.lang-switch) > a:not(.btn-contact):hover,
  .nav-menu > li:not(.lang-switch) > a:not(.btn-contact):focus-visible {
    color: var(--accent) !important;
    background: transparent;
  }

  .nav-menu > li:not(.lang-switch) > a:not(.btn-contact).active,
  .nav-menu > li:not(.lang-switch) > a:not(.btn-contact)[aria-current="page"] {
    color: var(--accent) !important;
    font-weight: 700;
    background: transparent;
  }
  .nav-menu a.active::before,
  .nav-menu a[aria-current="page"]::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 0.75rem;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }

  .nav-menu .btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 1.1rem 1.25rem !important;
    border-radius: 14px !important;
    border: none !important;
    background: var(--accent) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    letter-spacing: -0.01em;
    box-shadow: 0 12px 32px rgba(0, 120, 228, 0.38) !important;
    transform: none;
  }
  .nav-menu .btn-contact::before { display: none; }
  .nav-menu .btn-contact:hover,
  .nav-menu .btn-contact:focus-visible {
    background: var(--accent-hover) !important;
    color: #fff !important;
    box-shadow: 0 14px 36px rgba(0, 120, 228, 0.42) !important;
    transform: none;
  }
}

/* Hero — light OnderTur layout: full-bleed photo, left copy, dark type */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 5rem;
  color: #fff;
  overflow: hidden;
  background: #071522;
}
.hero-media, .page-hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 35%;
}
.page-hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 35%;
}
@media (max-width: 640px) {
  .hero-media img,
  .page-hero-media img { object-position: center 42%; }
}
.page-hero--dark .page-hero-media img { opacity: 0.62; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(7, 21, 34, 0.92) 0%,
      rgba(7, 21, 34, 0.78) 36%,
      rgba(7, 21, 34, 0.42) 58%,
      rgba(7, 21, 34, 0.18) 78%,
      rgba(7, 21, 34, 0.08) 100%
    ),
    linear-gradient(180deg, rgba(7, 21, 34, 0.35) 0%, transparent 40%, rgba(7, 21, 34, 0.55) 100%);
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(247, 250, 252, 0.82) 0%,
    rgba(247, 250, 252, 0.92) 55%,
    var(--surface) 100%
  );
}
.page-hero--dark .page-hero-overlay {
  background:
    linear-gradient(
      105deg,
      rgba(7, 21, 34, 0.94) 0%,
      rgba(7, 21, 34, 0.82) 38%,
      rgba(7, 21, 34, 0.5) 62%,
      rgba(7, 21, 34, 0.28) 82%,
      rgba(7, 21, 34, 0.15) 100%
    ),
    linear-gradient(180deg, rgba(7, 21, 34, 0.4) 0%, transparent 42%, rgba(7, 21, 34, 0.65) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
  /* keep shared .container gutters — do not force full bleed */
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 38rem;
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 42rem;
}
.page-hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  /* width from .container — do not set width:100% or gutters collapse */
  padding-block: calc(var(--header-h) + 3rem) 3.5rem;
  min-height: 52svh;
}
.page-hero--split .page-hero-inner { min-height: 56svh; }
.page-hero-content,
.page-hero-aside {
  position: relative;
  z-index: 2;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.download-status {
  margin: 1rem 0 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 1.5em;
}
.download-status {
  margin: 1rem 0 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.5;
  min-height: 1.5em;
}
.page-hero-aside {
  flex-shrink: 0;
  align-self: center;
}
.page-hero--dark {
  color: #fff;
  background: #071522;
  min-height: auto;
  padding: 0;
  display: block;
}
.page-hero--dark .section-kicker { color: #7ec4ff; }
.page-hero--dark .section-kicker::before {
  background: linear-gradient(90deg, #7ec4ff, rgba(126, 196, 255, 0.1));
}
.page-hero--dark .section-title {
  color: #fff;
  font-size: clamp(2.35rem, 6vw, 4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}
.page-hero--dark .section-title em {
  font-style: normal;
  color: #7ec4ff;
}
.page-hero--dark .section-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  max-width: 38ch;
}
.page-hero--dark .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 120, 228, 0.35);
}
.page-hero--dark .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}
.page-hero--dark .btn-secondary:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
@media (max-width: 900px) {
  .page-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding-bottom: 2.5rem;
  }
  .page-hero-aside {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}
.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.1vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  /* brand name — never locale-cased (tr would turn "i" into "İ") */
  text-transform: none;
  margin: 0 0 1.35rem;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  border-radius: 999px;
  color: #bfe0ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero-brand::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--logo-green);
  box-shadow: 0 0 0 4px rgba(60, 180, 72, 0.18);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6.5vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 1.2rem;
  max-width: 15ch;
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  color: #7ec4ff;
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  max-width: 36ch;
  margin: 0 0 2rem;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 120, 228, 0.35);
}
.hero .btn-primary:hover { background: var(--accent-hover); color: #fff; }
.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}
.hero .btn-secondary:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 2.75rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  animation: scroll-cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scroll-cue {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(6, 21, 35, 0.65));
}

.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero .section-title { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 0.5rem; }
.page-hero .section-lead { color: var(--ink-soft); }
.page-hero--dark .section-lead { color: rgba(255, 255, 255, 0.78); }

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background:
    linear-gradient(90deg, var(--surface) 0%, transparent 8%, transparent 92%, var(--surface) 100%),
    linear-gradient(180deg, #f0f5f9 0%, var(--surface) 45%, #f0f5f9 100%);
  padding: 1.15rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: max-content;
  padding-inline: 0.5rem;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.05rem 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(12, 48, 72, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 2px rgba(12, 48, 72, 0.04);
  white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.marquee-item:hover {
  border-color: rgba(0, 120, 228, 0.35);
  box-shadow: 0 4px 14px rgba(12, 48, 72, 0.08);
  transform: translateY(-1px);
}
.marquee-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.marquee-label {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Cards / grids */
.work-grid, .services-grid, .tech-grid, .blog-grid, .team-grid {
  display: grid; gap: 1.25rem;
}
.work-grid { grid-template-columns: 1fr; gap: 1.35rem; }
@media (min-width: 640px) {
  .work-grid:not(.work-grid--web):not(.work-grid--mobile) { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .work-grid:not(.work-grid--web):not(.work-grid--mobile) { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 640px) { .work-grid--mobile { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .work-grid--mobile { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .work-grid--mobile { grid-template-columns: repeat(4, 1fr); } }
.section-projects { padding-block: 3.75rem 2.75rem; }
.section-projects--web {
  padding-block: 2.75rem 4.75rem;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 120, 228, 0.06), transparent 65%),
    linear-gradient(180deg, #f3f7fb 0%, var(--surface) 55%);
}
.section-projects .section-title { font-size: clamp(1.75rem, 2.8vw, 2.25rem); margin-bottom: 0.45rem; letter-spacing: -0.02em; }
.section-projects .section-lead { margin-bottom: 2rem; max-width: 42rem; }
.work-grid--web { grid-template-columns: 1fr; }
@media (min-width: 640px) { .work-grid--web { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid--web { grid-template-columns: repeat(3, 1fr); } }

.work-card {
  display: flex; flex-direction: column;
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid rgba(12, 48, 72, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 14px 40px rgba(12, 48, 72, 0.06);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  position: relative;
  isolation: isolate;
}
.work-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(0, 120, 228, 0.12), transparent 58%);
  transition: opacity 0.45s var(--ease);
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 120, 228, 0.28);
  box-shadow: 0 28px 60px rgba(12, 48, 72, 0.14);
}
.work-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.work-card:hover::after { opacity: 1; }
.work-card-media {
  aspect-ratio: 4/5; overflow: hidden;
  background: linear-gradient(180deg, #eef4fa 0%, #e4edf6 100%);
  position: relative;
}
.work-card-media--web { aspect-ratio: 16/10; }
.work-card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.6s var(--ease);
}
.work-card:hover .work-card-media img { transform: scale(1.05); }
.work-card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 21, 34, 0.18) 0%, transparent 32%, rgba(7, 21, 34, 0.22) 100%);
  pointer-events: none;
}
.work-card-chip {
  position: absolute; top: 0.8rem; left: 0.8rem;
  z-index: 2;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  color: #fff;
  background: rgba(7, 21, 34, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}
.work-card-body {
  padding: 0 1.15rem 1.25rem;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; flex: 1;
}
.work-card-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem;
  margin-top: -1.85rem; margin-bottom: 0.75rem;
}
.work-card-icon {
  width: 3.4rem; height: 3.4rem;
  border-radius: 1rem;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 10px 26px rgba(12, 48, 72, 0.18);
  background: #fff;
  transition: transform 0.45s var(--ease);
}
.work-card:hover .work-card-icon { transform: translateY(-2px) scale(1.04); }
.work-card-icon--mono {
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  color: #fff;
  background: linear-gradient(150deg, var(--accent) 0%, #0c3048 100%);
}
.work-card-plats { display: flex; gap: 0.3rem; padding-bottom: 0.3rem; }
.work-card-plat {
  width: 1.65rem; height: 1.65rem;
  display: grid; place-items: center;
  border-radius: 0.55rem;
  color: var(--muted);
  background: rgba(12, 48, 72, 0.05);
  border: 1px solid rgba(12, 48, 72, 0.07);
  transition: color 0.4s var(--ease), background 0.4s var(--ease);
}
.work-card-plat .store-icon { width: 0.85rem; height: 0.85rem; }
.work-card:hover .work-card-plat { color: var(--accent); background: rgba(0, 120, 228, 0.09); }
.work-card-title {
  font-family: var(--font-display); font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  margin: 0 0 0.3rem; color: var(--ink); letter-spacing: -0.02em;
}
.work-card-tag { color: var(--muted); font-size: 0.88rem; margin: 0 0 1rem; line-height: 1.45; }
.work-card-foot {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(12, 48, 72, 0.07);
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.work-card-stack { display: flex; flex-wrap: wrap; gap: 0.3rem; min-width: 0; }
.work-card-stack span {
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem; font-weight: 600;
  color: var(--muted);
  background: rgba(12, 48, 72, 0.05);
  white-space: nowrap;
}
.work-card-arrow {
  width: 2rem; height: 2rem; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(0, 120, 228, 0.09);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.work-card-arrow svg { width: 0.95rem; height: 0.95rem; }
.work-card:hover .work-card-arrow {
  transform: translateX(4px);
  background: var(--accent);
  color: #fff;
}

/* Projects index — stat bar, jump links, section heads */
.projects-bar {
  position: relative;
  z-index: 3;
  margin-top: -2.5rem;
}
.projects-bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.6rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(12, 48, 72, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 54px rgba(12, 48, 72, 0.12);
  backdrop-filter: blur(14px);
}
.projects-stats { display: flex; flex-wrap: wrap; gap: 1.75rem; }
.projects-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--ink);
}
.projects-stat span {
  display: block; margin-top: 0.3rem;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.projects-jump { display: flex; gap: 0.5rem; }
.projects-jump a {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem; font-weight: 600;
  color: var(--ink);
  border: 1px solid rgba(12, 48, 72, 0.1);
  background: var(--surface);
  transition: color 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.projects-jump a:hover {
  color: #fff; background: var(--accent); border-color: var(--accent);
}
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section-head .section-lead { margin-bottom: 0; }
.count-chip {
  display: inline-grid; place-items: center;
  min-width: 1.9rem; height: 1.9rem; padding: 0 0.5rem;
  margin-left: 0.65rem;
  border-radius: 999px;
  font-family: var(--font-body, inherit);
  font-size: 0.85rem; font-weight: 700;
  color: var(--accent);
  background: rgba(0, 120, 228, 0.1);
  border: 1px solid rgba(0, 120, 228, 0.16);
  vertical-align: middle;
}

.services-grid { grid-template-columns: 1fr; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card {
  position: relative;
  padding: 2rem; border-radius: var(--r-xl); border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); min-height: 12rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(0, 120, 228, 0.1), transparent 60%);
  transition: opacity 0.4s var(--ease);
}
.service-card:hover {
  border-color: rgba(0, 120, 228, 0.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-card:hover::after { opacity: 1; }
.service-card h3 {
  font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 0.5rem; color: var(--ink);
}
.service-card p { color: var(--muted); margin: 0; line-height: 1.55; }

.process-steps {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .process-steps { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  padding: 1.5rem; border-top: 3px solid var(--accent);
  background: var(--surface-2); border-radius: 0 0 var(--r-md) var(--r-md);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.process-step .num {
  font-family: var(--font-display); color: var(--accent); font-size: 0.85rem;
  letter-spacing: 0.12em; font-weight: 700;
}
.process-step h3 { font-family: var(--font-display); margin: 0.5rem 0; font-size: 1.2rem; color: var(--ink); }
.process-step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.section-stats {
  background: var(--surface-2);
  border-block: 1px solid var(--border);
  padding: var(--sp-7) 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}
@media (min-width: 800px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}
.stat-item { text-align: center; position: relative; }
@media (min-width: 800px) {
  .stat-item + .stat-item::before {
    content: "";
    position: absolute;
    left: -0.75rem;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-strong), transparent);
  }
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  background: linear-gradient(160deg, #1a89f0 0%, var(--ink) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  margin-top: 0.45rem;
}

.tech-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
.tech-item {
  padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface-2);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.tech-item:hover {
  border-color: rgba(0, 120, 228, 0.3);
  box-shadow: 0 6px 18px rgba(12, 48, 72, 0.06);
  transform: translateY(-2px);
}
.tech-item-icon {
  width: 36px; height: 36px; display: block; margin-bottom: 0.85rem;
  object-fit: contain;
}
.tech-item h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 0.35rem; color: var(--ink); }
.tech-item p { color: var(--muted); margin: 0; font-size: 0.88rem; }

/* Case study */
.case-hero-phone {
  width: min(240px, 70vw); margin: 1.5rem auto 0; border-radius: 1.5rem; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface-2);
}
.case-hero-phone img { width: 100%; aspect-ratio: 9/19; object-fit: cover; object-position: top; }
.case-hero-web {
  width: min(720px, 92%); margin: 1.5rem auto 0; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--surface-2);
}
.case-hero-web img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; display: block; }
.prose { max-width: 42rem; }
.prose h2 {
  font-family: var(--font-display); font-size: 1.6rem; margin: 2.5rem 0 0.75rem; color: var(--ink);
}
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.stack-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0; }
.stack-pills span {
  padding: 0.35rem 0.7rem; border-radius: var(--r-sm); border: 1px solid var(--border);
  font-size: 0.8rem; color: var(--ink); background: var(--surface-2);
}
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) { .shot-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }
@media (min-width: 1024px) { .shot-grid { grid-template-columns: repeat(4, 1fr); gap: 1.15rem; } }
.shot-tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: var(--r-lg);
  text-align: left;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.shot-tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.shot-tile:hover { transform: translateY(-4px) scale(1.02); }
.shot-tile-frame {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, #eef4fb 0%, #f8fbff 45%, #e8f0fa 100%);
  box-shadow: 0 10px 28px rgba(12, 48, 72, 0.08);
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.shot-tile:hover .shot-tile-frame {
  border-color: rgba(0, 120, 228, 0.28);
  box-shadow: 0 18px 44px rgba(0, 120, 228, 0.14);
}
.shot-tile-frame img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 9 / 16;
}
.shot-tile-frame--web img { aspect-ratio: 16 / 10; }
.shot-tile-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: var(--r-lg);
  background: rgba(7, 21, 34, 0.42);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.shot-tile-overlay svg { width: 1.75rem; height: 1.75rem; }
.shot-tile:hover .shot-tile-overlay,
.shot-tile:focus-visible .shot-tile-overlay { opacity: 1; }
.shot-grid--web { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .shot-grid--web { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .shot-grid--web { grid-template-columns: repeat(4, 1fr); } }

.shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(4, 12, 20, 0.92);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.shot-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.shot-lightbox-panel {
  position: relative;
  width: min(920px, 96vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.shot-lightbox-figure {
  margin: 0;
  width: 100%;
  max-height: calc(90vh - 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shot-lightbox-figure img {
  max-width: 100%;
  max-height: calc(90vh - 3rem);
  width: auto;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}
.shot-lightbox-figure.is-web img { max-width: min(920px, 96vw); }
.shot-lightbox-figure.is-phone img { max-width: min(360px, 78vw); }
.shot-lightbox-caption {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  text-align: center;
}
.shot-lightbox-close,
.shot-lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.shot-lightbox-close:hover,
.shot-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}
.shot-lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  z-index: 3;
}
.shot-lightbox-close svg { width: 1.15rem; height: 1.15rem; }
.shot-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 999px;
  z-index: 2;
}
.shot-lightbox-nav svg { width: 1.2rem; height: 1.2rem; }
.shot-lightbox-nav--prev { left: max(0.75rem, calc(50% - 520px)); }
.shot-lightbox-nav--next { right: max(0.75rem, calc(50% - 520px)); }
.shot-lightbox-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .shot-lightbox-nav--prev { left: 0.5rem; }
  .shot-lightbox-nav--next { right: 0.5rem; }
}
.next-project {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border);
}
.next-project span { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.next-project a { font-family: var(--font-display); font-size: 1.35rem; color: var(--accent); font-weight: 600; }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 36rem; }
.form label { display: grid; gap: 0.35rem; font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.form input, .form textarea, .form select {
  padding: 0.85rem 1rem; border-radius: var(--r-md); border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--ink);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.form-status { min-height: 1.25rem; font-size: 0.9rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; opacity: 0; }

.team-grid { grid-template-columns: 1fr; }
@media (min-width: 800px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card {
  padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface-2); box-shadow: 0 4px 20px rgba(12, 48, 72, 0.04);
}
.team-card h3 { font-family: var(--font-display); margin: 0 0 0.25rem; color: var(--ink); }
.team-card .role { color: var(--accent); font-size: 0.9rem; margin: 0 0 0.75rem; font-weight: 600; }
.team-card p { color: var(--muted); margin: 0 0 1rem; }
.team-links { display: flex; gap: 0.75rem; }
.team-links a { color: var(--muted); font-size: 0.9rem; }
.team-links a:hover { color: var(--accent); }

.timeline { display: grid; gap: 1.25rem; border-left: 2px solid var(--border); padding-left: 1.25rem; }
.timeline-item h3 { font-family: var(--font-display); margin: 0 0 0.25rem; color: var(--accent); font-size: 1rem; }
.timeline-item p { margin: 0; color: var(--muted); }

.blog-grid { grid-template-columns: 1fr; }
@media (min-width: 800px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  display: block; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--r-lg);
  background: var(--surface-2); transition: border-color 0.2s, box-shadow 0.25s;
}
.blog-card:hover { border-color: rgba(0, 120, 228, 0.4); box-shadow: var(--shadow); }
.blog-card time { color: var(--muted); font-size: 0.8rem; }
.blog-card h3 { font-family: var(--font-display); margin: 0.5rem 0; font-size: 1.15rem; color: var(--ink); }
.blog-card p { color: var(--muted); margin: 0; font-size: 0.92rem; }

.article { max-width: 42rem; margin: 0 auto; padding: var(--sp-8) 0; }
.article h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em; color: var(--ink);
}
.article .meta { color: var(--muted); margin-bottom: 2rem; }
.article p { color: var(--muted); font-size: 1.05rem; }

/* Footer */
.footer {
  position: relative;
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
  color: #e8eef5;
  background:
    radial-gradient(ellipse 60% 55% at 12% 0%, rgba(0, 120, 228, 0.22), transparent 60%),
    var(--ink);
}
.footer .section-kicker::before { background: rgba(255, 255, 255, 0.25); }
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-brand .logo-mark { width: 3rem; height: 3rem; flex-shrink: 0; }
.footer-brand .logo-word {
  height: 1rem; width: auto; max-width: 9.5rem; object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer-brand p { color: rgba(232, 238, 245, 0.72); margin: 0; max-width: 18rem; font-size: 0.92rem; }
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(126, 196, 255, 0.45);
  color: #7ec4ff;
  transform: scale(1.02);
}
.footer-social-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}
.footer h4 {
  font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin: 0 0 0.85rem; color: #fff;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer a { color: rgba(232, 238, 245, 0.72); font-size: 0.92rem; }
.footer a:hover { color: #7ec4ff; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(232, 238, 245, 0.15);
  display: flex; justify-content: center; text-align: center;
  color: rgba(232, 238, 245, 0.55); font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 60;
  background: linear-gradient(90deg, var(--accent), var(--logo-green));
  transform-origin: left;
}

[data-reveal] { opacity: 0; transform: translateY(16px); }
[data-reveal].is-visible { opacity: 1; transform: none; transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }

.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { display: grid; gap: 0.85rem; }
.contact-list a { color: var(--muted); }
.contact-list a:hover { color: var(--accent); }
.contact-list strong { color: var(--ink); }

.empty-state {
  padding: 3rem; border: 1px dashed var(--border-strong); border-radius: var(--r-lg);
  text-align: center; color: var(--muted); background: var(--surface-2);
}

.mt-0 { margin-top: 0; margin-bottom: 0; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.store-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-store { gap: 0.55rem; padding-inline: 1.15rem; }
.store-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}
.page-hero--dark .btn-store .store-icon { color: currentColor; }
.footer-store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-store-link:hover { color: var(--accent); }
.footer-store-link .store-icon {
  width: 1rem;
  height: 1rem;
  opacity: 0.85;
}
.page-pad-top { padding-top: calc(var(--header-h) + 3rem); }
.page-pad-top-lg { padding-top: calc(var(--header-h) + 4rem); }
.empty-title { font-size: 1.75rem; color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn:focus-visible, .nav-menu a:focus-visible { outline-offset: 4px; }

.section-band > .container { position: relative; z-index: 1; }

/* Rich inner pages */
.cta-band {
  padding-block: 0 4.5rem;
}
.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(0, 120, 228, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 120, 228, 0.08) 0%, rgba(255, 255, 255, 0.95) 45%, #f3f8fd 100%);
  box-shadow: 0 24px 60px rgba(12, 48, 72, 0.08);
}
.cta-band .section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.35rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.services-grid--rich { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .services-grid--rich { grid-template-columns: repeat(2, 1fr); } }
.service-card--rich {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  min-height: 0;
}
.service-card--rich .service-card-visual {
  overflow: hidden;
  background: #eef4fa;
  flex-shrink: 0;
}
.service-card--rich .service-card-visual img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease);
}
.service-card--rich:hover .service-card-visual img { transform: scale(1.03); }
.service-card--rich .service-card-body {
  padding: 1.35rem 1.5rem 1.55rem;
  flex: 1;
}
.service-card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  padding: 1.35rem 1.45rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: 0 4px 18px rgba(12, 48, 72, 0.04);
  transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.feature-card:hover {
  border-color: rgba(0, 120, 228, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature-card-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, rgba(0, 120, 228, 0.18), rgba(0, 120, 228, 0.05));
  border: 1px solid rgba(0, 120, 228, 0.2);
  position: relative;
}
.feature-card-icon::after {
  content: "";
  position: absolute;
  inset: 0.55rem 0.45rem 0.45rem 0.55rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}
.feature-card p { margin: 0; color: var(--ink); line-height: 1.55; font-weight: 500; }

.process-steps--rich { gap: 1.15rem; }
.process-step--rich {
  display: flex;
  flex-direction: column;
  border-top: none;
  border-radius: var(--r-lg);
  padding: 0;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: 0 12px 36px rgba(12, 48, 72, 0.06);
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.process-step--rich:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(12, 48, 72, 0.1);
}
.process-step--rich::before { display: none; }
.process-step-media {
  margin: 0;
  overflow: hidden;
  background: #eef4fa;
}
.process-step-media img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}
.process-step-body {
  padding: 1.15rem 1.25rem 1.35rem;
}
.process-step--rich .num {
  margin-bottom: 0.15rem;
}
.process-step--rich h3 {
  margin: 0.2rem 0 0.45rem;
}
.trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.5rem;
}
@media (min-width: 900px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: 0 12px 36px rgba(12, 48, 72, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(12, 48, 72, 0.1);
}
.trust-card-media {
  margin: 0;
  overflow: hidden;
  background: #eef4fa;
}
.trust-card-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  padding: 1.15rem 1.25rem 0.4rem;
  color: var(--ink);
}
.trust-card p {
  margin: 0;
  padding: 0 1.25rem 1.35rem;
  color: var(--muted);
  line-height: 1.55;
}
.deliverables-panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: 0 12px 36px rgba(12, 48, 72, 0.05);
}
@media (min-width: 900px) {
  .deliverables-panel {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
  }
}
.deliverables-media {
  margin: 0;
  overflow: hidden;
  background: #eef4fa;
}
.deliverables-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}
.deliverables-copy {
  padding: 1.75rem 1.75rem 2rem;
}
@media (min-width: 900px) {
  .deliverables-copy { padding: 2.25rem 2.5rem; }
}
.deliverables-copy .section-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}
.deliverables-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}
.deliverables-list li { color: var(--muted); }

.about-story-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-story-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.about-story-visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-story-visual img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.values-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: 1.25rem;
}
@media (min-width: 900px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: 0 18px 44px rgba(12, 48, 72, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(12, 48, 72, 0.1);
}
.value-card-media {
  margin: 0;
  overflow: hidden;
  background: var(--surface-3);
}
.value-card-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.value-card h3 {
  font-family: var(--font-display);
  margin: 0;
  padding: 1.25rem 1.35rem 0.45rem;
  color: var(--ink);
}
.value-card p {
  margin: 0;
  padding: 0 1.35rem 1.4rem;
  color: var(--muted);
  line-height: 1.55;
}
.about-mission-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .about-mission-grid { grid-template-columns: repeat(2, 1fr); } }
.about-mission-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, #f5f9fd 100%);
  box-shadow: 0 18px 44px rgba(12, 48, 72, 0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.about-mission-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(12, 48, 72, 0.1);
}
.about-mission-media {
  margin: 0;
  overflow: hidden;
  background: var(--surface-3);
}
.about-mission-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.about-mission-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
  padding: 1.4rem 1.6rem 0.55rem;
  color: var(--ink);
}
.about-mission-card p {
  margin: 0;
  padding: 0 1.6rem 1.6rem;
  color: var(--muted);
  line-height: 1.6;
}
.timeline--rich { margin-top: 1rem; }

.section-team { padding-block: 4.5rem 5rem; }
.team-grid--rich {
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2rem;
}
@media (min-width: 1024px) {
  .team-grid--rich { grid-template-columns: repeat(2, 1fr); gap: 2rem; align-items: stretch; }
}
.team-card-rich {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: 0 16px 44px rgba(12, 48, 72, 0.06);
  height: 100%;
}
.team-card-top {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}
.team-card-photo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.15rem;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 120, 228, 0.15);
}
.team-card-photo--initials {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #0078e4 0%, #0c3048 100%);
}
.team-card-meta h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.team-card-meta .role {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0.25rem 0 0.5rem;
}
.team-card-edu,
.team-card-lang {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.team-card-lang { margin-top: 0.25rem; }
.team-card-bio {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}
.team-card-block h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.65rem;
}
.team-exp-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.team-exp-item {
  padding-left: 0.85rem;
  border-left: 2px solid rgba(0, 120, 228, 0.25);
}
.team-exp-period {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.team-exp-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.team-exp-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.team-project-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}
.team-project-list li {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}
.team-skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.team-skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.2;
}
.team-skill-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  object-fit: contain;
}
.team-card-rich .team-social {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 480px) {
  .team-card-rich .team-social { grid-template-columns: repeat(2, 1fr); }
}
.team-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.team-social-link:hover {
  border-color: rgba(0, 120, 228, 0.35);
  color: var(--accent);
  box-shadow: 0 6px 18px rgba(0, 120, 228, 0.08);
}
.team-social-svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  color: var(--accent);
}
.team-social-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-card-rich .team-links {
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.team-card-rich .team-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.team-card-rich .team-links a:hover { color: var(--accent); }

.team-grid--profiles { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .team-grid--profiles { grid-template-columns: repeat(2, 1fr); } }
.team-profile {
  padding: 1.75rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: 0 12px 36px rgba(12, 48, 72, 0.05);
}
.team-profile-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.team-avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, #0078e4 0%, #0c3048 100%);
  box-shadow: 0 8px 20px rgba(0, 120, 228, 0.25);
  flex-shrink: 0;
}
.team-avatar-img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 8px 20px rgba(0, 120, 228, 0.18);
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.team-profile h3 {
  font-family: var(--font-display);
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
}
.team-profile .role {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  margin: 0.2rem 0 0;
}
.team-profile-summary { color: var(--muted); line-height: 1.6; margin: 0 0 1rem; }
.team-profile h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 1rem 0 0.5rem;
}
.team-highlights {
  margin: 0 0 0.5rem;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}
.team-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
}
.team-links a { color: var(--muted); font-size: 0.9rem; }
.team-links a:hover { color: var(--accent); }

.hero-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}
.hero-breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.hero-breadcrumb a:hover { color: #fff; }
.hero-breadcrumb .sep { opacity: 0.45; }
.hero-breadcrumb [aria-current="page"] { color: rgba(255, 255, 255, 0.55); }
.page-hero--contact .page-hero-inner { min-height: 46svh; }

.contact-direct {
  position: relative;
  z-index: 3;
  margin-top: -2.75rem;
  padding-bottom: 0.5rem;
}
.contact-direct-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .contact-direct-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .contact-direct-grid { grid-template-columns: repeat(4, 1fr); }
}
.contact-direct-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.25rem 1.2rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(12, 48, 72, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(12, 48, 72, 0.1);
  backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  min-height: 7.5rem;
  text-decoration: none;
  color: inherit;
}
.contact-direct-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 120, 228, 0.28);
  box-shadow: 0 24px 50px rgba(12, 48, 72, 0.12);
}
.contact-direct-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.contact-direct-value {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.contact-direct-action {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.contact-page { padding-top: 2.75rem; }
.contact-page-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-page-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.25rem; }
}
.contact-sidebar { display: grid; gap: 1.25rem; }
.contact-sidebar-panel,
.contact-note-card {
  padding: 1.75rem 1.85rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: 0 16px 40px rgba(12, 48, 72, 0.05);
}
.contact-note-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}
.contact-form-panel {
  padding: 2.15rem 2.25rem 2.35rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(12, 48, 72, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 24px 60px rgba(12, 48, 72, 0.08);
}
.contact-form-panel .section-kicker { margin-bottom: 0.65rem; }
.contact-form-panel .contact-block-title { margin-bottom: 0.35rem; }
.contact-form-actions { margin-top: 0.35rem; }
.form-captcha { display: grid; gap: 0.45rem; margin-top: 0.25rem; }
.form-captcha-label { font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.form-captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.form-captcha-img { width: 180px; height: 60px; border-radius: 10px; border: 1px solid rgba(15, 23, 42, 0.12); background: #f4f7fc; }
.form-captcha-refresh { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(15, 23, 42, 0.12); background: #fff; color: inherit; cursor: pointer; }
.form-captcha-refresh svg { width: 18px; height: 18px; }
.form-captcha-refresh:hover { background: #f4f7fc; }
.form-captcha .form-captcha-input { flex: 1 1 140px; max-width: 200px; text-transform: uppercase; letter-spacing: 0.15em; }
.contact-form-footnote {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}
.form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}
.contact-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  color: var(--ink);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}
.contact-info-list {
  display: grid;
  gap: 1.35rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-md);
  background: rgba(0, 120, 228, 0.1);
  border: 1px solid rgba(0, 120, 228, 0.15);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-info-icon svg { width: 1.2rem; height: 1.2rem; }
.contact-info-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.contact-info-body {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
}
.contact-info-body p { margin: 0; font-weight: 500; color: var(--muted); }
.contact-info-body a {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 600;
}
.contact-info-body a:hover { color: var(--accent-hover); }
.contact-info-hint {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.contact-form-card {
  padding: 2rem 2.15rem 2.25rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: 0 20px 50px rgba(12, 48, 72, 0.07);
}
.contact-form-note {
  margin: -0.75rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.form--contact { max-width: none; margin-top: 0; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.form-check input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.form-check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.btn-block { width: 100%; justify-content: center; margin-top: 0.25rem; }
.contact-map-section {
  padding-top: 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #f3f7fb 0%, var(--surface) 100%);
}
.contact-map {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 36px rgba(12, 48, 72, 0.06);
  background: var(--surface-3);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: min(420px, 55vw);
  border: 0;
}

.contact-section { padding-top: 0; margin-top: 0; }
.contact-shell {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .contact-shell { grid-template-columns: 0.9fr 1.1fr; gap: 1.5rem; }
}
.contact-cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
.info-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: 0 6px 20px rgba(12, 48, 72, 0.04);
}
.info-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.info-card p { margin: 0; color: var(--ink); font-weight: 600; }
.info-card span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.info-card a { color: var(--accent); }
.contact-form-panel {
  padding: 2rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(0, 120, 228, 0.15);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f4f9fe 100%);
  box-shadow: 0 24px 60px rgba(12, 48, 72, 0.08);
}
.form--premium { max-width: none; margin-top: 1rem; }
.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }

.legal-doc {
  max-width: 46rem;
  padding: 2rem 0 4rem;
}
.legal-updated {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}
.legal-section {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-of-type { border-bottom: none; }
.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.65rem;
  color: var(--ink);
}
.legal-section p, .legal-section li { color: var(--muted); line-height: 1.65; }
.legal-section ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.legal-contact { margin-top: 2rem; color: var(--muted); }

.case-hero-device {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.case-hero-device--phone { width: min(240px, 68vw); }
.case-hero-device--web { width: min(400px, 42vw); }
.case-hero-device img { width: 100%; display: block; object-fit: cover; object-position: top; }
.case-hero-device--phone img { aspect-ratio: 9/19; }
.case-hero-device--web img { aspect-ratio: 16/10; }

.case-mockup-stack {
  position: relative;
  flex-shrink: 0;
  pointer-events: none;
}
.case-mockup-stack--phone {
  width: min(320px, 82vw);
  height: min(360px, 56vw);
}
.case-mockup-stack--web {
  width: min(460px, 92vw);
  height: min(320px, 52vw);
}
.case-mockup {
  position: absolute;
  bottom: 0;
  transition: transform 0.45s var(--ease);
}
.case-mockup--phone.case-mockup--back {
  left: 0;
  z-index: 1;
  transform: rotate(-14deg) translate3d(-4px, 10px, 0);
  opacity: 0.9;
}
.case-mockup--phone.case-mockup--front {
  right: 0;
  z-index: 2;
  transform: rotate(14deg) translate3d(4px, -6px, 0);
}
.case-mockup--web.case-mockup--back {
  left: 0;
  z-index: 1;
  transform: rotate(-8deg) translate3d(-8px, 12px, 0) scale(0.93);
  opacity: 0.88;
}
.case-mockup--web.case-mockup--front {
  right: 0;
  z-index: 2;
  transform: rotate(8deg) translate3d(8px, -4px, 0);
}
.case-mockup-bezel {
  padding: 7px;
  border-radius: 28px;
  background: linear-gradient(155deg, #3a4654 0%, #121a24 48%, #1e2834 100%);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.case-mockup-stack--phone .case-mockup--back .case-mockup-bezel { width: 148px; }
.case-mockup-stack--phone .case-mockup--front .case-mockup-bezel { width: 162px; }
.case-mockup-island {
  width: 34%;
  height: 4px;
  margin: 0 auto 7px;
  border-radius: 999px;
  background: #070d14;
}
.case-mockup-screen {
  border-radius: 21px;
  overflow: hidden;
  background: #05080d;
}
.case-mockup-screen img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}
.case-mockup--phone .case-mockup-screen img { aspect-ratio: 9 / 19.5; }
.case-mockup-browser {
  width: min(360px, 78vw);
  border-radius: 14px;
  overflow: hidden;
  background: #141c27;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.case-mockup-stack--web .case-mockup--back .case-mockup-browser { width: min(320px, 72vw); }
.case-mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #243041 0%, #171f2b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.case-mockup-browser-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.case-mockup-browser-bar .dot:nth-child(1) { background: #ff5f57; }
.case-mockup-browser-bar .dot:nth-child(2) { background: #febc2e; }
.case-mockup-browser-bar .dot:nth-child(3) { background: #28c840; }
.case-mockup-url {
  flex: 1;
  min-width: 0;
  margin-left: 6px;
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case-mockup--web .case-mockup-screen img { aspect-ratio: 16 / 10; }
.case-mockup-stack--single {
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-mockup-stack--web.case-mockup-stack--single {
  width: min(440px, 90vw);
  height: min(300px, 48vw);
}
.case-mockup-stack--phone.case-mockup-stack--single {
  width: min(220px, 58vw);
  height: min(400px, 62vw);
}
.case-mockup--solo {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  z-index: 1;
  transform: rotate(-10deg) translate3d(0, -8px, 0);
  filter: drop-shadow(0 36px 72px rgba(0, 0, 0, 0.5));
}
.case-mockup-stack--phone .case-mockup--solo .case-mockup-bezel { width: 172px; }
.case-mockup-stack--web .case-mockup--solo .case-mockup-browser { width: min(400px, 86vw); }
.case-mockup-stack--photos {
  width: min(360px, 88vw);
  height: min(420px, 68vw);
  overflow: visible;
}
.case-mockup--photo {
  width: 188px;
}
.case-mockup--photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.42));
}
.case-mockup--photo.case-mockup--solo {
  filter: none;
}
.case-mockup-stack--phone .case-mockup--back.case-mockup--photo { width: 168px; }
.case-mockup-stack--phone .case-mockup--front.case-mockup--photo { width: 188px; }
.case-mockup-stack--phone .case-mockup--solo.case-mockup--photo { width: 210px; }
.case-mockup-stack--photos.case-mockup-stack--single {
  width: min(240px, 62vw);
  height: min(440px, 70vw);
}
@media (max-width: 900px) {
  .case-mockup-stack--phone {
    width: min(280px, 88vw);
    height: min(300px, 62vw);
    margin-top: 0.5rem;
  }
  .case-mockup-stack--web {
    width: min(360px, 94vw);
    height: min(260px, 58vw);
  }
  .case-mockup-stack--phone .case-mockup--back .case-mockup-bezel { width: 128px; }
  .case-mockup-stack--phone .case-mockup--front .case-mockup-bezel { width: 140px; }
  .case-mockup-stack--photos {
    width: min(300px, 90vw);
    height: min(340px, 74vw);
  }
  .case-mockup-stack--phone .case-mockup--back.case-mockup--photo { width: 142px; }
  .case-mockup-stack--phone .case-mockup--front.case-mockup--photo { width: 158px; }
  .case-mockup-stack--phone .case-mockup--solo.case-mockup--photo { width: 176px; }
}
@media (prefers-reduced-motion: reduce) {
  .case-mockup { transition: none; }
  .case-mockup--phone.case-mockup--back,
  .case-mockup--phone.case-mockup--front,
  .case-mockup--web.case-mockup--back,
  .case-mockup--web.case-mockup--front,
  .case-mockup--solo { transform: none; opacity: 1; filter: none; }
  .shot-tile:hover { transform: none; }
}

.case-meta-section {
  position: relative;
  z-index: 5;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
}
.case-meta-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .case-meta-grid { grid-template-columns: repeat(3, 1fr); } }
.case-meta-card {
  padding: 1.15rem 1.25rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-2);
  box-shadow: 0 6px 20px rgba(12, 48, 72, 0.04);
}
.case-meta-card span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.case-meta-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 600;
}
.case-meta-card--role strong {
  font-size: 0.98rem;
  font-weight: 500;
  font-family: var(--font-body, inherit);
}

.case-metrics {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 0.85rem;
}
@media (min-width: 768px) {
  .case-metrics { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
}
.case-metric {
  padding: 1.25rem 1.35rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(0, 120, 228, 0.16);
  background: linear-gradient(180deg, rgba(0, 120, 228, 0.07) 0%, var(--surface-2) 70%);
  box-shadow: var(--shadow-sm);
}
.case-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(160deg, #1a89f0 0%, var(--ink) 140%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-metric span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.case-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .case-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "wide wide"
      "a b";
  }
  .case-panel--wide { grid-area: wide; }
}
.case-panel {
  position: relative;
  overflow: hidden;
  padding: 2rem 2rem 2.1rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(12, 48, 72, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 16px 44px rgba(12, 48, 72, 0.06);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.case-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 120, 228, 0.22);
  box-shadow: 0 26px 58px rgba(12, 48, 72, 0.1);
}
.case-panel-num {
  position: absolute;
  top: 0.35rem; right: 1.15rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(0, 120, 228, 0.07);
  pointer-events: none;
}
.case-panel--accent {
  background: linear-gradient(180deg, rgba(0, 120, 228, 0.07) 0%, #fbfdff 62%);
  border-color: rgba(0, 120, 228, 0.16);
}
.case-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  margin: 0.3rem 0 0.75rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.case-panel p { margin: 0; color: var(--muted); line-height: 1.7; }
.case-feature-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .case-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .case-feature-grid { grid-template-columns: repeat(4, 1fr); } }
.case-feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(12, 48, 72, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(12, 48, 72, 0.05);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.case-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 120, 228, 0.25);
  box-shadow: 0 20px 44px rgba(12, 48, 72, 0.09);
}
.case-feature-icon {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border-radius: 0.7rem;
  color: var(--accent);
  background: rgba(0, 120, 228, 0.1);
  border: 1px solid rgba(0, 120, 228, 0.16);
}
.case-feature-icon svg { width: 1.05rem; height: 1.05rem; }
.case-feature-card h3 {
  font-size: 0.98rem;
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
  font-weight: 600;
}

/* Case hero extras */
.page-hero--case .page-hero-inner { min-height: 62svh; }
.case-hero-pills {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin: 1.1rem 0 0.35rem;
}
.case-hero-pills span {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}
.stack-pills--lg { margin-top: 0; }
.stack-pills--lg span {
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  border-color: rgba(12, 48, 72, 0.09);
  box-shadow: 0 6px 18px rgba(12, 48, 72, 0.05);
}
.section-shots { padding-top: 1rem; }

/* Next project card */
.section-next { padding-top: 1rem; }
.next-project-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.35rem 1rem 1rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(12, 48, 72, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 16px 44px rgba(12, 48, 72, 0.06);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.next-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 120, 228, 0.28);
  box-shadow: 0 26px 58px rgba(12, 48, 72, 0.12);
}
.next-project-media {
  width: 4.5rem; height: 4.5rem; flex-shrink: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-3);
}
.next-project-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.next-project-body { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.next-project-label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
}
.next-project-body strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--ink);
  letter-spacing: -0.02em;
}
.next-project-body em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.next-project-arrow {
  margin-left: auto;
  width: 2.75rem; height: 2.75rem; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(0, 120, 228, 0.1);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.next-project-arrow svg { width: 1.15rem; height: 1.15rem; }
.next-project-card:hover .next-project-arrow {
  transform: translateX(5px);
  background: var(--accent);
  color: #fff;
}
.next-project-all { margin: 1.5rem 0 0; }
@media (max-width: 560px) {
  .next-project-card { align-items: flex-start; }
  .next-project-arrow { width: 2.25rem; height: 2.25rem; }
}

/* ------------------------------------------------------------------ *
 * Scroll story — sticky WebGL stage (js/scene.js)                     *
 * ------------------------------------------------------------------ */
.story {
  position: relative;
  height: 440vh;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 55% at 78% 32%, rgba(0, 120, 228, 0.22), transparent 62%),
    radial-gradient(ellipse 60% 45% at 10% 82%, rgba(60, 180, 72, 0.08), transparent 60%),
    linear-gradient(180deg, #051220 0%, #071c2b 42%, #061523 100%);
}
.story-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 34rem;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.story-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}
.story-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(5, 18, 32, 0.9) 0%, rgba(5, 18, 32, 0.62) 34%, rgba(5, 18, 32, 0) 62%),
    linear-gradient(180deg, rgba(5, 18, 32, 0.85) 0%, transparent 22%, transparent 74%, rgba(5, 18, 32, 0.85) 100%);
}
.story-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding-block: calc(var(--header-h) + 1.5rem) 4.5rem;
}
.story-copy { max-width: 30rem; }
.story-kicker { color: #7ec4ff; }
.story-kicker::before {
  background: linear-gradient(90deg, #7ec4ff, rgba(126, 196, 255, 0.1));
}
.story-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 2rem;
  text-wrap: balance;
}
.story-chapters { display: grid; }
.story-chapter {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.story-chapter.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.story-step {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.story-step-num {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding-inline: 0.35rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #bfe0ff;
  background: rgba(126, 196, 255, 0.12);
  border: 1px solid rgba(126, 196, 255, 0.26);
}
.story-chapter-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}
.story-chapter-body {
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 30rem;
}
.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.story-tags li {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.story-rail {
  order: -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  align-self: center;
}
.story-rail-track {
  position: relative;
  width: 2px;
  height: 9rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.story-rail-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: scaleY(var(--story-progress, 0.02));
  transform-origin: top;
  background: linear-gradient(180deg, #7ec4ff, var(--accent));
}
.story-dots { display: flex; flex-direction: column; gap: 0.6rem; }
.story-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.story-dot.is-active {
  background: #7ec4ff;
  transform: scale(1.6);
}
.story-hint {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .story { height: 400vh; }
  .story-inner {
    grid-template-columns: 1fr;
    align-content: end;
    align-items: end;
    height: 100%;
    padding-block: calc(var(--header-h) + 1rem) 5rem;
  }
  .story-copy { max-width: none; }
  .story-title { margin-bottom: 1.5rem; font-size: clamp(1.6rem, 5vw, 2.1rem); }
  .story-veil {
    background:
      linear-gradient(180deg, rgba(5, 18, 32, 0.8) 0%, rgba(5, 18, 32, 0.1) 26%,
        rgba(5, 18, 32, 0.72) 58%, rgba(5, 18, 32, 0.94) 100%);
  }
  .story-rail {
    order: 0;
    flex-direction: row;
    align-self: start;
    justify-content: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.5rem;
  }
  .story-rail-track { width: 6rem; height: 2px; }
  .story-rail-fill {
    transform-origin: left;
    transform: scaleX(var(--story-progress, 0.02));
    background: linear-gradient(90deg, #7ec4ff, var(--accent));
  }
  .story-dots { flex-direction: row; }
  .story-hint { display: none; }
}

@media (max-width: 640px) {
  .story { height: 360vh; }
  .story-chapter-body { font-size: 0.96rem; margin-bottom: 1.15rem; }
  .story-inner { padding-bottom: 3.5rem; }
}

/* No WebGL, data saver, or reduced motion — the story reads as a plain list. */
.story--static { height: auto; }
.story--static .story-stage {
  position: static;
  height: auto;
  min-height: 0;
  padding-block: var(--sp-8);
}
.story--static .story-canvas,
.story--static .story-veil,
.story--static .story-hint,
.story--static .story-rail { display: none; }
.story--static .story-inner {
  grid-template-columns: 1fr;
  padding-block: 0;
}
.story--static .story-copy { max-width: 46rem; }
.story--static .story-chapters {
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .story--static .story-chapters { grid-template-columns: repeat(2, 1fr); }
}
.story--static .story-chapter {
  grid-area: auto;
  opacity: 1;
  transform: none;
  padding: 1.75rem;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-scroll::after { animation: none; }
  .story-chapter { transition: none; }
}
