:root {
  --background: #0b1120;
  --foreground: #f8fbff;
  --card: #101827;
  --card-2: #0d1423;
  --muted: #8f9caf;
  --border: rgba(255, 255, 255, 0.1);
  --cyan: #00adee;
  --blue: #2e3191;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "DM Sans", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
}

body {
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 49;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 17, 32, 0.44), rgba(5, 10, 19, 0.56)),
    rgba(8, 14, 26, 0.34);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

body.menu-open main {
  filter: blur(8px);
  transform: translateZ(0);
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 0 18px rgba(0, 173, 238, 0.34);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  transition: transform 0.08s linear;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container,
.narrow {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.narrow {
  max-width: 820px;
}

.center {
  text-align: center;
}

.site-header {
  --header-alpha: 0;
  --header-border-alpha: 0;
  --header-blur: 0;
  --header-shadow-alpha: 0;
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 80px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  background: rgba(11, 17, 32, var(--header-alpha));
  border-bottom: 1px solid rgba(255, 255, 255, var(--header-border-alpha));
  box-shadow: 0 14px 34px rgba(0, 0, 0, var(--header-shadow-alpha));
  backdrop-filter: blur(calc(var(--header-blur) * 1px));
  -webkit-backdrop-filter: blur(calc(var(--header-blur) * 1px));
  transition: background 0.18s linear, border-color 0.18s linear, box-shadow 0.18s linear, backdrop-filter 0.18s linear, -webkit-backdrop-filter 0.18s linear;
}

.site-header.is-open {
  --header-alpha: 0.6;
  --header-border-alpha: 0.1;
  --header-blur: 12;
  --header-shadow-alpha: 0.24;
}

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

.brand img,
.footer-brand img {
  height: 24px;
  width: auto;
  opacity: 0.9;
  filter: drop-shadow(0 0 0 transparent);
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
}

.brand:hover img,
.footer-brand a:hover img {
  opacity: 1;
  filter:
    drop-shadow(0 0 12px rgba(0, 173, 238, 0.6))
    drop-shadow(0 0 25px rgba(0, 173, 238, 0.3));
}

.brand:active img,
.footer-brand a:active img {
  filter:
    drop-shadow(0 0 8px rgba(46, 49, 145, 0.6))
    drop-shadow(0 0 20px rgba(46, 49, 145, 0.3));
}

.site-menu {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-menu a {
  color: rgba(248, 251, 255, 0.68);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-menu a:hover {
  color: var(--foreground);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu-actions {
  display: none;
}

.icon-action,
.language-chip,
.gradient-icon,
.method-grid article strong {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 4px 18px rgba(0, 173, 238, 0.22);
}

.icon-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gradient-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.interactive-glow,
.button,
.gradient-icon,
.method-grid article strong {
  position: relative;
  isolation: isolate;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.3s ease;
}

.interactive-glow::before,
.gradient-icon::before,
.method-grid article strong::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.interactive-glow:hover,
.gradient-icon:hover,
.method-grid article strong:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 12px rgba(0, 173, 238, 0.6),
    0 0 25px rgba(0, 173, 238, 0.3);
}

.interactive-glow:active,
.gradient-icon:active,
.method-grid article strong:active {
  transform: translateY(0);
  box-shadow:
    0 2px 10px rgba(46, 49, 145, 0.3),
    0 0 25px rgba(46, 49, 145, 0.15);
}

.interactive-glow:active::before,
.gradient-icon:active::before,
.method-grid article strong:active::before {
  opacity: 1;
}

button,
.button,
.text-button,
.filter-button,
.icon-action,
.language-chip,
.menu-toggle,
.service-card,
.method-grid article strong,
[role="button"] {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.language-chip {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: var(--foreground);
  justify-self: end;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

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

.hero-image {
  object-fit: cover;
  min-height: 108%;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.03);
  transform-origin: center top;
  will-change: transform;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.8), rgba(11, 17, 32, 0.7) 50%, var(--background));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 48px));
  padding-top: 80px;
}

.hero-animate {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  will-change: opacity, transform;
}

.hero.is-hero-ready .hero-animate {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero.is-hero-ready [data-hero-animate="eyebrow"] {
  transition-delay: 0.08s;
}

.hero.is-hero-ready [data-hero-animate="title"] {
  transition-delay: 0.22s;
}

.hero.is-hero-ready [data-hero-animate="subtitle"] {
  transition-delay: 0.36s;
}

.hero.is-hero-ready [data-hero-animate="copy"] {
  transition-delay: 0.5s;
}

.hero.is-hero-ready [data-hero-animate="actions"] {
  transition-delay: 0.66s;
}

.eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 6.05vw, 5.55rem);
  line-height: 1.1;
  font-weight: 700;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1.08;
  font-weight: 760;
}

h3 {
  font-size: 1.45rem;
  line-height: 1.2;
}

.hero-subtitle {
  margin-bottom: 14px;
  color: rgba(248, 251, 255, 0.92);
  font-size: clamp(1.35rem, 2.45vw, 2.05rem);
  font-weight: 300;
}

.hero-copy,
.lead,
.section-title p,
.prose,
.service-card li,
.service-card .expanded,
.project-card p,
.investment-card p,
.contact-info span {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  max-width: 560px;
  margin: 0 auto 44px;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.button-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-icon-left {
  margin-right: 10px;
}

.button-icon-right {
  margin-left: 10px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 34px rgba(0, 173, 238, 0.26);
}

.button-primary:hover {
  box-shadow:
    0 6px 25px rgba(0, 173, 238, 0.4),
    0 0 40px rgba(0, 173, 238, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.button-pulse {
  animation: button-pulse 2.7s ease-in-out infinite;
}

.button-ghost {
  border-color: rgba(0, 173, 238, 0.38);
  color: rgba(248, 251, 255, 0.86);
  background: rgba(11, 17, 32, 0.24);
}

.button-ghost:hover {
  border-color: rgba(0, 173, 238, 0.62);
  box-shadow:
    0 0 20px rgba(0, 173, 238, 0.35),
    0 0 40px rgba(0, 173, 238, 0.2);
}

.button.small {
  min-height: 42px;
  width: 100%;
}

.scroll-mark {
  position: absolute;
  bottom: 38px;
  left: 50%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: rgba(248, 251, 255, 0.64);
  transform: translateX(-50%);
  animation: scroll-chevron 1.8s ease-in-out infinite;
  pointer-events: none;
}

.scroll-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  position: relative;
  padding: 128px 0;
  overflow: hidden;
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 173, 238, 0.26), transparent);
}

