:root {
  color-scheme: light;
  --ink: #101820;
  --ink-soft: #344252;
  --muted: #667482;
  --line: rgba(255, 255, 255, 0.54);
  --line-dark: rgba(17, 24, 32, 0.12);
  --paper: rgba(255, 255, 255, 0.66);
  --paper-strong: rgba(255, 255, 255, 0.84);
  --frost: rgba(248, 252, 255, 0.72);
  --cyan: #58d7f5;
  --cyan-deep: #0a8cb6;
  --amber: #f0b85a;
  --sage: #88b7a4;
  --graphite: #111820;
  --graphite-soft: #27313d;
  --shadow: 0 24px 70px rgba(44, 58, 73, 0.16);
  --shadow-soft: 0 14px 36px rgba(44, 58, 73, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  font-family: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(88, 215, 245, 0.08), transparent 34%),
    linear-gradient(180deg, #f8fbfd 0%, #eef4f7 48%, #f8fbfd 100%);
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(16, 24, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 32, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(248, 252, 255, 0.64);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, #111820, #2f3a46 54%, #5fdcf8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 12px 26px rgba(16, 24, 32, 0.18);
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

nav a {
  color: rgba(16, 24, 32, 0.66);
  font-size: 0.95rem;
  font-weight: 560;
  transition: color 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(600px, 76svh, 760px);
  display: grid;
  align-items: center;
  overflow: clip;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  transform: scale(1.02);
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.96) 0%, rgba(248, 252, 255, 0.84) 31%, rgba(248, 252, 255, 0.18) 66%, rgba(248, 252, 255, 0.36) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(224, 241, 247, 0.42));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(248, 251, 253, 0.92));
}

.hero-pane {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 28px 90px rgba(30, 58, 72, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: paneDrift 9s ease-in-out infinite alternate;
}

.pane-one {
  width: 150px;
  height: 220px;
  right: 11%;
  top: 18%;
}

.pane-two {
  width: 240px;
  height: 118px;
  right: 22%;
  bottom: 16%;
  animation-delay: 900ms;
}

.pane-three {
  width: 110px;
  height: 110px;
  left: 46%;
  top: 20%;
  animation-delay: 1400ms;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 0 38px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan-deep);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #86e6ff;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 20px;
  font-size: 5.7rem;
  line-height: 0.92;
  font-weight: 780;
}

h2 {
  max-width: 14ch;
  margin-bottom: 18px;
  font-size: 3.25rem;
  line-height: 1;
  font-weight: 760;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.14;
  font-weight: 730;
}

h4 {
  margin: 0 0 12px;
  font-size: 0.96rem;
}

.hero-lead,
.section-lead,
.page-lead,
.studio-copy p,
.legal-card p {
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 720;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--graphite), var(--graphite-soft) 62%, #0f9dc6);
  box-shadow: 0 18px 36px rgba(16, 24, 32, 0.22);
}

.button-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-metrics {
  width: min(850px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.hero-metrics div {
  min-height: 142px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.26);
}

.hero-metrics span,
.card-index,
.contact-card span,
.flow-step span {
  display: block;
  color: var(--cyan-deep);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-metrics strong {
  display: block;
  margin: 10px 0 7px;
  font-size: 1.12rem;
}

.hero-metrics p,
.service-card p,
.flow-step p,
.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  padding: 90px 0;
}

.section-lift {
  padding-top: 28px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 30px;
}

.section-lead {
  max-width: 640px;
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(148%);
  -webkit-backdrop-filter: blur(22px) saturate(148%);
}

.service-card {
  min-height: 276px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber), transparent);
  transform: scaleX(0.72);
  transform-origin: left;
  transition: transform 220ms ease;
}

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

.card-index {
  margin-bottom: 52px;
}

.section-dark {
  color: #fff;
  background:
    linear-gradient(115deg, #101820 0%, #1c2835 58%, #2c3d48 100%);
}

.dark-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 52px;
  align-items: start;
}

.light {
  color: rgba(233, 244, 248, 0.74);
}

.flow {
  display: grid;
  gap: 12px;
}

.flow-step {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.flow-step span {
  color: var(--amber);
  margin-bottom: 20px;
}

.flow-step h3,
.flow-step p {
  color: #fff;
}

.flow-step p {
  color: rgba(233, 244, 248, 0.72);
}

.section-studio {
  padding-bottom: 44px;
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.studio-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.studio-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(0deg, rgba(17, 24, 32, 0.14), transparent 48%);
}

.studio-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 70% 50%;
}

