:root {
  --bg: #f4f4f4;
  --surface: rgba(255, 255, 255, 0.76);
  --surface-strong: #ffffff;
  --surface-muted: #e0e0e0;
  --text: #1a1a1a;
  --muted: #646b75;
  --line: rgba(26, 26, 26, 0.1);
  --line-strong: rgba(26, 26, 26, 0.18);
  --accent: #0d4bd6;
  --accent-soft: rgba(13, 75, 214, 0.12);
  --accent-deep: #0e5b49;
  --shadow: 0 28px 80px rgba(23, 28, 35, 0.12);
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.82), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(214, 221, 230, 0.78), transparent 26%),
    linear-gradient(180deg, #f8f8f8 0%, #f4f4f4 48%, #eceff2 100%);
}

a {
  color: inherit;
}

body.cursor-enabled {
  cursor: none;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 60;
  mix-blend-mode: multiply;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 180ms ease, width 180ms ease, height 180ms ease, border-color 180ms ease, background 180ms ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 26, 0.28);
}

.cursor-visible .cursor-dot,
.cursor-visible .cursor-ring {
  opacity: 1;
}

.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
  border-color: rgba(22, 80, 214, 0.32);
  background: rgba(22, 80, 214, 0.05);
}

.page-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 16px;
  z-index: 20;
  box-shadow: var(--shadow);
}

.site-header.compact {
  position: static;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(26, 26, 26, 0.1);
  background:
    linear-gradient(145deg, #ffffff, #dfe3e7),
    linear-gradient(145deg, #37404a, #5c6672);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
}

.brand-copy strong {
  font-size: 1.15rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-nav a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.top-nav a:hover,
.footer-links a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 44px 0 20px;
}

.hero-film {
  position: absolute;
  inset: 26px 0 auto;
  height: 560px;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, #dadfe4, #f1f3f5);
  box-shadow: var(--shadow);
}

.film-layer,
.film-noise {
  position: absolute;
  inset: -12%;
}

.film-layer {
  filter: blur(36px);
  opacity: 0.92;
}

.layer-one {
  background:
    radial-gradient(circle at 22% 36%, rgba(71, 89, 114, 0.42), transparent 26%),
    radial-gradient(circle at 75% 28%, rgba(22, 80, 214, 0.22), transparent 20%),
    radial-gradient(circle at 58% 78%, rgba(159, 171, 184, 0.52), transparent 24%);
  animation: hero-flow 18s ease-in-out infinite;
}

.layer-two {
  background:
    radial-gradient(circle at 72% 62%, rgba(33, 45, 61, 0.28), transparent 24%),
    radial-gradient(circle at 34% 24%, rgba(210, 216, 223, 0.82), transparent 20%);
  animation: hero-flow 24s ease-in-out infinite reverse;
}

.layer-three {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(50, 62, 77, 0.08), transparent 40%);
  animation: shimmer 16s linear infinite;
}

.film-noise {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.65fr);
  gap: 24px;
  padding-top: 82px;
  align-items: start;
}

.glass-panel,
.pillar-card,
.masonry-card,
.support-card,
.content-page section,
.section-band,
.process-step,
.capability-list {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.glass-panel {
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px);
}

.hero-card {
  padding: 40px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.hero-card h1 {
  margin: 0 0 18px;
  max-width: 9.5ch;
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.hero-text,
.section-heading p,
.pillar-card p,
.masonry-copy span,
.content-page p,
.content-page li,
.capability-list li,
.process-step p,
.hero-aside p {
  color: var(--muted);
  line-height: 1.74;
}

.hero-text {
  max-width: 56ch;
  font-size: 1.04rem;
  margin-bottom: 28px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-notes span,
.work-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-actions,
.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 0;
  transition: height 220ms ease;
  z-index: 0;
}

.button span,
.button {
  z-index: 1;
}

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

.button-primary {
  color: #f4f4f4;
  background: var(--text);
}

.button-primary::before {
  background: var(--accent);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.48);
}

.button-secondary::before {
  background: rgba(22, 80, 214, 0.08);
}

.button:hover::before {
  height: 100%;
}

.hero-aside {
  padding: 28px;
}

.aside-label {
  margin: 0 0 8px;
  font-size: 0.84rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-aside h2 {
  margin: 0 0 14px;
  font-size: 2.1rem;
}

.aside-stats {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.aside-stats div {
  padding: 16px 0;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.aside-stats span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  color: var(--muted);
}

.aside-stats strong {
  font-size: 1rem;
}

.aside-contact {
  display: inline-flex;
  margin-top: 22px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid rgba(26, 26, 26, 0.14);
  padding-bottom: 4px;
  transition: color 180ms ease, border-color 180ms ease;
}

.aside-contact:hover {
  color: var(--accent);
  border-color: rgba(13, 75, 214, 0.28);
}

.section {
  padding: 34px 0;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.content-page h1 {
  margin: 0 0 10px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.section-heading.narrow {
  max-width: 48rem;
}

.pillar-grid,
.support-grid,
.process-grid {
  display: grid;
  gap: 22px;
}

.pillar-grid,
.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar-grid .pillar-card:nth-child(2) {
  transform: translateY(18px);
}

.pillar-grid .pillar-card:nth-child(3) {
  transform: translateY(40px);
}

.pillar-card,
.support-card,
.content-page section,
.section-band,
.process-step,
.capability-list {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(246, 247, 248, 0.76));
}

.pillar-card::before,
.masonry-card::before,
.support-card::before,
.content-page section::before,
.section-band::before,
.process-step::before,
.capability-list::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 44%),
    radial-gradient(circle at top right, rgba(26, 80, 214, 0.05), transparent 22%);
  pointer-events: none;
}

.pillar-card h3,
.masonry-copy h3,
.support-card h2,
.content-page h2,
.capability-list h3,
.process-step h3 {
  margin: 0 0 12px;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.icon-shell {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(26, 26, 26, 0.08);
}

.motion-icon {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: #24303f;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-orbit {
  animation: orbit-bob 4s ease-in-out infinite;
}

.icon-rotate {
  transform-origin: center;
  animation: rotate-bar 4.8s linear infinite;
}

.icon-pulse {
  animation: icon-pulse 2.6s ease-in-out infinite;
}

.masonry-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}

.masonry-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(239, 242, 245, 0.84));
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.masonry-card:hover {
  transform: scale(1.015);
  box-shadow: 0 34px 90px rgba(23, 28, 35, 0.16);
}

.masonry-large {
  grid-row: span 2;
}

.masonry-tall {
  grid-row: span 2;
}

.masonry-media {
  min-height: 240px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #e8ecf0, #f8f9fa);
}

.media-stockwise {
  min-height: 360px;
}

.media-orb {
  position: absolute;
  inset: auto 20px 26px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 80, 214, 0.18), transparent 62%);
  filter: blur(20px);
}

