:root {
  --black: #111111;
  --black-soft: #1a1a1a;
  --white: #ffffff;
  --offwhite: #f4f4f1;
  --lime: #facf0bda;
  --lime-dark: #e5eadd;
  --text-muted: #6f6f6f;
  --border-light: rgba(0, 0, 0, .1);
  --border-dark: rgba(255, 255, 255, .12);
  --sidebar-width: 250px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--black);
  font-family: Inter, Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

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

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--lime);
  z-index: 9999;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9998;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--lime);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(168, 255, 31, .5);
  transition: width .2s ease, height .2s ease;
}

body.cursor-active .cursor-ring {
  width: 52px;
  height: 52px;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--black);
  color: var(--white);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  border-right: 1px solid var(--border-dark);
}

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

.brand-mark {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--lime);
}

.brand-sub {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.sidebar-copy {
  margin: 34px 0 28px;
  color: #bdbdbd;
  font-size: 13px;
  line-height: 1.5;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a {
  padding: 11px 12px;
  border-radius: 10px;
  color: #d0d0d0;
  font-size: 13px;
  font-weight: 800;
  transition: .25s ease;
}

.side-nav a:hover,
.side-nav a.active {
  background: var(--lime);
  color: var(--black);
  transform: translateX(4px);
}

.sidebar-footer {
  margin-top: auto;
}

.availability {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bcbcbc;
  font-size: 12px;
  margin-bottom: 14px;
}

.availability span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(168, 255, 31, .1);
}

.sidebar-cta {
  display: block;
  background: var(--lime);
  color: var(--black);
  text-align: center;
  padding: 14px 16px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
}

main {
  margin-left: var(--sidebar-width);
}

.section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  background:
    radial-gradient(circle at 7% 20%, rgba(168, 255, 31, .34), transparent 18%),
    radial-gradient(circle at 92% 34%, rgba(168, 255, 31, .48), transparent 21%),
    radial-gradient(circle at 55% 92%, rgba(168, 255, 31, .12), transparent 25%),
    var(--black);
  color: var(--white);
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: stretch;
  flex: 1;
  min-height: 0;
  gap: 80px;
  padding: 0 clamp(28px, 4vw, 66px) 0;
}

.hero-copy {
  position: relative;
  z-index: 20;
  max-width: 760px;
  align-self: start;
  margin-top: clamp(100px, 15vh, 180px);
}

.eyebrow {
  color: var(--lime);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.eyebrow.dark {
  color: var(--black);
}

.hero h1,
.section h2,
.cta-section h2 {
  text-wrap: balance;
}

.hero h1 {
  margin: 18px 0 24px;
  font-size: clamp(58px, 6.7vw, 106px);
  line-height: .88;
  letter-spacing: -.065em;
}

.hero h1 span {
  display: block;
  color: var(--lime);
}

.hero-copy p {
  max-width: 600px;
  color: #d2d2d2;
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  position: relative;
  z-index: 40;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.button-primary {
  background: var(--lime);
  color: var(--black);
  box-shadow: 0 14px 32px rgba(168, 255, 31, .18);
}

.button-secondary {
  background: var(--white);
  color: var(--black);
}

.hero-visual {
  position: relative;
  height: 100%;
  overflow: visible;
}

.hero-visual img {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%) scale(1.52);
  transform-origin: bottom center;
  height: 100%;
  width: 95%;
  max-width: 720px;
  object-fit: contain;
  object-position: bottom center;
  z-index: 3;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, .4));
}

.hero-outline {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(120px, 12vw, 220px);
  z-index: 1;
  font-weight: 900;
  letter-spacing: -.09em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
  z-index: 1;
}

.glow-one {
  width: 320px;
  height: 320px;
  background: rgba(7, 7, 7, 0.48);
  top: 20%;
  right: 10%;
}

.glow-two {
  width: 220px;
  height: 220px;
  background: rgba(17, 17, 16, 0.48);
  bottom: 10%;
  left: 6%;
}

.skill-card {
  position: absolute;
  z-index: 4;
  width: 240px;
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(20, 20, 20, 0.78);
  border: 1px solid var(--border-dark);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
}

.skill-card strong {
  display: block;
  color: var(--lime);
  margin-bottom: 4px;
}

.skill-card span {
  color: #c8c8c8;
  font-size: 11px;
}

.skill-one {
  top: 35%;
  left: 19%;
  transform: translateX(-50%);
}

.skill-two {
  top: 50%;
  left: -23%;
}

.skill-three {
  top: 50%;
  right: -13%;
}

.hero-strip {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  background: var(--offwhite);
  color: var(--black);
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  flex-shrink: 0;
}

.light-section {
  background: var(--offwhite);
  padding: 95px clamp(28px, 4vw, 66px);
}

.dark-section {
  background: var(--black);
  color: var(--white);
  padding: 95px clamp(28px, 4vw, 66px);
}

