:root {
  color-scheme: dark;
  --bg: #090909;
  --bg-soft: #111111;
  --ink: #f7f5ef;
  --muted: rgba(247, 245, 239, .72);
  --soft: rgba(247, 245, 239, .52);
  --line: rgba(255, 255, 255, .16);
  --line-strong: rgba(255, 255, 255, .28);
  --glass: rgba(255, 255, 255, .08);
  --glass-strong: rgba(255, 255, 255, .14);
  --lime: #c7ff4a;
  --cyan: #8ff7ff;
  --coral: #ff8f77;
  --pearl: #f8f4e8;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, #0a0a0a 0%, #121212 36%, #080808 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(143, 247, 255, .10), transparent 34%),
    linear-gradient(240deg, rgba(199, 255, 74, .08), transparent 32%),
    linear-gradient(20deg, transparent 52%, rgba(255, 143, 119, .10));
}

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

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

svg {
  display: block;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  width: min(var(--max), calc(100% - 32px));
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  transform: translateX(-50%);
}

.site-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
  border-color: var(--line-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #080808;
  background:
    linear-gradient(145deg, #ffffff, #d8fff3 46%, var(--lime));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .84),
    0 0 34px rgba(199, 255, 74, .34);
}

.brand-name {
  font-size: 1.02rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(0, 0, 0, .18);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: .92rem;
  transition: color .22s ease, background .22s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, .10);
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #080808;
  font-weight: 760;
  background: var(--pearl);
  box-shadow: 0 14px 34px rgba(248, 244, 232, .16);
}

.header-action svg,
.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.header-action path,
.button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 84svh;
  padding: 136px 0 34px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  transform: scale(1.02);
  animation: heroDrift 14s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, .96) 0%, rgba(7, 7, 7, .78) 34%, rgba(7, 7, 7, .18) 72%),
    linear-gradient(180deg, rgba(7, 7, 7, .12) 0%, rgba(7, 7, 7, .18) 54%, #090909 100%);
}

.hero-content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 56px;
}