.media-frame {
  position: absolute;
  inset: 26px;
  border-radius: 22px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: rgba(255, 255, 255, 0.66);
  padding: 18px;
}

.frame-bar {
  display: block;
  width: 54%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(145deg, #d5dce5, #eef2f6);
  margin-bottom: 12px;
}

.frame-short {
  width: 32%;
}

.frame-grid {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  top: 86px;
  border-radius: 16px;
  background:
    linear-gradient(rgba(84, 94, 108, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 94, 108, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
}

.phone-stack {
  position: absolute;
  inset: 24px;
}

.phone-stack span {
  position: absolute;
  width: 46%;
  height: 78%;
  border-radius: 28px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 32px rgba(66, 79, 98, 0.12);
}

.phone-stack span:first-child {
  left: 12%;
  top: 8%;
  transform: rotate(-8deg);
}

.phone-stack span:last-child {
  right: 12%;
  bottom: 8%;
  transform: rotate(8deg);
}

.support-lines,
.launch-grid {
  position: absolute;
  inset: 22px;
  border-radius: 20px;
  background:
    linear-gradient(rgba(77, 88, 102, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 88, 102, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
}

.support-lines::before,
.launch-grid::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
}

.masonry-copy p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.masonry-copy span {
  display: block;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.capabilities-section {
  position: relative;
  overflow: hidden;
}

.ticker-wrap {
  position: absolute;
  inset: 44px -10% auto;
  overflow: hidden;
  opacity: 0.36;
  pointer-events: none;
}

.ticker-track {
  display: flex;
  gap: 34px;
  white-space: nowrap;
  animation: ticker-slide 26s linear infinite;
}

.ticker-track span {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: rgba(26, 26, 26, 0.16);
}

.capabilities-layout {
  position: relative;
}

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

.capability-list ul {
  margin: 0;
  padding-left: 1.1rem;
}

.capability-list li {
  margin-bottom: 10px;
}

.process-section {
  min-height: 120vh;
}

.process-sticky {
  position: sticky;
  top: 112px;
}

.process-line {
  position: relative;
  height: 2px;
  background: rgba(26, 26, 26, 0.12);
  margin: 18px 0 28px;
}

.process-line-fill {
  display: block;
  width: calc(var(--draw-progress, 0) * 100%);
  height: 100%;
  background: var(--accent);
  transition: width 120ms linear;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.section-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.band-copy {
  max-width: 44rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.inner-page {
  min-height: 100vh;
}

.content-page {
  padding-top: 34px;
}

.content-page .lead {
  max-width: 52rem;
  font-size: 1.04rem;
}

.content-page section {
  margin-top: 18px;
}

.support-grid .support-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(243, 245, 247, 0.8));
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-delay {
  transition-delay: 120ms;
}

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

.magnetic {
  transition: transform 200ms ease;
}

@keyframes hero-flow {
  0%,
  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.08) translate3d(18px, -14px, 0);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-6%);
  }
  50% {
    transform: translateX(4%);
  }
  100% {
    transform: translateX(-6%);
  }
}

@keyframes orbit-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes rotate-bar {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes icon-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.78;
  }
}

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

@media (max-width: 1024px) {
  .hero-layout,
  .pillar-grid,
  .support-grid,
  .capability-columns,
  .process-grid,
  .section-band,
  .site-footer {
    grid-template-columns: 1fr;
    display: grid;
  }

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

  .masonry-large,
  .masonry-tall {
    grid-row: auto;
  }

  .section-band,
  .site-footer {
    justify-content: initial;
  }

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

  .pillar-grid .pillar-card:nth-child(2),
  .pillar-grid .pillar-card:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, var(--max-width));
    padding-top: 14px;
  }

  .site-header {
    position: static;
    border-radius: 18px;
    padding: 14px;
  }

  .hero-film {
    inset: 18px 0 auto;
    height: 500px;
  }

  .hero-layout {
    padding-top: 60px;
  }

  .hero-card,
  .hero-aside,
  .pillar-card,
  .masonry-card,
  .support-card,
  .content-page section,
  .section-band,
  .process-step,
  .capability-list {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-card h1 {
    max-width: none;
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  .top-nav {
    gap: 12px;
  }

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

  .process-line {
    margin-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
