:root {
  --ink: #171719;
  --muted: #68686d;
  --paper: #ffffff;
  --soft: #f3f3f1;
  --soft-2: #e9e9e6;
  --dark: #232326;
  --accent: #c9ff38;
  --radius-lg: 30px;
  --radius-md: 22px;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 17px;
  letter-spacing: -0.018em;
}

::selection {
  background: var(--accent);
  color: #111;
}

body > header,
body > div > header,
body > div > div > header {
  border: 0 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(18px);
}

header > div {
  max-width: 1280px !important;
  padding-top: 19px !important;
  padding-bottom: 19px !important;
}

header > div > div > a[href="/"],
header > div > div > div > a[href="/"] {
  color: var(--ink) !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  letter-spacing: -0.045em !important;
}

header nav a {
  color: #56565a !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: -0.018em !important;
}

header nav a:hover,
header nav a.font-medium {
  color: #111 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}

header nav a[href="/"] {
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: -0.018em !important;
}

main {
  display: flow-root;
}

main > section {
  border: 0 !important;
}

main > section > div.mx-auto,
footer > div.mx-auto {
  max-width: 1240px !important;
}

main > section:not(:has(> .absolute.inset-0)) {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

main > section:has(> .absolute.inset-0) {
  min-height: min(710px, calc(100vh - 126px));
  max-width: 1240px;
  margin: 12px auto 28px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

main > section:has(> .absolute.inset-0) > .absolute.inset-0 img {
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

main > section:has(> .absolute.inset-0):hover > .absolute.inset-0 img {
  transform: scale(1.025);
}

main > section:has(> .absolute.inset-0) > .absolute.inset-0 > div {
  background: rgba(13, 13, 15, 0.58) !important;
}

main > section:has(> .absolute.inset-0) > .relative {
  width: 100%;
  max-width: none !important;
  padding: 76px !important;
}

main > section:has(> .absolute.inset-0) h1 {
  max-width: 900px;
  color: #fff !important;
  font-size: clamp(48px, 5vw, 68px) !important;
  font-weight: 500 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
  text-wrap: balance;
}

main > section:has(> .absolute.inset-0) h1 + p,
main > section:has(> .absolute.inset-0) .text-lg,
main > section:has(> .absolute.inset-0) .text-xl {
  max-width: 720px !important;
  color: rgba(255,255,255,.82) !important;
  font-size: clamp(18px, 1.65vw, 23px) !important;
  line-height: 1.42 !important;
}

h1, h2, h3 {
  text-wrap: balance;
}

h2 {
  font-size: clamp(37px, 4vw, 58px) !important;
  font-weight: 500 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.05em !important;
}

h3 {
  font-weight: 600 !important;
  letter-spacing: -0.03em !important;
}

p,
li {
  line-height: 1.55;
}

.text-gray-500,
.text-base-600,
.text-base-700,
.text-gray-600,
.text-gray-700 {
  color: var(--muted) !important;
}

.text-sm {
  font-size: 15px !important;
}

.text-xs {
  font-size: 13px !important;
}

.uppercase {
  letter-spacing: .08em !important;
}

.bg-gray-50,
.bg-base-50 {
  background: var(--soft) !important;
}

main > section.bg-gray-50,
main > section.bg-base-50 {
  background: #fff !important;
}

.bg-gray-900,
.bg-gray-950 {
  background: #000 !important;
}

[class*="rounded-xl"],
[class*="rounded-2xl"],
[class*="rounded-3xl"] {
  border-radius: var(--radius-md) !important;
}

div[class*="border-gray-2"],
div[class*="border-gray-1"],
div[class*="ring-1"] {
  border-color: transparent !important;
  box-shadow: none !important;
}

section .grid > div[class*="rounded-"],
section .space-y-4 > div[class*="rounded-"],
section .space-y-6 > div[class*="rounded-"] {
  background: var(--soft) !important;
  padding: clamp(25px, 3vw, 42px) !important;
  transition: transform .3s ease, background-color .3s ease;
}

section .grid > div[class*="rounded-"]:hover,
section .space-y-4 > div[class*="rounded-"]:hover,
section .space-y-6 > div[class*="rounded-"]:hover {
  transform: translateY(-4px);
  background: var(--soft-2) !important;
}

section img[class*="rounded-"] {
  border: 0 !important;
  border-radius: var(--radius-lg) !important;
}

a[class*="bg-gray-900"],
a[class*="bg-black"],
button[class*="bg-gray-900"],
button[class*="bg-black"] {
  min-height: 48px;
  border-radius: 999px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  background: #111 !important;
  font-weight: 600 !important;
}

a[class*="bg-white"],
button[class*="bg-white"] {
  min-height: 48px;
  border-radius: 999px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  font-weight: 600 !important;
}

a[class*="border"],
button[class*="border"] {
  min-height: 48px;
  border-radius: 999px !important;
}

.project-card-action,
.project-card-action:hover,
.project-card-action:focus-visible {
  border-color: #171616 !important;
  background: #171616 !important;
  color: #c2c2c2 !important;
}

.project-card-action:hover,
.project-card-action:focus-visible {
  background: #000 !important;
  color: #fff !important;
}

main > section.bg-gray-900,
main > section.bg-gray-950 {
  max-width: 1240px;
  margin: 28px auto 40px;
  border-radius: var(--radius-lg);
}

body > div > main > section.bg-white:last-child {
  max-width: 1240px;
  margin: 28px auto 40px;
  border-radius: var(--radius-lg);
  background: #000 !important;
}

body > div > main > section.bg-white:last-child h2 {
  color: #fff !important;
}

body > div > main > section.bg-white:last-child p {
  color: #a6a6ab !important;
}

body > div > main > section.bg-white:last-child a[class*="bg-black"] {
  background: #fff !important;
  color: #111 !important;
}

body > div > main > section.bg-white:last-child a:not([class*="bg-black"]) {
  color: #fff !important;
}

main > section.bg-gray-900 h2,
main > section.bg-gray-950 h2 {
  max-width: 820px;
  font-size: clamp(44px, 5vw, 70px) !important;
}

body > div > div.bg-base-50 {
  max-width: 1240px;
  margin: 12px auto 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

body > div > div.bg-base-50 section h1 {
  max-width: 920px !important;
  font-size: clamp(48px, 5vw, 68px) !important;
  font-weight: 500 !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
}

footer {
  margin-top: 28px;
  background: #000 !important;
  color: #aaa !important;
}

footer > div {
  background: #000 !important;
  padding-top: 76px !important;
  padding-bottom: 42px !important;
}

footer .border-t,
footer [class*="border-gray-8"] {
  border-color: #3f4040 !important;
}

footer .h-px.w-full {
  background: #3f4040 !important;
  border-color: #3f4040 !important;
}

footer p.text-white,
footer .font-semibold.text-white {
  color: #fff !important;
  font-size: 22px !important;
}

footer a {
  color: #a6a6ab !important;
  font-size: 14px;
}

footer a:hover {
  color: #fff !important;
}

#cookie-banner {
  inset: auto 20px 20px !important;
  border: 0 !important;
  border-radius: 20px;
  box-shadow: 0 18px 60px rgba(0,0,0,.18) !important;
}

.reveal-ready {
  opacity: 0;
  transform: translateY(22px);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease;
}

@media (max-width: 1023px) {
  main > section:has(> .absolute.inset-0) {
    margin-left: 16px;
    margin-right: 16px;
  }

  main > section:has(> .absolute.inset-0) > .relative {
    padding: 52px !important;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  header > div {
    padding: 14px 16px !important;
  }

  header > div > div > a[href="/"],
  header > div > div > div > a[href="/"] {
    font-size: 19px !important;
  }

  #nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    border-radius: 999px;
    background: var(--soft);
    font-size: 18px !important;
    line-height: 1 !important;
  }

  #nav-toggle svg {
    width: 26px !important;
    height: 26px !important;
    flex: 0 0 26px;
  }

  #mobile-menu:not(.hidden) {
    display: block;
    position: fixed;
    inset: 96px 12px auto;
    padding: 20px !important;
    border: 0 !important;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(0,0,0,.18);
  }

  #mobile-menu a {
    display: block;
    padding: 12px 8px;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #18181a !important;
  }

  main > section:not(:has(> .absolute.inset-0)) {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  main > section:has(> .absolute.inset-0) {
    min-height: 690px;
    margin: 8px 12px 20px;
    border-radius: 22px;
  }

  main > section:has(> .absolute.inset-0) > .relative {
    padding: 34px 24px !important;
  }

  main > section:has(> .absolute.inset-0) h1 {
    font-size: clamp(40px, 11.5vw, 50px) !important;
  }

  main > section > div.mx-auto {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  h2 {
    font-size: 38px !important;
  }

  main > section.bg-gray-900,
  main > section.bg-gray-950 {
    margin: 20px 12px 28px;
    border-radius: 22px;
  }

  body > div > main > section.bg-white:last-child {
    margin: 20px 12px 28px;
    border-radius: 22px;
  }

  body > div > div.bg-base-50 {
    margin: 8px 12px 20px;
    border-radius: 22px;
  }

  body > div > div.bg-base-50 section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  body > div > div.bg-base-50 section h1 {
    font-size: 42px !important;
  }

  footer > div {
    padding: 62px 22px 36px !important;
  }

  #cookie-banner {
    inset: auto 10px 10px !important;
  }
}

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