:root {
  --canvas: #ffffff;
  --bone: #f1efe9;
  --ash: #ececec;
  --stone: #6a6a6a;
  --graphite: #333333;
  --ink: #1f1d1e;
  --obsidian: #000000;
  --cobalt: #1e37a0;
  --font: "Lunar", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1280px;
  --header: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--obsidian);
  background: var(--canvas);
  font-family: var(--font);
  font-size: 16px;
  letter-spacing: -0.03em;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  min-height: var(--header);
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  color: var(--cobalt);
  font-size: 20px;
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.6px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-group,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-group a,
.nav-actions > a:not(.pill) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.48px;
}

.nav-group a:hover,
.nav-actions > a:not(.pill):hover {
  background: var(--ash);
}

.menu-toggle {
  display: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.48px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.pill:hover {
  transform: translateY(-1px);
}

.pill-blue {
  color: var(--canvas);
  background: var(--cobalt);
}

.pill-ghost {
  color: var(--obsidian);
  border-color: var(--obsidian);
}

.pill-ghost.light {
  color: var(--canvas);
  border-color: var(--canvas);
}

.panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--header) + 32px) 24px 64px;
  color: var(--canvas);
}

.hero-media,
.closing > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.04);
  animation: slowZoom 16s ease-out forwards;
}

.hero-scrim,
.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.42);
}

.hero-copy {
  width: min(900px, 100%);
  text-align: center;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.hero-copy p {
  max-width: 780px;
  margin: 0 auto 32px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.6px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cta-row.left {
  justify-content: flex-start;
}

.trusted {
  max-width: var(--max);
  margin: 0 auto;
  padding: 78px 32px 72px;
}

.trusted h2 {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 48px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -1.44px;
}

.logo-marquee {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  gap: 28px;
}

.premium-logos {
  gap: 16px;
}

.fake-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 18px 14px;
  color: rgba(0, 0, 0, 0.56);
  background: var(--canvas);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(31, 29, 30, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  font-weight: 800;
  font-size: 18px;
  line-height: 0.95;
  letter-spacing: 0;
  text-align: center;
  filter: grayscale(1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, color 220ms ease;
}

.fake-logo:hover {
  color: var(--obsidian);
  border-color: rgba(30, 55, 160, 0.2);
  box-shadow: 0 24px 58px rgba(31, 29, 30, 0.13), 0 0 0 1px rgba(30, 55, 160, 0.08) inset;
  transform: translateY(-4px);
}

.fake-logo strong {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.fake-logo span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.7px;
}

.section {
  padding: 112px 32px;
}

.why {
  background: var(--bone);
}

.section-heading {
  max-width: 830px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-heading h2,
.service-copy h2,
.gallery-head h2,
.pricing-band h2,
.closing h2 {
  margin-bottom: 16px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.section-heading p,
.service-copy p,
.gallery-head p,
.pricing-band p,
.faq p {
  color: var(--stone);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.6px;
}

.why-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.why-card {
  min-width: 0;
}

.paper-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 24px;
  overflow: hidden;
  background: #f7f6f2;
}

.paper-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.paper-icon span {
  position: absolute;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fff;
}

.paper-icon span:nth-child(1) {
  width: 52%;
  height: 52%;
}

.paper-icon span:nth-child(2) {
  width: 34%;
  height: 34%;
  transform: translate(28%, -24%);
}

.paper-icon span:nth-child(3) {
  width: 22%;
  height: 22%;
  border-radius: 9999px;
  transform: translate(-44%, 38%);
}

.paper-meter span {
  color: var(--cobalt);
  font-size: 96px;
  line-height: 1;
  font-weight: 500;
}

.paper-meter i {
  position: absolute;
  width: 72%;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
  transform: rotate(-28deg);
}

.why-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.6px;
}

.why-card p {
  color: var(--stone);
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.48px;
}

.service-stack {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 32px;
}

.kicker {
  margin-bottom: 24px;
  color: var(--cobalt) !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}

.tabs {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 560px;
  background: var(--bone);
}

.tab-list {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 8px;
}

.tab-button {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  color: var(--obsidian);
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
}

.tab-button.is-active {
  color: var(--canvas);
  background: var(--cobalt);
}

.tab-panels {
  position: relative;
  overflow: hidden;
  min-height: 560px;
}

.tab-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto auto;
  padding: 24px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 320ms ease, transform 320ms ease;
}

.tab-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tab-panel img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  margin-bottom: 24px;
}

.tab-panel h3 {
  margin-bottom: 8px;
  font-size: 32px;
  line-height: 1.08;
  font-weight: 400;
}

.tab-panel p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--stone);
  font-size: 16px;
  line-height: 1.3;
}

.client-gallery {
  padding: 112px 0 96px;
}

.gallery-head {
  max-width: var(--max);
  margin: 0 auto 56px;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.gallery-head h2 {
  max-width: 760px;
}

.work-slider {
  position: relative;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(420px, 31vw);
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  position: relative;
  min-height: 520px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  color: var(--canvas);
  background: var(--ink);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent 52%);
}

