:root {
  --bg: #090909;
  --panel: #111;
  --muted: #8b8b8b;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f6f2eb;
  --cream: #f5ede0;
  --orange: #f16a24;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(241, 106, 36, 0.12), transparent 28rem),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: auto, 88px 88px, 88px 88px;
}

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

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  background: #070707;
}

.loader-mark {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #111;
  font-family: Syne, sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
}

.loader p {
  margin: 0;
  letter-spacing: .5em;
  text-transform: uppercase;
}

.cursor {
  position: fixed;
  width: 18px;
  height: 18px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 110;
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease, background .2s ease;
}

.cursor.active {
  width: 48px;
  height: 48px;
  background: rgba(241, 106, 36, .12);
}

.site-header {
  position: fixed;
  inset: 24px 28px auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .8rem .95rem .8rem 1.2rem;
  background: rgba(9, 9, 9, .76);
  backdrop-filter: blur(18px);
}

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

.brand span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: #111;
  font-family: Syne, sans-serif;
  font-weight: 900;
}

.brand strong,
.site-footer h2 {
  font-family: Syne, sans-serif;
  font-size: 1.35rem;
  letter-spacing: -.04em;
}

.desktop-nav {
  display: flex;
  gap: 1.7rem;
  color: rgba(255,255,255,.68);
  font-size: .92rem;
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--orange);
}

.info-trigger,
.menu-trigger {
  border-radius: 999px;
  padding: .85rem 1.1rem;
  background: var(--cream);
  color: #111;
  font-weight: 800;
}

.menu-trigger {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
}

.menu-trigger span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #111;
}

.mobile-nav {
  position: fixed;
  top: 94px;
  left: 28px;
  right: 28px;
  z-index: 39;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem;
  background: rgba(9,9,9,.92);
  backdrop-filter: blur(18px);
}

.mobile-nav.open {
  display: grid;
}

.mobile-nav a {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.hello-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  width: min(410px, 92vw);
  height: 100vh;
  padding: 7rem 2rem 2rem;
  background: var(--cream);
  color: #141414;
  transform: translateX(104%);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.hello-panel.open {
  transform: translateX(0);
}

.hello-panel h2 {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: .9;
}

.hello-panel p {
  color: #4d4d4d;
  line-height: 1.8;
}

.hello-panel h3 {
  margin-top: 2.5rem;
  color: var(--orange);
}

.hello-panel a,
.hello-panel span {
  display: block;
  margin-top: .9rem;
  color: #262626;
  font-weight: 700;
}

.hello-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111;
  color: white;
  font-size: 1.6rem;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 8rem max(1.5rem, calc((100vw - 1180px) / 2)) 4rem;
  overflow: hidden;
}

.hero-media {
  position: relative;
  min-height: 620px;
}

