:root {
  --paper: #f6f1e8;
  --paper-strong: #fffdf8;
  --ink: #121212;
  --muted: #625d56;
  --muted-light: rgba(246, 241, 232, 0.78);
  --line: rgba(18, 18, 18, 0.11);
  --line-strong: rgba(18, 18, 18, 0.17);
  --panel: rgba(255, 255, 255, 0.56);
  --deep: #111111;
  --deep-soft: rgba(17, 17, 17, 0.95);
  --accent: #d9ff57;
  --teal: #8df0d1;
  --shadow: 0 28px 80px rgba(18, 18, 18, 0.08);
  --radius: 32px;
  --max: 1360px;
  --section-gap: clamp(4.5rem, 8vw, 8.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Open Sans", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(217, 255, 87, 0.22), transparent 24%),
    linear-gradient(180deg, #f8f4ec 0%, #efe9de 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0) 25%
  );
}

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

ul,
p {
  margin: 0;
  padding: 0;
}

.motion-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.motion-svg {
  width: 100%;
  height: 100%;
  opacity: 0.92;
}

.motion-orb {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  z-index: 0;
}

.motion-line {
  fill: none;
  stroke-linecap: round;
}

.motion-line-base {
  stroke: rgba(18, 18, 18, 0.08);
  stroke-width: 0.5;
}

.motion-line-progress {
  stroke: url(#motionGradient);
  stroke-width: 1;
  filter: url(#motionGlow);
}

.motion-orb-glow,
.motion-orb-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.motion-orb-glow {
  width: 38px;
  height: 38px;
  background: radial-gradient(circle, rgba(217, 255, 87, 0.46), rgba(217, 255, 87, 0));
  filter: blur(8px);
}

.motion-orb-core {
  width: 10px;
  height: 10px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.2);
  box-shadow:
    0 0 0 6px rgba(141, 240, 209, 0.22),
    0 8px 18px rgba(18, 18, 18, 0.12);
}

.page-shell,
.site-header,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(248, 244, 236, 0.84), rgba(248, 244, 236, 0.42));
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: var(--deep);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-text strong {
  font-size: 0.96rem;
  line-height: 1.1;
}

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

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.05);
}

.site-nav a {
  padding: 0.8rem 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-cta {
  border-radius: 999px;
  background: var(--deep);
  color: var(--paper) !important;
}

.section {
  padding: var(--section-gap) 0;
}

.hero {
  min-height: calc(100svh - 5rem);
  display: flex;
  align-items: center;
  padding-top: 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(21rem, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  width: 100%;
  align-items: end;
}

.eyebrow,
.panel-label,
.work-index {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--muted);
}

.panel-label {
  color: var(--accent);
}

.work-index {
  color: var(--muted);
}

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

h1,
h2 {
  letter-spacing: -0.038em;
  line-height: 1;
}

h1 {
  font-family: "Syne", sans-serif;
  max-width: 8.4ch;
  font-size: clamp(4.4rem, 11vw, 9.2rem);
  letter-spacing: -0.042em;
  line-height: 0.97;
}

h2 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 5.2vw, 5.1rem);
}

h3 {
  letter-spacing: -0.04em;
  line-height: 1.03;
  font-size: clamp(1.45rem, 2vw, 2.05rem);
}

.hero-lead,
.company-body,
.service-copy p,
.initiative-card p,
.work-step p,
.contact-copy,
.site-footer {
  color: var(--muted);
  line-height: 1.68;
}

.hero-lead {
  max-width: 40rem;
  margin-top: 1.6rem;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.7rem;
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  background: var(--deep);
  color: var(--paper);
}

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

.hero-panel,
.initiative-card,
.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel,
.initiative-card {
  background: var(--panel);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 100%;
  padding: clamp(1.8rem, 3vw, 2.5rem);
}

.hero-panel-dark,
.initiative-card-dark,
.contact-card {
  background:
    radial-gradient(circle at top right, rgba(217, 255, 87, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(17, 17, 17, 0.94));
  border-color: rgba(255, 255, 255, 0.08);
}

.hero-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.hero-list li {
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(246, 241, 232, 0.94);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.6rem, 3.3vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.hero-note {
  margin-top: auto;
}

.hero-note p:last-child {
  margin-top: 0.5rem;
  color: var(--muted-light);
  font-size: 1.02rem;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.company-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: start;
}

.company-display {
  max-width: 14ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.9rem, 5.2vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 1.04;
}

.company-body {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
  padding-top: 0.35rem;
  font-size: 1.08rem;
}

.operator-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.operator-item {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.operator-item strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
}

.operator-item p {
  margin-top: 0.5rem;
  color: var(--muted);
  line-height: 1.6;
}

.service-stack {
  border-top: 1px solid var(--line-strong);
}

.service-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
}

.service-index {
  color: var(--muted);
  font-family: "Sora", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.service-copy {
  display: grid;
  gap: 0.65rem;
  max-width: 42rem;
}

.service-copy h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.service-tag {
  padding: 0.72rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.44);
}

.initiative-stack {
  display: grid;
  gap: 1rem;
}

.initiative-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  align-items: end;
  gap: 2rem;
  min-height: 19rem;
  padding: clamp(1.9rem, 4vw, 3rem);
}

.initiative-card h3 {
  margin-top: 0.35rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.98;
}

.initiative-card p:last-child {
  max-width: 30ch;
  font-size: 1.02rem;
}

.initiative-card-dark h3,
.initiative-card-dark p:last-child,
.contact-card .eyebrow,
.contact-card h2,
.contact-copy,
.contact-note {
  color: rgba(246, 241, 232, 0.92);
}

.initiative-card-dark .panel-label {
  color: var(--accent);
}

.work-stack {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.work-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.work-step h3 {
  grid-column: 2;
}

.work-step p {
  grid-column: 2;
  max-width: 34rem;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
}

.contact-card h2 {
  max-width: 11ch;
}

.contact-copy {
  max-width: 34rem;
  margin-top: 1rem;
}

.contact-actions {
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}

.contact-note {
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
}

.site-footer p {
  padding-top: 1.25rem;
}

.reveal-block {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

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

@media (max-width: 1120px) {
  .hero-grid,
  .company-intro,
  .initiative-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .initiative-card,
  .contact-card {
    min-height: auto;
  }

  .contact-actions {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
    padding-top: 1.1rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius: 1.35rem;
  }

  .site-nav a {
    padding: 0.74rem 0.88rem;
  }

  .hero {
    min-height: auto;
    padding-top: 1rem;
  }

  h1,
  h2,
  .company-display,
  .contact-card h2 {
    max-width: 100%;
  }

  .section-heading,
  .site-footer {
    flex-direction: column;
    align-items: start;
  }

  .operator-strip,
  .service-row,
  .work-step {
    grid-template-columns: 1fr;
  }

  .work-step h3,
  .work-step p {
    grid-column: auto;
  }

  .button {
    width: 100%;
  }
}

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

  .motion-stage {
    display: none;
  }

  .reveal-block {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .button {
    transition: none;
  }
}