.gallery-card h3 {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 500;
}

.gallery-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: var(--cobalt);
}

.gallery-text::after {
  content: none;
}

.gallery-text h3 {
  position: static;
  margin-bottom: 12px;
}

.gallery-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.3;
}

.slider-controls {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.slider-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--obsidian);
  background: var(--canvas);
  border: 1px solid #e5e5e5;
  border-radius: 9999px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.slider-button:hover {
  background: var(--bone);
  transform: translateY(-1px);
}

.slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
}

.slider-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.slider-dot.is-active {
  width: 22px;
  background: var(--cobalt);
}

.pricing-band {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto 112px;
  padding: 64px;
  background: var(--bone);
}

.pricing-band p {
  max-width: 620px;
  margin-bottom: 28px;
}

.pricing-band aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  padding: 32px;
  color: var(--canvas);
  background: var(--cobalt);
}

.pricing-band aside span {
  font-size: 16px;
  line-height: 1.3;
}

.pricing-band aside strong {
  margin: 14px 0;
  font-size: 48px;
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #d9d9d9;
}

.stats article {
  padding: 72px 48px;
  background: var(--canvas);
}

.stats h2 {
  margin-bottom: 16px;
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.stats p {
  max-width: 360px;
  margin: 0;
  color: var(--stone);
  font-size: 20px;
  line-height: 1.3;
}

.faq {
  max-width: 980px;
  margin: 0 auto;
  padding: 112px 32px;
}

.faq-list {
  border-top: 1px solid var(--obsidian);
}

.faq details {
  border-bottom: 1px solid var(--obsidian);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--cobalt);
  font-size: 28px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  max-width: 760px;
  margin-bottom: 28px;
}

.closing {
  min-height: 680px;
  display: grid;
  place-items: center;
  padding: 96px 32px;
  color: var(--canvas);
  text-align: center;
}

.closing > div {
  width: min(920px, 100%);
}

.closing h2 {
  margin-bottom: 28px;
  font-size: clamp(44px, 6vw, 80px);
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding: 72px 32px;
  color: var(--canvas);
  background: var(--obsidian);
}

.footer-brand {
  color: var(--canvas);
  font-size: 32px;
  font-weight: 800;
  line-height: 0.85;
}

.footer h3 {
  margin-bottom: 18px;
  color: var(--canvas);
  font-size: 16px;
  font-weight: 700;
}

.footer a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  overflow-wrap: anywhere;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes slowZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1);
  }
}

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

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 140px auto;
  }

  .main-nav {
    gap: 10px;
  }

  .nav-group a,
  .nav-actions > a:not(.pill) {
    padding: 0 10px;
  }

  .logo-marquee,
  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-stack,
  .pricing-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header: 72px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--obsidian);
    border-radius: 9999px;
    background: transparent;
  }

  .menu-toggle span {
    width: 18px;
    height: 1px;
    margin: 0 auto;
    background: var(--obsidian);
  }

  .main-nav {
    position: fixed;
    inset: var(--header) 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 24px;
    min-height: calc(100vh - var(--header));
    padding: 28px 20px;
    background: var(--canvas);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    transition: transform 300ms ease;
  }

  body.is-menu-open .main-nav {
    transform: translateY(0);
  }

  .nav-group,
  .nav-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-group a,
  .nav-actions > a:not(.pill),
  .nav-actions .pill {
    justify-content: flex-start;
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
  }

  .hero {
    min-height: 92vh;
  }

  .trusted h2 {
    font-size: 34px;
    line-height: 1.05;
  }

  .logo-marquee,
  .why-grid,
  .stats,
  .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .tab-list {
    flex-direction: row;
    overflow-x: auto;
  }

  .tab-button {
    min-width: max-content;
  }

  .gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-band {
    margin-bottom: 72px;
    padding: 40px 24px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-inline: 16px;
  }

  h1 {
    font-size: 44px;
  }

  .hero-copy p,
  .section-heading p,
  .service-copy p,
  .gallery-head p,
  .pricing-band p,
  .stats p {
    font-size: 16px;
  }

  .cta-row,
  .cta-row.left {
    align-items: stretch;
    flex-direction: column;
  }

  .pill {
    width: 100%;
  }

  .trusted,
  .section,
  .service-stack,
  .faq {
    padding: 72px 20px;
  }

  .logo-marquee,
  .why-grid,
  .stats,
  .footer {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .service-copy h2,
  .gallery-head h2,
  .pricing-band h2 {
    font-size: 36px;
  }

  .tab-panels,
  .tabs {
    min-height: 560px;
  }

  .tab-panel img {
    height: 260px;
  }

  .gallery-track {
    grid-auto-columns: 82vw;
  }

  .gallery-card {
    min-height: 420px;
  }

  .stats article {
    padding: 48px 24px;
  }

  .stats h2 {
    font-size: 44px;
  }

  .footer {
    padding: 56px 20px;
  }
}
