:root {
  color-scheme: light;
  --ink: #111318;
  --muted: #626875;
  --line: rgba(17, 19, 24, 0.12);
  --panel: rgba(255, 255, 255, 0.58);
  --panel-strong: rgba(255, 255, 255, 0.76);
  --shadow: 0 28px 90px rgba(27, 35, 54, 0.16);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(236, 241, 244, 0.92)),
    #f6f7f8;
  letter-spacing: 0;
}

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

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

[data-glass] {
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px) saturate(1.45);
  -webkit-backdrop-filter: blur(28px) saturate(1.45);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(calc(100% - 32px), var(--max));
  min-height: 56px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #111318, #39505b);
}

.nav-links {
  gap: 6px;
  color: rgba(17, 19, 24, 0.7);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a {
  min-width: 56px;
  padding: 9px 12px;
  border-radius: 999px;
  text-align: center;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px max(24px, calc((100vw - var(--max)) / 2)) 72px;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(90deg, rgba(248, 250, 252, 0.91) 0%, rgba(248, 250, 252, 0.68) 46%, rgba(248, 250, 252, 0.28) 100%),
    linear-gradient(180deg, transparent 62%, #f6f7f8 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker,
.panel-label,
.card-index {
  margin: 0;
  color: #55717b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.5rem, 9vw, 8.6rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: rgba(17, 19, 24, 0.62);
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(17, 19, 24, 0.72);
  font-size: clamp(1.05rem, 1.8vw, 1.36rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: #111318;
  box-shadow: 0 16px 36px rgba(17, 19, 24, 0.18);
}

.button-secondary {
  border: 1px solid rgba(17, 19, 24, 0.12);
  background: rgba(255, 255, 255, 0.62);
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 54px;
  width: min(360px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-panel > div {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.38);
}

.hero-panel strong {
  font-size: 1rem;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 104px 0;
}

.intro-section {
  padding-top: 126px;
}

.split,
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: start;
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.8vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.86;
}

.stack {
  display: grid;
  gap: 18px;
}

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

.section-heading p {
  margin-bottom: 0;
}

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

.glass-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.38)),
    rgba(255, 255, 255, 0.52);
  box-shadow: 0 20px 60px rgba(55, 69, 88, 0.11);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.glass-card h3 {
  margin: 18px 0 12px;
  font-size: 1.35rem;
}

.glass-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.work-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-list {
  margin-top: 24px;
}

.work-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.work-item span {
  color: #55717b;
  font-weight: 800;
}

.work-item h3 {
  margin-bottom: 8px;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
}

.work-item p {
  margin-bottom: 0;
  max-width: 720px;
}

.contact-section {
  padding-bottom: 86px;
}

.contact-card {
  min-height: 340px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: clamp(34px, 7vw, 76px);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(232, 244, 246, 0.45)),
    var(--panel-strong);
}

.contact-card h2 {
  max-width: 760px;
}

.contact-card p:not(.section-kicker) {
  max-width: 700px;
  margin-bottom: 8px;
}

.site-footer {
  width: min(calc(100% - 48px), var(--max));
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  color: rgba(17, 19, 24, 0.52);
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .site-header {
    top: 12px;
    width: min(calc(100% - 20px), var(--max));
  }

  .nav-links {
    gap: 0;
    font-size: 0.82rem;
  }

  .nav-links a {
    min-width: auto;
    padding: 8px 9px;
  }

  .hero {
    min-height: 94vh;
    padding: 116px 20px 222px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(248, 250, 252, 0.86), rgba(248, 250, 252, 0.58) 54%, #f6f7f8 100%),
      rgba(248, 250, 252, 0.22);
  }

  .hero-panel {
    right: 20px;
    bottom: 36px;
  }

  .section {
    width: min(calc(100% - 40px), var(--max));
    padding: 78px 0;
  }

  .split,
  .section-heading,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  .site-header {
    padding: 8px;
  }

  .hero {
    padding-top: 110px;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.4rem);
    line-height: 1;
  }

  h1 span {
    white-space: nowrap;
  }

  .hero-copy,
  .section p {
    font-size: 0.98rem;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-panel > div {
    min-height: 88px;
    padding: 18px;
  }

  .work-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}