.section-number {
  position: absolute;
  right: 26px;
  top: 20px;
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 900;
  letter-spacing: -.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, .06);
}

.section-number.light {
  -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
}

.section-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 52px;
}

.section-heading h2,
.sticky-story h2 {
  margin: 10px 0 0;
  font-size: clamp(48px, 5.6vw, 84px);
  line-height: .95;
  letter-spacing: -.055em;
}

.section-heading h2 span,
.sticky-story h2 span {
  color: var(--lime);
}

.section-heading>p {
  max-width: 520px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.dark-section .section-heading>p {
  color: #a8a8a8;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 26px;
  min-height: 270px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .08);
}

.service-index {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime);
  font-weight: 900;
}

.service-card h3 {
  margin: 58px 0 14px;
  font-size: 22px;
  letter-spacing: -.025em;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 14px;
}

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

.project-card {
  border: 1px solid var(--border-dark);
  border-radius: 22px;
  background: var(--black-soft);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--lime);
}

.project-image {
  height: 330px;
  padding: 18px;
}

.project-a {
  background: linear-gradient(145deg, #222, #0d0d0d);
}

.project-b {
  background: linear-gradient(145deg, var(--lime), var(--lime-dark));
}

.project-c {
  background: linear-gradient(145deg, #2a2a2a, #090909);
}

.mockup {
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: white;
  color: var(--black);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .32);
}

.dark-mockup {
  background: #101010;
  color: white;
}

.mockup-bar {
  height: 30px;
  background: #e9e9e9;
}

.dark-mockup .mockup-bar {
  background: #1e1e1e;
}

.mockup-content {
  padding: 25px;
}

.mockup-content h4 {
  font-size: 28px;
  line-height: 1.05;
  margin: 16px 0 30px;
}

.mockup-content span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #d9d9d9;
  margin: 9px 0;
}

.dark-mockup .mockup-content span {
  background: #3b3b3b;
}

.mockup-content span:nth-child(2) {
  width: 75%;
}

.mockup-content span:nth-child(3) {
  width: 54%;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px;
}

.project-meta small {
  color: #a9a9a9;
}

.project-meta h3 {
  margin: 7px 0 0;
  font-size: 20px;
}

.project-meta>span {
  font-size: 26px;
  color: var(--lime);
}

.sticky-story {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.story-left {
  position: sticky;
  top: 40px;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-right {
  display: grid;
  gap: 18px;
}

.story-card {
  min-height: 240px;
  border-radius: 22px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--border-light);
}

.story-card>span {
  font-size: 42px;
  font-weight: 900;
  color: var(--lime);
  -webkit-text-stroke: 1px var(--black);
}

.story-card h3 {
  font-size: 26px;
  margin: 30px 0 10px;
}

.story-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--border-dark);
}

.process-step {
  position: relative;
  padding-right: 28px;
}

.process-step>span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  font-weight: 900;
}

.process-step h3 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.process-step p {
  color: #a8a8a8;
  line-height: 1.6;
}

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

.testimonial-card {
  margin: 0;
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border-light);
}

.testimonial-card p {
  font-size: 19px;
  line-height: 1.5;
}

.testimonial-card footer {
  margin-top: 28px;
  font-weight: 900;
}

.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  padding: 84px clamp(28px, 4vw, 66px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.cta-section h2 {
  margin: 10px 0 18px;
  font-size: clamp(48px, 6vw, 88px);
  line-height: .92;
  letter-spacing: -.055em;
}

.cta-section p {
  max-width: 650px;
  color: #bcbcbc;
  line-height: 1.6;
}

.cta-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(168, 255, 31, .18);
  filter: blur(45px);
}

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  :root {
    --sidebar-width: 220px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .75fr);
  }

  .services-grid,
  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .projects-grid .project-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 18px;
  }

  .side-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .sidebar-footer {
    margin-top: 20px;
  }

  main {
    margin-left: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 48px 22px 0;
  }

  .hero h1 {
    font-size: clamp(52px, 12vw, 78px);
  }

  .hero-visual {
    min-height: 590px;
  }

  .hero-visual img {
    height: auto;
    max-height: 610px;
  }

  .skill-card {
    display: none;
  }

  .hero-strip {
    flex-wrap: wrap;
    height: auto;
    padding: 18px;
  }

  .section-heading,
  .sticky-story,
  .cta-section {
    grid-template-columns: 1fr;
  }

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

  .story-left {
    position: relative;
    min-height: auto;
    top: auto;
    margin-bottom: 35px;
  }

  .services-grid,
  .projects-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid .project-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .side-nav {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .light-section,
  .dark-section {
    padding: 72px 18px;
  }

  .services-grid,
  .process-track {
    grid-template-columns: 1fr;
  }

  .process-track::before {
    display: none;
  }

  .process-step {
    padding: 0 0 26px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}