.studio-copy p {
  max-width: 620px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.marquee-section {
  padding: 36px 0;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(16, 24, 32, 0.08);
  background: rgba(255, 255, 255, 0.42);
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 34px;
  padding: 18px 0;
  animation: ticker 28s linear infinite;
}

.ticker span {
  color: rgba(16, 24, 32, 0.56);
  font-size: 1rem;
  font-weight: 680;
  white-space: nowrap;
}

.cta-section {
  padding-top: 44px;
}

.cta-band {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42)),
    linear-gradient(100deg, rgba(88, 215, 245, 0.16), rgba(240, 184, 90, 0.14));
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 620px;
  margin-bottom: 0;
}

.site-footer {
  padding: 44px 0 52px;
  border-top: 1px solid rgba(16, 24, 32, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 0.7fr 0.7fr;
  gap: 28px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 500px;
}

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

.site-footer .brand {
  display: inline-flex;
  color: var(--ink);
}

.page-shell {
  min-height: calc(100svh - 174px);
  padding: 90px 0;
}

.page-hero {
  max-width: 920px;
  margin-bottom: 32px;
}

.page-hero h1,
.legal-card h1,
.not-found-card h1 {
  max-width: 12ch;
  font-size: 4.4rem;
  line-height: 0.98;
}

.page-lead {
  max-width: 760px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-card {
  min-height: 166px;
  display: grid;
  align-content: space-between;
  padding: 24px;
}

.contact-card a,
.contact-card strong {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.22;
}

.legal-card {
  width: min(860px, calc(100% - 44px));
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.legal-card h1 {
  max-width: 720px;
}

.legal-card h2 {
  max-width: none;
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.16;
}

.legal-card a {
  color: var(--cyan-deep);
  font-weight: 720;
}

.compact-footer {
  padding: 28px 0;
}

.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-simple a {
  color: var(--muted);
  font-weight: 620;
}

.not-found {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 44px 0;
  background:
    linear-gradient(115deg, rgba(88, 215, 245, 0.14), transparent 42%),
    linear-gradient(180deg, #f8fbfd, #eef4f7);
}

.not-found-card {
  max-width: 820px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

@keyframes paneDrift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(14px, -18px, 0) rotate(1deg);
  }
}

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

@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    animation: revealUp 700ms ease both;
  }

  .hero-content > *:nth-child(2) {
    animation-delay: 80ms;
  }

  .hero-content > *:nth-child(3) {
    animation-delay: 160ms;
  }

  .hero-content > *:nth-child(4) {
    animation-delay: 240ms;
  }

  .hero-content > *:nth-child(5) {
    animation-delay: 320ms;
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1020px) {
  .hero {
    min-height: 760px;
  }

  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .section-grid,
  .dark-layout,
  .studio-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .studio-media {
    min-height: 430px;
  }
}

@media (max-width: 700px) {
  .container,
  .legal-card {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 84px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 12px 0;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  nav a {
    font-size: 0.84rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 44px 0 32px;
  }

  .hero-bg {
    object-position: 72% 50%;
  }

  .hero-wash {
    background:
      linear-gradient(180deg, rgba(248, 252, 255, 0.92) 0%, rgba(248, 252, 255, 0.82) 48%, rgba(248, 252, 255, 0.64) 100%),
      linear-gradient(90deg, rgba(248, 252, 255, 0.96), rgba(248, 252, 255, 0.28));
  }

  .hero-pane {
    display: none;
  }

  h1 {
    max-width: none;
    font-size: 3.25rem;
    line-height: 0.98;
  }

  h2,
  .page-hero h1,
  .legal-card h1,
  .not-found-card h1 {
    max-width: none;
    font-size: 2.2rem;
    line-height: 1.04;
  }

  .hero-lead,
  .section-lead,
  .page-lead,
  .studio-copy p,
  .legal-card p {
    font-size: 1rem;
  }

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

  .button {
    width: 100%;
  }

  .hero-metrics {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .hero-metrics div {
    flex: 0 0 245px;
    min-height: auto;
    scroll-snap-align: start;
  }

  .section {
    padding: 64px 0;
  }

  .service-card,
  .flow-step,
  .contact-card,
  .legal-card,
  .not-found-card,
  .cta-band {
    padding: 22px;
  }

  .studio-media {
    min-height: 320px;
  }

  .cta-band {
    min-height: auto;
    align-items: stretch;
    flex-direction: column;
  }
}