.anniversary {
  min-height: 92vh;
  display: grid;
  align-items: center;
  background: var(--background);
}

.brick-grid,
.grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 80px 40px;
}

.anniversary-number {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  color: rgba(248, 251, 255, 0.11);
  font-size: clamp(26rem, 64vw, 50rem);
  font-weight: 700;
  line-height: 0.72;
  user-select: none;
  transform: translate3d(-50%, -50%, 0) scale(var(--anniversary-scale, 6));
  transform-origin: center;
  will-change: transform;
  pointer-events: none;
}

.anniversary .narrow {
  position: relative;
  z-index: 1;
}

.anniversary-title {
  margin-bottom: 46px;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: 0;
}

.prose {
  display: grid;
  gap: 28px;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.anniversary-copy {
  gap: 30px;
}

.anniversary-text,
.anniversary-title {
  opacity: 0;
  transform: translateY(52px);
  transition: opacity 1.05s var(--ease), transform 1.05s var(--ease);
}

.anniversary-content.is-visible .anniversary-title,
.anniversary-content.is-visible .anniversary-text {
  opacity: 1;
  transform: translateY(0);
}

.anniversary-content.is-visible .anniversary-text:nth-child(1) {
  transition-delay: 0.18s;
}

.anniversary-content.is-visible .anniversary-text:nth-child(2) {
  transition-delay: 0.4s;
}

.anniversary-content.is-visible .anniversary-text:nth-child(3) {
  transition-delay: 0.62s;
}

.anniversary-content.is-visible .anniversary-text:nth-child(4) {
  transition-delay: 0.84s;
}

.prose strong {
  color: var(--foreground);
}

.about,
.contact,
.works,
.systems {
  background: var(--card);
}

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

.split.reverse {
  grid-template-columns: 1fr 0.86fr;
}

.image-frame {
  overflow: hidden;
  background: #05070c;
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.image-frame:hover img {
  transform: scale(1.035);
}

.image-frame.tall img {
  aspect-ratio: 3 / 4;
}

.about-image,
.about-content,
.method-grid article {
  will-change: opacity, transform;
}

.about-image {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.about-content {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.about-content h2 {
  margin-bottom: 32px;
  font-size: clamp(1.875rem, 3.25vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
}

.about-content .lead {
  margin-bottom: 40px;
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.72;
}

.about-content .check-list li {
  opacity: 0;
  transform: translateX(-18px);
  font-size: 0.96rem;
  line-height: 1.65;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.about-content.is-visible .check-list li {
  opacity: 1;
  transform: none;
}

.about-content.is-visible .check-list li:nth-child(1) {
  transition-delay: 0.26s;
}

.about-content.is-visible .check-list li:nth-child(2) {
  transition-delay: 0.38s;
}

.about-content.is-visible .check-list li:nth-child(3) {
  transition-delay: 0.5s;
}

.about-content.is-visible .check-list li:nth-child(4) {
  transition-delay: 0.62s;
}

.about-content.is-visible .check-list li:nth-child(5) {
  transition-delay: 0.74s;
}

.about-content.is-visible .check-list li:nth-child(6) {
  transition-delay: 0.86s;
}

.about-image.is-visible,
.about-content.is-visible {
  opacity: 1;
  transform: none;
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 24px;
  padding-left: 36px;
  color: rgba(248, 251, 255, 0.82);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--cyan);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 18px rgba(0, 173, 238, 0.14);
}

.methodology {
  margin-top: 80px;
  padding: 48px;
  border: 1px solid var(--border);
  background: rgba(11, 17, 32, 0.52);
}

.method-grid article {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.methodology.is-visible .method-grid article {
  opacity: 1;
  transform: none;
}

.methodology.is-visible .method-grid article:nth-child(1) {
  transition-delay: 0.08s;
}

.methodology.is-visible .method-grid article:nth-child(2) {
  transition-delay: 0.18s;
}

.methodology.is-visible .method-grid article:nth-child(3) {
  transition-delay: 0.28s;
}

.methodology.is-visible .method-grid article:nth-child(4) {
  transition-delay: 0.38s;
}

.methodology.is-visible .method-grid article:nth-child(5) {
  transition-delay: 0.48s;
}

.methodology.is-visible .method-grid article:nth-child(6) {
  transition-delay: 0.58s;
}

.scrolling-logo {
  position: relative;
  height: clamp(18rem, 28vw, 24rem);
  overflow: hidden;
  background: var(--background);
}

.scrolling-logo-track {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  align-items: center;
  transform: translate3d(var(--scrolling-logo-x, -100%), 0, 0);
  will-change: transform;
}

.scrolling-logo img {
  height: 100%;
  width: auto;
  max-width: none;
  opacity: 0.2;
  filter: grayscale(1) brightness(1.35);
}

.methodology h3,
.stats h2 {
  text-align: center;
  margin-bottom: 44px;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.method-grid,
.cards,
.stats-grid {
  display: grid;
  gap: 28px;
}

.method-grid {
  grid-template-columns: repeat(3, 1fr);
}

.method-grid article strong {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  cursor: default;
}

.method-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.works .section-title h2,
.services .section-title h2 {
  font-size: clamp(1.875rem, 3.25vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
}

.investments .section-title h2,
.systems .section-title h2 {
  margin-bottom: 16px;
  font-size: clamp(1.875rem, 3.25vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.project-card,
.investment-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.service-card {
  padding: 38px;
  cursor: pointer;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s var(--ease);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.services-grid .service-card {
  opacity: 0;
  transform: translateY(50px);
  will-change: opacity, transform;
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.services-grid.is-visible .service-card {
  opacity: 1;
  transform: none;
}

.services-grid.is-visible .service-card:hover {
  transform: translateY(-4px);
}

.services-grid.is-visible .service-card:active {
  transform: translateY(-1px) scale(0.992);
}

.service-card:focus-visible {
  outline: 2px solid rgba(0, 173, 238, 0.72);
  outline-offset: 4px;
}

.services-grid.is-visible .service-card:nth-child(1) {
  transition-delay: 0.08s;
}

.services-grid.is-visible .service-card:nth-child(2) {
  transition-delay: 0.23s;
}

.services-grid.is-visible .service-card:nth-child(3) {
  transition-delay: 0.38s;
}

.services-grid.is-visible .service-card:nth-child(4) {
  transition-delay: 0.53s;
}

[data-project-grid].is-animating .project-card {
  opacity: 0;
  transform: translateX(40px);
  will-change: opacity, transform;
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

[data-project-grid].is-animating.is-visible .project-card {
  opacity: 1;
  transform: none;
}

[data-project-grid].is-visible .project-card:hover {
  transform: translateY(-4px);
}

[data-project-grid].is-visible .project-card:nth-child(1) {
  transition-delay: 0.08s;
}

[data-project-grid].is-visible .project-card:nth-child(2) {
  transition-delay: 0.23s;
}

[data-project-grid].is-visible .project-card:nth-child(3) {
  transition-delay: 0.38s;
}

[data-project-grid].is-visible .project-card:nth-child(4) {
  transition-delay: 0.53s;
}

[data-project-grid].is-visible .project-card:nth-child(5) {
  transition-delay: 0.68s;
}

[data-project-grid].is-visible .project-card:nth-child(6) {
  transition-delay: 0.83s;
}

[data-investment-grid].is-animating .investment-card {
  opacity: 0;
  transform: translateX(40px);
  will-change: opacity, transform;
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

[data-investment-grid].is-animating.is-visible .investment-card {
  opacity: 1;
  transform: none;
}

[data-investment-grid].is-visible .investment-card:hover {
  transform: translateY(-4px);
}

[data-investment-grid].is-visible .investment-card:nth-child(1) {
  transition-delay: 0.08s;
}

[data-investment-grid].is-visible .investment-card:nth-child(2) {
  transition-delay: 0.23s;
}

[data-investment-grid].is-visible .investment-card:nth-child(3) {
  transition-delay: 0.38s;
}

.service-card:hover,
.project-card:hover,
.investment-card:hover {
  border-color: rgba(0, 173, 238, 0.36);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin-top: 4px;
  margin-bottom: 8px;
}

.service-card .gradient-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
}

.cyan {
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card ul,
.accordion ul {
  display: grid;
  gap: 12px;
  padding-left: 18px;
}

.service-card .expanded {
  display: none;
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.service-card.is-expanded .expanded {
  display: block;
}

.text-button {
  border: 0;
  padding: 0;
  color: rgba(248, 251, 255, 0.72);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats {
  position: relative;
  padding: 78px 0;
  background: #0b1120;
  border-block: 1px solid rgba(0, 173, 238, 0.2);
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 60px 60px;
}

.stats-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 56px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-align: center;
  text-transform: uppercase;
}

.stats-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(2.8rem, 5vw, 5.5rem);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 12px;
  color: rgba(248, 251, 255, 0.68);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-image,
.investment-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.investment-image {
  aspect-ratio: 16 / 9;
}

.project-image,
.investment-image {
  position: relative;
}

.project-image img,
.investment-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.project-card:hover .project-image img,
.investment-card:hover img {
  transform: scale(1.05);
}

.investment-sold-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card.is-hidden {
  display: none;
}

.works.has-project-detail [data-project-grid] {
  display: none;
}

.project-card > div,
.investment-card > div {
  padding: 28px;
}

.project-card h3,
.investment-card h3 {
  margin-bottom: 22px;
  font-weight: 600;
}

.investment-details {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.investment-details p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: rgba(248, 251, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.55 !important;
}

.investment-details svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 3px;
  color: var(--cyan);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.investment-details span span {
  color: var(--muted);
}

.investment-details b {
  color: rgba(248, 251, 255, 0.92);
  font-weight: 600;
}

.investment-button {
  gap: 10px;
}

.investment-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.investment-button.is-disabled,
.investment-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.project-short {
  margin-bottom: 16px;
  font-size: 0.94rem;
  line-height: 1.62 !important;
}

.project-area {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.project-area svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-badge {
  display: inline-block;
  padding: 7px 12px;
  color: var(--cyan) !important;
  background: rgba(0, 173, 238, 0.1);
  font-size: 0.92rem;
  line-height: 1.35 !important;
}

.project-details-button {
  margin-top: 24px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.filter-button {
  min-height: 34px;
  border: 1px solid var(--border);
  padding: 0 16px;
  color: rgba(248, 251, 255, 0.76);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.filter-button:hover {
  border-color: rgba(0, 173, 238, 0.36);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow:
    0 0 20px rgba(0, 173, 238, 0.2),
    0 0 38px rgba(46, 49, 145, 0.2);
}

.filter-button.is-active {
  border-color: transparent;
  color: var(--white);
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.project-details {
  margin-bottom: 16px;
}

.project-detail {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.project-detail[hidden] {
  display: none;
}

.project-detail.is-visible {
  animation: projectDetailIn 0.72s var(--ease) both;
}

.project-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 32px;
}

.project-back svg,
.project-gallery-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.project-detail-heading .eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
}

.project-detail-heading h3 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(1.85rem, 2.65vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
}

.project-detail-area {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin: 4px 0 0;
  padding: 10px 15px;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  font-size: 1rem;
}

.project-detail-area svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-main-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020617;
}

.project-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.project-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(248, 251, 255, 0.86);
  background: rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}

.project-gallery-prev {
  left: 18px;
}

.project-gallery-next {
  right: 18px;
}

.project-main-image:hover .project-gallery-arrow,
.project-gallery-arrow:focus-visible {
  opacity: 1;
}

.project-gallery-arrow:hover {
  background: rgba(0, 173, 238, 0.3);
  transform: translateY(-50%) scale(1.04);
}

.project-thumbnails {
  position: relative;
  display: flex;
  gap: 10px;
  margin: 14px 0 44px;
  padding: 0 12px 6px;
  overflow-x: auto;
}

.project-thumbnails::before,
.project-thumbnails::after {
  content: "";
  position: sticky;
  z-index: 2;
  align-self: center;
  width: 18px;
  height: 24px;
  flex: 0 0 22px;
  color: rgba(248, 251, 255, 0.64);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 5 8 12l7 7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 24px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 5 8 12l7 7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px 24px no-repeat;
  pointer-events: none;
}

.project-thumbnails::before {
  left: 12px;
  margin-right: 2px;
}

.project-thumbnails::after {
  right: 12px;
  margin-left: 2px;
  transform: scaleX(-1);
}

.project-thumbnails button {
  width: 112px;
  height: 80px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  padding: 0;
  overflow: hidden;
  background: transparent;
  opacity: 0.58;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.project-thumbnails button:hover,
.project-thumbnails button.is-active {
  border-color: var(--cyan);
  opacity: 1;
  transform: translateY(-2px);
}

.project-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-copy-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: 24px;
  margin-bottom: 32px;
}

.project-detail-tabs {
  margin-bottom: 0;
  background: var(--card);
  border: 1px solid var(--border);
}

.project-tab-list {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.project-tab-list button {
  position: relative;
  min-height: 48px;
  border: 0;
  border-right: 1px solid var(--border);
  padding: 0 22px;
  color: rgba(248, 251, 255, 0.68);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  user-select: none;
  transition: color 0.25s ease, background 0.25s ease;
}

.project-tab-list button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.project-tab-list button:hover,
.project-tab-list button.is-active {
  color: var(--white);
  background: rgba(0, 173, 238, 0.06);
}

.project-tab-list button.is-active::after {
  transform: scaleX(1);
}

.project-tab-panel {
  padding: 30px;
}

.project-tab-panel[hidden] {
  display: none;
}

.project-tab-panel.is-active {
  animation: projectTabIn 0.38s var(--ease) both;
}

.project-tab-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

@keyframes projectTabIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.project-detail-result {
  display: block;
  width: 100%;
  margin: 0;
  padding: 24px;
  color: var(--cyan) !important;
  background: rgba(0, 173, 238, 0.1);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.56 !important;
}

@keyframes projectDetailIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

details {
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

summary {
  cursor: pointer;
  color: var(--foreground);
}

.systems-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.sticky-image {
  position: sticky;
  top: 128px;
  overflow: visible;
}

.sticky-image img {
  aspect-ratio: 4 / 3;
}

.sticky-image i {
  position: absolute;
  left: -16px;
  bottom: -16px;
  z-index: -1;
  width: 96px;
  height: 96px;
  background: rgba(0, 173, 238, 0.2);
}

.systems-image,
.systems-accordion {
  will-change: opacity, transform;
}

.systems-image {
  opacity: 0;
  transform: translateX(-42px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.systems-accordion {
  opacity: 0;
  transform: translateX(42px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.systems-image.is-visible,
.systems-accordion.is-visible {
  opacity: 1;
  transform: none;
}

.accordion {
  display: grid;
  gap: 16px;
  margin-top: 0;
}

.accordion details {
  margin: 0;
  border: 1px solid var(--border);
  background: rgba(11, 17, 32, 0.48);
  overflow: hidden;
}

.systems-accordion details {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.68s var(--ease),
    transform 0.68s var(--ease),
    border-color 0.3s ease,
    background 0.3s ease;
}

.systems-accordion.is-visible details {
  opacity: 1;
  transform: none;
}

.systems-accordion.is-visible details:nth-child(1) {
  transition-delay: 0.12s;
}

.systems-accordion.is-visible details:nth-child(2) {
  transition-delay: 0.28s;
}

.systems-accordion.is-visible details:nth-child(3) {
  transition-delay: 0.44s;
}

.accordion summary,
.accordion p,
.accordion ul,
.accordion .small-inline {
  margin-left: 24px;
  margin-right: 24px;
}

.accordion summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  margin: 0;
  padding: 0 24px;
  list-style: none;
}

.system-summary-text {
  display: grid;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.system-title {
  color: var(--foreground);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.system-description {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.system-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--cyan);
}

.system-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accordion details[open] .system-icon {
  color: #35c7f2;
}

.system-chevron {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease), stroke 0.3s ease;
}

.accordion details[open] .system-chevron {
  stroke: var(--cyan);
  transform: rotate(180deg);
}

.systems .accordion ul {
  padding-left: 0;
  list-style: none;
}

.systems .accordion p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.systems .accordion .system-expanded-copy {
  margin-top: 20px;
  margin-bottom: 16px;
}

.systems .accordion li {
  position: relative;
  min-height: 22px;
  padding-left: 30px;
  color: rgba(248, 251, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.6;
}

.systems .accordion li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1.4px solid var(--cyan);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.small-inline {
  width: auto;
  margin-bottom: 24px;
}

.systems .accordion .small-inline {
  margin-top: 10px;
}

.rapid {
  background: var(--background);
}

.rapid-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.section-kicker .eyebrow {
  margin: 0;
}

.alert-symbol {
  width: 34px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  filter: drop-shadow(0 0 16px rgba(0, 173, 238, 0.22));
}

.alert-symbol svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rapid-copy,
.rapid-media {
  will-change: opacity, transform;
}

.rapid-copy {
  opacity: 0;
  transform: translateX(-42px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.rapid-media {
  opacity: 0;
  transform: translateX(42px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.rapid-copy.is-visible,
.rapid-media.is-visible {
  opacity: 1;
  transform: none;
}

.rapid-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(1.875rem, 3.25vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
}

.rapid-copy .lead {
  margin-bottom: 32px;
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.72;
}

.rapid-copy .check-list li {
  opacity: 0;
  transform: translateX(-18px);
  font-size: 0.96rem;
  line-height: 1.65;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.rapid-copy.is-visible .check-list li {
  opacity: 1;
  transform: none;
}

.rapid-copy.is-visible .check-list li:nth-child(1) {
  transition-delay: 0.24s;
}

.rapid-copy.is-visible .check-list li:nth-child(2) {
  transition-delay: 0.36s;
}

.rapid-copy.is-visible .check-list li:nth-child(3) {
  transition-delay: 0.48s;
}

.rapid-copy.is-visible .check-list li:nth-child(4) {
  transition-delay: 0.6s;
}

.check-list.compact {
  margin-bottom: 40px;
}

.rapid-media {
  display: grid;
  gap: 24px;
}

.rapid-media .image-frame {
  aspect-ratio: 11 / 6;
}

.rapid-media .image-frame img {
  aspect-ratio: auto;
  object-fit: contain;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
}

.contact-title,
.contact-form,
.contact-info {
  will-change: opacity, transform;
}

.contact-title {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.82s var(--ease), transform 0.82s var(--ease);
}

.contact-form {
  opacity: 0;
  transform: translateX(-42px);
  transition: opacity 0.82s var(--ease), transform 0.82s var(--ease);
}

.contact-info {
  opacity: 0;
  transform: translateX(42px);
  transition: opacity 0.82s var(--ease), transform 0.82s var(--ease);
}

.contact-title.is-visible,
.contact-form.is-visible,
.contact-info.is-visible {
  opacity: 1;
  transform: none;
}

.contact .section-title h2 {
  margin-bottom: 16px;
  font-size: clamp(1.875rem, 3.25vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
}

.contact .section-title p {
  max-width: 560px;
  margin: 0 auto;
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.72;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: rgba(248, 251, 255, 0.72);
  font-size: 14px;
}

.full {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  padding: 15px 16px;
  color: var(--foreground);
  background: rgba(11, 17, 32, 0.72);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(0, 173, 238, 0.7);
  box-shadow: 0 0 0 3px rgba(0, 173, 238, 0.12);
}

textarea {
  resize: vertical;
}

.form-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.contact-status {
  margin: 0;
  padding: 13px 16px;
  border: 1px solid rgba(0, 173, 238, 0.3);
  background: rgba(0, 173, 238, 0.09);
  color: rgba(232, 244, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
}

.contact-status-error {
  border-color: rgba(255, 107, 107, 0.34);
  background: rgba(255, 107, 107, 0.1);
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 26px;
}

.contact-info a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.62s var(--ease),
    transform 0.62s var(--ease),
    color 0.25s ease;
}

.contact-info.is-visible a {
  opacity: 1;
  transform: none;
}

.contact-info.is-visible a:nth-child(1) {
  transition-delay: 0.12s;
}

.contact-info.is-visible a:nth-child(2) {
  transition-delay: 0.24s;
}

.contact-info.is-visible a:nth-child(3) {
  transition-delay: 0.36s;
}

.contact-info .contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 28px rgba(0, 173, 238, 0.2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.contact-info .contact-icon svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info a:hover .contact-icon {
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(0, 173, 238, 0.32),
    0 0 24px rgba(0, 173, 238, 0.18);
}

.contact-info b,
.contact-info span {
  display: block;
}

.contact-info b {
  margin-bottom: 4px;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 500;
}

.contact-info a > span:last-child > span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  transition: color 0.25s ease;
}

.contact-info a:hover > span:last-child > span {
  color: rgba(248, 251, 255, 0.82);
}

.partners {
  position: relative;
  padding: 44px 0 64px;
  overflow: hidden;
  background: var(--background);
}

.partners .container {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}

.partners .container::before,
.partners .container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(70px, 12vw, 180px);
  pointer-events: none;
}

.partners .container::before {
  left: 0;
  background: linear-gradient(90deg, var(--background), rgba(11, 17, 32, 0));
}

.partners .container::after {
  right: 0;
  background: linear-gradient(270deg, var(--background), rgba(11, 17, 32, 0));
}

.testimonials {
  position: relative;
  padding: 88px 0;
  background: var(--background);
}

.testimonial-slider {
  position: relative;
  min-height: 260px;
}

.testimonial {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

.testimonial.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial img {
  width: 100px;
  margin-bottom: -8px;
  opacity: 0.22;
}

.testimonial p {
  max-width: 760px;
  color: rgba(248, 251, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.72;
}

.testimonial h3 {
  margin: 10px 0 4px;
  font-size: 1.15rem;
}

.testimonial span {
  color: rgba(248, 251, 255, 0.58);
  font-size: 0.95rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.testimonial-controls button {
  width: 8px;
  height: 8px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.testimonial-controls button.is-active {
  width: 26px;
  background: var(--cyan);
}

.partner-track {
  display: flex;
  gap: 34px;
  align-items: center;
  width: max-content;
  animation: partner-scroll 32s linear infinite;
  will-change: transform;
}

.partner-track img {
  width: 120px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.3);
  opacity: 0.72;
}

@keyframes partner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes button-pulse {
  0%,
  100% {
    box-shadow: 0 10px 34px rgba(0, 173, 238, 0.24);
  }

  50% {
    box-shadow:
      0 10px 34px rgba(0, 173, 238, 0.36),
      0 0 32px rgba(0, 173, 238, 0.24);
  }
}

@keyframes scroll-chevron {
  0%,
  100% {
    opacity: 0.48;
    transform: translate3d(-50%, -2px, 0);
  }

  50% {
    opacity: 0.9;
    transform: translate3d(-50%, 5px, 0);
  }
}

.site-footer {
  padding: 64px max(24px, calc((100vw - var(--container)) / 2));
  border-top: 1px solid var(--border);
  background: var(--background);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 44px;
}

.footer-brand p {
  max-width: 420px;
  margin-top: 16px;
  color: var(--muted);
}

.site-footer h4 {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.legal-page {
  padding-top: 80px;
}

.not-found-main {
  min-height: 100vh;
}

.not-found-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background: #0a0f1a;
}

.not-found-image,
.not-found-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.not-found-image {
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
}

.not-found-overlay {
  background: linear-gradient(0deg, #0a0f1a 0%, rgba(10, 15, 26, 0.86) 44%, rgba(10, 15, 26, 0.46) 100%);
}

.not-found-shell {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 34px;
}

.not-found-code {
  display: block;
  margin-bottom: 24px;
  color: rgba(248, 251, 255, 0.62);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.36em;
}

.not-found-shell h1 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(1.875rem, 3.25vw, 3rem);
  line-height: 1.08;
  font-weight: 600;
}

.not-found-subtitle {
  max-width: 560px;
  margin: 0 auto 18px;
  color: rgba(248, 251, 255, 0.76);
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.72;
}

.not-found-cta {
  margin: 0 auto 44px;
  color: var(--cyan);
  font-size: clamp(1.08rem, 1.65vw, 1.34rem);
  font-weight: 500;
  line-height: 1.45;
}

.not-found-home {
  min-width: 220px;
  min-height: 48px;
  padding: 0 28px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.not-found-home .button-icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.not-found-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 54px;
  z-index: 1;
  margin: 0;
  color: rgba(248, 251, 255, 0.34);
  font-size: 0.84rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.admin-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 48px 20px;
  background:
    radial-gradient(circle at top right, rgba(0, 173, 238, 0.12), transparent 32rem),
    var(--background);
}

.admin-page-dashboard {
  align-items: start;
}

.admin-shell {
  width: min(100%, 760px);
  margin: 0 auto;
}

.admin-shell-dashboard {
  width: min(100%, 1120px);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.admin-logo img {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(0, 173, 238, 0.18));
}

.admin-card {
  padding: 32px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
}

.admin-section-card {
  margin-bottom: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
}

.admin-page .button.small {
  width: auto;
}

.admin-login-card {
  width: min(100%, 448px);
  margin: 0 auto;
  padding: 32px;
  text-align: center;
}

.admin-login-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 32px rgba(0, 173, 238, 0.22);
}

.admin-login-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-login-copy {
  margin-bottom: 24px;
}

.admin-card h1 {
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.12;
}

.admin-card p {
  color: var(--muted);
  line-height: 1.65;
}

.admin-env-note {
  border: 1px solid rgba(0, 176, 239, 0.18);
  padding: 14px 16px;
  background: rgba(0, 176, 239, 0.08);
  color: rgba(217, 226, 239, 0.82) !important;
  font-size: 0.9rem;
}

.admin-env-note code {
  color: #fff;
  font-size: 0.82em;
  font-weight: 800;
}

.admin-card-title {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
}

.admin-card-title .contact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.admin-card-title svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-form {
  display: grid;
  gap: 18px;
}

.admin-form label {
  display: grid;
  gap: 9px;
  text-align: left;
  color: rgba(248, 251, 255, 0.72);
  font-size: 14px;
}

.admin-settings {
  display: grid;
  gap: 24px;
}

.admin-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.admin-list-heading p {
  max-width: 620px;
  margin: 0;
}

.admin-list-heading .eyebrow {
  margin-bottom: 9px;
}

.admin-list-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.18;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-list-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 14, 26, 0.54);
  transition: border-color 0.24s ease, background 0.24s ease, transform 0.24s var(--ease);
}

.admin-list-row:hover {
  border-color: rgba(0, 173, 238, 0.3);
  background: rgba(11, 17, 32, 0.72);
  transform: translateY(-1px);
}

.admin-list-row img {
  width: 116px;
  height: 72px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.admin-list-copy {
  min-width: 0;
}

.admin-list-copy h3 {
  margin: 0 0 5px;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.admin-list-copy p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: rgba(143, 156, 175, 0.9);
  font-size: 0.88rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.admin-list-meta span,
.admin-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 9px;
  color: rgba(248, 251, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-status-pill {
  justify-self: end;
  color: #fff;
  border-color: rgba(0, 173, 238, 0.38);
  background: linear-gradient(180deg, rgba(0, 173, 238, 0.95), rgba(46, 49, 145, 0.95));
  box-shadow: 0 8px 22px rgba(0, 173, 238, 0.16);
}

.admin-status-pill.is-muted {
  color: rgba(248, 251, 255, 0.64);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.admin-accordion {
  margin-bottom: 24px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
}

.admin-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.admin-accordion > summary::-webkit-details-marker,
.admin-editor > summary::-webkit-details-marker {
  display: none;
}

.admin-accordion > summary b {
  display: block;
  color: var(--foreground);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.18;
}

.admin-accordion > summary svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: rgba(248, 251, 255, 0.75);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.admin-accordion[open] > summary svg {
  transform: rotate(180deg);
}

.admin-accordion-body {
  padding: 0 32px 32px;
}

.admin-editor {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 14, 26, 0.54);
}

.admin-editor + .admin-editor {
  margin-top: 12px;
}

.admin-editor.is-new {
  margin-bottom: 16px;
  border-color: rgba(0, 173, 238, 0.24);
  background: rgba(0, 173, 238, 0.06);
}

.admin-reorder-form {
  display: none;
}

.admin-save-state {
  min-height: 20px;
  margin: -4px 0 10px;
  color: rgba(0, 173, 238, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.admin-save-state.is-visible {
  opacity: 1;
}

.admin-save-state.is-error {
  color: #ffd9d9;
}

.admin-editor > summary {
  display: grid;
  grid-template-columns: 34px 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding: 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.24s ease;
}

.admin-editor.is-new > summary {
  display: block;
  min-height: 0;
  padding: 18px;
  color: var(--foreground);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-editor > summary:hover {
  background: rgba(0, 173, 238, 0.06);
}

.admin-drag-handle {
  width: 34px;
  height: 46px;
  display: grid;
  place-items: center;
  color: rgba(248, 251, 255, 0.44);
  cursor: grab;
  touch-action: none;
  transition: color 0.2s ease, transform 0.2s var(--ease);
}

.admin-drag-handle:active {
  cursor: grabbing;
}

.admin-drag-handle:hover {
  color: var(--cyan);
  transform: translateY(-1px);
}

.admin-drag-handle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-editor.is-dragging {
  opacity: 0.48;
  transform: scale(0.985);
}

.admin-editor > summary img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.06);
}

.admin-category-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: end;
  gap: 14px;
  padding: 16px;
}

.admin-category-editor > summary {
  grid-template-columns: 34px minmax(0, 1fr) auto;
}

.admin-category-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  padding: 0 18px 22px;
}

.admin-category-row > form:not(.admin-category-form) {
  margin: 0;
}

.admin-editor .admin-list-copy b,
.admin-editor .admin-list-copy span {
  display: block;
}

.admin-editor .admin-list-copy b {
  margin-bottom: 5px;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 600;
}

.admin-editor .admin-list-copy span {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(143, 156, 175, 0.9);
  font-size: 0.88rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 18px 18px;
}

.admin-row-actions form {
  margin: 0;
}

.admin-row-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.admin-row-controls form {
  margin: 0;
}

.admin-inline-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
}

.admin-inline-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-inline-switch .admin-switch-track {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
  flex: 0 0 auto;
}

.admin-inline-switch .admin-switch-track span {
  width: 18px;
  height: 18px;
}

.admin-inline-switch input:checked + .admin-switch-track {
  border-color: rgba(0, 173, 238, 0.72);
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 20px rgba(0, 173, 238, 0.18);
}

.admin-inline-switch input:checked + .admin-switch-track span {
  transform: translateX(20px);
  background: #fff;
}

.admin-inline-switch em {
  min-width: 62px;
  color: rgba(248, 251, 255, 0.62);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-inline-switch input:checked ~ em {
  color: var(--cyan);
}

.admin-icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(0, 173, 238, 0.24);
  color: rgba(248, 251, 255, 0.74);
  background: rgba(11, 17, 32, 0.32);
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.admin-icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 173, 238, 0.62);
  color: #fff;
  box-shadow: 0 0 18px rgba(0, 173, 238, 0.2);
}

.admin-icon-button.danger {
  border-color: rgba(255, 91, 91, 0.3);
  color: #ffd9d9;
}

.admin-icon-button.danger:hover {
  border-color: rgba(255, 91, 91, 0.62);
  box-shadow: 0 0 18px rgba(255, 91, 91, 0.16);
}

.admin-icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-page .button.danger {
  color: #ffd9d9;
  border-color: rgba(255, 91, 91, 0.45);
}

.admin-page .button:disabled {
  pointer-events: none;
  opacity: 0.42;
}

.admin-edit-form {
  display: grid;
  gap: 16px;
  padding: 0 18px 22px;
}

.admin-edit-form label {
  display: grid;
  gap: 8px;
  color: rgba(248, 251, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.admin-media-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
}

.admin-media-preview figure,
.admin-investment-preview {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 17, 32, 0.58);
}

.admin-media-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.admin-media-preview figcaption,
.admin-investment-preview span {
  display: block;
  padding: 8px 9px;
  overflow: hidden;
  color: rgba(143, 156, 175, 0.86);
  font-size: 0.68rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-media-delete {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0;
  background: rgba(4, 10, 20, 0.72);
  color: #fff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.admin-media-delete:hover {
  border-color: rgba(255, 91, 91, 0.75);
  background: rgba(164, 28, 28, 0.88);
  box-shadow: 0 12px 28px rgba(164, 28, 28, 0.24);
  transform: translateY(-1px);
}

.admin-media-delete svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.admin-investment-preview {
  max-width: 520px;
}

.admin-investment-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.admin-upload-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -6px;
}

.admin-upload-selection span {
  border: 1px solid rgba(0, 176, 239, 0.2);
  padding: 7px 9px;
  background: rgba(0, 176, 239, 0.09);
  color: rgba(225, 239, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
}

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

.admin-form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

select {
  width: 100%;
  border: 1px solid var(--border);
  padding: 15px 16px;
  color: var(--foreground);
  background: rgba(11, 17, 32, 0.72);
  outline: none;
}

.admin-check {
  align-content: center;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.admin-check input {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--cyan);
}

.admin-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
}

.admin-switch-copy,
.admin-switch-copy b,
.admin-switch-copy span,
.admin-switch-copy em {
  display: block;
}

.admin-switch-copy b {
  margin-bottom: 5px;
  color: var(--foreground);
  font-weight: 500;
}

.admin-switch-copy span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-switch-copy em {
  margin-top: 9px;
  color: var(--cyan);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-switch-control {
  position: relative;
  width: 48px;
  height: 26px;
  flex: 0 0 auto;
}

.admin-switch-control input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-switch-track {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 173, 238, 0.32);
  border-radius: 999px;
  background: rgba(11, 17, 32, 0.96);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.admin-switch-track span {
  width: 20px;
  height: 20px;
  display: block;
  margin: 2px;
  border-radius: 50%;
  background: rgba(248, 251, 255, 0.7);
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.admin-switch-control input:checked + .admin-switch-track {
  border-color: rgba(0, 173, 238, 0.72);
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 24px rgba(0, 173, 238, 0.22);
}

.admin-switch-control input:checked + .admin-switch-track span {
  transform: translateX(22px);
  background: #fff;
}

.admin-switch-control input:focus-visible + .admin-switch-track {
  outline: 2px solid rgba(0, 173, 238, 0.72);
  outline-offset: 4px;
}

.admin-alert {
  margin: 0 0 18px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  font-size: 0.92rem;
}

.admin-alert.success {
  border-color: rgba(0, 173, 238, 0.38);
  color: rgba(248, 251, 255, 0.88);
  background: rgba(0, 173, 238, 0.12);
}

.admin-alert.error {
  border-color: rgba(255, 91, 91, 0.45);
  color: #ffd9d9;
  background: rgba(255, 91, 91, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

@media (max-width: 720px) {
  .admin-page {
    padding: 28px 16px;
  }

  .admin-section-card,
  .admin-card {
    padding: 22px;
  }

  .admin-accordion > summary,
  .admin-accordion-body {
    padding-right: 22px;
    padding-left: 22px;
  }

  .admin-list-heading {
    display: grid;
    gap: 16px;
  }

  .admin-list-row {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
  }

  .admin-list-row img {
    width: 84px;
    height: 64px;
  }

  .admin-status-pill {
    grid-column: 2;
    justify-self: start;
  }

  .admin-switch-row {
    align-items: flex-start;
  }

  .admin-editor > summary {
    grid-template-columns: 30px 72px minmax(0, 1fr);
    gap: 12px;
  }

  .admin-editor > summary img {
    width: 72px;
    height: 56px;
  }

  .admin-editor > summary .admin-status-pill {
    grid-column: 3;
    justify-self: start;
  }

  .admin-editor > summary .admin-row-controls {
    grid-column: 3;
    justify-self: start;
    flex-wrap: wrap;
  }

  .admin-category-row {
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: start;
  }

  .admin-category-editor > summary {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .admin-category-editor > summary .admin-row-controls {
    grid-column: 2;
  }

  .admin-category-form {
    grid-template-columns: 1fr;
  }

  .admin-category-row > form:not(.admin-category-form) {
    grid-column: 2;
  }

  .admin-category-row .admin-row-controls {
    grid-column: 2;
    justify-self: start;
  }

  .admin-form-grid,
  .admin-form-grid.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 72px;
    padding: 0 16px 0 24px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 54;
  }

  .menu-toggle span {
    margin-left: auto;
    margin-right: 0;
  }

  .brand {
    position: relative;
    z-index: 54;
  }

  .site-menu,
  .header-actions {
    display: none;
  }

  .site-header.is-open .site-menu {
    position: fixed;
    inset: 0;
    z-index: 52;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    padding: 92px 24px 72px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header.is-open .site-menu > a {
    color: rgba(248, 251, 255, 0.9);
    font-size: clamp(1.36rem, 4.2vw, 2rem);
    line-height: 1.1;
    text-align: center;
  }

  .site-header.is-open .mobile-menu-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
  }

  .site-header.is-open .mobile-menu-actions .icon-action,
  .site-header.is-open .mobile-menu-actions .language-chip {
    width: 40px;
    height: 40px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .split,
  .split.reverse,
  .contact-grid,
  .systems-grid,
  .rapid-grid,
  .cards.two,
  .cards.three,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 92px 0;
  }

  .methodology {
    padding: 28px;
  }

  .sticky-image {
    position: relative;
    top: auto;
  }

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

  .project-detail-heading {
    display: grid;
  }

  .project-detail-area {
    width: fit-content;
  }

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

  .project-detail-result {
    padding: 18px 20px;
  }

  .project-gallery-arrow {
    opacity: 1;
  }

  .scroll-mark {
    bottom: 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0 10px 0 16px;
  }

  .container,
  .narrow,
  .hero-content {
    width: min(100% - 32px, var(--container));
  }

  .hero {
    min-height: 92vh;
  }

  h1 {
    font-size: 3rem;
  }

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

  .not-found-shell {
    width: min(100% - 32px, 620px);
    padding-bottom: 30px;
  }

  .not-found-code {
    margin-bottom: 20px;
    font-size: 12px;
  }

  .not-found-shell h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 9.4vw, 3rem);
  }

  .not-found-subtitle {
    margin-bottom: 16px;
    font-size: 1rem;
  }

  .not-found-cta {
    margin-bottom: 36px;
    font-size: 1.08rem;
  }

  .not-found-home {
    min-width: 0;
    width: min(100%, 320px);
    min-height: 50px;
    padding: 0 28px;
    font-size: 13px;
  }

  .not-found-home .button-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }

  .not-found-foot {
    bottom: 34px;
    font-size: 0.8rem;
  }

  .button {
    width: 100%;
  }

  .project-detail {
    margin-bottom: 48px;
    padding-bottom: 48px;
  }

  .project-back {
    justify-content: center;
  }

  .project-detail-heading h3 {
    font-size: clamp(1.65rem, 8vw, 2.12rem);
  }

  .project-tab-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .project-tab-list button {
    border-right: 0;
    padding: 0 10px;
    font-size: 11px;
  }

  .project-tab-panel {
    padding: 22px;
  }

  .project-thumbnails button {
    width: 82px;
    height: 58px;
  }

  .scroll-mark {
    bottom: 18px;
  }

  .contact-form,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

  .hero-animate {
    opacity: 1;
    transform: none;
  }

  .button-pulse {
    animation: none;
  }
}
