:root {
  --bg: #fbfdff;
  --bg-soft: #f3f8fb;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(8, 35, 90, 0.11);
  --line-strong: rgba(8, 35, 90, 0.18);
  --text: #13234d;
  --muted: #5f7292;
  --cyan: #67c7d4;
  --blue: #2c9faa;
  --violet: #0a245d;
  --silver: #8ea3bc;
  --shadow: 0 30px 80px rgba(10, 36, 93, 0.1);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(103, 199, 212, 0.14), transparent 30%),
    radial-gradient(circle at right top, rgba(10, 36, 93, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 55%, #ffffff 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

body::before {
  width: 34vw;
  height: 34vw;
  top: -8vw;
  left: -7vw;
  background: radial-gradient(circle, rgba(103, 199, 212, 0.22), transparent 68%);
}

body::after {
  width: 32vw;
  height: 32vw;
  top: 20vh;
  right: -10vw;
  background: radial-gradient(circle, rgba(10, 36, 93, 0.12), transparent 70%);
}

.site-bg {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(44, 159, 170, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 35, 90, 0.03) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.28));
  pointer-events: none;
  z-index: 0;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--max-width));
  margin: 24px auto 46px;
}

a {
  color: inherit;
}

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

.site-header,
.hero-visual,
.announcement,
.content-card,
.feature-band,
.quote-card,
.cta-band,
.hero-side-card,
.service-card,
.process-card,
.industry-card,
.contact-card,
.contact-form,
.site-footer,
.timeline-item,
.section-media {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(10, 36, 93, 0.1);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.brand img,
.footer-logo {
  width: 168px;
  height: auto;
}

.site-header.is-hidden {
  transform: translateY(-140%);
  opacity: 0;
  pointer-events: none;
}

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

.site-nav a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 220ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.eyebrow,
.panel-kicker,
.panel-label,
.contact-card span,
.feature-index {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow,
.contact-card span,
.feature-index,
.text-link {
  color: var(--blue);
}

.panel-kicker,
.panel-label {
  color: var(--silver);
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.92fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 28px;
}

.hero-home {
  min-height: calc(100vh - 240px);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

h1 {
  font-size: clamp(2.35rem, 4.4vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-visual h2,
.cta-band h2,
.section-heading h2,
.story-block h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-side-card h3,
.content-card h3,
.service-card h3,
.industry-card h3,
.process-card h3,
.timeline-item h3 {
  font-size: 1.06rem;
  line-height: 1.35;
}

.lede,
.hero-visual p,
.content-card p,
.feature-band p,
.quote-card p,
.section-heading p,
.service-card p,
.process-card p,
.industry-card p,
.contact-card p,
.contact-form label,
.form-note,
.timeline-item p,
.story-block p,
.metric-row span,
.announcement p {
  color: var(--muted);
}

.lede {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.03rem;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, #1f8f9a 42%, var(--violet) 100%);
  color: white;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(10, 36, 93, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(10, 36, 93, 0.22);
}

.button-secondary,
.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  box-shadow: none;
}

.metric-row,
.card-grid,
.industry-grid,
.contact-layout,
.contact-stack,
.visual-panel-grid {
  display: grid;
  gap: 24px;
}

.metric-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.metric-row article,
.hero-visual,
.content-card,
.feature-band,
.quote-card,
.cta-band,
.hero-side-card,
.service-card,
.process-card,
.industry-card,
.contact-card,
.contact-form,
.timeline-item,
.announcement,
.section-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 248, 255, 0.8));
  box-shadow: var(--shadow);
}

.metric-row article {
  padding: 24px;
}

.metric-row strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
}

.metric-row span {
  line-height: 1.8;
}

.hero-visual,
.section-media {
  padding: 20px;
}

.hero-art {
  min-height: 540px;
  object-fit: cover;
}

.section-media {
  margin-bottom: 34px;
}

.section-visual {
  width: 100%;
  border-radius: 26px;
  border: 1px solid rgba(44, 159, 170, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.announcement {
  margin-top: 8px;
  padding: 22px 28px;
}

.announcement p {
  margin: 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.9;
}

.section {
  margin-top: 104px;
}

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

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.text-link {
  text-decoration: none;
  font-weight: 800;
}

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

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

.content-card,
.quote-card,
.service-card,
.process-card,
.industry-card,
.contact-card,
.timeline-item,
.hero-side-card,
.feature-band,
.cta-band {
  padding: 28px;
}

.feature-stack,
.timeline {
  display: grid;
  gap: 20px;
}

.feature-band {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
}

.quote-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.95;
}

.quote-card footer {
  margin-top: 18px;
  font-weight: 800;
  color: var(--text);
}

.service-card.highlight {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 248, 255, 0.92));
}

.process-card span,
.industry-card span,
.timeline-item span {
  display: inline-block;
  color: var(--blue);
  font-family: "Sora", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.process-card h3,
.industry-card h3,
.timeline-item h3 {
  margin-top: 16px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 108px;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
}

.story-block {
  padding: 10px 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  align-items: start;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
}

.contact-card {
  display: block;
  text-decoration: none;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.contact-card:hover,
.content-card:hover,
.service-card:hover,
.industry-card:hover,
.process-card:hover,
.quote-card:hover,
.feature-band:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 90px rgba(10, 36, 93, 0.14);
}

.contact-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.12rem;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(44, 159, 170, 0.16);
  border-radius: 16px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(102, 118, 143, 0.72);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(44, 159, 170, 0.42);
  box-shadow: 0 0 0 4px rgba(44, 159, 170, 0.08);
}

.form-note {
  margin: 0;
  align-self: center;
}

.form-status {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #0f6b3b;
  background: rgba(213, 244, 228, 0.95);
  border: 1px solid rgba(67, 176, 114, 0.28);
}

.form-status.is-error {
  color: #8a1f3b;
  background: rgba(255, 230, 236, 0.95);
  border: 1px solid rgba(206, 75, 106, 0.24);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
  margin-top: 110px;
  padding: 34px;
}

.site-footer p {
  color: var(--muted);
  line-height: 1.85;
}

.site-footer strong {
  color: var(--text);
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 12;
  min-width: 56px;
  padding: 12px 14px;
  border: 1px solid rgba(8, 35, 90, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 18px 44px rgba(10, 36, 93, 0.14);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover {
  box-shadow: 0 22px 52px rgba(10, 36, 93, 0.18);
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

@media (max-width: 1060px) {
  .site-header {
    border-radius: 30px;
    flex-wrap: wrap;
    width: 100%;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .page-hero,
  .contact-layout,
  .story-layout,
  .card-grid.three,
  .industry-grid,
  .site-footer,
  .metric-row,
  .card-grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 420px;
  }
}

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

  .site-header,
  .hero,
  .page-hero,
  .metric-row,
  .card-grid.three,
  .card-grid.two,
  .industry-grid,
  .contact-layout,
  .contact-form,
  .story-layout,
  .site-footer,
  .site-nav {
    grid-template-columns: 1fr;
  }

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

  .site-nav {
    display: grid;
    gap: 12px;
    width: 100%;
  }

  .brand img,
  .footer-logo {
    width: 146px;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
  }

  .hero,
  .page-hero {
    gap: 26px;
    padding-top: 40px;
  }

  .hero-home {
    min-height: auto;
  }

  .section {
    margin-top: 82px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 320px;
  }
}