.hero-orb {
  position: absolute;
  inset: 12% 8% 8% 0;
  border-radius: 44% 56% 54% 46%;
  background:
    linear-gradient(135deg, rgba(241,106,36,.95), rgba(245,237,224,.18)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1200&q=80") center/cover;
  box-shadow: 0 34px 120px rgba(0,0,0,.45);
  animation: morph 9s ease-in-out infinite;
}

.hero-ring {
  position: absolute;
  inset: 18% 16%;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.hero-card {
  position: absolute;
  border-radius: 18px;
  padding: 1.1rem 1.35rem;
  background: var(--cream);
  color: #161616;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  font-weight: 900;
}

.hero-card-a {
  top: 18%;
  right: 8%;
}

.hero-card-b {
  bottom: 19%;
  left: 6%;
}

.hero-copy {
  justify-self: end;
  max-width: 610px;
}

.kicker,
.eyebrow {
  margin: 0 0 1rem;
  color: var(--orange);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero h1,
.section-content h2,
.section-heading h2,
.reviews-intro h2,
.contact-section h2 {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: clamp(3.7rem, 9vw, 9.2rem);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.08em;
}

.hero-copy > a {
  display: inline-block;
  margin-top: 2rem;
  color: var(--cream);
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 800;
}

.hero-controls {
  display: flex;
  gap: .8rem;
  margin-top: 3rem;
}

.hero-controls button,
.text-link,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 1.25rem;
  background: var(--cream);
  color: #111;
  font-weight: 900;
}

.section {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  gap: 3rem;
  padding: 8rem max(1.5rem, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
}

.section-label {
  position: sticky;
  top: 130px;
  align-self: start;
  color: rgba(255,255,255,.3);
  font-family: Syne, sans-serif;
  font-size: clamp(2.8rem, 7vw, 7rem);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.08em;
}

.section-label span,
.section-label strong {
  display: block;
}

.section-content {
  max-width: 860px;
}

.section-content h2,
.section-heading h2,
.reviews-intro h2,
.contact-section h2 {
  font-size: clamp(2.5rem, 6vw, 5.7rem);
}

.section-content p,
.contact-section p,
.site-footer p {
  color: rgba(255,255,255,.64);
  font-size: 1.06rem;
  line-height: 1.85;
}

.about-section {
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}

.portfolio-section {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
}

.portfolio-row {
  position: relative;
  display: grid;
  min-height: 280px;
  grid-template-columns: 1fr 330px;
  align-items: center;
  gap: 2rem;
  padding: 2.4rem max(1.5rem, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.portfolio-row span {
  color: var(--orange);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.portfolio-row h3 {
  margin: .65rem 0 0;
  font-family: Syne, sans-serif;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: .9;
  letter-spacing: -.06em;
}

.portfolio-thumb {
  height: 210px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  transform: rotate(-3deg);
  box-shadow: 0 26px 80px rgba(0,0,0,.36);
}

.portfolio-row:nth-child(even) .portfolio-thumb {
  transform: rotate(3deg);
}

.thumb-one { background-image: url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=900&q=80"); }
.thumb-two { background-image: url("https://images.unsplash.com/photo-1586953208448-b95a79798f07?auto=format&fit=crop&w=900&q=80"); }
.thumb-three { background-image: url("https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?auto=format&fit=crop&w=900&q=80"); }
.thumb-four { background-image: url("https://images.unsplash.com/photo-1634973357973-f2ed2657db3c?auto=format&fit=crop&w=900&q=80"); }

.tech-grid,
.client-grid,
.contact-cards {
  display: grid;
  gap: 1rem;
}

.tech-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.tech-grid span,
.client-grid span,
.contact-cards article {
  display: grid;
  min-height: 112px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.035);
  color: var(--cream);
  font-weight: 900;
}

.service-list {
  display: grid;
  margin-top: 2rem;
}

.service-list article {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.service-list article > span {
  color: var(--orange);
  font-family: Syne, sans-serif;
  font-size: 2rem;
  font-weight: 900;
}

.service-list h3 {
  margin: 0 0 .85rem;
  font-family: Syne, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: .95;
}

.service-list p {
  margin: 0;
}

.clients-section,
.reviews-section,
.contact-section,
.site-footer {
  position: relative;
  z-index: 1;
  padding: 8rem max(1.5rem, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.client-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.client-grid span {
  min-height: 104px;
  color: rgba(255,255,255,.54);
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.client-grid span:hover {
  color: var(--orange);
  border-color: rgba(241,106,36,.45);
  transform: translateY(-4px);
}

.reviews-section {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  overflow: hidden;
}

.score {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.4rem;
  background: var(--cream);
  color: #111;
}

.score strong {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 4rem;
  line-height: .85;
}

.score span {
  display: block;
  margin-top: .7rem;
  color: #555;
  font-weight: 800;
}

.review-swiper {
  width: 100%;
  overflow: visible;
}

.review-card {
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 1.5rem;
  background: rgba(255,255,255,.045);
}

.review-card span {
  display: inline-flex;
  margin-bottom: 1.5rem;
  color: var(--orange);
  font-family: Syne, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
}

.review-card p {
  color: rgba(255,255,255,.7);
  line-height: 1.8;
}

.contact-section {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 3rem;
}

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

.contact-cards article {
  place-items: start;
  padding: 1.4rem;
}

.contact-cards span {
  color: var(--orange);
  font-weight: 900;
}

.contact-cards p {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 2rem;
  background: #050505;
}

.site-footer h2,
.site-footer h3 {
  margin-top: 0;
  font-family: Syne, sans-serif;
}

.site-footer nav,
.site-footer address {
  display: grid;
  align-content: start;
  gap: .75rem;
  font-style: normal;
}

.site-footer a,
.site-footer span {
  color: rgba(255,255,255,.58);
}

.site-footer a:hover {
  color: var(--orange);
}

@keyframes morph {
  0%, 100% { border-radius: 44% 56% 54% 46%; transform: rotate(-4deg) scale(1); }
  50% { border-radius: 57% 43% 45% 55%; transform: rotate(4deg) scale(1.035); }
}

@media (max-width: 980px) {
  .desktop-nav,
  .info-trigger {
    display: none;
  }

  .menu-trigger {
    display: block;
  }

  .hero,
  .section,
  .reviews-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-copy {
    justify-self: start;
  }

  .section-label {
    position: static;
  }

  .portfolio-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    inset: 14px 14px auto;
  }

  .mobile-nav {
    top: 82px;
    left: 14px;
    right: 14px;
    grid-template-columns: 1fr;
  }

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

  .hero h1 {
    font-size: clamp(4rem, 20vw, 6rem);
  }

  .tech-grid,
  .client-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .service-list article {
    grid-template-columns: 1fr;
  }

  .cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