.eyebrow,
.kicker {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  max-width: 790px;
  margin-bottom: 24px;
  font-size: 5.7rem;
  line-height: .9;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.26rem;
  line-height: 1.58;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  max-width: 100%;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.1;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

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

.button-primary {
  color: #050505;
  background:
    linear-gradient(135deg, #ffffff, #e9fff6 45%, var(--lime));
  box-shadow: 0 22px 52px rgba(199, 255, 74, .18);
}

.button-glass {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.button-glass:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .12);
}

.hero-panel {
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.hero-panel span {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 18px 10px;
  color: rgba(247, 245, 239, .86);
  font-weight: 800;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.hero-panel span:last-child {
  border-right: 0;
}

.signal-band {
  width: min(var(--max), calc(100% - 40px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.signal-item {
  min-height: 128px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .045));
  box-shadow: 0 18px 54px rgba(0, 0, 0, .18);
}

.signal-item b {
  display: block;
  margin-bottom: 28px;
  color: var(--lime);
  font-size: .82rem;
}

.signal-item span {
  display: block;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 760;
  line-height: 1.34;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0;
}

.section-copy {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-copy.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

h2 {
  margin-bottom: 18px;
  font-size: 4.2rem;
  line-height: .96;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-copy > p:not(.kicker),
.transformation-copy > p:not(.kicker) {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.72;
}

.section-copy.centered > p:not(.kicker) {
  margin-right: auto;
  margin-left: auto;
}

.approach {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 34px;
  align-items: start;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.glass-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .115), rgba(255, 255, 255, .045));
  box-shadow: 0 22px 70px rgba(0, 0, 0, .24);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

.glass-card b {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 52px;
  color: #050505;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--pearl);
  font-size: .8rem;
}

.glass-card h3,
.work-copy h3,
.format-row h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.glass-card p,
.work-copy span,
.format-row p,
.before p,
.after p,
.contact-inner > p,
.footer p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.66;
}

.work {
  padding-top: 84px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
  box-shadow: 0 26px 78px rgba(0, 0, 0, .26);
  transition: transform .26s ease, border-color .26s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.work-card figure {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.work-card:hover img {
  transform: scale(1.05);
}

.work-copy {
  padding: 24px;
}

.work-copy p {
  margin-bottom: 16px;
  color: var(--coral);
  font-weight: 800;
}

.transformation {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: stretch;
}

.transformation-copy {
  align-self: center;
}

.transformation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.before,
.after {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.before {
  background: rgba(255, 255, 255, .045);
}

.after {
  background:
    linear-gradient(145deg, rgba(143, 247, 255, .16), rgba(199, 255, 74, .14) 50%, rgba(255, 143, 119, .12));
  box-shadow: 0 26px 86px rgba(143, 247, 255, .08);
}

.before span,
.after span {
  color: var(--soft);
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.before p,
.after p {
  color: var(--ink);
  font-size: 1.48rem;
  line-height: 1.24;
  font-weight: 760;
}

.format-list {
  display: grid;
  gap: 12px;
}

.format-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 18px;
  min-height: 148px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .045));
}

.format-row span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #050505;
  background: var(--cyan);
  font-weight: 900;
}

.contact {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 104px;
}

.contact-inner {
  padding: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .06)),
    linear-gradient(240deg, rgba(199, 255, 74, .12), transparent 52%),
    linear-gradient(20deg, transparent, rgba(255, 143, 119, .13));
  box-shadow: 0 34px 120px rgba(0, 0, 0, .35);
}

.contact-inner h2 {
  max-width: 920px;
}

.contact-inner > p {
  max-width: 680px;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .72s ease, transform .72s ease;
}

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

.delay-1 {
  transition-delay: .08s;
}

.delay-2 {
  transition-delay: .16s;
}

.delay-3 {
  transition-delay: .24s;
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(-16px, -8px, 0);
  }
}

@media (max-width: 1040px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 78svh;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 3.2rem;
  }

  .approach,
  .transformation {
    grid-template-columns: 1fr;
  }

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

  .work-card {
    display: grid;
    grid-template-columns: minmax(240px, .82fr) minmax(0, 1fr);
  }

  .work-card figure {
    aspect-ratio: auto;
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    min-height: 56px;
    padding: 8px;
  }

  .brand-name {
    font-size: .98rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .header-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: .9rem;
  }

  .hero {
    min-height: auto;
    padding: 108px 0 24px;
  }

  .hero-visual img {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 7, 7, .96) 0%, rgba(7, 7, 7, .76) 48%, rgba(7, 7, 7, .30) 100%),
      linear-gradient(180deg, rgba(7, 7, 7, .18), #090909 100%);
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
    padding-bottom: 34px;
  }

  h1 {
    font-size: 3rem;
    line-height: .96;
  }

  .hero-lead {
    font-size: 1.06rem;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .hero-panel {
    width: min(100% - 28px, var(--max));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel span {
    min-height: 58px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .hero-panel span:last-child {
    grid-column: 1 / -1;
  }

  .signal-band,
  .approach-grid,
  .transformation-grid {
    grid-template-columns: 1fr;
  }

  .signal-band,
  .section,
  .contact,
  .footer {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 76px 0;
  }

  h2 {
    font-size: 2.45rem;
    line-height: 1;
  }

  .glass-card {
    min-height: 224px;
  }

  .glass-card b {
    margin-bottom: 34px;
  }

  .work-card {
    display: block;
  }

  .work-card figure {
    min-height: auto;
    aspect-ratio: 1 / 1;
  }

  .before,
  .after {
    min-height: 260px;
  }

  .before p,
  .after p {
    font-size: 1.25rem;
  }

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

  .contact {
    padding-bottom: 72px;
  }

  .contact-inner {
    padding: 28px;
  }

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

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

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

.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(143, 247, 255, .12), transparent 42%),
    linear-gradient(240deg, rgba(199, 255, 74, .12), transparent 42%),
    #090909;
}

.notfound-card {
  width: min(560px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 26px 90px rgba(0, 0, 0, .32);
  text-align: center;
}

.notfound-card .brand-mark {
  margin: 0 auto 20px;
}

.notfound-card h1 {
  margin-bottom: 14px;
  font-size: 3.1rem;
  line-height: 1;
}

.notfound-card p {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.6;
}
